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

Function possibleTypeNames

script/ghmock/graphqlcheck.go:453–459  ·  view source on GitHub ↗
(schema *ast.Schema, def *ast.Definition)

Source from the content-addressed store, hash-verified

451}
452
453func possibleTypeNames(schema *ast.Schema, def *ast.Definition) []string {
454 var names []string
455 for _, t := range schema.GetPossibleTypes(def) {
456 names = append(names, t.Name)
457 }
458 return names
459}
460
461func enumValueNames(def *ast.Definition) []string {
462 var names []string

Callers 2

writeGraphQLTypeFunction · 0.85
checkObjectMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected