Dancer2 icon indicating copy to clipboard operation
Dancer2 copied to clipboard

Deprecated keyword in plugins: dancer_app

Open xsawyerx opened this issue 2 years ago • 0 comments

Why?

Just like the plugin_setting keyword in plugins, this is also a keyword from the old plugins interface. There is no need for this keyword since the new plugins interface is object-oriented and has the available methods.

Benefits to Dancer2 codebase

A cleaner, leaner code-base.

Benefit to Dancer2 Community

A more consistent, less confusing interface.

Alternatives

When writing a plugin, use the $self->app() method instead.

xsawyerx avatar Mar 12 '22 10:03 xsawyerx