SerializeOptions <T, P, E>
Index
Properties
optionalexclude
optionalforceObject
Enforce unpopulated references to be returned as objects, e.g. { author: { id: 1 } }
instead of { author: 1 }
.
optionalgroups
Only include properties for a specific group. If a property does not specify any group, it will be included, otherwise only properties with a matching group are included.
optionalignoreSerializers
Ignore custom property serializers.
optionalpopulate
Specify which relation should be serialized as populated and which as a FK.
optionalskipNull
Skip properties with null
value.
Specify which properties should be omitted.