We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
During some load tests, we realized a couple of issues (#3279, #3277) that we're fixing and optimizing.
In keeping with this theme, we should continue the effort and review our predefined GQL queries and fragments.
Every field removal is a breaking change and can break things for apps, so we need to be extra careful here.
Taking from the providers/operations.graphql:
providers/operations.graphql
getContract
getContractBalance
The text was updated successfully, but these errors were encountered:
Took a look at this and the queries don't look like they could be optimized further.
""" from fuel-core-schema.gql """ type Contract { id: ContractId! bytecode: HexString! salt: Salt! } type ContractBalance { contract: ContractId! amount: U64! assetId: AssetId! } """ from operations.graphql """ fragment contractBalanceFragment on ContractBalance { contract amount assetId } query getContract($contractId: ContractId!) { contract(id: $contractId) { bytecode id } } query getContractBalance($contract: ContractId!, $asset: AssetId!) { contractBalance(contract: $contract, asset: $asset) { ...contractBalanceFragment } }
All the data queried via these queries is utilized in the places where the queries are used, so there's no place for more optimization.
Sorry, something went wrong.
nedsalk
No branches or pull requests
During some load tests, we realized a couple of issues (#3279, #3277) that we're fixing and optimizing.
In keeping with this theme, we should continue the effort and review our predefined GQL queries and fragments.
Every field removal is a breaking change and can break things for apps, so we need to be extra careful here.
Taking from the
providers/operations.graphql
:getContract
getContractBalance
The text was updated successfully, but these errors were encountered: