MCPcopy Create free account
hub / github.com/StarpTech/FastGraph / Field

Function Field

src/graphql-utils.ts:52–61  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

50 ast,
51 visitWithTypeInfo(typeInfo, {
52 Field() {
53 const field = typeInfo.getFieldDef()
54 if (field) {
55 const namedType = getNamedType(field.type)
56 const scalar = isScalarType(namedType)
57 if (!scalar) {
58 types.add(namedType.name)
59 }
60 }
61 },
62 }),
63 )
64

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected