question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Using graphql-armor with apollo-server-koa

See original GitHub issue

Hello, I am using graphql-armor with apollo-server-koa and everything works just fine, except I am getting warning from npm during package instalation, that I am missing apollo-server package. Thats true, but its also working with mine apollo-server-koa package. Would be possible to somehow fix that warning ? I am guessing that same issue will be for apollo-server- Express, Hapi, Lambda…

Issue Analytics

  • State:closed
  • Created a year ago
  • Reactions:2
  • Comments:9 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
c3b5awcommented, Sep 9, 2022

Hello @c3b5aw, are you going to fix it as well ?

Yes, I though apollo-server-types and apollo-server-core were direct dependencies of apollo-server-koa https://github.com/apollographql/apollo-server/blob/main/packages/apollo-server-koa/package.json#L37. I’ll setup an example on my side for further investigations.

Concerning envelop I dont know if I can disable the warning for it at yarn level but basically it is either you use apollo either you use envelop.

0reactions
PatizonPcommented, Sep 30, 2022

Seems, that everything working fine. Thank you very much for your fast reactions and implementations !

Read more comments on GitHub >

github_iconTop Results From Across the Web

Apollo Server 0.2: GraphQL with Express, Connect, hapi or Koa
It uses GraphQL.js and works with all major Node.js server frameworks — Express, Connect, hapi and Koa. The new Apollo Server is a...
Read more >
Escape-Technologies/graphql-armor - GitHub
GraphQL Armor 🛡️. GraphQL Armor is a dead-simple yet highly customizable security middleware for various GraphQL server engines. GraphQL-Armor banner.
Read more >
Merge GraphQL Schemas using Apollo Server and Koa
GraphQL is a query-typed language for API which is widely used for requesting data from the server side to the client side in...
Read more >
Secure APIs with GraphQL Armor - Episode #55
GraphQL Armor works with Apollo Server, GraphQL Yoga, Envelop, as well as a bunch of other engines. Here we have a GraphQL Yoga...
Read more >
Introducing Envelop - The GraphQL Plugin System – The Guild
Most existing GraphQL servers are implemented in a way that implements schema building and HTTP server integration, meaning the features ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found