Feature/add nestjs support for type graphql plugin #521
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
Presently, the @nestjs/graphql module shares a similar API interface with type-graphql. However, I encountered a scenario where I required the usage of nestjs graphql instead of type-graphql. To accommodate this, I introduced a configuration flag to switch from using type-graphql to @nestjs/graphql. All tests have successfully passed without the inclusion of a new plugin for @nestjs/graphql.given that the @nestjs/graphql implementation heavily relies on the type-graphql library, effectively behaving as a subtype of that library.
no dependency needed to be added
Type of change
New feature (non-breaking change which adds functionality)
This change requires a documentation update
How Has This Been Tested?
Please describe the tests that you ran to verify your changes. Provide instructions so we can
reproduce. Please also list any relevant details for your test configuration
Test Environment:
@graphql-codegen/typescript-type-graphql.
:Checklist:
CONTRIBUTING doc and the
style guidelines of this project