![](/img/trans.png)
[英]Getting Unsupported token `on` [GraphQL]
問題:我們在查詢中轉到“on”,而 build apollo 抱怨查詢中的 on 關鍵字 (*.graphql) GraphQL 查詢: 錯誤:不支持on令牌(com.apollographql.apollo.compiler.parser.GraphQLDocumentParseExcepti ...
[英]Getting Unsupported token `on` [GraphQL]
問題:我們在查詢中轉到“on”,而 build apollo 抱怨查詢中的 on 關鍵字 (*.graphql) GraphQL 查詢: 錯誤:不支持on令牌(com.apollographql.apollo.compiler.parser.GraphQLDocumentParseExcepti ...
[英]How to suppress field from GraphQLClientRequest request body?
當我使用 ExpediaGroup graphql-kotlin 客戶端調用 GQL 查詢時,它會在query 、 variables和operationName之外插入一個字段。 我知道這個字段來自我擴展的 class 構造函數參數。 我不需要這個字段。 有沒有辦法壓制它? 我的 class: ...
[英]How to upload with ExpediaGroup's graphql-kotlin?
https://github.com/ExpediaGroup/graphql-kotlin/tree/master/examples/server/spring-server/src/main/kotlin/com/expediagroup/graphql/examples/下的示例中沒有與文 ...
[英]How do you handle adding a CORS header in a Spring Boot server with graphql-kotlin?
我正在使用 Expedia 創建和開源的GraphQL Kotlin 庫構建一個簡單的 Spring Server 項目。 我有一個后端啟動並運行,與數據存儲區交談,我能夠通過 Playground 發送查詢來獲取數據。 當我嘗試從我的 React 前端(使用 Apollo)連接時,由於 CORS ...