You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat: track hasura tables directly from your dapp (#1161)
## Summary by Sourcery
Provide first-class support for tracking Hasura tables directly from the
SDK CLI by introducing a reusable metadata client and tracking utility,
update codegen and bundler configs to include the new client, and expand
test coverage with relevant E2E scenarios.
New Features:
- Introduce createHasuraMetadataClient and trackAllTables utilities for
interacting with Hasura metadata API
- Enable direct tracking of all tables in Hasura via the CLI using the
new metadata client
- Add end-to-end tests for Hasura table tracking and basic GraphQL
querying
Bug Fixes:
- Correct pause/resume blockchain node tests by removing redundant
cleanup steps and adjusting expect usage
Enhancements:
- Refactor CLI track command to delegate metadata operations to the
shared trackAllTables utility
- Extend codegen templates to instantiate and expose the Hasura metadata
client
- Enhance tsdown bundler configuration to support optional .d.ts output
and include new externals
Build:
- Add @settlemint/sdk-hasura as a dependency and include it in CLI
tsdown externals
Tests:
- Add hasura.e2e.test.ts to verify trackAllTables and GraphQL client
functionality
- Simplify existing pause/resume tests by eliminating unnecessary
waiting commands
0 commit comments