Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

getDescription is not exported #3490

Closed
Lonli-Lokli opened this issue Feb 9, 2022 · 3 comments
Closed

getDescription is not exported #3490

Lonli-Lokli opened this issue Feb 9, 2022 · 3 comments
Labels

Comments

@Lonli-Lokli
Copy link

Same as reported here - #1165

Starting with v16 this method has been removed from public so we are facing errors with nestjs & gql

@Jakub41
Copy link

Jakub41 commented Mar 27, 2022

Hello, I'm facing the same issue and is not possible to get it back as was done in the past?
Would be good then...

@is2ei
Copy link
Contributor

is2ei commented Apr 27, 2022

I'm not sure the reason why it's deprecated but the method is removed completely because it's deprecated.
Ref: ec2352a

@IvanGoncharov
Copy link
Member

getDescription method was part of experimental SDL support and was required to handle "description as comment syntax".
Many years ago we finalized the SDL design that uses a different syntax for description without the need for getDescription (new syntax handled in AST).
We deprecated this function since v14 (~4years ago) and finally remove it.
I understand the frustration but we need to drop support for "experimental" stuff that was dropped from the final version.

If you have an issue with a particular library, please ask maintainers to drop support for "descriptions as comments" and remove usage of getDescription.
Meanwhile, you can continue to use v15 since it contains all the latest security fixes and is still supported.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants