-
Notifications
You must be signed in to change notification settings - Fork 2k
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
'sendVariablesValues.exceptNames' reporting option GraphQL input fields is not working #5059
Comments
The name of your variable is
I do agree that wanting to filter based on input field names is reasonable, but it's not directly supported by the API. You can implement it yourself with the I'm closing this because this isn't a bug: the code implements what it's intended to. That said, I'd be excited to see community contributions of helpful |
Maybe I should create an issue on the @apollo/gateway repository @glasser ? |
Oof, that is surprising. I don't think it's specific to the gateway, though. Specifically, what's going on is that you're mutating stuff nested under the I'm not sure of the best thing to do here. We can always do some sort of deep clone operation on For your own code, you can change the assignment line to:
(It's OK to mutate fields on I'll open an issue about this. |
Understood ! Thank you for your answer ! |
Hi,
First of all, Apollo is great, big fan !
But I'm having an issue regarding the sendVariablesValues.exceptNames options of the report engine. The option works well on query parameters but not on GraphQL Input fields.
I'm using
apollo-server
and@apollo/gateway
, the code below is from my gateway and the query is implemented in one of my services.Dependencies
"apollo-server": "^2.21.2"
Code
Query
Schema
Actual Behaviour
Operation trace on Apollo Studio
Expected Behaviour
{ "input":{} }
The text was updated successfully, but these errors were encountered: