packages/server/src/graphql/index.ts
Function handleRequest
has 31 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
export const handleRequest = async (request: Request): Promise<Response> => {
let graphQLRequest: GraphQLRequest;
try {
switch (request.method.toLowerCase()) {
TODO found Open
Open
// TODO: Call `handleError` when appropriate
- Exclude checks
TODO found Open
Open
// TODO: Pass to Sentry or similar
- Exclude checks