The only way to resolve it is to add graphql-middleware as a dependency. Is this an undocumented peer dependency of @graphql-hive/gateway as I expected it to be standalone for the most part? And this peer dep comes from quite a bit underneath (some middleware).
When starting the hive gateway I am getting this error:
The only way to resolve it is to add
graphql-middleware
as a dependency. Is this an undocumented peer dependency of@graphql-hive/gateway
as I expected it to be standalone for the most part? And this peer dep comes from quite a bit underneath (some middleware).Or is this an unfortunate result of relying on the dead
graphql-rate-limit
repo? 💩 🫢I created a code sandbox to reproduce the issue: https://codesandbox.io/p/devbox/github/klippx/hive-gateway-sandbox-template
As a side effect, I ended up making a codesandbox template 🫡 (available here)