-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
enhancementNew feature or requestNew feature or request
Description
It can be useful if we want to extend a class with it.
const BuildedClass = ObjectBuilder
.create()
/* .with() */
.buildClass();
const myInstance = new BuildedClass();
class MyClass extends BuildedClass {}It should also give a way to set the decorators.
ObjectBuilder
.create()
/* .with() */
.buildClass({decorators: {["key"]: [/*decorators*/]});or
ClassBuilder
.create()
.with("key", () => 0, {decorators: [/*decorators*/]});Note: it is kinda already possible: by overriding the keys and calling the decorators functions.
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request