You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Modules `graphql`, `graphql-compose`, `graphql-compose-connection`, `mongoose` are in `peerDependencies`, so should be installed explicitly in your app. They have global objects and should not have ability to be installed as submodule.
19
+
Modules `graphql`, `graphql-compose`, `graphql-compose-connection`, `graphql-compose-pagination`, `mongoose` are in `peerDependencies`, so should be installed explicitly in your app. They have global objects and should not have ability to be installed as submodule.
20
20
21
21
Example
22
22
=======
@@ -76,8 +76,9 @@ GQC.rootQuery().addFields({
76
76
userByIds:UserTC.getResolver('findByIds'),
77
77
userOne:UserTC.getResolver('findOne'),
78
78
userMany:UserTC.getResolver('findMany'),
79
-
userTotal:UserTC.getResolver('count'),
79
+
userCount:UserTC.getResolver('count'),
80
80
userConnection:UserTC.getResolver('connection'),
81
+
userPagination:UserTC.getResolver('pagination'),
81
82
});
82
83
83
84
GQC.rootMutation().addFields({
@@ -314,7 +315,10 @@ export type typeConverterResolversOpts = {
0 commit comments