Skip to main content
Version: Next 🚧

[F] $includeInapplicableMetadataInPayload

function $includeInapplicableMetadataInPayload(
context,
entity,
value): void

Specifies if inapplicable metadata should be included in the payload for the given entity. This is true by default unless changed by this decorator.

Parameters

ParameterTypeDescription
contextDecoratorContext-
entityTypeTarget model, namespace, or model property. If applied to a model or namespace, applies recursively to child models, namespaces, and model properties unless overridden by applying this decorator to a child.
valuebooleantrue to include inapplicable metadata in payload, false to exclude it.

Returns

void

See

isApplicableMetadata