Skip to main content
Version: Next

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

Constructor

Modifiers

Description

(constructor)(validators)

Constructs a new instance of the FieldFormatEntityPolicy class

Methods

Method

Modifiers

Description

enforce(entity)