Move the logic that converts the EntityClass of a map to a string and then back into the class to the payload plugin in order to avoid a circular dependency where the ClientMap needs to know the entity classes and the entity classes needs to know the ClientMap. The only place that doesn't know the type of the entities stored in the client map is the payload reviver, so it makes sense to keep this logic contained to the payload plugin. |
||
---|---|---|
.. | ||
client-map.nuxt.test.ts | ||
client-map.ts | ||
client-schedule.nuxt.test.ts | ||
client-schedule.ts | ||
client-user.ts | ||
functions.ts |