Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

精簡 graphql query #1353

Open
peteranny opened this issue Jun 21, 2024 · 0 comments · May be fixed by #1367
Open

精簡 graphql query #1353

peteranny opened this issue Jun 21, 2024 · 0 comments · May be fixed by #1367

Comments

@peteranny
Copy link
Contributor

這是我們的 graphql:

{"query":"\n  query($companyName:String!, $hasData:Boolean!) {\n    search_companies(query:$companyName, hasData:$hasData) {\n      name\n      businessNumber\n      dataCount\n    }\n  }\n","variables":{"companyName":"台積電","hasData":false}}

裡面很多空白和換行,感覺有機會移除多餘的以降低頻寬

@peteranny peteranny linked a pull request Jun 26, 2024 that will close this issue
1 task
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant