Issue:
Existing graphQl queries are not typed. Untyped queries make it easier for bugs to be introduced, diminishes DX and make it hard to refactor existing queries.
How to add type safety with React-query and graphQl
https://the-guild.dev/graphql/codegen/docs/guides/react-query
What's next
After adding types, we can confidently refactor existing queries that may be slowing down Signet:
Issue:
Existing graphQl queries are not typed. Untyped queries make it easier for bugs to be introduced, diminishes DX and make it hard to refactor existing queries.
How to add type safety with React-query and graphQl
https://the-guild.dev/graphql/codegen/docs/guides/react-query
What's next
After adding types, we can confidently refactor existing queries that may be slowing down Signet:
Refactor: address input #83AddressesByOrgIdshould only be called when needed and should be paginated. The current limit of 1000 is too high. Consider the effects this may have onuseKnownAddresses.Perf: tx-Metadata refactor #87TxMetadatashould be queried on demand when needed. Also, the 300 limit may be too large, and at the same time too small to cover the entire multisig team's transaction list.GetTransactions: We are fetching too much data. Consider implementing pagination.