Addition of meta directives to the GraphQL schema, for iterating and manipulating the value elements of array and object fields:
@underArrayItem
@underJSONObjectProperty
@underEachArrayItem
@underEachJSONObjectProperty
@objectClone
@underArrayItem
makes the nested directive be applied on a specific item from the array.
...produces:
@underJSONObjectProperty
makes the nested directive receive an entry from the queried JSON object.
...produces:
@underEachArrayItem
iterates over the array items from some field in the queried entity, and executes the nested directive(s) on each of them.
...produces:
@underEachJSONObjectProperty
is similar to @underEachArrayItem
, but operating on JSONObject
elements.
...produces: