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

Polymorphic collections #28

Open
floriandejonckheere opened this issue Jun 22, 2020 · 2 comments
Open

Polymorphic collections #28

floriandejonckheere opened this issue Jun 22, 2020 · 2 comments
Labels
enhancement New feature or request

Comments

@floriandejonckheere
Copy link
Contributor

Cache crispies currently does not support polymorphic collections. Is this a feature that will be implemented in the future?

@uxxman
Copy link
Contributor

uxxman commented Nov 10, 2020

Also, looking for a similar thing for an STI relation. Each subclass has a different serializer but no option to specify them for a collection

@adamcrown adamcrown added the enhancement New feature or request label Jun 12, 2021
@adamcrown
Copy link
Member

Hmm, that's an interesting thought. I'll have to poke around and see how this could be handled. For performance reasons, the gem is designed to do as much of the work as possible up front, rather than having to repeat work on each record. So I'll have to see how well I can make this work within that paradigm.

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

No branches or pull requests

3 participants