magic-cards
magic-cards copied to clipboard
Save error after saving same card twice
Found this one, by accident. Save card twice without changing anything. Latest docker image to date. Chrome 76.

Uncaught Error: Store error: the application attempted to write an object with no provided id but the store already contains an id of Card:1565936604 for this object. The selectionSet that was trying to be written is:
updateCard(id: $id, input: $cardInput) {
id
code
type
action
title
subtitle
artURL
uri
__typename
}
at c (writeToStore.js:296)
at writeToStore.js:120
at Array.forEach (<anonymous>)
at r (writeToStore.js:113)
at o (writeToStore.js:91)
at t.write (inMemoryCache.js:95)
at store.js:114
at Array.forEach (<anonymous>)
at store.js:114
at t.performTransaction (inMemoryCache.js:147)