Skip to content

Add compile-time type checking for the ModelEvents

Anton Sudak requested to merge a.sudak/play-cms:typesafe-modelevents into master

This change should be backward compatible so it could be backported to 2.5.x branch. Basically it add generics to most of the ModelEvents methods so it would possible to create typesafe model listeners without ugly class casting.

Merge request reports