Skip to content

Glossary: GraphQL APIs

app.inject

Also written: inject

A Fastify method that sends a simulated HTTP request straight to the app without opening a network port. It is used in tests to POST GraphQL operations to `/graphql` and check the replies.

Where the book teaches it

Related terms

Fastifynode:test