IBM / openapi-to-graphql

Translate APIs described by OpenAPI Specifications (OAS) into GraphQL
https://developer.ibm.com/open/projects/openapi-to-graphql/
MIT License
1.61k stars 211 forks source link

Upgrade to Graphql 16 #458

Closed StarpTech closed 1 year ago

StarpTech commented 2 years ago

Hi, this library throws warnings when using Graphql 16.

├─┬ @types/express-graphql
│ └─┬ express-graphql
│   └── ✕ unmet peer graphql@"^14.7.0 || ^15.3.0": found 16.3.0
└─┬ openapi-to-graphql
  ├── ✕ unmet peer graphql@"^14.0.0 || ^15.0.0": found 16.3.0
  └─┬ graphql-subscriptions
    └── ✕ unmet peer graphql@"^0.10.5 || ^0.11.3 || ^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0": found 16.3.0

We can fix it by:

Would you accept a PR?

Alan-Cha commented 2 years ago

@StarpTech Thanks for reporting this. Yes, if you are willing to provide a PR, I can review and accept it.

mhassan1 commented 2 years ago

@StarpTech I took a first pass at a PR: https://github.com/IBM/openapi-to-graphql/pull/471