You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
my object look like this, I can sanitize it and replace the email with custom value in User.js controller, but graphQL will resolve all the relational objects data by some inner method and display the initial values.
System
Node.js version: v10
NPM version: v6
Strapi version: v3.0.0-beta.17.5
Database: MongoDB
Operating system: macOS
The text was updated successfully, but these errors were encountered:
Hi I need to filter graphQL results on server side and replace some object values with default parameters based on current user and some DB settings.
The problem is that is that if I try to filter the result array in a controller, the relational fields queried by GRAPHQL using some inner queries.
I can do what I need in afterFetch callback, but I NEED an access to user context, is there a way to get it?
my object look like this, I can sanitize it and replace the email with custom value in
User.js
controller, but graphQL will resolve all the relational objects data by some inner method and display the initial values.System
The text was updated successfully, but these errors were encountered: