Releases: gqty-dev/gqty
Releases · gqty-dev/gqty
@gqty/[email protected]
[email protected]
@gqty/[email protected]
@gqty/[email protected]
[email protected]
2.0.2
Patch Changes
-
d014462: remove unused dependency
-
6b60991: improve normalization key auto-fetch logic
-
5cc001f: Fix: Prevent duplicated concurrent scheduler fetch
-
d6da2ae:
Variables
/Args
utility type to re-use variables types from any field with arguments.You can use either
Variables
orArgs
.import { query, Query } from '../gqty'; import type { Variables, Args } from 'gqty'; function getUserName(args: Variables<Query['user']>) { return query.user(args).name; } function getUserEmail(args: Args<typeof query['user']>) { return query.user(args).email; }
@gqty/[email protected]
[email protected]
2.0.1
Patch Changes
- 28e2c09: [Bug fixing breaking change] Fix types and retrieval of unions/interfaces of different object types