MCPcopy
hub / github.com/ardatan/graphql-tools / get

Method get

packages/mock/src/types.ts:106–106  ·  view source on GitHub ↗

* Get a field value from the store for the given type, key and field * name — and optionally field arguments. If the field name is not given, * a reference to the type will be returned. * * If the the value for this field is not set, a value will be * generated according to field retu

(
    args: GetArgs<KeyT>,
  )

Source from the content-addressed store, hash-verified

104 * ```
105 */
106 get<KeyT extends KeyTypeConstraints = string, ReturnKeyT extends KeyTypeConstraints = string>(
107 args: GetArgs<KeyT>,
108 ): unknown | Ref<ReturnKeyT>;
109 /**

Callers 15

mergeEnumValuesFunction · 0.65
composeResolversFunction · 0.65
sortExecutableNodesFunction · 0.65
resolveFieldFunction · 0.65
memoize1Function · 0.65
memoize2Function · 0.65
memoize3Function · 0.65
memoize4Function · 0.65
memoize5Function · 0.65
memoize2of4Function · 0.65
memoize2of5Function · 0.65
getFunction · 0.65

Implementers 1

MockStorepackages/mock/src/MockStore.ts

Calls

no outgoing calls

Tested by 3

listWrapperTransformerFunction · 0.52
customFetchFunction · 0.52
resolversFunction · 0.52