computeValue function

Object? computeValue(
  1. GraphQLType? targetType,
  2. ValueNode node,
  3. Map<String, dynamic>? values
)

Implementation

Object? computeValue(
  GraphQLType? targetType,
  ValueNode node,
  Map<String, dynamic>? values,
) =>
    // TODO: 3I we can improve errors by passing targetType
    // but we need to be careful of potential performance
    // problems
    valueFromAst(null, node, values);