fractal icon indicating copy to clipboard operation
fractal copied to clipboard

I want use item and Collection use Dissimilarity Transformer

Open acodercat opened this issue 6 years ago • 2 comments

I want use item and Collection use Dissimilarity Transformer

acodercat avatar May 15 '18 03:05 acodercat

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..

johannesschobel avatar Jun 07 '19 07:06 johannesschobel

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[bot] avatar Apr 16 '22 06:04 stale[bot]