Closed ViktorNacht closed 5 years ago
This was definitely a bug: Looks like since there are no "required" fields in your schema, the code accidentally put an undef
where it was expecting an arrayref. I've fixed it and will make a release today. Thanks for reporting this!
Wow, thank you for the quick fix! I probably found this because I'm using the backend authentication without the frontend manager.
Nah, this would've happened for any schema that didn't have any required
fields (which, you're right, read_schema => 1
would have found the primary key at least and marked it as required). Slight oversight on my part :)
It might be more honest to say I can't seem to them together. I'm attempting to migrate from Auth::Basic to Auth:Password (you can see my old config in the comment), and I keep getting an error message. I can't / don't want to use
read_schema => 1
because it pukes on all of my mysql JSON columns.My configuration:
My error message:
Is it bug or do I need to make changes to the core Yancy config?