fractal
fractal copied to clipboard
I want use item and Collection use Dissimilarity Transformer
I want use item and Collection use Dissimilarity Transformer
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 Book
s, 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
..
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.