amatt13/BossFight

Use Object.assign() in js models

Aperta

#33 aperta il 28 mar 2023

 (2 commenti) (0 reazioni) (0 assegnatari)C# (1 fork)auto 404
Front Endgood first issue

Metriche repository

Star
 (1 stella)
Metriche merge PR
 (Metriche PR in attesa)

Descrizione

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.

Guida contributor