Created
December 10, 2021 05:05
-
-
Save manakuro/6c56ba8de7f010d305812fb8ee0261ed to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
func (r *queryResolver) Users(ctx context.Context, after *ent.Cursor, first *int, before *ent.Cursor, last *int, where *ent.UserWhereInput) (*ent.UserConnection, error) { | |
us, err := r.controller.User.List(ctx, after, first, before, last, where) | |
if err != nil { | |
return nil, err | |
} | |
return us, nil | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment