From 53980216ea697e51efef7c4d6a815b3927e1d132 Mon Sep 17 00:00:00 2001 From: Tran Ngoc Nhan Date: Fri, 28 Mar 2025 14:09:21 +0700 Subject: [PATCH] Fix typo Closes gh-1165 Signed-off-by: Tran Ngoc Nhan --- spring-graphql-docs/modules/ROOT/pages/transports.adoc | 2 +- .../springframework/graphql/client/FieldAccessException.java | 2 +- .../graphql/server/support/GraphQlWebSocketMessage.java | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/spring-graphql-docs/modules/ROOT/pages/transports.adoc b/spring-graphql-docs/modules/ROOT/pages/transports.adoc index c2ee61f6..f50f924d 100644 --- a/spring-graphql-docs/modules/ROOT/pages/transports.adoc +++ b/spring-graphql-docs/modules/ROOT/pages/transports.adoc @@ -73,7 +73,7 @@ https://github.com/jaydenseric/graphql-multipart-request-spec[graphql-multipart- that allows file uploads with GraphQL over HTTP. Spring for GraphQL does not support the `graphql-multipart-request-spec` directly. -While the spec does provide the benefit of a unified GraphQL API, the actual experince has +While the spec does provide the benefit of a unified GraphQL API, the actual experience has led to a number of issues, and best practice recommendations have evolved, see https://www.apollographql.com/blog/backend/file-uploads/file-upload-best-practices/[Apollo Server File Upload Best Practices] for a more detailed discussion. diff --git a/spring-graphql/src/main/java/org/springframework/graphql/client/FieldAccessException.java b/spring-graphql/src/main/java/org/springframework/graphql/client/FieldAccessException.java index 4c6cb60e..d9339167 100644 --- a/spring-graphql/src/main/java/org/springframework/graphql/client/FieldAccessException.java +++ b/spring-graphql/src/main/java/org/springframework/graphql/client/FieldAccessException.java @@ -57,7 +57,7 @@ public class FieldAccessException extends GraphQlClientException { /** - * Return the [@code GraphQlResponse} for which the error ouccrred. + * Return the [@code GraphQlResponse} for which the error occurred. */ public ClientGraphQlResponse getResponse() { return this.response; diff --git a/spring-graphql/src/main/java/org/springframework/graphql/server/support/GraphQlWebSocketMessage.java b/spring-graphql/src/main/java/org/springframework/graphql/server/support/GraphQlWebSocketMessage.java index 33a0f58c..d510eb8e 100644 --- a/spring-graphql/src/main/java/org/springframework/graphql/server/support/GraphQlWebSocketMessage.java +++ b/spring-graphql/src/main/java/org/springframework/graphql/server/support/GraphQlWebSocketMessage.java @@ -87,7 +87,7 @@ public class GraphQlWebSocketMessage { } /** - * Return the message type as an emum. + * Return the message type as an enum. */ public GraphQlWebSocketMessageType resolvedType() { Assert.state(this.type != null, "GraphQlWebSocketMessage does not have a type");