newrelic / newrelic-java-agent

The New Relic Java agent
Apache License 2.0
192 stars 140 forks source link

Add support for Graphql 22.0 #1854

Open meiao opened 4 weeks ago

meiao commented 4 weeks ago

Description

The current instrumentation no longer applies to the new version of Graphql

Verifier error:

WeaveViolation{type=METHOD_RETURNTYPE_MISMATCH, clazz=graphql/execution/ExecutionStrategy, method=resolveFieldWithInfo(Lgraphql/execution/ExecutionContext;Lgraphql/execution/ExecutionStrategyParameters;)Ljava/util/concurrent/CompletableFuture;}
WeaveViolation{type=METHOD_NEW_CALL_ORIGINAL_UNSUPPORTED, clazz=graphql/execution/ExecutionStrategy, method=handleFetchingException(Lgraphql/schema/DataFetchingEnvironment;Ljava/lang/Throwable;)Ljava/util/concurrent/CompletableFuture;}
WeaveViolation{type=METHOD_NEW_NON_PRIVATE_UNSUPPORTED, clazz=graphql/execution/ExecutionStrategy, method=handleFetchingException(Lgraphql/schema/DataFetchingEnvironment;Ljava/lang/Throwable;)Ljava/util/concurrent/CompletableFuture;}
workato-integration[bot] commented 4 weeks ago

https://new-relic.atlassian.net/browse/NR-259626