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
Can't load application from file \
"/path/to/app.pl": /definitions/users/properties/id/readOnly: Expected boolean \
- got number.Compilation failed in require at (eval 76) line 1.
I can't for the life of me figure out why, since Perl considers 1 as true and all the examples I've found on-line, including the manpage docs use readOnly => 1. Removing that line, resolves the error.
Any ideas?
The text was updated successfully, but these errors were encountered:
I am discovering Yancy by following http://preaction.me/article/yancy-todo to build my application.
Perl 5.36.1
If I try to disable the editing of the integer 'id' field in a database table 'users', with the 'readOnly' flag:
Mojolicious throws this error:
I can't for the life of me figure out why, since Perl considers 1 as true and all the examples I've found on-line, including the manpage docs use
readOnly => 1
. Removing that line, resolves the error.Any ideas?
The text was updated successfully, but these errors were encountered: