Skip to content

Key entities to avoid class name mangling

Stuart Fisher requested to merge fix-entity-key into main

The entity classname in rest-hooks is used to key the entities in the store. Once a production build is made the classnames get mangled (minified) and thus all endpoints end up together or at least the potential for collision is high.

Explicitly key the entities to avoid this

See https://github.com/data-client/rest-hooks/pull/2428

Merge request reports