Property for the many side of a relation Is mapped to a Connection in GraphQL
Parameters
Types
Properties
Newly added nodes, relations must be added to the database
Current set of nodes
Delegate for lazy-loading the property
The NodeSetProperty returned to the user
Newly removed nodes, relations must be removed from the database
Functions
Ensures that this NodeSetProperty is loaded
Gets the loaded property which is returned by the lazy loading delegate
Gets related nodes defined by this property, but only those already loaded (therefore no lazy loading) The relationships do not have to be persisted yet
Gets the diff of added and removed relationships to persist in the database
Gets the lazy loading delegate which is used to get the value of the property
Called to register a database query result Adds the result to the cache Can be overridden to add custom behavior (super should be called in this case)
Called to validate the property Should throw an exception if the property is invalid, with an appropriate reason