Feature request: type annotations for CurrentAttributes attributes

Open
#2,431 5 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
42/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Tech stack
rails, ruby
Domain
tooling

Research direction

The issue names no implementation file or test. Start by locating the RBI generator path for ActiveSupport::CurrentAttributes and its existing annotation tests; done means the shown #: Integer syntax is accepted and represented correctly in generated RBI output.

Written by the indexing model from the issue text.

Description

It would be nice to be able to write

class Current < ActiveSupport::CurrentAttributes
  #: Integer
  attribute :user_id
end
Dominant language
Ruby
Stars
873
Forks
164
Avg merge
4d 27m
Merged PRs (30d)
9

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from Shopify/tapioca

All issues in Shopify/tapioca

Similar issues

More Ruby issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.