Closed
Description
Description
If DocumentBuilderOptions.OmitNullValuedAttributes
is set to true
and an included resource object has a null valued attribute, it will not be omitted. Any null valued attributes in primary resource objects are correctly omitted. It looks like DocumentBuilder.GetIncludedEntity()
does not check OmitNullValuedAttribute()
method when adding attributes.
Environment
- JsonApiDotNetCore Version: 3.0
- Other Relevant Package Versions: