amatt13/BossFight

Use Object.assign() in js models

Open

#33 opened on Mar 28, 2023

 (2 comments) (0 reactions) (0 assignees)C# (1 fork)auto 404
Front Endgood first issue

Repository metrics

Stars
 (1 star)
PR merge metrics
 (PR metrics pending)

Description

Use Object.assign() instead of manually mapping each field to key-value pair.

Complex types such a references to other models classes can be created by first popping the dict with the complex type and creating it seperately.

Contributor guide