MCPcopy Create free account
hub / github.com/ardatan/graphql-tools / emptySources

Function emptySources

packages/utils/src/variableValues.ts:9–11  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

7};
8
9function emptySources(): VariableValues['sources'] {
10 return Object.create(null) as VariableValues['sources'];
11}
12
13/**
14 * GraphQL 17 `getArgumentValues` expects `{ coerced, sources }`; GraphQL 16 accepts a flat map.

Callers 2

Calls

no outgoing calls

Tested by

no test coverage detected