[TT-11655] Graphql APIs are unable to handle OPTIONS requests#6221
Conversation
|
PR Description updated to latest commit (4b7a69b) |
|
API Changes no api changes detected |
PR Review
Code feedback:
✨ Review tool usage guide:Overview: The tool can be triggered automatically every time a new PR is opened, or can be invoked manually by commenting on any PR.
See the review usage page for a comprehensive guide on using this tool. |
PR Code Suggestions
✨ Improve tool usage guide:Overview:
See the improve usage page for a comprehensive guide on using this tool. |
💥 CI tests failed 🙈git-stateall okPlease look at the run or in the Checks tab. |
💥 CI tests failed 🙈git-stateall okPlease look at the run or in the Checks tab. |
…-to-handle-OPTIONS-requests' into TT-11655/Graphql-APIs-are-unable-to-handle-OPTIONS-requests
…-OPTIONS-requests
💥 CI tests failed 🙈git-stateall okPlease look at the run or in the Checks tab. |
1 similar comment
💥 CI tests failed 🙈git-stateall okPlease look at the run or in the Checks tab. |
💥 CI tests failed 🙈git-stateall okPlease look at the run or in the Checks tab. |
1 similar comment
💥 CI tests failed 🙈git-stateall okPlease look at the run or in the Checks tab. |
…-to-handle-OPTIONS-requests' into TT-11655/Graphql-APIs-are-unable-to-handle-OPTIONS-requests
💥 CI tests failed 🙈git-statediff --git a/internal/graphengine/engine.go b/internal/graphengine/engine.go
index 71ca0b8..b3a0152 100644
--- a/internal/graphengine/engine.go
+++ b/internal/graphengine/engine.go
@@ -6,8 +6,9 @@ import (
"io"
"net/http"
- "github.com/TykTechnologies/tyk/apidef"
"github.com/gorilla/websocket"
+
+ "github.com/TykTechnologies/tyk/apidef"
)
type EngineVersion intPlease look at the run or in the Checks tab. |
…-OPTIONS-requests
💥 CI tests failed 🙈git-statediff --git a/internal/graphengine/engine.go b/internal/graphengine/engine.go
index 71ca0b8..b3a0152 100644
--- a/internal/graphengine/engine.go
+++ b/internal/graphengine/engine.go
@@ -6,8 +6,9 @@ import (
"io"
"net/http"
- "github.com/TykTechnologies/tyk/apidef"
"github.com/gorilla/websocket"
+
+ "github.com/TykTechnologies/tyk/apidef"
)
type EngineVersion intPlease look at the run or in the Checks tab. |
…-to-handle-OPTIONS-requests' into TT-11655/Graphql-APIs-are-unable-to-handle-OPTIONS-requests
|


User description
Description
Links to this ticket
Related Issue
Motivation and Context
How This Has Been Tested
Screenshots (if appropriate)
Types of changes
Checklist
Type
Bug fix
Description
Changes walkthrough
graphql_go_tools_v1.go
Allow OPTIONS Requests for CORS Preflight in GraphQLinternal/graphengine/graphql_go_tools_v1.go
allowing for CORS preflight requests to be processed.