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
using the adventureworks DB, run the project and execute the following query query { address(order: [{ addressID: ASC }], first: 100) { edges { cursor node { addressID city rowguid postalCode addressLine1 modifiedDate stateProvinceID } } } }
with the auth header C8104FC7-8643-4908-B88E-61AA6A3FCF36
this will cause 100 error messages for each column that the ID doesn't have permissions to.
What is expected?
a way or means to suppress or remove errors, either through passing null or some metadata or extra property
What is actually happening?
IErrorFilter can be used to remove the duplicates but it will throw an error itself because an IError needs to be sent back instead of null
Relevant log output
Additional context
The only other option that has been investigated was custom middleware to rewrite the entire response. Fortify Security scans see this as injection and a security issue, so this is not a usable solution for us. If there is a way to do this other then what I have mentioned I greatly appreciate the feedback
The text was updated successfully, but these errors were encountered:
Product
Hot Chocolate
Version
14.3
Link to minimal reproduction
https://github.com/msheluga/HC14Test
Steps to reproduce
using the adventureworks DB, run the project and execute the following query
query { address(order: [{ addressID: ASC }], first: 100) { edges { cursor node { addressID city rowguid postalCode addressLine1 modifiedDate stateProvinceID } } } }
with the auth header
C8104FC7-8643-4908-B88E-61AA6A3FCF36
this will cause 100 error messages for each column that the ID doesn't have permissions to.
What is expected?
a way or means to suppress or remove errors, either through passing null or some metadata or extra property
What is actually happening?
IErrorFilter can be used to remove the duplicates but it will throw an error itself because an IError needs to be sent back instead of null
Relevant log output
Additional context
The only other option that has been investigated was custom middleware to rewrite the entire response. Fortify Security scans see this as injection and a security issue, so this is not a usable solution for us. If there is a way to do this other then what I have mentioned I greatly appreciate the feedback
The text was updated successfully, but these errors were encountered: