-
Notifications
You must be signed in to change notification settings - Fork 131
Description
Dear Maintainers of Rails Repositories(@tk0miya, @ydah, @hibariya, @Little-Rubyist).
Currently, Rails repositories follow a method where v6 signatures are inherited, and differences are added incrementally. While this approach keeps management costs low in the short term, I believe it has several issues:
- Prototype-based signatures are often excessive, leading to a decrease in type-checking performance.
- As new versions are introduced, the differences from the base version become larger, reducing sustainability.
- It becomes impossible to stop maintaining v6.
Proposal
I propose discontinuing the inheritance of symbolic links from a specific version and managing only the necessary definitions manually.
Specifically, I suggest keeping the differential definitions while not inheriting *-generated.rbs, thereby minimizing the definitions. This approach aims to maintain sustainability without compromising performance.
For minor version differences, symbolic links may still be acceptable. However, for major version differences, I believe symbolic links should not be inherited.
What do you think?
I would appreciate your feedback.