github.com/operandinc/gqlgen@v0.16.1/codegen/testserver/followschema/stub.go (about) 1 // Code generated by github.com/operandinc/gqlgen, DO NOT EDIT. 2 3 package followschema 4 5 import ( 6 "context" 7 8 introspection1 "github.com/operandinc/gqlgen/codegen/testserver/followschema/introspection" 9 invalid_packagename "github.com/operandinc/gqlgen/codegen/testserver/followschema/invalid-packagename" 10 "github.com/operandinc/gqlgen/codegen/testserver/followschema/otherpkg" 11 ) 12 13 type Stub struct { 14 BackedByInterfaceResolver struct { 15 ID func(ctx context.Context, obj BackedByInterface) (string, error) 16 } 17 ErrorsResolver struct { 18 A func(ctx context.Context, obj *Errors) (*Error, error) 19 B func(ctx context.Context, obj *Errors) (*Error, error) 20 C func(ctx context.Context, obj *Errors) (*Error, error) 21 D func(ctx context.Context, obj *Errors) (*Error, error) 22 E func(ctx context.Context, obj *Errors) (*Error, error) 23 } 24 ForcedResolverResolver struct { 25 Field func(ctx context.Context, obj *ForcedResolver) (*Circle, error) 26 } 27 ModelMethodsResolver struct { 28 ResolverField func(ctx context.Context, obj *ModelMethods) (bool, error) 29 } 30 MutationResolver struct { 31 DefaultInput func(ctx context.Context, input DefaultInput) (*DefaultParametersMirror, error) 32 UpdateSomething func(ctx context.Context, input SpecialInput) (string, error) 33 UpdatePtrToPtr func(ctx context.Context, input UpdatePtrToPtrOuter) (*PtrToPtrOuter, error) 34 } 35 OverlappingFieldsResolver struct { 36 OldFoo func(ctx context.Context, obj *OverlappingFields) (int, error) 37 } 38 PanicsResolver struct { 39 FieldScalarMarshal func(ctx context.Context, obj *Panics) ([]MarshalPanic, error) 40 ArgUnmarshal func(ctx context.Context, obj *Panics, u []MarshalPanic) (bool, error) 41 } 42 PrimitiveResolver struct { 43 Value func(ctx context.Context, obj *Primitive) (int, error) 44 } 45 PrimitiveStringResolver struct { 46 Value func(ctx context.Context, obj *PrimitiveString) (string, error) 47 Len func(ctx context.Context, obj *PrimitiveString) (int, error) 48 } 49 QueryResolver struct { 50 InvalidIdentifier func(ctx context.Context) (*invalid_packagename.InvalidIdentifier, error) 51 Collision func(ctx context.Context) (*introspection1.It, error) 52 MapInput func(ctx context.Context, input map[string]interface{}) (*bool, error) 53 Recursive func(ctx context.Context, input *RecursiveInputSlice) (*bool, error) 54 NestedInputs func(ctx context.Context, input [][]*OuterInput) (*bool, error) 55 NestedOutputs func(ctx context.Context) ([][]*OuterObject, error) 56 ModelMethods func(ctx context.Context) (*ModelMethods, error) 57 User func(ctx context.Context, id int) (*User, error) 58 NullableArg func(ctx context.Context, arg *int) (*string, error) 59 InputSlice func(ctx context.Context, arg []string) (bool, error) 60 InputNullableSlice func(ctx context.Context, arg []string) (bool, error) 61 ShapeUnion func(ctx context.Context) (ShapeUnion, error) 62 Autobind func(ctx context.Context) (*Autobind, error) 63 DeprecatedField func(ctx context.Context) (string, error) 64 Overlapping func(ctx context.Context) (*OverlappingFields, error) 65 DefaultParameters func(ctx context.Context, falsyBoolean *bool, truthyBoolean *bool) (*DefaultParametersMirror, error) 66 DirectiveArg func(ctx context.Context, arg string) (*string, error) 67 DirectiveNullableArg func(ctx context.Context, arg *int, arg2 *int, arg3 *string) (*string, error) 68 DirectiveInputNullable func(ctx context.Context, arg *InputDirectives) (*string, error) 69 DirectiveInput func(ctx context.Context, arg InputDirectives) (*string, error) 70 DirectiveInputType func(ctx context.Context, arg InnerInput) (*string, error) 71 DirectiveObject func(ctx context.Context) (*ObjectDirectives, error) 72 DirectiveObjectWithCustomGoModel func(ctx context.Context) (*ObjectDirectivesWithCustomGoModel, error) 73 DirectiveFieldDef func(ctx context.Context, ret string) (string, error) 74 DirectiveField func(ctx context.Context) (*string, error) 75 DirectiveDouble func(ctx context.Context) (*string, error) 76 DirectiveUnimplemented func(ctx context.Context) (*string, error) 77 EmbeddedCase1 func(ctx context.Context) (*EmbeddedCase1, error) 78 EmbeddedCase2 func(ctx context.Context) (*EmbeddedCase2, error) 79 EmbeddedCase3 func(ctx context.Context) (*EmbeddedCase3, error) 80 EnumInInput func(ctx context.Context, input *InputWithEnumValue) (EnumTest, error) 81 Shapes func(ctx context.Context) ([]Shape, error) 82 NoShape func(ctx context.Context) (Shape, error) 83 Node func(ctx context.Context) (Node, error) 84 NoShapeTypedNil func(ctx context.Context) (Shape, error) 85 Animal func(ctx context.Context) (Animal, error) 86 NotAnInterface func(ctx context.Context) (BackedByInterface, error) 87 Issue896a func(ctx context.Context) ([]*CheckIssue896, error) 88 MapStringInterface func(ctx context.Context, in map[string]interface{}) (map[string]interface{}, error) 89 MapNestedStringInterface func(ctx context.Context, in *NestedMapInput) (map[string]interface{}, error) 90 ErrorBubble func(ctx context.Context) (*Error, error) 91 ErrorBubbleList func(ctx context.Context) ([]*Error, error) 92 ErrorList func(ctx context.Context) ([]*Error, error) 93 Errors func(ctx context.Context) (*Errors, error) 94 Valid func(ctx context.Context) (string, error) 95 Panics func(ctx context.Context) (*Panics, error) 96 PrimitiveObject func(ctx context.Context) ([]Primitive, error) 97 PrimitiveStringObject func(ctx context.Context) ([]PrimitiveString, error) 98 PtrToSliceContainer func(ctx context.Context) (*PtrToSliceContainer, error) 99 Infinity func(ctx context.Context) (float64, error) 100 StringFromContextInterface func(ctx context.Context) (*StringFromContextInterface, error) 101 StringFromContextFunction func(ctx context.Context) (string, error) 102 DefaultScalar func(ctx context.Context, arg string) (string, error) 103 Slices func(ctx context.Context) (*Slices, error) 104 ScalarSlice func(ctx context.Context) ([]byte, error) 105 Fallback func(ctx context.Context, arg FallbackToStringEncoding) (FallbackToStringEncoding, error) 106 OptionalUnion func(ctx context.Context) (TestUnion, error) 107 VOkCaseValue func(ctx context.Context) (*VOkCaseValue, error) 108 VOkCaseNil func(ctx context.Context) (*VOkCaseNil, error) 109 ValidType func(ctx context.Context) (*ValidType, error) 110 WrappedStruct func(ctx context.Context) (*WrappedStruct, error) 111 WrappedScalar func(ctx context.Context) (otherpkg.Scalar, error) 112 WrappedMap func(ctx context.Context) (WrappedMap, error) 113 WrappedSlice func(ctx context.Context) (WrappedSlice, error) 114 } 115 SubscriptionResolver struct { 116 Updated func(ctx context.Context) (<-chan string, error) 117 InitPayload func(ctx context.Context) (<-chan string, error) 118 DirectiveArg func(ctx context.Context, arg string) (<-chan *string, error) 119 DirectiveNullableArg func(ctx context.Context, arg *int, arg2 *int, arg3 *string) (<-chan *string, error) 120 DirectiveDouble func(ctx context.Context) (<-chan *string, error) 121 DirectiveUnimplemented func(ctx context.Context) (<-chan *string, error) 122 Issue896b func(ctx context.Context) (<-chan []*CheckIssue896, error) 123 } 124 UserResolver struct { 125 Friends func(ctx context.Context, obj *User) ([]*User, error) 126 } 127 WrappedMapResolver struct { 128 Get func(ctx context.Context, obj WrappedMap, key string) (string, error) 129 } 130 WrappedSliceResolver struct { 131 Get func(ctx context.Context, obj WrappedSlice, idx int) (string, error) 132 } 133 } 134 135 func (r *Stub) BackedByInterface() BackedByInterfaceResolver { 136 return &stubBackedByInterface{r} 137 } 138 func (r *Stub) Errors() ErrorsResolver { 139 return &stubErrors{r} 140 } 141 func (r *Stub) ForcedResolver() ForcedResolverResolver { 142 return &stubForcedResolver{r} 143 } 144 func (r *Stub) ModelMethods() ModelMethodsResolver { 145 return &stubModelMethods{r} 146 } 147 func (r *Stub) Mutation() MutationResolver { 148 return &stubMutation{r} 149 } 150 func (r *Stub) OverlappingFields() OverlappingFieldsResolver { 151 return &stubOverlappingFields{r} 152 } 153 func (r *Stub) Panics() PanicsResolver { 154 return &stubPanics{r} 155 } 156 func (r *Stub) Primitive() PrimitiveResolver { 157 return &stubPrimitive{r} 158 } 159 func (r *Stub) PrimitiveString() PrimitiveStringResolver { 160 return &stubPrimitiveString{r} 161 } 162 func (r *Stub) Query() QueryResolver { 163 return &stubQuery{r} 164 } 165 func (r *Stub) Subscription() SubscriptionResolver { 166 return &stubSubscription{r} 167 } 168 func (r *Stub) User() UserResolver { 169 return &stubUser{r} 170 } 171 func (r *Stub) WrappedMap() WrappedMapResolver { 172 return &stubWrappedMap{r} 173 } 174 func (r *Stub) WrappedSlice() WrappedSliceResolver { 175 return &stubWrappedSlice{r} 176 } 177 178 type stubBackedByInterface struct{ *Stub } 179 180 func (r *stubBackedByInterface) ID(ctx context.Context, obj BackedByInterface) (string, error) { 181 return r.BackedByInterfaceResolver.ID(ctx, obj) 182 } 183 184 type stubErrors struct{ *Stub } 185 186 func (r *stubErrors) A(ctx context.Context, obj *Errors) (*Error, error) { 187 return r.ErrorsResolver.A(ctx, obj) 188 } 189 func (r *stubErrors) B(ctx context.Context, obj *Errors) (*Error, error) { 190 return r.ErrorsResolver.B(ctx, obj) 191 } 192 func (r *stubErrors) C(ctx context.Context, obj *Errors) (*Error, error) { 193 return r.ErrorsResolver.C(ctx, obj) 194 } 195 func (r *stubErrors) D(ctx context.Context, obj *Errors) (*Error, error) { 196 return r.ErrorsResolver.D(ctx, obj) 197 } 198 func (r *stubErrors) E(ctx context.Context, obj *Errors) (*Error, error) { 199 return r.ErrorsResolver.E(ctx, obj) 200 } 201 202 type stubForcedResolver struct{ *Stub } 203 204 func (r *stubForcedResolver) Field(ctx context.Context, obj *ForcedResolver) (*Circle, error) { 205 return r.ForcedResolverResolver.Field(ctx, obj) 206 } 207 208 type stubModelMethods struct{ *Stub } 209 210 func (r *stubModelMethods) ResolverField(ctx context.Context, obj *ModelMethods) (bool, error) { 211 return r.ModelMethodsResolver.ResolverField(ctx, obj) 212 } 213 214 type stubMutation struct{ *Stub } 215 216 func (r *stubMutation) DefaultInput(ctx context.Context, input DefaultInput) (*DefaultParametersMirror, error) { 217 return r.MutationResolver.DefaultInput(ctx, input) 218 } 219 func (r *stubMutation) UpdateSomething(ctx context.Context, input SpecialInput) (string, error) { 220 return r.MutationResolver.UpdateSomething(ctx, input) 221 } 222 func (r *stubMutation) UpdatePtrToPtr(ctx context.Context, input UpdatePtrToPtrOuter) (*PtrToPtrOuter, error) { 223 return r.MutationResolver.UpdatePtrToPtr(ctx, input) 224 } 225 226 type stubOverlappingFields struct{ *Stub } 227 228 func (r *stubOverlappingFields) OldFoo(ctx context.Context, obj *OverlappingFields) (int, error) { 229 return r.OverlappingFieldsResolver.OldFoo(ctx, obj) 230 } 231 232 type stubPanics struct{ *Stub } 233 234 func (r *stubPanics) FieldScalarMarshal(ctx context.Context, obj *Panics) ([]MarshalPanic, error) { 235 return r.PanicsResolver.FieldScalarMarshal(ctx, obj) 236 } 237 func (r *stubPanics) ArgUnmarshal(ctx context.Context, obj *Panics, u []MarshalPanic) (bool, error) { 238 return r.PanicsResolver.ArgUnmarshal(ctx, obj, u) 239 } 240 241 type stubPrimitive struct{ *Stub } 242 243 func (r *stubPrimitive) Value(ctx context.Context, obj *Primitive) (int, error) { 244 return r.PrimitiveResolver.Value(ctx, obj) 245 } 246 247 type stubPrimitiveString struct{ *Stub } 248 249 func (r *stubPrimitiveString) Value(ctx context.Context, obj *PrimitiveString) (string, error) { 250 return r.PrimitiveStringResolver.Value(ctx, obj) 251 } 252 func (r *stubPrimitiveString) Len(ctx context.Context, obj *PrimitiveString) (int, error) { 253 return r.PrimitiveStringResolver.Len(ctx, obj) 254 } 255 256 type stubQuery struct{ *Stub } 257 258 func (r *stubQuery) InvalidIdentifier(ctx context.Context) (*invalid_packagename.InvalidIdentifier, error) { 259 return r.QueryResolver.InvalidIdentifier(ctx) 260 } 261 func (r *stubQuery) Collision(ctx context.Context) (*introspection1.It, error) { 262 return r.QueryResolver.Collision(ctx) 263 } 264 func (r *stubQuery) MapInput(ctx context.Context, input map[string]interface{}) (*bool, error) { 265 return r.QueryResolver.MapInput(ctx, input) 266 } 267 func (r *stubQuery) Recursive(ctx context.Context, input *RecursiveInputSlice) (*bool, error) { 268 return r.QueryResolver.Recursive(ctx, input) 269 } 270 func (r *stubQuery) NestedInputs(ctx context.Context, input [][]*OuterInput) (*bool, error) { 271 return r.QueryResolver.NestedInputs(ctx, input) 272 } 273 func (r *stubQuery) NestedOutputs(ctx context.Context) ([][]*OuterObject, error) { 274 return r.QueryResolver.NestedOutputs(ctx) 275 } 276 func (r *stubQuery) ModelMethods(ctx context.Context) (*ModelMethods, error) { 277 return r.QueryResolver.ModelMethods(ctx) 278 } 279 func (r *stubQuery) User(ctx context.Context, id int) (*User, error) { 280 return r.QueryResolver.User(ctx, id) 281 } 282 func (r *stubQuery) NullableArg(ctx context.Context, arg *int) (*string, error) { 283 return r.QueryResolver.NullableArg(ctx, arg) 284 } 285 func (r *stubQuery) InputSlice(ctx context.Context, arg []string) (bool, error) { 286 return r.QueryResolver.InputSlice(ctx, arg) 287 } 288 func (r *stubQuery) InputNullableSlice(ctx context.Context, arg []string) (bool, error) { 289 return r.QueryResolver.InputNullableSlice(ctx, arg) 290 } 291 func (r *stubQuery) ShapeUnion(ctx context.Context) (ShapeUnion, error) { 292 return r.QueryResolver.ShapeUnion(ctx) 293 } 294 func (r *stubQuery) Autobind(ctx context.Context) (*Autobind, error) { 295 return r.QueryResolver.Autobind(ctx) 296 } 297 func (r *stubQuery) DeprecatedField(ctx context.Context) (string, error) { 298 return r.QueryResolver.DeprecatedField(ctx) 299 } 300 func (r *stubQuery) Overlapping(ctx context.Context) (*OverlappingFields, error) { 301 return r.QueryResolver.Overlapping(ctx) 302 } 303 func (r *stubQuery) DefaultParameters(ctx context.Context, falsyBoolean *bool, truthyBoolean *bool) (*DefaultParametersMirror, error) { 304 return r.QueryResolver.DefaultParameters(ctx, falsyBoolean, truthyBoolean) 305 } 306 func (r *stubQuery) DirectiveArg(ctx context.Context, arg string) (*string, error) { 307 return r.QueryResolver.DirectiveArg(ctx, arg) 308 } 309 func (r *stubQuery) DirectiveNullableArg(ctx context.Context, arg *int, arg2 *int, arg3 *string) (*string, error) { 310 return r.QueryResolver.DirectiveNullableArg(ctx, arg, arg2, arg3) 311 } 312 func (r *stubQuery) DirectiveInputNullable(ctx context.Context, arg *InputDirectives) (*string, error) { 313 return r.QueryResolver.DirectiveInputNullable(ctx, arg) 314 } 315 func (r *stubQuery) DirectiveInput(ctx context.Context, arg InputDirectives) (*string, error) { 316 return r.QueryResolver.DirectiveInput(ctx, arg) 317 } 318 func (r *stubQuery) DirectiveInputType(ctx context.Context, arg InnerInput) (*string, error) { 319 return r.QueryResolver.DirectiveInputType(ctx, arg) 320 } 321 func (r *stubQuery) DirectiveObject(ctx context.Context) (*ObjectDirectives, error) { 322 return r.QueryResolver.DirectiveObject(ctx) 323 } 324 func (r *stubQuery) DirectiveObjectWithCustomGoModel(ctx context.Context) (*ObjectDirectivesWithCustomGoModel, error) { 325 return r.QueryResolver.DirectiveObjectWithCustomGoModel(ctx) 326 } 327 func (r *stubQuery) DirectiveFieldDef(ctx context.Context, ret string) (string, error) { 328 return r.QueryResolver.DirectiveFieldDef(ctx, ret) 329 } 330 func (r *stubQuery) DirectiveField(ctx context.Context) (*string, error) { 331 return r.QueryResolver.DirectiveField(ctx) 332 } 333 func (r *stubQuery) DirectiveDouble(ctx context.Context) (*string, error) { 334 return r.QueryResolver.DirectiveDouble(ctx) 335 } 336 func (r *stubQuery) DirectiveUnimplemented(ctx context.Context) (*string, error) { 337 return r.QueryResolver.DirectiveUnimplemented(ctx) 338 } 339 func (r *stubQuery) EmbeddedCase1(ctx context.Context) (*EmbeddedCase1, error) { 340 return r.QueryResolver.EmbeddedCase1(ctx) 341 } 342 func (r *stubQuery) EmbeddedCase2(ctx context.Context) (*EmbeddedCase2, error) { 343 return r.QueryResolver.EmbeddedCase2(ctx) 344 } 345 func (r *stubQuery) EmbeddedCase3(ctx context.Context) (*EmbeddedCase3, error) { 346 return r.QueryResolver.EmbeddedCase3(ctx) 347 } 348 func (r *stubQuery) EnumInInput(ctx context.Context, input *InputWithEnumValue) (EnumTest, error) { 349 return r.QueryResolver.EnumInInput(ctx, input) 350 } 351 func (r *stubQuery) Shapes(ctx context.Context) ([]Shape, error) { 352 return r.QueryResolver.Shapes(ctx) 353 } 354 func (r *stubQuery) NoShape(ctx context.Context) (Shape, error) { 355 return r.QueryResolver.NoShape(ctx) 356 } 357 func (r *stubQuery) Node(ctx context.Context) (Node, error) { 358 return r.QueryResolver.Node(ctx) 359 } 360 func (r *stubQuery) NoShapeTypedNil(ctx context.Context) (Shape, error) { 361 return r.QueryResolver.NoShapeTypedNil(ctx) 362 } 363 func (r *stubQuery) Animal(ctx context.Context) (Animal, error) { 364 return r.QueryResolver.Animal(ctx) 365 } 366 func (r *stubQuery) NotAnInterface(ctx context.Context) (BackedByInterface, error) { 367 return r.QueryResolver.NotAnInterface(ctx) 368 } 369 func (r *stubQuery) Issue896a(ctx context.Context) ([]*CheckIssue896, error) { 370 return r.QueryResolver.Issue896a(ctx) 371 } 372 func (r *stubQuery) MapStringInterface(ctx context.Context, in map[string]interface{}) (map[string]interface{}, error) { 373 return r.QueryResolver.MapStringInterface(ctx, in) 374 } 375 func (r *stubQuery) MapNestedStringInterface(ctx context.Context, in *NestedMapInput) (map[string]interface{}, error) { 376 return r.QueryResolver.MapNestedStringInterface(ctx, in) 377 } 378 func (r *stubQuery) ErrorBubble(ctx context.Context) (*Error, error) { 379 return r.QueryResolver.ErrorBubble(ctx) 380 } 381 func (r *stubQuery) ErrorBubbleList(ctx context.Context) ([]*Error, error) { 382 return r.QueryResolver.ErrorBubbleList(ctx) 383 } 384 func (r *stubQuery) ErrorList(ctx context.Context) ([]*Error, error) { 385 return r.QueryResolver.ErrorList(ctx) 386 } 387 func (r *stubQuery) Errors(ctx context.Context) (*Errors, error) { 388 return r.QueryResolver.Errors(ctx) 389 } 390 func (r *stubQuery) Valid(ctx context.Context) (string, error) { 391 return r.QueryResolver.Valid(ctx) 392 } 393 func (r *stubQuery) Panics(ctx context.Context) (*Panics, error) { 394 return r.QueryResolver.Panics(ctx) 395 } 396 func (r *stubQuery) PrimitiveObject(ctx context.Context) ([]Primitive, error) { 397 return r.QueryResolver.PrimitiveObject(ctx) 398 } 399 func (r *stubQuery) PrimitiveStringObject(ctx context.Context) ([]PrimitiveString, error) { 400 return r.QueryResolver.PrimitiveStringObject(ctx) 401 } 402 func (r *stubQuery) PtrToSliceContainer(ctx context.Context) (*PtrToSliceContainer, error) { 403 return r.QueryResolver.PtrToSliceContainer(ctx) 404 } 405 func (r *stubQuery) Infinity(ctx context.Context) (float64, error) { 406 return r.QueryResolver.Infinity(ctx) 407 } 408 func (r *stubQuery) StringFromContextInterface(ctx context.Context) (*StringFromContextInterface, error) { 409 return r.QueryResolver.StringFromContextInterface(ctx) 410 } 411 func (r *stubQuery) StringFromContextFunction(ctx context.Context) (string, error) { 412 return r.QueryResolver.StringFromContextFunction(ctx) 413 } 414 func (r *stubQuery) DefaultScalar(ctx context.Context, arg string) (string, error) { 415 return r.QueryResolver.DefaultScalar(ctx, arg) 416 } 417 func (r *stubQuery) Slices(ctx context.Context) (*Slices, error) { 418 return r.QueryResolver.Slices(ctx) 419 } 420 func (r *stubQuery) ScalarSlice(ctx context.Context) ([]byte, error) { 421 return r.QueryResolver.ScalarSlice(ctx) 422 } 423 func (r *stubQuery) Fallback(ctx context.Context, arg FallbackToStringEncoding) (FallbackToStringEncoding, error) { 424 return r.QueryResolver.Fallback(ctx, arg) 425 } 426 func (r *stubQuery) OptionalUnion(ctx context.Context) (TestUnion, error) { 427 return r.QueryResolver.OptionalUnion(ctx) 428 } 429 func (r *stubQuery) VOkCaseValue(ctx context.Context) (*VOkCaseValue, error) { 430 return r.QueryResolver.VOkCaseValue(ctx) 431 } 432 func (r *stubQuery) VOkCaseNil(ctx context.Context) (*VOkCaseNil, error) { 433 return r.QueryResolver.VOkCaseNil(ctx) 434 } 435 func (r *stubQuery) ValidType(ctx context.Context) (*ValidType, error) { 436 return r.QueryResolver.ValidType(ctx) 437 } 438 func (r *stubQuery) WrappedStruct(ctx context.Context) (*WrappedStruct, error) { 439 return r.QueryResolver.WrappedStruct(ctx) 440 } 441 func (r *stubQuery) WrappedScalar(ctx context.Context) (otherpkg.Scalar, error) { 442 return r.QueryResolver.WrappedScalar(ctx) 443 } 444 func (r *stubQuery) WrappedMap(ctx context.Context) (WrappedMap, error) { 445 return r.QueryResolver.WrappedMap(ctx) 446 } 447 func (r *stubQuery) WrappedSlice(ctx context.Context) (WrappedSlice, error) { 448 return r.QueryResolver.WrappedSlice(ctx) 449 } 450 451 type stubSubscription struct{ *Stub } 452 453 func (r *stubSubscription) Updated(ctx context.Context) (<-chan string, error) { 454 return r.SubscriptionResolver.Updated(ctx) 455 } 456 func (r *stubSubscription) InitPayload(ctx context.Context) (<-chan string, error) { 457 return r.SubscriptionResolver.InitPayload(ctx) 458 } 459 func (r *stubSubscription) DirectiveArg(ctx context.Context, arg string) (<-chan *string, error) { 460 return r.SubscriptionResolver.DirectiveArg(ctx, arg) 461 } 462 func (r *stubSubscription) DirectiveNullableArg(ctx context.Context, arg *int, arg2 *int, arg3 *string) (<-chan *string, error) { 463 return r.SubscriptionResolver.DirectiveNullableArg(ctx, arg, arg2, arg3) 464 } 465 func (r *stubSubscription) DirectiveDouble(ctx context.Context) (<-chan *string, error) { 466 return r.SubscriptionResolver.DirectiveDouble(ctx) 467 } 468 func (r *stubSubscription) DirectiveUnimplemented(ctx context.Context) (<-chan *string, error) { 469 return r.SubscriptionResolver.DirectiveUnimplemented(ctx) 470 } 471 func (r *stubSubscription) Issue896b(ctx context.Context) (<-chan []*CheckIssue896, error) { 472 return r.SubscriptionResolver.Issue896b(ctx) 473 } 474 475 type stubUser struct{ *Stub } 476 477 func (r *stubUser) Friends(ctx context.Context, obj *User) ([]*User, error) { 478 return r.UserResolver.Friends(ctx, obj) 479 } 480 481 type stubWrappedMap struct{ *Stub } 482 483 func (r *stubWrappedMap) Get(ctx context.Context, obj WrappedMap, key string) (string, error) { 484 return r.WrappedMapResolver.Get(ctx, obj, key) 485 } 486 487 type stubWrappedSlice struct{ *Stub } 488 489 func (r *stubWrappedSlice) Get(ctx context.Context, obj WrappedSlice, idx int) (string, error) { 490 return r.WrappedSliceResolver.Get(ctx, obj, idx) 491 }