Skip to content
This repository has been archived by the owner on Jan 12, 2023. It is now read-only.

BUG: detecting deletion of nested JSON fields from input #148

Open
JaneJeon opened this issue Jan 2, 2021 · 1 comment
Open

BUG: detecting deletion of nested JSON fields from input #148

JaneJeon opened this issue Jan 2, 2021 · 1 comment
Labels
bug Something isn't working

Comments

@JaneJeon
Copy link
Owner

JaneJeon commented Jan 2, 2021

Currently, when we "diff" the input JSON (A) with the input item JSON (B), we only include fields and nested fields from B that are NOT in A.

This detects all nested field changes in B that might not be present in A, except for when you delete a field in A that is straight up not in B.

And considering that the objectDiff was meant to be used in UPDATE queries, I'm not sure what to do in case of A's field being removed by B...

@issue-label-bot issue-label-bot bot added the bug Something isn't working label Jan 2, 2021
@issue-label-bot
Copy link

Issue-Label Bot is automatically applying the label bug to this issue, with a confidence of 0.96. Please mark this comment with 👍 or 👎 to give our bot feedback!

Links: app homepage, dashboard and code for this bot.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant