MCPcopy Create free account

hub / github.com/Khan/genqlient / functions

Functions2,231 in github.com/Khan/genqlient

↓ 1 callersMethodunmarshalODate2ᚖstring
(ctx context.Context, v interface{})
internal/integration/server/gqlgen_exec.go:5611
↓ 1 callersMethodusedFragments
usedFragmentNames returns the named-fragments used by (i.e. spread into) this operation.
generate/generate.go:125
↓ 1 callersMethodvalidate
(node interface{}, schema *ast.Schema)
generate/genqlient_directive.go:192
↓ 1 callersMethodvalidate
()
generate/config.go:98
↓ 1 callersMethodvalidateBindingSelection
validateBindingSelection checks that if you requested in your type-binding that this type must always request certain fields, then in fact it does.
generate/validation.go:89
↓ 1 callersMethodvalidateOperation
validateOperation checks for a few classes of operations that gqlparser considers valid but we don't allow, and returns an error if this operation is
generate/generate.go:230
↓ 1 callersMethodwaitForConnAck
()
graphql/websocket.go:91
FunctionAliasDirective
( client_ graphql.Client, )
generate/testdata/snapshots/TestGenerate-AliasDirective.graphql-AliasDirective.graphql.go:50
MethodBattle
(q Pokemon)
internal/testutil/types.go:18
MethodBattle
(q Pokemon)
internal/testutil/junk---fun.name/types.go:17
MethodBeing
(ctx context.Context, id string)
internal/integration/server/server.go:109
MethodBeings
(ctx context.Context, ids []string)
internal/integration/server/server.go:113
MethodClose
()
internal/integration/roundtrip.go:113
MethodClose
()
graphql/websocket.go:190
MethodClose
Close must close the webSocket connection and close the error channel. If no connection was started, Close is a no-op
graphql/client.go:55
FunctionComplexInlineFragments
We test all the spread cases from docs/design.md, see there for more context on each, as well as various other nonsense. But for abstract-in-abstract
generate/testdata/snapshots/TestGenerate-ComplexInlineFragments.graphql-ComplexInlineFragments.graphql.go:1437
FunctionComplexNamedFragments
( client_ graphql.Client, )
generate/testdata/snapshots/TestGenerate-Flatten.graphql-Flatten.graphql.go:307
FunctionComplexNamedFragments
( client_ graphql.Client, )
generate/testdata/snapshots/TestGenerate-ComplexNamedFragments.graphql-ComplexNamedFragments.graphql.go:2602
FunctionComplexNamedFragmentsWithInlineUnion
( client_ graphql.Client, )
generate/testdata/snapshots/TestGenerate-ComplexNamedFragments.graphql-ComplexNamedFragments.graphql.go:2654
MethodComplexity
(typeName, field string, childComplexity int, rawArgs map[string]interface{})
internal/integration/server/gqlgen_exec.go:131
MethodCountAuthorized
(ctx context.Context)
internal/integration/server/server.go:177
FunctionCovariantInterfaceImplementation
( client_ graphql.Client, )
generate/testdata/snapshots/TestGenerate-CovariantInterfaceImplementation.graphql-CovariantInterfaceImplementation.graphql.go:2395
MethodCreateUser
(ctx context.Context, input NewUser)
internal/integration/server/server.go:154
FunctionCustomMarshal
( client_ graphql.Client, date time.Time, )
generate/testdata/snapshots/TestGenerate-CustomMarshal.graphql-CustomMarshal.graphql.go:187
FunctionCustomMarshalSlice
( client_ graphql.Client, datesss [][][]time.Time, datesssp [][][]*time.Time, )
generate/testdata/snapshots/TestGenerate-CustomMarshalSlice.graphql-CustomMarshalSlice.graphql.go:214
FunctionDefaultInputs
very similar to DefaultInputsWithForDirective.graphql - same expected behaviour, but takes a different code path(?)
generate/testdata/snapshots/TestGenerate-DefaultInputsWithDirective.graphql-DefaultInputsWithDirective.graphql.go:44
FunctionDefaultInputs
Without any extra directives or configuration, the defaults are never considered, as the client sends at least zero-value (struct with empty string).
generate/testdata/snapshots/TestGenerate-DefaultInputs.graphql-DefaultInputs.graphql.go:45
FunctionDefaultInputs
The `InputWithDefaults.field` cannot be `pointer: true`, together with implicit `omitempty: false`, as `null` is not a valid value there. However, nul
generate/testdata/snapshots/TestGenerate-DefaultInputsPointer.graphql-DefaultInputsPointer.graphql.go:46
FunctionDefaultInputs
( client_ graphql.Client, input InputWithDefaults, )
generate/testdata/snapshots/TestGenerate-DefaultInputsWithForDirective.graphql-DefaultInputsWithForDirective.graphql.go:43
MethodDialContext
(ctx context.Context, urlStr string, requestHeader http.Header)
internal/integration/roundtrip.go:153
FunctionEmptyInterface
( client_ graphql.Client, )
generate/testdata/snapshots/TestGenerate-EmptyInterface.graphql-EmptyInterface.graphql.go:31
MethodExec
(ctx context.Context)
internal/integration/server/gqlgen_exec.go:362
MethodFail
(ctx context.Context)
internal/integration/server/server.go:149
FunctionFromPtr
(ptr *V)
internal/testutil/types.go:79
MethodGetAcceptsListOfListOfListsOfDates
GetAcceptsListOfListOfListsOfDates returns CustomMarshalSliceResponse.AcceptsListOfListOfListsOfDates, and is useful for accessing the field via an in
generate/testdata/snapshots/TestGenerate-CustomMarshalSlice.graphql-CustomMarshalSlice.graphql.go:21
MethodGetAlsoID
GetAlsoID returns QueryWithDoubleAliasUser.AlsoID, and is useful for accessing the field via an interface.
generate/testdata/snapshots/TestGenerate-QueryWithDoubleAlias.graphql-QueryWithDoubleAlias.graphql.go:41
MethodGetAnd
GetAnd returns GetPokemonBoolExp.And, and is useful for accessing the field via an interface.
generate/testdata/snapshots/TestGenerate-Hasura.graphql-Hasura.graphql.go:18
MethodGetAuthMethods
GetAuthMethods returns QueryWithStructsUser.AuthMethods, and is useful for accessing the field via an interface.
generate/testdata/snapshots/TestGenerateWithConfig-StructReferencesAndOptionalPointer-testdata-queries-generated.go:73
MethodGetAuthMethods
GetAuthMethods returns QueryWithStructsUser.AuthMethods, and is useful for accessing the field via an interface.
generate/testdata/snapshots/TestGenerate-QueryWithStructs.graphql-QueryWithStructs.graphql.go:30
MethodGetAuthMethods
GetAuthMethods returns QueryWithStructsUser.AuthMethods, and is useful for accessing the field via an interface.
generate/testdata/snapshots/TestGenerateWithConfig-StructReferences-testdata-queries-generated.go:73
MethodGetBeing
GetBeing returns queryWithInterfaceNoFragmentsResponse.Being, and is useful for accessing the field via an interface.
internal/integration/generated.go:2601
MethodGetBeings
GetBeings returns QueryFragment.Beings, and is useful for accessing the field via an interface.
internal/integration/generated.go:615
MethodGetBeings
GetBeings returns queryWithFragmentsResponse.Beings, and is useful for accessing the field via an interface.
internal/integration/generated.go:2005
MethodGetBeings
GetBeings returns queryWithInterfaceListFieldResponse.Beings, and is useful for accessing the field via an interface.
internal/integration/generated.go:2197
MethodGetBeings
GetBeings returns queryWithInterfaceListPointerFieldResponse.Beings, and is useful for accessing the field via an interface.
internal/integration/generated.go:2391
MethodGetBeings
GetBeings returns queryWithNamedFragmentsResponse.Beings, and is useful for accessing the field via an interface.
internal/integration/generated.go:2928
MethodGetBirthdate
GetBirthdate returns queryWithCustomMarshalOptionalUserSearchUser.Birthdate, and is useful for accessing the field via an interface.
internal/integration/generated.go:1394
MethodGetBirthdate
GetBirthdate returns queryWithCustomMarshalSliceUsersBornOnDatesUser.Birthdate, and is useful for accessing the field via an interface.
internal/integration/generated.go:1499
MethodGetBirthdate
GetBirthdate returns queryWithCustomMarshalUsersBornOnUser.Birthdate, and is useful for accessing the field via an interface.
internal/integration/generated.go:1586
MethodGetBirthdate
GetBirthdate returns UserQueryInput.Birthdate, and is useful for accessing the field via an interface.
generate/testdata/snapshots/TestGenerate-PointersInline.graphql-PointersInline.graphql.go:136
MethodGetBirthdate
GetBirthdate returns MyInput.Birthdate, and is useful for accessing the field via an interface.
generate/testdata/snapshots/TestGenerate-MultipleDirectives.graphql-MultipleDirectives.graphql.go:49
MethodGetBirthdate
GetBirthdate returns UserQueryInput.Birthdate, and is useful for accessing the field via an interface.
generate/testdata/snapshots/TestGenerate-MultipleDirectives.graphql-MultipleDirectives.graphql.go:235
MethodGetBirthdate
GetBirthdate returns UserQueryInput.Birthdate, and is useful for accessing the field via an interface.
generate/testdata/snapshots/TestGenerate-Pointers.graphql-Pointers.graphql.go:136
MethodGetBirthdate
GetBirthdate returns UserQueryInput.Birthdate, and is useful for accessing the field via an interface.
generate/testdata/snapshots/TestGenerate-unexported.graphql-unexported.graphql.go:68
MethodGetBirthdate
GetBirthdate returns UserQueryInput.Birthdate, and is useful for accessing the field via an interface.
generate/testdata/snapshots/TestGenerate-Omitempty.graphql-Omitempty.graphql.go:120
MethodGetBirthdate
GetBirthdate returns UserQueryInput.Birthdate, and is useful for accessing the field via an interface.
generate/testdata/snapshots/TestGenerate-InputObject.graphql-InputObject.graphql.go:94
MethodGetBirthdate
GetBirthdate returns UserQueryInput.Birthdate, and is useful for accessing the field via an interface.
generate/testdata/snapshots/TestGenerateWithConfig-StructReferencesAndOptionalPointer-testdata-queries-generated.go:143
MethodGetBirthdate
GetBirthdate returns CustomMarshalUsersBornOnUser.Birthdate, and is useful for accessing the field via an interface.
generate/testdata/snapshots/TestGenerate-CustomMarshal.graphql-CustomMarshal.graphql.go:38
MethodGetBirthdate
GetBirthdate returns UserQueryInput.Birthdate, and is useful for accessing the field via an interface.
generate/testdata/snapshots/TestGenerateWithConfig-StructReferences-testdata-queries-generated.go:143
MethodGetChildren
GetChildren returns InterfaceListFieldRootTopic.Children, and is useful for accessing the field via an interface.
generate/testdata/snapshots/TestGenerate-InterfaceListField.graphql-InterfaceListField.graphql.go:42
MethodGetChildren
GetChildren returns InterfaceListFieldWithPointerTopic.Children, and is useful for accessing the field via an interface.
generate/testdata/snapshots/TestGenerate-InterfaceListField.graphql-InterfaceListField.graphql.go:290
MethodGetChildren
GetChildren returns StructOptionRootTopic.Children, and is useful for accessing the field via an interface.
generate/testdata/snapshots/TestGenerate-StructOption.graphql-StructOption.graphql.go:59
MethodGetChildren
GetChildren returns StructOptionRootTopicChildrenContentParentTopic.Children, and is useful for accessing the field via an interface.
generate/testdata/snapshots/TestGenerate-StructOption.graphql-StructOption.graphql.go:97
MethodGetChildren
GetChildren returns InterfaceNestingRootTopic.Children, and is useful for accessing the field via an interface.
generate/testdata/snapshots/TestGenerate-InterfaceNesting.graphql-InterfaceNesting.graphql.go:32
MethodGetChildren
GetChildren returns InterfaceNestingRootTopicChildrenContentParentTopic.Children, and is useful for accessing the field via an interface.
generate/testdata/snapshots/TestGenerate-InterfaceNesting.graphql-InterfaceNesting.graphql.go:241
MethodGetChildren
GetChildren returns ComplexInlineFragmentsNestedStuffTopic.Children, and is useful for accessing the field via an interface.
generate/testdata/snapshots/TestGenerate-ComplexInlineFragments.graphql-ComplexInlineFragments.graphql.go:281
MethodGetChildren
GetChildren returns ComplexInlineFragmentsNestedStuffTopicChildrenArticleParentContentParentTopic.Children, and is useful for accessing the field via
generate/testdata/snapshots/TestGenerate-ComplexInlineFragments.graphql-ComplexInlineFragments.graphql.go:394
MethodGetChildren
GetChildren returns MoreVideoFieldsParentTopic.Children, and is useful for accessing the field via an interface.
generate/testdata/snapshots/TestGenerate-ComplexNamedFragments.graphql-ComplexNamedFragments.graphql.go:1413
MethodGetClient
GetClient returns __MutationArgsWithCollidingNamesInput.Client, and is useful for accessing the field via an interface.
generate/testdata/snapshots/TestGenerate-MutationArgsWithCollidingNames.graphql-MutationArgsWithCollidingNames.graphql.go:52
FunctionGetClientFromContext
(ctx context.Context)
internal/testutil/junk---fun.name/types.go:28
FunctionGetClientFromMyContext
(ctx MyContext)
internal/testutil/junk---fun.name/types.go:29
FunctionGetClientFromNowhere
()
internal/testutil/junk---fun.name/types.go:27
MethodGetColor
GetColor returns MoreUserFieldsHair.Color, and is useful for accessing the field via an interface.
internal/integration/generated.go:600
MethodGetColor
GetColor returns queryWithFragmentsBeingsUserHair.Color, and is useful for accessing the field via an interface.
internal/integration/generated.go:1997
MethodGetConflictingStuff
GetConflictingStuff returns ComplexInlineFragmentsResponse.ConflictingStuff, and is useful for accessing the field via an interface.
generate/testdata/snapshots/TestGenerate-ComplexInlineFragments.graphql-ComplexInlineFragments.graphql.go:1167
MethodGetConvert
GetConvert returns convertTimezoneResponse.Convert, and is useful for accessing the field via an interface.
generate/testdata/snapshots/TestGenerate-DateTime.graphql-DateTime.graphql.go:29
MethodGetConvert2
GetConvert2 returns OmitEmptyQueryResponse.Convert2, and is useful for accessing the field via an interface.
generate/testdata/snapshots/TestGenerate-Omitempty.graphql-Omitempty.graphql.go:36
MethodGetCount
GetCount returns countResponse.Count, and is useful for accessing the field via an interface.
internal/integration/generated.go:1328
MethodGetCount
GetCount returns SimpleSubscriptionResponse.Count, and is useful for accessing the field via an interface.
generate/testdata/snapshots/TestGenerate-SimpleSubscription.graphql-SimpleSubscription.graphql.go:18
MethodGetCountAuthorized
GetCountAuthorized returns countAuthorizedResponse.CountAuthorized, and is useful for accessing the field via an interface.
internal/integration/generated.go:1320
MethodGetCreateUser
GetCreateUser returns createUserResponse.CreateUser, and is useful for accessing the field via an interface.
internal/integration/generated.go:1348
MethodGetCreateUser
GetCreateUser returns SimpleMutationResponse.CreateUser, and is useful for accessing the field via an interface.
generate/testdata/snapshots/TestGenerate-SimpleMutation.graphql-SimpleMutation.graphql.go:34
MethodGetCreatedAt
GetCreatedAt returns getUserUser.CreatedAt, and is useful for accessing the field via an interface.
example/generated.go:44
MethodGetCreatedAt
GetCreatedAt returns getViewerViewerUser.CreatedAt, and is useful for accessing the field via an interface.
example/generated.go:70
MethodGetData
GetData returns __MutationArgsWithCollidingNamesInput.Data, and is useful for accessing the field via an interface.
generate/testdata/snapshots/TestGenerate-MutationArgsWithCollidingNames.graphql-MutationArgsWithCollidingNames.graphql.go:43
MethodGetDate
GetDate returns __queryWithCustomMarshalInput.Date, and is useful for accessing the field via an interface.
internal/integration/generated.go:1021
MethodGetDate
GetDate returns __queryWithCustomMarshalOptionalInput.Date, and is useful for accessing the field via an interface.
internal/integration/generated.go:1093
MethodGetDate
GetDate returns __CustomMarshalInput.Date, and is useful for accessing the field via an interface.
generate/testdata/snapshots/TestGenerate-CustomMarshal.graphql-CustomMarshal.graphql.go:112
MethodGetDates
GetDates returns __queryWithCustomMarshalSliceInput.Dates, and is useful for accessing the field via an interface.
internal/integration/generated.go:1173
MethodGetDatesss
GetDatesss returns __CustomMarshalSliceInput.Datesss, and is useful for accessing the field via an interface.
generate/testdata/snapshots/TestGenerate-CustomMarshalSlice.graphql-CustomMarshalSlice.graphql.go:35
MethodGetDatesssp
GetDatesssp returns __CustomMarshalSliceInput.Datesssp, and is useful for accessing the field via an interface.
generate/testdata/snapshots/TestGenerate-CustomMarshalSlice.graphql-CustomMarshalSlice.graphql.go:38
MethodGetDefault
GetDefault returns DefaultInputsResponse.Default, and is useful for accessing the field via an interface.
generate/testdata/snapshots/TestGenerate-DefaultInputsWithDirective.graphql-DefaultInputsWithDirective.graphql.go:15
MethodGetDefault
GetDefault returns DefaultInputsResponse.Default, and is useful for accessing the field via an interface.
generate/testdata/snapshots/TestGenerate-DefaultInputs.graphql-DefaultInputs.graphql.go:15
MethodGetDefault
GetDefault returns DefaultInputsResponse.Default, and is useful for accessing the field via an interface.
generate/testdata/snapshots/TestGenerate-DefaultInputsPointer.graphql-DefaultInputsPointer.graphql.go:15
MethodGetDefault
GetDefault returns DefaultInputsResponse.Default, and is useful for accessing the field via an interface.
generate/testdata/snapshots/TestGenerate-DefaultInputsWithForDirective.graphql-DefaultInputsWithForDirective.graphql.go:15
MethodGetDisplayName
GetDisplayName returns SnakeCaseFieldsUser.DisplayName, and is useful for accessing the field via an interface.
generate/testdata/snapshots/TestGenerateWithConfig-AutoCamelCase-testdata-queries-generated.go:36
MethodGetDisplay_name
GetDisplay_name returns SnakeCaseFieldsUser.Display_name, and is useful for accessing the field via an interface.
generate/testdata/snapshots/TestGenerate-SnakeCaseFields.graphql-SnakeCaseFields.graphql.go:34
MethodGetDt
GetDt returns __PointersQueryInput.Dt, and is useful for accessing the field via an interface.
generate/testdata/snapshots/TestGenerate-PointersInline.graphql-PointersInline.graphql.go:230
MethodGetDt
GetDt returns __PointersQueryInput.Dt, and is useful for accessing the field via an interface.
generate/testdata/snapshots/TestGenerate-Pointers.graphql-Pointers.graphql.go:233
MethodGetDt
GetDt returns __convertTimezoneInput.Dt, and is useful for accessing the field via an interface.
generate/testdata/snapshots/TestGenerate-DateTime.graphql-DateTime.graphql.go:18
← previousnext →601–700 of 2,231, ranked by callers