Skip to content

Conversation

@jasonjkeller
Copy link
Contributor

@jasonjkeller jasonjkeller commented Oct 23, 2023

This PR replaces #1454 and addresses several issues with the original PR.


Simple transaction showing the graphql-java-21.0 instrumentation working:

Screenshot 2023-10-25 at 2 26 19 PM
@codecov-commenter
Copy link

codecov-commenter commented Oct 23, 2023

Codecov Report

Merging #1565 (8f3af9b) into main (5f7eead) will increase coverage by 10.58%.
Report is 340 commits behind head on main.
The diff coverage is n/a.

@@              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

}

public static List<ValidationError> validate(GraphQLSchema graphQLSchema, Document parsedDocument) {
public static List<ValidationError> validate(GraphQLSchema graphQLSchema, Document parsedDocument, Predicate<Class<?>> rulePredicate, Locale locale) {
Copy link
Contributor Author

@jasonjkeller jasonjkeller Oct 25, 2023

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

5 participants