Use automergeAttrs for BaseResource and subclasses.
Review Request #13853 — Created May 13, 2024 and submitted — Latest diff uploaded
This change makes use of
automergeAttrs
for our resource classes.
Spina itself specifies this fordefaults
, which means we don't have to
manually call_.defaults()
for all of these. This additionally makes
use of it forattrToJsonMap
,deserializers
, andserializers
.
- Ran js-tests.
- Verified that all objects were properly automerged.