Options
All
  • Public
  • Public/Protected
  • All
Menu

External module "guid/parseValue"

Index

Functions

Functions

parseValue

  • parseValue(value: string | null): Internal
  • 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 ($guid: Guid!) {
      update(guid: $guid) {
        guid
      }
    }
    "fb123594-3344-466e-815b-d610e42718a9"
    throws

    { TypeError } invalid data

    Parameters

    • value: string | null

      the parsed variable value

    Returns Internal

    a concrete DOM Node class