-
Notifications
You must be signed in to change notification settings - Fork 149
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
Pr 1454 #1565
Pr 1454 #1565
Conversation
Codecov Report
@@ Coverage Diff @@
## main #1565 +/- ##
=============================================
+ Coverage 60.00% 70.59% +10.58%
- Complexity 8543 9791 +1248
=============================================
Files 862 817 -45
Lines 40762 39489 -1273
Branches 6083 5995 -88
=============================================
+ Hits 24461 27877 +3416
+ Misses 13866 8904 -4962
- Partials 2435 2708 +273 see 290 files with indirect coverage changes 📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
@@ -41,7 +44,15 @@ public static ParseAndValidateResult parse(ExecutionInput executionInput) { | |||
return result; | |||
} | |||
|
|||
public static List<ValidationError> validate(GraphQLSchema graphQLSchema, Document parsedDocument) { | |||
public static List<ValidationError> validate(GraphQLSchema graphQLSchema, Document parsedDocument, Predicate<Class<?>> rulePredicate, Locale locale) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The main change made to the customer's PR was instrumenting the correct signatures of the validate
method so that error info is properly captured.
This PR replaces #1454 and addresses several issues with the original PR.
Simple transaction showing the
graphql-java-21.0
instrumentation working: