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
Is your feature request related to a problem? Please describe.
In a scenario when you have to read partially the document (a projection) would be nice to have different classes for the query and for the result.
This is absolutely helpful when you use a class that uses the required keyword for some properties, here an example
With that scenario and SourceFilter is not possible because the deserialization process says that some required fields are missing (Property3 and Property4 in this example).
Is your feature request related to a problem? Please describe.
In a scenario when you have to read partially the document (a projection) would be nice to have different classes for the query and for the result.
This is absolutely helpful when you use a class that uses the required keyword for some properties, here an example
the projection object could be something like
With that scenario and
SourceFilter
is not possible because the deserialization process says that some required fields are missing (Property3 and Property4 in this example).Describe the solution you'd like
Additional context
I'm using a custom serilization class that uses System.Text.Json with source generators
The text was updated successfully, but these errors were encountered: