Open rrr63 opened 3 days ago
It is the simplest case. And it should be easy to allow just 1-dimensional array.
But there is a more advanced case: Do we want only just simple 1-dimensional arrays? Or multidimensional too? Do we want allow only indexes? Or maybe keys too? Maybe better will be store it as json in file?
But currently probably such advanced feature is not needed?
I think the 1d array is enough.
To test i tried to import some Users
, and there is the roles
property.
Allow simple string or numeric array is already very good and will fix 80% of array usages imo
Ok, I will try to do it maybe this weekend if I will have some time
Maybe i can try to do a PR on this
If you want, please do it :)
Hi,
I think it could be a good feature to allow array type.
Here is an example with a fixed separator
//
, but maybe it could be nice to allow user to override it, to use their own separator