-
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
feat(apollo-engine-reportoing): sendVariableValues
and sendHeaders
.
#2931
Commits on Jun 27, 2019
-
- changed name of the new option (from enforcePrivateVariables to mas…
…kVariableValues), but this is still TBD - use the same helper for both the deprecated privateVariable option and the new option, since the logic is (basically) the same - added helper (and tests) to enforce that originalVariables.keys == modifiedVariables.keys - updated documentation
Configuration menu - View commit details
-
Copy full SHA for 2c2d6c0 - Browse repository at this point
Copy the full SHA 2c2d6c0View commit details -
Changed new option to sendVariableValues instead of maskVariableValue…
…s, and the subsequent tests/docs
Configuration menu - View commit details
-
Copy full SHA for e5c5432 - Browse repository at this point
Copy the full SHA e5c5432View commit details -
Configuration menu - View commit details
-
Copy full SHA for 822bc0b - Browse repository at this point
Copy the full SHA 822bc0bView commit details -
addressing comments, name/argument changes, updating docs, adding and…
… fixing test cases
Configuration menu - View commit details
-
Copy full SHA for b9d2b03 - Browse repository at this point
Copy the full SHA b9d2b03View commit details -
Configuration menu - View commit details
-
Copy full SHA for dda89a8 - Browse repository at this point
Copy the full SHA dda89a8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1eb61b1 - Browse repository at this point
Copy the full SHA 1eb61b1View commit details -
Configuration menu - View commit details
-
Copy full SHA for f49c714 - Browse repository at this point
Copy the full SHA f49c714View commit details -
Apply suggestions from code review: doc formatting, fixes (equality c…
…omparisons, constant declarations), more test cases Co-Authored-By: Jesse Rosenberger <git@jro.cc>
Configuration menu - View commit details
-
Copy full SHA for 6fcd4d2 - Browse repository at this point
Copy the full SHA 6fcd4d2View commit details -
Configuration menu - View commit details
-
Copy full SHA for c3e4f9f - Browse repository at this point
Copy the full SHA c3e4f9fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8f9ca40 - Browse repository at this point
Copy the full SHA 8f9ca40View commit details -
Use only the Node.js JSON cycles error.
Node.js only raises this particular error when cycles are detected. While I first thought it was more defensive to catch the exact error we anticipated, I'm slightly reconsidering whether this is defensive enough and if we should, in fact, change this back to catching any error, particularly since this runs async and might go undetected or cause a whole string of a user's errors to not pass any variables. Thoughts, @glasser?
2Configuration menu - View commit details
-
Copy full SHA for 4b2f9d3 - Browse repository at this point
Copy the full SHA 4b2f9d3View commit details -
Rescind on my suggestion to precisely match the error.
I thought it made sense to catch only cycles, but I've changed my mind. I think there could be just arbitrary errors in a `toString` or `toJSON` implementation which we'd still want to guard, particularly because these errors are shipped async. Ref: 4b2f9d3 Ref: #2931 (comment)
Configuration menu - View commit details
-
Copy full SHA for 6c9aa8f - Browse repository at this point
Copy the full SHA 6c9aa8fView commit details