Closed
Description
Conditions under which this bug occurs:
SerializerNullValueHandling
orSerializerDefaultValueHandling
is set toIgnore
inIJsonApiOptions.SerializerSettings
- The resource model consists of multiple attributes
- A non-last attribute is set to
null
or its default value
In this case, any attributes following the attribute whose value is null
or default are omitted from the response body.
This is caused by lines:
continue
instead of return
.