Skip to content

Commit ef3a85e

Browse files
authored
Fix typos in Spring GraphQL integration names (GrahQL to GraphQL) (#6061)
Fixes #4668
1 parent 0dbf275 commit ef3a85e

14 files changed

Lines changed: 29 additions & 23 deletions

File tree

‎CHANGELOG.md‎

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# Changelog
22

3+
## Unreleased
4+
5+
### Fixes
6+
7+
- Fix typos in Spring GraphQL integration names (`GrahQL` to `GraphQL`)
8+
39
## 8.55.0
410

511
### Features

‎sentry-spring-7/src/main/java/io/sentry/spring7/graphql/SentryDgsSubscriptionHandler.java‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
public final class SentryDgsSubscriptionHandler implements SentrySubscriptionHandler {
1212

1313
public SentryDgsSubscriptionHandler() {
14-
SentryIntegrationPackageStorage.getInstance().addIntegration("Spring7NetflixDGSGrahQL");
14+
SentryIntegrationPackageStorage.getInstance().addIntegration("Spring7NetflixDGSGraphQL");
1515
}
1616

1717
@Override

‎sentry-spring-7/src/main/java/io/sentry/spring7/graphql/SentryGraphql22Configuration.java‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ public class SentryGraphql22Configuration {
2323
public SentryInstrumentation sentryInstrumentationWebMvc(
2424
final @NotNull ObjectProvider<SentryGraphqlInstrumentation.BeforeSpanCallback>
2525
beforeSpanCallback) {
26-
SentryIntegrationPackageStorage.getInstance().addIntegration("Spring7GrahQLWebMVC");
26+
SentryIntegrationPackageStorage.getInstance().addIntegration("Spring7GraphQLWebMVC");
2727
return createInstrumentation(beforeSpanCallback, false);
2828
}
2929

@@ -33,7 +33,7 @@ public SentryInstrumentation sentryInstrumentationWebMvc(
3333
public SentryInstrumentation sentryInstrumentationWebflux(
3434
final @NotNull ObjectProvider<SentryGraphqlInstrumentation.BeforeSpanCallback>
3535
beforeSpanCallback) {
36-
SentryIntegrationPackageStorage.getInstance().addIntegration("Spring7GrahQLWebFlux");
36+
SentryIntegrationPackageStorage.getInstance().addIntegration("Spring7GraphQLWebFlux");
3737
return createInstrumentation(beforeSpanCallback, true);
3838
}
3939

‎sentry-spring-7/src/main/java/io/sentry/spring7/graphql/SentryGraphqlConfiguration.java‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ public class SentryGraphqlConfiguration {
2323
public SentryInstrumentation sentryInstrumentationWebMvc(
2424
final @NotNull ObjectProvider<SentryGraphqlInstrumentation.BeforeSpanCallback>
2525
beforeSpanCallback) {
26-
SentryIntegrationPackageStorage.getInstance().addIntegration("Spring7GrahQLWebMVC");
26+
SentryIntegrationPackageStorage.getInstance().addIntegration("Spring7GraphQLWebMVC");
2727
return createInstrumentation(beforeSpanCallback, false);
2828
}
2929

@@ -33,7 +33,7 @@ public SentryInstrumentation sentryInstrumentationWebMvc(
3333
public SentryInstrumentation sentryInstrumentationWebflux(
3434
final @NotNull ObjectProvider<SentryGraphqlInstrumentation.BeforeSpanCallback>
3535
beforeSpanCallback) {
36-
SentryIntegrationPackageStorage.getInstance().addIntegration("Spring7GrahQLWebFlux");
36+
SentryIntegrationPackageStorage.getInstance().addIntegration("Spring7GraphQLWebFlux");
3737
return createInstrumentation(beforeSpanCallback, true);
3838
}
3939

‎sentry-spring-boot-4/src/main/java/io/sentry/spring/boot4/graphql/SentryGraphql22AutoConfiguration.java‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ public SentryInstrumentation sentryInstrumentationWebMvc(
2828
final @NotNull SentryProperties sentryProperties,
2929
final @NotNull ObjectProvider<SentryGraphqlInstrumentation.BeforeSpanCallback>
3030
beforeSpanCallback) {
31-
SentryIntegrationPackageStorage.getInstance().addIntegration("Spring7GrahQLWebMVC");
31+
SentryIntegrationPackageStorage.getInstance().addIntegration("Spring7GraphQLWebMVC");
3232
return createInstrumentation(sentryProperties, beforeSpanCallback, false);
3333
}
3434

@@ -39,7 +39,7 @@ public SentryInstrumentation sentryInstrumentationWebflux(
3939
final @NotNull SentryProperties sentryProperties,
4040
final @NotNull ObjectProvider<SentryGraphqlInstrumentation.BeforeSpanCallback>
4141
beforeSpanCallback) {
42-
SentryIntegrationPackageStorage.getInstance().addIntegration("Spring7GrahQLWebFlux");
42+
SentryIntegrationPackageStorage.getInstance().addIntegration("Spring7GraphQLWebFlux");
4343
return createInstrumentation(sentryProperties, beforeSpanCallback, true);
4444
}
4545

‎sentry-spring-boot-4/src/main/java/io/sentry/spring/boot4/graphql/SentryGraphqlAutoConfiguration.java‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ public SentryInstrumentation sentryInstrumentationWebMvc(
2828
final @NotNull SentryProperties sentryProperties,
2929
final @NotNull ObjectProvider<SentryGraphqlInstrumentation.BeforeSpanCallback>
3030
beforeSpanCallback) {
31-
SentryIntegrationPackageStorage.getInstance().addIntegration("Spring7GrahQLWebMVC");
31+
SentryIntegrationPackageStorage.getInstance().addIntegration("Spring7GraphQLWebMVC");
3232
return createInstrumentation(sentryProperties, beforeSpanCallback, false);
3333
}
3434

@@ -39,7 +39,7 @@ public SentryInstrumentation sentryInstrumentationWebflux(
3939
final @NotNull SentryProperties sentryProperties,
4040
final @NotNull ObjectProvider<SentryGraphqlInstrumentation.BeforeSpanCallback>
4141
beforeSpanCallback) {
42-
SentryIntegrationPackageStorage.getInstance().addIntegration("Spring7GrahQLWebFlux");
42+
SentryIntegrationPackageStorage.getInstance().addIntegration("Spring7GraphQLWebFlux");
4343
return createInstrumentation(sentryProperties, beforeSpanCallback, true);
4444
}
4545

‎sentry-spring-boot-jakarta/src/main/java/io/sentry/spring/boot/jakarta/graphql/SentryGraphql22AutoConfiguration.java‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ public SentryInstrumentation sentryInstrumentationWebMvc(
2828
final @NotNull SentryProperties sentryProperties,
2929
final @NotNull ObjectProvider<SentryGraphqlInstrumentation.BeforeSpanCallback>
3030
beforeSpanCallback) {
31-
SentryIntegrationPackageStorage.getInstance().addIntegration("Spring6GrahQLWebMVC");
31+
SentryIntegrationPackageStorage.getInstance().addIntegration("Spring6GraphQLWebMVC");
3232
return createInstrumentation(sentryProperties, beforeSpanCallback, false);
3333
}
3434

@@ -39,7 +39,7 @@ public SentryInstrumentation sentryInstrumentationWebflux(
3939
final @NotNull SentryProperties sentryProperties,
4040
final @NotNull ObjectProvider<SentryGraphqlInstrumentation.BeforeSpanCallback>
4141
beforeSpanCallback) {
42-
SentryIntegrationPackageStorage.getInstance().addIntegration("Spring6GrahQLWebFlux");
42+
SentryIntegrationPackageStorage.getInstance().addIntegration("Spring6GraphQLWebFlux");
4343
return createInstrumentation(sentryProperties, beforeSpanCallback, true);
4444
}
4545

‎sentry-spring-boot-jakarta/src/main/java/io/sentry/spring/boot/jakarta/graphql/SentryGraphqlAutoConfiguration.java‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ public SentryInstrumentation sentryInstrumentationWebMvc(
2828
final @NotNull SentryProperties sentryProperties,
2929
final @NotNull ObjectProvider<SentryGraphqlInstrumentation.BeforeSpanCallback>
3030
beforeSpanCallback) {
31-
SentryIntegrationPackageStorage.getInstance().addIntegration("Spring6GrahQLWebMVC");
31+
SentryIntegrationPackageStorage.getInstance().addIntegration("Spring6GraphQLWebMVC");
3232
return createInstrumentation(sentryProperties, beforeSpanCallback, false);
3333
}
3434

@@ -39,7 +39,7 @@ public SentryInstrumentation sentryInstrumentationWebflux(
3939
final @NotNull SentryProperties sentryProperties,
4040
final @NotNull ObjectProvider<SentryGraphqlInstrumentation.BeforeSpanCallback>
4141
beforeSpanCallback) {
42-
SentryIntegrationPackageStorage.getInstance().addIntegration("Spring6GrahQLWebFlux");
42+
SentryIntegrationPackageStorage.getInstance().addIntegration("Spring6GraphQLWebFlux");
4343
return createInstrumentation(sentryProperties, beforeSpanCallback, true);
4444
}
4545

‎sentry-spring-boot/src/main/java/io/sentry/spring/boot/graphql/SentryGraphqlAutoConfiguration.java‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ public SentryInstrumentation sentryInstrumentationWebMvc(
2828
final @NotNull SentryProperties sentryProperties,
2929
final @NotNull ObjectProvider<SentryGraphqlInstrumentation.BeforeSpanCallback>
3030
beforeSpanCallback) {
31-
SentryIntegrationPackageStorage.getInstance().addIntegration("Spring5GrahQLWebMVC");
31+
SentryIntegrationPackageStorage.getInstance().addIntegration("Spring5GraphQLWebMVC");
3232
return createInstrumentation(sentryProperties, beforeSpanCallback, false);
3333
}
3434

@@ -39,7 +39,7 @@ public SentryInstrumentation sentryInstrumentationWebflux(
3939
final @NotNull SentryProperties sentryProperties,
4040
final @NotNull ObjectProvider<SentryGraphqlInstrumentation.BeforeSpanCallback>
4141
beforeSpanCallback) {
42-
SentryIntegrationPackageStorage.getInstance().addIntegration("Spring5GrahQLWebFlux");
42+
SentryIntegrationPackageStorage.getInstance().addIntegration("Spring5GraphQLWebFlux");
4343
return createInstrumentation(sentryProperties, beforeSpanCallback, true);
4444
}
4545

‎sentry-spring-jakarta/src/main/java/io/sentry/spring/jakarta/graphql/SentryDgsSubscriptionHandler.java‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
public final class SentryDgsSubscriptionHandler implements SentrySubscriptionHandler {
1212

1313
public SentryDgsSubscriptionHandler() {
14-
SentryIntegrationPackageStorage.getInstance().addIntegration("Spring6NetflixDGSGrahQL");
14+
SentryIntegrationPackageStorage.getInstance().addIntegration("Spring6NetflixDGSGraphQL");
1515
}
1616

1717
@Override

0 commit comments

Comments
 (0)