Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
JonasGutermuth authored Nov 30, 2021
1 parent 96f4331 commit ba9af68
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/pagination.md
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,7 @@ User-managed pagination supports everything above, but it's managed by _you_.
schema := schemabuilder.NewSchema()
object := schema.Object("user", User{})
object.FieldFunc("addresses", func(ctx context.Context, user *User, args struct {
PaginatedArgs schemabuilder.PaginatedArgs
PaginationArgs schemabuilder.PaginationArgs
}) ([]*Address, schemabuilder.PaginationInfo, error) {
addresses, pageInfo, err := GetPaginatedAddresses(ctx, user, args)
addresses, pageInfo, err
Expand Down

0 comments on commit ba9af68

Please sign in to comment.