Use automergeAttrs for BaseResource and subclasses.

Review Request #13853 — Created May 13, 2024 and submitted — Latest diff uploaded

Information

Review Board
release-7.x

Reviewers

This change makes use of automergeAttrs for our resource classes.
Spina itself specifies this for defaults, which means we don't have to
manually call _.defaults() for all of these. This additionally makes
use of it for attrToJsonMap, deserializers, and serializers.

  • Ran js-tests.
  • Verified that all objects were properly automerged.

Commits

Files