Skip to content

2.9.1

Compare
Choose a tag to compare
@leebenson leebenson released this 17 Oct 21:34
· 12 commits to master since this release

Config

  • Adds .addBeforeMiddleware(), for adding Koa middleware that runs before Apollo/Redux instantiation
  • Adds .disableTiming() to optionally remove the Response-Time header / timing middleware

Server

  • Renames ctx.apollo to ctx.apollo.client. Now, setting ctx.apollo.options in before middleware will merge those settings into Apollo client creation
  • Adds logic to check for the presence of ctx.apollo.client and ctx.store before using default Apollo/Redux init. This allows overrides in before middleware for completely custom instantiation