You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The RuntimeEnvironment trait has all it's components as val. That means they cannot be overriden by a defs or lazy val, removing quite a bit of flexibility. For example, I wanted each of my controllers to register an event listener if desired, and do user-aware actions from some of them. But that is not possible because eventListeners is immutable. It also happens to be a List when it should be a Seq so it could be overridden by any type of collection.
The text was updated successfully, but these errors were encountered:
The
RuntimeEnvironment
trait has all it's components asval
. That means they cannot be overriden by adef
s orlazy val
, removing quite a bit of flexibility. For example, I wanted each of my controllers to register an event listener if desired, and do user-aware actions from some of them. But that is not possible becauseeventListeners
is immutable. It also happens to be aList
when it should be aSeq
so it could be overridden by any type of collection.The text was updated successfully, but these errors were encountered: