Protected Optional _graphProtected _resolveProtected Readonly schemaThis method is the internal class method called by getGraphQLQueriesForTraits() and getGraphQLMutationsForTraits() it is used to process the traits for both the Vertex's and the Edges/Relationships
Optional extraData: stringReturns a list of relationships exposed as GraphQL mutation arguments.
Entity type name.
The relationship actions to be executed.
Make all arguments optional. Useful for Update mutations.
Protected _getThis method is used to generate a list of properties for a schema item.
Schema item object
Process the relationship for a specified vertex.
TODO KBN-308: Filter out properties which shouldn't be listed. TODO https://io1dev.atlassian.net/browse/KBN-308
GraphQL fragment
This function is to handle the incoming edges to a vertex we are check if the inverse has been set and if it needs to be included in the graphql vertex
TODO KBN-308 Implement excluding connections listing TODO https://io1dev.atlassian.net/browse/KBN-308
Process a vertexs defined outgoing edges called by _processRelationshipsFor()
TODO KBN-308 Implement excluding connections listing TODO https://io1dev.atlassian.net/browse/KBN-308
GraphQL fragment
Checks if given relationship should be required in GraphQL mutation schema.
Private buildThis method is used to generate the required Mutations Schema data for Traits
This is the name of the Vertexs whos outgoing relationships the trait schema is generated for.
This method is used to generate the required Query Schema data for Traits
This is the name of the Vertex that the trait schema is generated for
This method is used to convert from a jsonschema type to a graphql schema
Traits can have GraphQL type which they can define as part of generating the GraphQL schema a check is made against the active traits which have been defined. Each trait will be processed only once.
Additional types defined by traits.
This method is used to generate the required Query Schema data for Traits
This is the name of the Vertex that the trait schema is generated for
Generated using TypeDoc
Generates Create mutation schema string for a given entity type.