Subject: | the 'serialize' config key is advertised but deprecated |
In the REST controller:
# REST serialization config
__PACKAGE__->config(
default => 'application/json',
serialize => {
stash_key => 'myrest'
}
);
A call to foo_GET will produce this error:
[info] Using deprecated configuration for Catalyst::Action::REST!
[info] Please see perldoc Catalyst::Action::REST for the update guide
"update" should be "updated".
More importantly, the 'serialize' hashref is given as an example in the
IMPLEMENTATION DETAILS section of the Catalyst::Controller::REST POD.