nestjs / graphql

GraphQL (TypeScript) module for Nest framework (node.js) 🍷
https://docs.nestjs.com/graphql/quick-start
MIT License
1.46k stars 397 forks source link

refactor(graphql/lib): definitions generator `defaultTypeMapping` type reinforcement #3346

Open Neosoulink opened 1 month ago

Neosoulink commented 1 month ago

PR Checklist

PR Type

What kind of change does this PR introduce?

What is the current behavior?

Issue Number: #3210

What is the new behavior?

Reinforce the DefinitionsGeneratorOptions.defaultTypeMapping interface for better visual over the allowed types.

Better suggestions over the supported types

Screenshot 2024-10-24 at 11 39 58 PM

Screenshot 2024-10-24 at 11 41 07 PM

Does this PR introduce a breaking change?

Other information

will close #3210