Security News
cURL Project and Go Security Teams Reject CVSS as Broken
cURL and Go security teams are publicly rejecting CVSS as flawed for assessing vulnerabilities and are calling for more accurate, context-aware approaches.
fastify-graphql
Advanced tools
A plugin for Fastify that adds GraphQL and GraphiQL support.
This project was forked from fastify-apollo as it is no longer being maintained fast enough to keep pace with the rapid changes happening in the GraphQL ecosystem.
npm install --save fastify-graphql graphql
or
yarn add fastify-graphql graphql
const Fastify = require('fastify');
const app = Fastify();
const {graphiqlFastify, graphqlFastify} = require('fastify-graphql');
app.register(graphqlFastify, {
prefix: '/graphql',
graphql: {
schema: your_graphql_schema,
},
});
app.register(graphiqlFastify, {
prefix: '/graphiql',
graphiql: {
endpointURL: '/graphql',
}
});
Both plugins need to be given a prefix, under which they will mount.
GraphQL settings extends GraphQLServerOptions
GraphiQL settings extends GraphiQLData
FAQs
Apollo server plugin for Fastify
The npm package fastify-graphql receives a total of 3 weekly downloads. As such, fastify-graphql popularity was classified as not popular.
We found that fastify-graphql demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
cURL and Go security teams are publicly rejecting CVSS as flawed for assessing vulnerabilities and are calling for more accurate, context-aware approaches.
Security News
Bun 1.2 enhances its JavaScript runtime with 90% Node.js compatibility, built-in S3 and Postgres support, HTML Imports, and faster, cloud-first performance.
Security News
Biden's executive order pushes for AI-driven cybersecurity, software supply chain transparency, and stronger protections for federal and open source systems.