one of my colleagues found ValueTypes and its super useful
for example if i have params for mutation i can just use ValueTypes['myMutationParams']
but that was found inside the lib
and it lacks some basic types
I would like to see it as part of official docs and officially supported feature, because it allows me to make consistent TS for api without need for manual rewriting
one of my colleagues found
ValueTypes
and its super usefulfor example if i have params for mutation i can just use
ValueTypes['myMutationParams']
but that was found inside the lib and it lacks some basic types
I would like to see it as part of official docs and officially supported feature, because it allows me to make consistent TS for api without need for manual rewriting
Our example:
Before
After
Perfectly (but not possible with current implementation)
(here i meant that it would be used directly, but for better comparison readability used extend)
Usage