mobxjs / mobx-state-tree

Full-featured reactive state management without the boilerplate
https://mobx-state-tree.js.org/
MIT License
6.9k stars 639 forks source link

Add tests and documentation for debug names in complex types #2055

Closed coolsoftwaretyler closed 10 months ago

coolsoftwaretyler commented 11 months ago

In https://github.com/mobxjs/mobx-state-tree/pull/2049, we added debug names to MST complex types (array, map, and object).

The human-readable names appear in MobX error messages and in the trace utility.

We should add some additional test coverage for this, along with updated documentation reflecting it.