MCPcopy Create free account
hub / github.com/parse-community/parse-server / requestContextMiddleware

Function requestContextMiddleware

spec/ParseGraphQLServer.spec.js:601–604  ·  view source on GitHub ↗
(req, res, next)

Source from the content-addressed store, hash-verified

599 describe('Context', () => {
600 it('should support dependency injection on graphql api', async () => {
601 const requestContextMiddleware = (req, res, next) => {
602 req.config.aCustomController = 'aCustomController';
603 next();
604 };
605
606 let called;
607 const parseServer = await reconfigureServer({ requestContextMiddleware });

Callers

nothing calls this directly

Calls 1

nextFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…