You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
And similar for selection of relationship fields. Currently the serializer then resolves the actual AttrAttributes and RelationshipAttributes using the resource graph.
There are two problems with this setup
When the list of attributes/relationships is only known at runtime it is very complicated to use the serializer: you'll need to construct a Expression<Func<TResource, dynamic>> instead of just being able to pass that a list of attributes/relationships
The serializer should not be responsible for resolving AttrAttributes and RelationshipAttributes from and expression: the IResourceGraph service does that.
The text was updated successfully, but these errors were encountered:
Uh oh!
There was an error while loading. Please reload this page.
The
SetAttributesToSerialize
function takes an expression to select attributes to serialize in the request document:And similar for selection of relationship fields. Currently the serializer then resolves the actual
AttrAttributes
andRelationshipAttributes
using the resource graph.There are two problems with this setup
Expression<Func<TResource, dynamic>>
instead of just being able to pass that a list of attributes/relationshipsAttrAttributes
andRelationshipAttributes
from and expression: theIResourceGraph
service does that.The text was updated successfully, but these errors were encountered: