Adds back compatibility for Cls.lookup() of classes created by <v0.63
Old style classes had methods that were "fully qualified functions" themselves, each separately bound to the parametrization data, so some extra logic is required to make sure those work. We can remove the extra code when we phase out v0.62 in ~6 months
Also fixes some minor bugs and removes some unused code.
I've manually tested the code with both new and old classes.
Will try to add some test (using manually constructed mock data) for lookup/usage of old class methods, as we might want to keep this backwards compatibility around until we unsupport v0.62...
Changelog
Adds Cls.lookup() backwards compatibility with classes created by clients prior to v0.63.
Important: When updating (to >=v0.63) an app with a Modal class that's accessed using Cls.lookup() - make sure to update the client of the app/service usingCls.lookup() first, and then update the app containing the class being looked up.
Adds back compatibility for
Cls.lookup()
of classes created by <v0.63Old style classes had methods that were "fully qualified functions" themselves, each separately bound to the parametrization data, so some extra logic is required to make sure those work. We can remove the extra code when we phase out v0.62 in ~6 months
Also fixes some minor bugs and removes some unused code.
I've manually tested the code with both new and old classes.
Will try to add some test (using manually constructed mock data) for lookup/usage of old class methods, as we might want to keep this backwards compatibility around until we unsupport v0.62...
Changelog
Cls.lookup()
backwards compatibility with classes created by clients prior tov0.63
.Important: When updating (to >=v0.63) an app with a Modal
class
that's accessed usingCls.lookup()
- make sure to update the client of the app/service usingCls.lookup()
first, and then update the app containing the class being looked up.