Rails 7 has removed ActiveSupport::Dependencies. How should reloading be done now?
Open
Nobody has claimed this yet.
bug?
you can help
- Dominant language
- Ruby
- Stars
- 10k
- Forks
- 1.2k
- Avg merge
- 14h 38m
- Merged PRs (30d)
- 92
Description
https://github.com/ruby-grape/grape/issues/358
https://github.com/ruby-grape/grape#reloading-api-changes-in-development
We have:
ActiveSupport::Dependencies.explicitly_unloadable_constants += [
'GrapeAPI::V1::RootEndpoint',
'GrapeAPI::RootEndpoint'
]
Contributor guide
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 with the linked ruby-grape/grape issue and the repository's “reloading API changes in development” section, then trace how the shown ActiveSupport::Dependencies configuration is used. Done means establishing and documenting or implementing the Rails 7-compatible reloading approach for these constants.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- ruby
- Domain
- api, backend
- Issue type
- Refactor
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100