Skip to content

Commit

Permalink
Fix session messages
Browse files Browse the repository at this point in the history
  • Loading branch information
abeverley committed Jul 14, 2024
1 parent d7317d2 commit c074994
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions lib/GADS.pm
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,11 @@ use Dancer2::Plugin::LogReport 'linkspace';

use GADS::API; # API routes

# YAML needs to save and load blessed objects for the sessio serializer (for
# the notification messages). Since YAML 1.25 this is disabled by default, so
# turn it on
$YAML::LoadBlessed = 1;

# Uncomment for DBIC traces
#schema->storage->debugobj(new GADS::DBICProfiler);
#schema->storage->debug(1);
Expand Down

0 comments on commit c074994

Please sign in to comment.