import { valueFromASTUntyped } from "https://dotland.deno.dev/x/graphql_deno@v15.0.0/lib/utilities/valueFromASTUntyped.d.ts";
Produces a JavaScript value given a GraphQL Value AST.
Unlike valueFromAST()
, no type is provided. The resulting JavaScript value
will reflect the provided GraphQL value AST.
GraphQL Value | JavaScript Value |
---|---|
Input Object | Object |
List | Array |
Boolean | Boolean |
String / Enum | String |
Int / Float | Number |
Null | null |