StarpTech / apollo-datasource-http

Optimized JSON HTTP Data Source for Apollo Server
MIT License
73 stars 32 forks source link

Allow dependent to upgrade to Apollo@3 and GraphQL@16 #23

Closed nicolaslt closed 2 years ago

nicolaslt commented 2 years ago

:wave: Hello!

This brings two main changes:

  1. Move graphql to peerDependencies (and devDependencies) to allow users of this package to choose for themselves. Apollo 3 itself allows either 15 or 16.
  2. Upgrade all types to Apollo 3.

I believe this might cause a breaking change for some (all?) users of Apollo 2 so I've incremented the package version accordingly.

StarpTech commented 2 years ago

Hi @nicolaslt thanks for the PR. The changes looking good.