go-auth0
go-auth0 copied to clipboard
Convert `management.UserDateSchema` to `time.Time`
Checklist
- [x] I agree to the terms within the Auth0 Code of Conduct.
Describe the problem you'd like to have solved
In v1 user timestamp fields are *time.Time which makes them easy to use.
In v2 they are *management.UserDateSchema which is not easy to use.
Am I supposed to parse the String? What even is the StringUnknownMap?
Describe the ideal solution
Add a function or method to convert a UserDateSchema to a time.Time.
Alternatives and current workarounds
No response
Additional context
No response
Hi @haines ,
Thank you for reporting!
We are looking into this issue. Will update here soon!