This hooks enables altering generated entity access rules statements.
Automatically generated statements.
This is where any GraphQL item mutation schema entries are added by the trait.
TODO TS: Define correct relationship type.
Existing GraphQL schema.
String name of the source vertex that the trait is connected to
JSON Object of the relationship, can be null where trait is not attached to a relationship.
This is where any GraphQL Mutation schema entries are added by the trait.
TODO TS: Define correct relationship type.
Existing GraphQL schema.
String name of the source vertex that the trait is connected to
JSON Object of the relationship, can be null where trait is not attached to a relationship.
This is where any GraphQL Query schema entries are added by the trait.
TODO TS: Define correct relationship type.
Existing GraphQL schema.
String name of the source vertex that the trait is connected to
JSON Object of the relationship, can be null where trait is not attached to a relationship.
This is where any Global GraphQL Query schema entries are added by the trait.
TODO TS: Define correct relationship type.
Existing GraphQL schema.
String name of the source vertex that the trait is connected to
JSON Object of the relationship, can be null where trait is not attached to a relationship.
This is where any GraphQL vertex schema entries are added by the trait.
TODO TS: Define correct relationship type.
Existing GraphQL schema.
String name of the source vertex that the trait is connected to
JSON Object of the relationship, can be null where trait is not attached to a relationship.
Stores property (field) metadata inside SchemaItem object.
The property name.
Property metadata object.
Returns metadata for a given property.
The property name.
Returns schema item for a relationship target entity type.
This method may return an array of SchemaItems if given property target type is enum.
TODO: Overload this method to allow/disallow union types.
The property name.
Returns an array of instantiated Traits.
Generated using TypeDoc
Called by schema manager before properties metadata is frozen.
Param
The schema item.
Returns