Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature Request: Chainable Includes #385

Open
cedricwider opened this issue Jul 9, 2020 · 0 comments
Open

Feature Request: Chainable Includes #385

cedricwider opened this issue Jul 9, 2020 · 0 comments

Comments

@cedricwider
Copy link
Contributor

Problem

In our applications we've established this pattern of creating a concern that allows the controller to override includes. This works well in the context of controllers. If, for instance, one would fetch resources from within another concern, overriding the default includes is not an option.

Proposed solution

Chainable includes would solve this problem, because you simply could add more and more includes.
Currently this is not possible, because find resolves. Maybe a more where like approach could enable us making includes chainable.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant