Closed fabianlugones closed 2 years ago
Not really anything to do with Vue 3 there, it's just parsing a dot string internally and trying to map it to the user object that's passed in.
Hard to know without seeing what the response structure for the user looks like, do you have a sample?
I found that the user structure was altered by parseUserData option. Works ok now. Sorry, my bad. Thanks for this package 🚀
Glad it worked out :-)
When defining a rolesKey with dot notation in the options it throws the following error:
The setted user role name structure is the following:
My plugin definition :
I'm currently using Vue 3.
Thanks in advance!