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
Currently are private callbacks and properties supported only in final classes. To support them on any classes, following must be resolved:
meta validation must distinguish between classes in hierarchy
- for each method/property must be used declaring class, not current class
- multiple private methods/properties with same name must work (binding needs classname for private methods/properties)
- public and protected methods must be validated in context of both defining and overriding class (to find source of error as well as ensuring overriding method e.g. changing parameters count from 1 to 2 is not broken) - continues in Callbacks covariance and contravariance #56
- public and protected properties should not allow to be redefined (or at least their rules cannot be changed) - continues in Fields invariance #55
- private properties with same must enforce different field name to avoid collisions
before call must be method/property binded to context of class which defines it
! ensure metadata specify exact source - it matters whether annotation/attribute was defined on parent or child class !
The text was updated successfully, but these errors were encountered:
mabar
changed the title
Private callbacks
Private callbacks and properties
Nov 28, 2022
Follow up of #30 and #31
Currently are private callbacks and properties supported only in final classes. To support them on any classes, following must be resolved:
The text was updated successfully, but these errors were encountered: