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
Would it be possible to add an option to make paths in array format instead of dot format
Some form item libraries e.g Antd use arrays of strings/ number to denote the path, essentially splitting them by the "." that separates them.
typeObj={a: {b: {e: string;};c: {d: ['foo'];};};};// Current featurea.c.d[0]a.c.d.0// New Feature - array notation["a","c","d",0]
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:
Seems like what is needed is in the Getsource file, with some slight tweaks
// Current behaviourToPath<'foo[0].bar.baz'>//=> ['foo', '0', 'bar', 'baz']// Expected behaviourToPath<'foo[0].bar.baz'>//=> ['foo', 0, 'bar', 'baz'] // 0 should be a number since it is an array index
Would it be possible to add an option to make paths in array format instead of dot format
Some form item libraries e.g Antd use arrays of strings/ number to denote the path, essentially splitting them by the "." that separates them.
Upvote & Fund
The text was updated successfully, but these errors were encountered: