Skip to main content

FieldFormatEntityPolicy

Home > @backstage/catalog-model > FieldFormatEntityPolicy

Ensures that the format of individual fields of the entity envelope is valid.

Signature:

class FieldFormatEntityPolicy implements EntityPolicy 

Implements: EntityPolicy

Remarks

This does not take into account machine generated fields such as uid and etag.

Constructors

ConstructorModifiersDescription
(constructor)(validators)Constructs a new instance of the FieldFormatEntityPolicy class

Methods

MethodModifiersDescription
enforce(entity)