Feature Request: Output RBS files
Nobody has claimed this yet.
- Dominant language
- Ruby
- Stars
- 873
- Forks
- 164
- Avg merge
- 4d 27m
- Merged PRs (30d)
- 9
Description
It would be beneficial if Tapioca could output RBS files, allowing for type inference with TypeProf and type checking with Steep.
Since shopify/rbi already has a feature to convert RBI to RBS, it doesn't seem entirely impossible.
Currently, there isn't a de facto standard for generating RBS in Rails, and various tools seem to be emerging.
- https://github.com/pocke/rbs_rails
- https://github.com/ksss/orthoses
- https://github.com/tk0miya/rbs_activerecord
- https://github.com/tk0miya/rbs_activesupport
I understand there are significant differences between the RBI and RBS ecosystems, and I thought Tapioca could bridge that gap, so I'd like to hear your thoughts.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reviewing Tapioca’s existing RBI generation behavior and Shopify/rbi pull request #367, then compare the listed Rails RBS tools. Done means establishing and implementing a clear approach for producing RBS output that can be consumed by TypeProf and Steep.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- ruby
- Domain
- tooling
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100