-
Notifications
You must be signed in to change notification settings - Fork 105
Open
Labels
featureNew feature or requestNew feature or requestruntimeabout meta-ui runtimeabout meta-ui runtime
Description
What problem does this feature solve?
Sometimes traits need to be extended. For example, Validation Trait presets some rules, but the business logic always requires custom validation rules. Validation Trait needs to receive and register custom rules.
What does the proposed API look like?
Since the trait is a factory function, so one of the ways may be injecting dependencies in the trait's constructor function. And trait's dependencies can be passed in initSunmao(not the dependencies filed, but a new field).
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
featureNew feature or requestNew feature or requestruntimeabout meta-ui runtimeabout meta-ui runtime