Add non-items system Resolvers (#4863)

* Add auth resolvers

* Add password request/reset

* Add up until file import

* Make revisions read only

* Add server resolvers

* Add utils

* Add schema resolvers for schema manipulation
This commit is contained in:
Rijk van Zanten
2021-04-06 18:04:35 -04:00
committed by GitHub
parent de1b6367f9
commit dd551f3571
10 changed files with 1001 additions and 92 deletions

View File

@@ -56,7 +56,7 @@ export const parseGraphQL: RequestHandler = asyncHandler(async (req, res, next)
}
}
res.locals.graphqlParams = { document, query, variables, operationName } as GraphQLParams;
res.locals.graphqlParams = { document, query, variables, operationName, contextValue: { req, res } } as GraphQLParams;
return next();
});