MCPcopy Index your code

hub / github.com/Khan/genqlient / functions

Functions2,231 in github.com/Khan/genqlient

↓ 3 callersFunctionmakeRequest
(server *httptest.Server)
graphql/client_test.go:25
↓ 3 callersFunctionmakeServer
(t *testing.T, responseCode int, responseBody any)
graphql/client_test.go:15
↓ 3 callersMethodmarshalNID2string
(ctx context.Context, sel ast.SelectionSet, v string)
internal/integration/server/gqlgen_exec.go:5173
↓ 3 callersMethodmarshalNUser2ᚕᚖgithubᚗcomᚋKhanᚋgenqlientᚋinternalᚋintegrationᚋserverᚐUserᚄ
(ctx context.Context, sel ast.SelectionSet, v []*User)
internal/integration/server/gqlgen_exec.go:5264
↓ 3 callersMethodmarshalN__Type2ᚖgithubᚗcomᚋ99designsᚋgqlgenᚋgraphqlᚋintrospectionᚐType
(ctx context.Context, sel ast.SelectionSet, v *introspection.Type)
internal/integration/server/gqlgen_exec.go:5546
↓ 3 callersMethodmarshalOBeing2githubᚗcomᚋKhanᚋgenqlientᚋinternalᚋintegrationᚋserverᚐBeing
(ctx context.Context, sel ast.SelectionSet, v Being)
internal/integration/server/gqlgen_exec.go:5571
↓ 3 callersMethodmarshalOUser2ᚖgithubᚗcomᚋKhanᚋgenqlientᚋinternalᚋintegrationᚋserverᚐUser
(ctx context.Context, sel ast.SelectionSet, v *User)
internal/integration/server/gqlgen_exec.go:5746
↓ 3 callersFunctionmaybeAddTypeDescription
(info descriptionInfo, description string)
generate/description.go:27
↓ 3 callersFunctionnewGenqlientDirective
(pos *ast.Position)
generate/genqlient_directive.go:28
↓ 3 callersFunctionqueryWithInterfaceNoFragments
( ctx_ context.Context, client_ graphql.Client, id string, )
internal/integration/generated.go:3600
↓ 3 callersMethodsendStructAsJSON
(object any)
graphql/websocket.go:83
↓ 3 callersFunctiontestStringFunc
(t *testing.T, f func(string) string, tests []test)
generate/util_test.go:11
↓ 3 callersFunctionusersByBirthdates
(dates []string)
internal/integration/server/server.go:54
↓ 2 callersMethodBeing
(ctx context.Context, id string)
internal/integration/server/gqlgen_exec.go:104
↓ 2 callersMethodBeings
(ctx context.Context, ids []string)
internal/integration/server/gqlgen_exec.go:105
↓ 2 callersMethodCount
(ctx context.Context)
internal/integration/server/gqlgen_exec.go:113
↓ 2 callersMethodCountAuthorized
(ctx context.Context)
internal/integration/server/gqlgen_exec.go:114
↓ 2 callersMethodCreateUser
(ctx context.Context, input NewUser)
internal/integration/server/gqlgen_exec.go:99
↓ 2 callersMethodDialContext
(ctx context.Context, urlStr string, requestHeader http.Header)
graphql/client.go:188
↓ 2 callersMethodFail
(ctx context.Context)
internal/integration/server/gqlgen_exec.go:110
↓ 2 callersMethodGet
(fallback V)
internal/testutil/types.go:71
↓ 2 callersMethodLotteryWinner
(ctx context.Context, number int)
internal/integration/server/gqlgen_exec.go:106
↓ 2 callersMethodMe
(ctx context.Context)
internal/integration/server/gqlgen_exec.go:102
↓ 2 callersMethodNeedsMarshaling
NeedsMarshaler returns true if any fields of this type need special handling when (un)marshaling (see goStructField.NeedsMarshaling).
generate/types.go:275
↓ 2 callersFunctionNewClientUsingGet
NewClientUsingGet returns a [Client] which makes GET requests to the given endpoint suitable for most users who wish to make GET requests instead of P
graphql/client.go:125
↓ 2 callersMethodReadMessage
()
graphql/client.go:196
↓ 2 callersFunctionRepoRoot
RepoRoot returns the root of the genqlient repository,
internal/integration/util.go:15
↓ 2 callersFunctionRunGenerateTest
RunGenerateTest checks that running genqlient with the given repo-root-relative config file would not produce any changes to the checked-in files. No
internal/integration/util.go:34
↓ 2 callersMethodSelector
Selector returns the field's name, which is unqualified type-name if it's embedded.
generate/types.go:199
↓ 2 callersMethodSubscription
()
internal/integration/server/gqlgen_exec.go:43
↓ 2 callersMethodUser
(ctx context.Context, id *string)
internal/integration/server/gqlgen_exec.go:103
↓ 2 callersMethodUserSearch
(ctx context.Context, birthdate *string, id *string)
internal/integration/server/gqlgen_exec.go:109
↓ 2 callersMethodUsersBornOn
(ctx context.Context, date string)
internal/integration/server/gqlgen_exec.go:107
↓ 2 callersMethodUsersBornOnDates
(ctx context.Context, dates []string)
internal/integration/server/gqlgen_exec.go:108
↓ 2 callersMethodValidateAndFillDefaults
ValidateAndFillDefaults ensures that the configuration is valid, and fills in any options that were unspecified. The argument is the directory relati
generate/config.go:195
↓ 2 callersMethodWriteMessage
(messageType int, data []byte)
graphql/client.go:195
↓ 2 callersMethod_Animal
(ctx context.Context, sel ast.SelectionSet, obj *Animal)
internal/integration/server/gqlgen_exec.go:4258
↓ 2 callersFunction__marshalAnimalFieldsOwnerBeing
(v *AnimalFieldsOwnerBeing)
internal/integration/generated.go:166
↓ 2 callersFunction__marshalTopicNewestContentNewestContentLeafContent
(v *TopicNewestContentNewestContentLeafContent)
generate/testdata/snapshots/TestGenerate-ComplexNamedFragments.graphql-ComplexNamedFragments.graphql.go:2075
↓ 2 callersFunction__marshalUserLastContentLastContentLeafContent
(v *UserLastContentLastContentLeafContent)
generate/testdata/snapshots/TestGenerate-ComplexNamedFragments.graphql-ComplexNamedFragments.graphql.go:2356
↓ 2 callersMethod__premarshalJSON
()
generate/testdata/snapshots/TestGenerate-StructOption.graphql-StructOption.graphql.go:161
↓ 2 callersMethod__premarshalJSON
()
generate/testdata/snapshots/TestGenerate-ComplexInlineFragments.graphql-ComplexInlineFragments.graphql.go:1271
↓ 2 callersMethodargsString
Helper for String, returns the directive but without the @genqlient().
generate/genqlient_directive.go:36
↓ 2 callersMethodbaseTypeForOperation
baseTypeForOperation returns the definition of the GraphQL type to which the root of the operation corresponds, e.g. the "Query" or "Mutation" type.
generate/convert.go:76
↓ 2 callersFunctionbeingByID
(id string)
internal/integration/server/server.go:66
↓ 2 callersFunctionbuildGoFile
buildGoFile returns an error if the given Go code is not valid. namePrefix is used for the temp-file, and is just for debugging.
generate/generate_test.go:24
↓ 2 callersFunctionchangeFirst
(s string, f func(rune) rune)
generate/util.go:15
↓ 2 callersFunctioncreateUser
( ctx_ context.Context, client_ graphql.Client, user NewUser, )
internal/integration/generated.go:3213
↓ 2 callersFunctionfailingQuery
( ctx_ context.Context, client_ graphql.Client, )
internal/integration/generated.go:3248
↓ 2 callersMethodfieldContext_BeingsHair_hasHair
(_ context.Context, field graphql.CollectedField)
internal/integration/server/gqlgen_exec.go:1188
↓ 2 callersMethodfieldContext_Hair_color
(_ context.Context, field graphql.CollectedField)
internal/integration/server/gqlgen_exec.go:1229
↓ 2 callersMethodfieldContext___Directive_args
(_ context.Context, field graphql.CollectedField)
internal/integration/server/gqlgen_exec.go:2569
↓ 2 callersMethodfieldContext___Directive_description
(_ context.Context, field graphql.CollectedField)
internal/integration/server/gqlgen_exec.go:2481
↓ 2 callersMethodfieldContext___Directive_isRepeatable
(_ context.Context, field graphql.CollectedField)
internal/integration/server/gqlgen_exec.go:2623
↓ 2 callersMethodfieldContext___Directive_locations
(_ context.Context, field graphql.CollectedField)
internal/integration/server/gqlgen_exec.go:2525
↓ 2 callersMethodfieldContext___Directive_name
(_ context.Context, field graphql.CollectedField)
internal/integration/server/gqlgen_exec.go:2440
↓ 2 callersMethodfieldContext___EnumValue_deprecationReason
(_ context.Context, field graphql.CollectedField)
internal/integration/server/gqlgen_exec.go:2793
↓ 2 callersMethodfieldContext___EnumValue_description
(_ context.Context, field graphql.CollectedField)
internal/integration/server/gqlgen_exec.go:2708
↓ 2 callersMethodfieldContext___EnumValue_isDeprecated
(_ context.Context, field graphql.CollectedField)
internal/integration/server/gqlgen_exec.go:2752
↓ 2 callersMethodfieldContext___EnumValue_name
(_ context.Context, field graphql.CollectedField)
internal/integration/server/gqlgen_exec.go:2667
↓ 2 callersMethodfieldContext___Field_args
(_ context.Context, field graphql.CollectedField)
internal/integration/server/gqlgen_exec.go:2922
↓ 2 callersMethodfieldContext___Field_deprecationReason
(_ context.Context, field graphql.CollectedField)
internal/integration/server/gqlgen_exec.go:3083
↓ 2 callersMethodfieldContext___Field_description
(_ context.Context, field graphql.CollectedField)
internal/integration/server/gqlgen_exec.go:2878
↓ 2 callersMethodfieldContext___Field_isDeprecated
(_ context.Context, field graphql.CollectedField)
internal/integration/server/gqlgen_exec.go:3042
↓ 2 callersMethodfieldContext___Field_name
(_ context.Context, field graphql.CollectedField)
internal/integration/server/gqlgen_exec.go:2837
↓ 2 callersMethodfieldContext___Field_type
(_ context.Context, field graphql.CollectedField)
internal/integration/server/gqlgen_exec.go:2976
↓ 2 callersMethodfieldContext___Schema_description
(_ context.Context, field graphql.CollectedField)
internal/integration/server/gqlgen_exec.go:3316
↓ 2 callersMethodfieldContext___Schema_directives
(_ context.Context, field graphql.CollectedField)
internal/integration/server/gqlgen_exec.go:3618
↓ 2 callersMethodfieldContext___Schema_mutationType
(_ context.Context, field graphql.CollectedField)
internal/integration/server/gqlgen_exec.go:3489
↓ 2 callersMethodfieldContext___Schema_queryType
(_ context.Context, field graphql.CollectedField)
internal/integration/server/gqlgen_exec.go:3426
↓ 2 callersMethodfieldContext___Schema_subscriptionType
(_ context.Context, field graphql.CollectedField)
internal/integration/server/gqlgen_exec.go:3552
↓ 2 callersMethodfieldContext___Schema_types
(_ context.Context, field graphql.CollectedField)
internal/integration/server/gqlgen_exec.go:3360
↓ 2 callersMethodfield_Mutation_createUser_args
endregion ************************** generated!.gotpl ************************** region ***************************** args.gotpl ******************
internal/integration/server/gqlgen_exec.go:552
↓ 2 callersMethodfield_Query_being_args
(ctx context.Context, rawArgs map[string]interface{})
internal/integration/server/gqlgen_exec.go:616
↓ 2 callersMethodfield_Query_beings_args
(ctx context.Context, rawArgs map[string]interface{})
internal/integration/server/gqlgen_exec.go:648
↓ 2 callersMethodfield_Query_lotteryWinner_args
(ctx context.Context, rawArgs map[string]interface{})
internal/integration/server/gqlgen_exec.go:680
↓ 2 callersMethodfield_Query_userSearch_args
(ctx context.Context, rawArgs map[string]interface{})
internal/integration/server/gqlgen_exec.go:712
↓ 2 callersMethodfield_Query_user_args
(ctx context.Context, rawArgs map[string]interface{})
internal/integration/server/gqlgen_exec.go:771
↓ 2 callersMethodfield_Query_usersBornOnDates_args
(ctx context.Context, rawArgs map[string]interface{})
internal/integration/server/gqlgen_exec.go:803
↓ 2 callersMethodfield_Query_usersBornOn_args
(ctx context.Context, rawArgs map[string]interface{})
internal/integration/server/gqlgen_exec.go:835
↓ 2 callersFunctionfilepathJoinAll
(a string, bs []string)
generate/parse_test.go:85
↓ 2 callersFunctionfindCfg
findCfg searches for the config file in this directory and all parents up the tree looking for the closest match
generate/config.go:358
↓ 2 callersMethodformatJSON
Put JSON in a stable and human-readable format.
internal/integration/roundtrip.go:57
↓ 2 callersFunctionfragmentDescription
(info descriptionInfo)
generate/description.go:36
↓ 2 callersMethodgetDefault
()
generate/config.go:117
↓ 2 callersFunctiongetQueriesFromString
(text string, basedir, filename string)
generate/parse.go:166
↓ 2 callersFunctiongetTestQueries
(t *testing.T, ext string)
generate/parse_test.go:28
↓ 2 callersMethodgetType
getType returns the existing type in g.typeMap with the given name, if any, and an error if such type is incompatible with this one. This is useful a
generate/convert.go:26
↓ 2 callersFunctiongoSourceError
goSourceError processes the error(s) returned by go tooling (gofmt, etc.) into a nice error message. In practice, such errors are genqlient internal
generate/errors.go:142
↓ 2 callersMethodhandleErr
(err error)
graphql/websocket.go:107
↓ 2 callersFunctionintptr
(v int)
internal/integration/server/server.go:17
↓ 2 callersFunctionmakeIdentifier
makeIdentifier takes a string and returns a valid go identifier like it. If the string is an identifier, return the input. Otherwise, munge it to mak
generate/imports.go:19
↓ 2 callersMethodmarshalNInt2int
(ctx context.Context, sel ast.SelectionSet, v int)
internal/integration/server/gqlgen_exec.go:5220
↓ 2 callersMethodmarshalNUser2ᚖgithubᚗcomᚋKhanᚋgenqlientᚋinternalᚋintegrationᚋserverᚐUser
(ctx context.Context, sel ast.SelectionSet, v *User)
internal/integration/server/gqlgen_exec.go:5308
↓ 2 callersMethodmarshalN__InputValue2githubᚗcomᚋ99designsᚋgqlgenᚋgraphqlᚋintrospectionᚐInputValue
(ctx context.Context, sel ast.SelectionSet, v introspection.InputValue)
internal/integration/server/gqlgen_exec.go:5450
↓ 2 callersMethodmarshalN__InputValue2ᚕgithubᚗcomᚋ99designsᚋgqlgenᚋgraphqlᚋintrospectionᚐInputValueᚄ
(ctx context.Context, sel ast.SelectionSet, v []introspection.InputValue)
internal/integration/server/gqlgen_exec.go:5454
↓ 2 callersMethodmarshalN__Type2githubᚗcomᚋ99designsᚋgqlgenᚋgraphqlᚋintrospectionᚐType
(ctx context.Context, sel ast.SelectionSet, v introspection.Type)
internal/integration/server/gqlgen_exec.go:5498
↓ 2 callersMethodmarshalO__Type2ᚕgithubᚗcomᚋ99designsᚋgqlgenᚋgraphqlᚋintrospectionᚐTypeᚄ
(ctx context.Context, sel ast.SelectionSet, v []introspection.Type)
internal/integration/server/gqlgen_exec.go:5901
↓ 2 callersMethodmarshaler
marshaler returns: - the fully-qualified name of the function to use to marshal this field - true if we need to generate an marshaler at all, false if
generate/types.go:240
↓ 2 callersFunctionnewClient
(endpoint string, httpClient Doer, method string)
graphql/client.go:171
← previousnext →101–200 of 2,231, ranked by callers