Datagraph Best Practices

(0 reviews)

non-union-antipattern

general > non-union-antipattern


Guidance

When representing optional properties, unions between `nil` and other types of shapes are unnecessary.
Instead, use optional properties.

Applies to AnyShape

Constraint

Type: Rego Validation

Reviews

TypeRuleset
OrganizationMuleSoft
Published by
MuleSoft Organization
Published onOct 6, 2022
Asset overview

Asset versions for 1.0.x

Asset versions
VersionActions
1.0.1
1.0.0