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

.inspect() is deprecated #1599

Closed
bradennapier opened this issue Dec 9, 2018 · 2 comments
Closed

.inspect() is deprecated #1599

bradennapier opened this issue Dec 9, 2018 · 2 comments

Comments

@bradennapier
Copy link

bradennapier commented Dec 9, 2018

Are there plans to resolve the deprecation warnings that come with this library due to the use of .inspect() method being used?

Any attempt to log values within the library result in:

(node:19489) [DEP0079] DeprecationWarning: Custom inspection function on Objects via .inspect() is deprecated

on the LTS version of nodejs (v10)

https://github.com/graphql/graphql-js/blob/master/src/jsutils/inspect.js

nodejs/node#15549

@IvanGoncharov
Copy link
Member

@bradennapier Thanks for reporting 👍
Fixed in master.
You can test it using:
https://github.com/graphql/graphql-js#want-to-ride-the-bleeding-edge

@bradennapier
Copy link
Author

Sweet! Thanks! I’ve since found quite a few libraries with this as an issue so seems fairly common. Appreciate taking care of it as Node 11 removes support and it publishes the whole thing :)

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

No branches or pull requests

2 participants