inputlogic / elements

Dependable UI Components for (P)React Apps
0 stars 0 forks source link

Fix patchListRequest. #122

Closed adriaanwm closed 4 years ago

adriaanwm commented 4 years ago

Fixes #121

path option cannot use dot notation for nested path. For a nested path it must be an array. This solves the issue of keys with periods (like urls).

staydecent commented 4 years ago

Fixes #121

path option cannot use dot notation for nested path. For a nested path it must be an array. This solves the issue of keys with periods (like urls).

Taking a look. Unfortunately, this branch breaks the patchListRequest should patch a nested item in a request result test, digging into why now.

staydecent commented 4 years ago

Added tests and small fix that should support the scenario you are encountering.

https://github.com/inputlogic/elements/pull/123