{"library":"graphql-format-error-context-extension","type":"library","category":null,"description":"A GraphQL server extension (v0.2.15) that enables access to the request context inside the formatError function in Apollo Server (2.x). It bridges the gap between Apollo's formatError and the request context by injecting the context object as a second argument. Last release appears stable but uses deprecated graphql-extensions; no recent updates. Alternatives may use other approaches to pass context to error formatting.","language":"javascript","status":"maintenance","version":"0.2.15","tags":["javascript","graphql","format","error","context","extension"],"last_verified":"Sun Jun 07","install":[{"cmd":"npm install graphql-format-error-context-extension","imports":["const { FormatErrorWithContextExtension } = require('graphql-format-error-context-extension');","const FormatErrorWithContextExtension = require('graphql-format-error-context-extension').FormatErrorWithContextExtension;","const FormatErrorWithContextExtension = require('graphql-format-error-context-extension').default;"]},{"cmd":"yarn add graphql-format-error-context-extension","imports":[]},{"cmd":"pnpm add graphql-format-error-context-extension","imports":[]}],"homepage":"https://github.com/BigMaster/graphql-format-error-context-extension#readme","github":"https://github.com/BigMaster/graphql-format-error-context-extension","docs":null,"changelog":null,"pypi":null,"npm":"graphql-format-error-context-extension","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}