Peque GraphQL
This library is built on top of Apollo Server, and it allows you to code your resolvers following an OOP/AOP flavor to better fit enterprise-level paradigms and patterns.
Install
npm install @pequehq/graphql reflect-metadata
Note: tsconfig's compilerOptions
in your project must have both experimentalDecorators
and emitDecoratorMetadata
set to true.
Usage
Check the next section Resolvers for information on how to use this library.