You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I want to save a JSON:API standard data containing 2000 included record to vuex orm,
with vuex-orm-json-api:
I experience waits of up to 20 seconds.
When I try to deserialize the data with the JSONA package and save it like this:
I get maximum call stack size exceeded error. Because of this fuction from @vuex-orm-core/core/dist/vuex-rom.esm.js:
When you comment out the if conditions here, the wait time drops from 20 seconds to 4 seconds.
Expected behaviour
Can the waiting time be shortened for data with a large number of relations? If this cannot be done, can it be made optional to use the cloneDeep function?
Describe the bug
When I want to save a JSON:API standard data containing 2000 included record to vuex orm,
with vuex-orm-json-api:
I experience waits of up to 20 seconds.
When I try to deserialize the data with the JSONA package and save it like this:
I get maximum call stack size exceeded error. Because of this fuction from @vuex-orm-core/core/dist/vuex-rom.esm.js:
When you comment out the if conditions here, the wait time drops from 20 seconds to 4 seconds.
Expected behaviour
Can the waiting time be shortened for data with a large number of relations? If this cannot be done, can it be made optional to use the cloneDeep function?
Versions
Link to minimal reproduction
CodeSandbox
Additional context
Add any other context about the bug here.
The text was updated successfully, but these errors were encountered: