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
Its a bit odd that we have Get which accepts three styles of specifying paths, but doesn't use Paths, and also have PickDeep etc which use Paths and only accepts a single style of specifying paths.
Paths is used to validate that the specified paths are valid options + used to give intellisense, both which are handy.
Paths only supports the foo.0.bar style of paths whereas Get also supports foo[0].bar and ['foo', '0', 'bar'], is that maybe overkill for Get? Or, if useful, should Paths etc be extended with the same functionality?
Desired outcome:
Ideally Get and Paths / PickDeep etc should behave the same when it comes to paths and use the same fundamentals.
Random notes
PickDeep and Get feels fairly similar in other ways as well – maybe one could adapt the internals of PickDeep to also serve Get?
I gave it a look and a try but got a headache and needs to bang my head against something right now.
Upvote & Fund
We're using Polar.sh so you can upvote and help fund this issue.
The funding will be given to active contributors.
Thank you in advance for helping prioritize & fund our backlog.
The text was updated successfully, but these errors were encountered:
Its a bit odd that we have
Get
which accepts three styles of specifying paths, but doesn't usePaths
, and also havePickDeep
etc which usePaths
and only accepts a single style of specifying paths.Paths
is used to validate that the specified paths are valid options + used to give intellisense, both which are handy.Paths
only supports thefoo.0.bar
style of paths whereasGet
also supportsfoo[0].bar
and['foo', '0', 'bar']
, is that maybe overkill forGet
? Or, if useful, shouldPaths
etc be extended with the same functionality?Desired outcome:
Ideally
Get
andPaths
/PickDeep
etc should behave the same when it comes to paths and use the same fundamentals.Random notes
PickDeep
andGet
feels fairly similar in other ways as well – maybe one could adapt the internals ofPickDeep
to also serveGet
?I gave it a look and a try but got a headache and needs to bang my head against something right now.
Upvote & Fund
The text was updated successfully, but these errors were encountered: