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
Describe the expected behavior
getSnapshot should return updated price both times
Describe the observed behavior
getSnapshot returning default or updated value depending on node level
P.S. I should've not probably do products: [Product.create({ price: 1, id: "111" })]
and instead do products: [{ price: 1, id: "111" }]
or products: [getSnapshot(Product.create({ price: 1, id: "111" }))]
But still it should produce some warning or error. Not very obvious thing.
The text was updated successfully, but these errors were encountered:
Bug report
Sandbox link or minimal reproduction code
https://codesandbox.io/embed/snowy-dawn-c7elr
Describe the expected behavior
getSnapshot should return updated price both times
Describe the observed behavior
getSnapshot returning default or updated value depending on node level
P.S. I should've not probably do
products: [Product.create({ price: 1, id: "111" })]
and instead do
products: [{ price: 1, id: "111" }]
or
products: [getSnapshot(Product.create({ price: 1, id: "111" }))]
But still it should produce some warning or error. Not very obvious thing.
The text was updated successfully, but these errors were encountered: