On the last case all relationships that does not have included data gets removed from serialized to JSON object
carModel, carBodyShape, carGrade will get ignored because it does not included
This updates add an object for each not included relationship while hydrating data
The object will have only id & type
I was trying to use DocumentHydrator to hydrate incoming request
I found out an issue on the Hydrator relationship is not included it gets ignored
consider this example
On the last case all relationships that does not have included data gets removed from serialized to JSON object carModel, carBodyShape, carGrade will get ignored because it does not included
This updates add an object for each not included relationship while hydrating data The object will have only id & type