vesper-framework / vesper

Vesper is a NodeJS framework that helps you to create scalable, maintainable, extensible, declarative and fast GraphQL-based server applications.
http://vesper-framework.com
601 stars 36 forks source link

Support for apollo-tracing and apollo-engine #5

Open jvbianchi opened 6 years ago

jvbianchi commented 6 years ago

Are there any plans to support apollo-tracing and apollo-engine?

pleerock commented 6 years ago

yeah I have that in plans

vfaramond commented 6 years ago

You can pass apollo-server options to the vesper Express middleware directly if you want to enable tracing and cache-control:

    expressApp.use(
      '/graphql',
      bodyParser.json(),
      vesper(schema, {
        cacheControl: true,
        tracing: true,
      }),
    );