MCPcopy Create free account
hub / github.com/cli/cli / graphQLTypeNames

Function graphQLTypeNames

script/ghmock/schemacmd.go:239–247  ·  view source on GitHub ↗
(schema *ast.Schema)

Source from the content-addressed store, hash-verified

237}
238
239func graphQLTypeNames(schema *ast.Schema) []string {
240 var names []string
241 for name := range schema.Types {
242 if !strings.HasPrefix(name, "__") {
243 names = append(names, name)
244 }
245 }
246 return names
247}
248
249func graphQLFieldNames(def *ast.Definition) []string {
250 var names []string

Callers 1

describeGraphQLFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected