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

I want use item and Collection use Dissimilarity Transformer #452

Open
acodercat opened this issue May 15, 2018 · 2 comments
Open

I want use item and Collection use Dissimilarity Transformer #452

acodercat opened this issue May 15, 2018 · 2 comments
Labels

Comments

@acodercat
Copy link

I want use item and Collection use Dissimilarity Transformer

@johannesschobel
Copy link
Contributor

what do you mean @acodercat ?
That, for example, if you are serializing a single Book item you want to apply the SingleBookTransformer, but if you are serializing a collection / list of Books, you want to apply the CollectionBookTransformer. (where SingleBookTransformer is not equal to CollectionBookTransformer, but may have some overlapping fields)?

Basically, you could just create different Resources and assign different Transformers..

@stale
Copy link

stale bot commented Apr 16, 2022

This issue has been automatically marked as stale because it has not had recent activity. It will be closed after 4 weeks if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale label Apr 16, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants