Currently if a plugin fetches some data it needs and the main serialization_spec also fetches that data, then if you don't alias the name you get errors if the querysets don't perfectly match, or you have to alias.
Ideally SSM would analyse your plugins hierarchy and merge the specs together ensuring the superset of all required data was fetched, even though only that specified in the view would actually be returned. Viz:
Currently if a plugin fetches some data it needs and the main
serialization_spec
also fetches that data, then if you don't alias the name you get errors if the querysets don't perfectly match, or you have to alias.Ideally SSM would analyse your plugins hierarchy and merge the specs together ensuring the superset of all required data was fetched, even though only that specified in the view would actually be returned. Viz:
It might also be worth dictating that
This would assist in merging the trees together