Options
All
  • Public
  • Public/Protected
  • All
Menu

External module "formation/meta/parseValue"

Index

Functions

Functions

parseValue

  • parseValue(value: IFormationMeta): 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 meta for internal use.

    query ($formation: Formation!) {
      update(formation: $formation) {
        formation
      }
    }
    {
      "features": ["one", "two"],
      "action": "prompt/signup"
    }

    Parameters

    • value: IFormationMeta

      the parsed variable value

    Returns Internal

    a concrete meta object