Releases: reactive/data-client
@data-client/rest@0.12.7
Patch Changes
-
4bc9145
Thanks @ntucker! - Improve readability of Collection generics by naming DefaultArgs -
#3063
2080c87
Thanks @ntucker! - Polymorphic (Union) types should still denormalize when handling passthrough (non-normalized) dataWhen denormalizing non-normalized (like return of ctrl.fetch), it is still expected to handle
all steps like constructing class instances if possible. However, to do this for Polymorphic
types we need to fallback to using part of the normalize process to find out which schema
to use for the remainder of denormalization. -
4bc9145
Thanks @ntucker! - Add docstrings to schema constructors -
bf1f9bb
Thanks @ntucker! - Add docstrings to RestGenerics, ResourceGenerics, and RestEndpointOptions members -
Updated dependencies [
4bc9145
,2080c87
,4bc9145
]:- @data-client/endpoint@0.12.7
@data-client/graphql@0.12.7
Patch Changes
-
#3063
2080c87
Thanks @ntucker! - Polymorphic (Union) types should still denormalize when handling passthrough (non-normalized) dataWhen denormalizing non-normalized (like return of ctrl.fetch), it is still expected to handle
all steps like constructing class instances if possible. However, to do this for Polymorphic
types we need to fallback to using part of the normalize process to find out which schema
to use for the remainder of denormalization. -
Updated dependencies [
4bc9145
,2080c87
,4bc9145
]:- @data-client/endpoint@0.12.7
@data-client/endpoint@0.12.7
Patch Changes
-
4bc9145
Thanks @ntucker! - Improve readability of Collection generics by naming DefaultArgs -
#3063
2080c87
Thanks @ntucker! - Polymorphic (Union) types should still denormalize when handling passthrough (non-normalized) dataWhen denormalizing non-normalized (like return of ctrl.fetch), it is still expected to handle
all steps like constructing class instances if possible. However, to do this for Polymorphic
types we need to fallback to using part of the normalize process to find out which schema
to use for the remainder of denormalization. -
4bc9145
Thanks @ntucker! - Add docstrings to schema constructors
@data-client/rest@0.12.6
@data-client/graphql@0.12.6
@data-client/endpoint@0.12.6
@data-client/rest@0.12.5
@data-client/react@0.12.5
Patch Changes
-
e4d5f01
Thanks @ntucker! - DevToolsManager uses maxAge to set buffer size -
30208fb
Thanks @ntucker! - Only show devtools button when DevToolsManager is usedPreviously, one could use custom managers list and it
would still show the devtools button. This was confusing
as opening it would show no instance for Data Client. -
c3481ad
Thanks @ntucker! - Fix DevToolsManager() config parameter correctly sets devtools config -
Updated dependencies [
e4d5f01
,c3481ad
]:- @data-client/core@0.12.5
@data-client/core@0.12.5
@data-client/rest@0.12.4
Patch Changes
-
a6b4f4a
Thanks @ntucker! - Support + and * in RestEndpoint.path -
a6b4f4a
Thanks @ntucker! - Add support for {} to RestEndpoint.pathconst getThing = new RestEndpoint({ path: "/:attr1?{-:attr2}?{-:attr3}?", }); getThing({ attr1: "hi" }); getThing({ attr2: "hi" }); getThing({ attr3: "hi" }); getThing({ attr1: "hi", attr3: "ho" }); getThing({ attr2: "hi", attr3: "ho" });