-
Notifications
You must be signed in to change notification settings - Fork 74
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
Data security question #175
Comments
You could create a custom resolver like this for the fields that you would like to protect:
|
This way NextJS can fetch all the content when building its bundle, and the user can directly fetch from the WPGraphQL server should you choose to allow so. |
Hey everyone,
I have a question about data security when using the plugin. Here is the problem I am facing:
data
object that gets returned in the response.Is there a way to hide the
data
object in the response using the plugin?The text was updated successfully, but these errors were encountered: