Invoked when literal JSON needs to be parsed into the internal representation. When variables are used, they can be defined as pure JSON. This function parses that JSON into the concrete DOM nodes for internal use.
query ($dom: Dom!) { update(dom: $dom) { dom } }
{ "type": "text", "text": "Hey!" }
the parsed variable value
a concrete DOM Node class or undefined upon failure
undefined
Invoked when literal JSON needs to be parsed into the internal representation. When variables are used, they can be defined as pure JSON. This function parses that JSON into the concrete DOM nodes for internal use.
{ "type": "text", "text": "Hey!" }