amatt13 / amatt13/BossFight

Use Object.assign() in js models

Open
#33 2 comments 0 reactions 0 assignees View on GitHub
Front End good first issue
Dominant language
C#
Stars
1
Forks
1
PR merge metrics
No merged PRs in 30d

Description

Use [Object.assign()](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/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

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.