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
Our current mapping types implementation is a simple Registry. Also, Types have private final constructors, which make it impossible to implement more elaborated data types that are not necessary members of the static type map (such an example would be a LazyDataType that would require a constructor initializer and instance-level property values, which conflicts with current Type and TypeMap registry implementation.
We should implement a more powerful, TypeFactory (ideas welcome) implementation that could operate in a prototypical way (ever request builds a new Type) or a singleton-ish (every request returns same Type instance).
The text was updated successfully, but these errors were encountered:
Feature Request
Summary
Our current mapping types implementation is a simple Registry. Also, Types have private final constructors, which make it impossible to implement more elaborated data types that are not necessary members of the static type map (such an example would be a LazyDataType that would require a constructor initializer and instance-level property values, which conflicts with current Type and TypeMap registry implementation.
We should implement a more powerful, TypeFactory (ideas welcome) implementation that could operate in a prototypical way (ever request builds a new Type) or a singleton-ish (every request returns same Type instance).
The text was updated successfully, but these errors were encountered: