-
Notifications
You must be signed in to change notification settings - Fork 19
Open
Labels
blockedSomething is blockedSomething is blockedenhancementNew feature or requestNew feature or requesthacktoberfesthelp wantedExtra attention is neededExtra attention is neededseverity-minorItem is not urgentItem is not urgent
Description
Hello everyone!
Gotu has the FromJson method to create a new instance of an entity, but the constructor is more efficient to initialize a new instance from any input in json like this:
const user = new User({ ...input });
Can this be classified as an improvement?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
blockedSomething is blockedSomething is blockedenhancementNew feature or requestNew feature or requesthacktoberfesthelp wantedExtra attention is neededExtra attention is neededseverity-minorItem is not urgentItem is not urgent