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

isvalidjsvalue was removed, but documentation is not updated #2814

Closed
Andrei-Stepanov opened this issue Oct 1, 2020 · 5 comments
Closed

Comments

@Andrei-Stepanov
Copy link

Good day.

Documentation: https://graphql.org/graphql-js/utilities/#isvalidjsvalue
The function isValidJSValue was removed in : #2126

Please update documentation. Thank you.

Please help me to understand how do I verify if value (part of data) on server side is consistent with schema, before I send it to client?

Thank you.

@senpai-notices
Copy link

Hi @Andrei-Stepanov

Please use coerceInputValue instead.

I agree that the docs need to be updated.

I hope this helps.

Have a nice day.

@IvanGoncharov
Copy link
Member

@tanman- Big thanks for answering this issue 👍

@tanman- We plan to generate our API docs from source code after TS migration, so it will always be up-to-date.

@nickwesselman
Copy link

This is still inaccurate 😞

@ris314
Copy link

ris314 commented Nov 28, 2023

This is still inaccurate

Still true

@skilgoreT
Copy link

Still true

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

No branches or pull requests

6 participants