Subject: | Initial connections erroring out |
Hello!
With v/2.12 my first call to database({ … }) or database('sample') dies with:
Hook 'database_connected' does not exist at …/5.16.0/Dancer2/Plugin/Database.pm line 45.
the log message right before that error has:
DEPRECATED: Dancer2::Plugin::Database calls 'dsl' instead of '$dsl->dsl'. at …/5.16.0/Dancer2/Plugin/Database.pm line 31.
Also, database() dies w/ Use of uninitialized value in concatenation (.) or string at …/5.16.0/Dancer/Plugin/Database/Core.pm line 203.
which is weird because the driver is configured:
plugins:
Database:
default_connection: sample
connections:
sample:
driver: SQLite
database: …