Which packages are impacted by your issue?
@graphql-codegen/typescript-operations
Describe the bug
When installing the latest version of the @graphql-codegen/typescript-operations with the latest version of Yarn without the graphql-sock package as dependency, a warning will appear:
mypackage@workspace:. doesn't provide graphql-sock (pd5ca2), requested by @graphql-codegen/typescript-operations.
This peer dependency has been introduced with #10323, however the implementation seems to imply it is optional, hence I think it should be marked as such.
Your Example Website or App
n/a
Steps to Reproduce the Bug or Issue
- Create project with recent yarn version
- Install dependencies
@graphql-codegen/typescript-operations and graphql
- The warning will appear
Expected behavior
No warning to appear, given that the dependency should be optional.
Screenshots or Videos
No response
Platform
- OS: any
- NodeJS: any
graphql version: any
@graphql-codegen/* version(s): @graphql-codegen/typescript-operations 4.6.0
Codegen Config File
No response
Additional context
No response
Which packages are impacted by your issue?
@graphql-codegen/typescript-operations
Describe the bug
When installing the latest version of the
@graphql-codegen/typescript-operationswith the latest version of Yarn without thegraphql-sockpackage as dependency, a warning will appear:mypackage@workspace:. doesn't provide graphql-sock (pd5ca2), requested by @graphql-codegen/typescript-operations.This peer dependency has been introduced with #10323, however the implementation seems to imply it is optional, hence I think it should be marked as such.
Your Example Website or App
n/a
Steps to Reproduce the Bug or Issue
@graphql-codegen/typescript-operationsandgraphqlExpected behavior
No warning to appear, given that the dependency should be optional.
Screenshots or Videos
No response
Platform
graphqlversion: any@graphql-codegen/*version(s): @graphql-codegen/typescript-operations 4.6.0Codegen Config File
No response
Additional context
No response