Skip to content
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

Merged
merged 7 commits into from Oct 26, 2023
Merged

Pr 1454 #1565

merged 7 commits into from Oct 26, 2023

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

@@ -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) {
Copy link
Contributor Author

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.

@jasonjkeller jasonjkeller merged commit 3759a9a into main Oct 26, 2023
103 checks passed
@jasonjkeller jasonjkeller deleted the pr-1454 branch October 26, 2023 16:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

None yet

4 participants