GuoMonth commented on issue #10346:
URL: https://github.com/apache/apisix/issues/10346#issuecomment-1780341735

   # Test Case 3
   
   Directly request local grapql services without going through the gateway
   1. web wasm client: .net 7 App, Include="GraphQL.Client" Version="6.0.0"
   1. graphql service: rust 1.73,
   ```toml
   async-graphql = { version = "5.0.10", default-features = false }
   async-graphql-axum = "5.0.10"
   sea-orm = { version = "0.12", default-features = false}
   seaography = {version = "^1.0.0-rc.2", default-features = false}
   ```
   
   1 success!
   
   ```csharp
                   Query = @"query tClientInfo($pageSize: Int!, $pageIndex: 
Int!) {
                       tClientInfo(
                           filters: { status: { eq: 1 } }
                           pagination: { page: { limit: $pageSize, page: 
$pageIndex } }
                           orderBy: { updateTime: DESC }
                       ) {
                           nodes {
                               id
                               clientId
                               clientCode
                               clientName
                               status
                               createUser
                               createTime
                               remark
                               updateTime
                               updateUser
                           }
                           paginationInfo {
                               pages
                               current
                           }
                       }
                   }",
                   Variables = new
                   {
                       pageSize = size,
                       pageIndex = index,
                   },
               };
   ```
   - failed
   ```cschar
   GraphQLRequest fetchQuery = new()
               {
                   Query = "query tClientInfo{\n tClientInfo(\n filters: { 
status: { eq: 1 } }\n pagination: { page: { limit: $pageSize, page: $pageIndex 
} }\n orderBy: { updateTime: DESC }\n ) {\n nodes {\n id\n clientId\n 
clientCode\n clientName\n status\n createUser\n createTime\n remark\n 
updateTime\n updateUser\n }\n paginationInfo {\n pages\n current\n }\n }\n }",
               };
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to