Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[ABW-2214] Shared persona data not persisted in profile #734
[ABW-2214] Shared persona data not persisted in profile #734
Changes from 1 commit
105c690
0cc3e11
76fb812
6fdbe71
fd3eb27
c1b8ac6
37bb0d9
ecdd8bc
8ffad72
c9d18ec
bd33190
2069f8c
0e04719
d39b310
39a568c
df6331c
68e4f1f
18fdb22
2d874a8
f89fb8d
729876c
9d83bb5
1efa8d5
35bee56
1ee5db9
ae8a69e
4b9b6e7
ef07c89
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why don't we need to check the count in the exact case? And why can't we keep what we have, even if it's not enough?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
because we KNOW it cannot pass, when
exactly
is required, we know we can delete the whole collection, because we just decreased the number of IDs by one, thusexactly
cannot be fulfilled, right?There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I can add a clarifying comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah ok, presuming it has been correctly checked previously, which is probably a reasonable assumption, but in other places here we seem to be very defensive.
But what is the high level idea, why do we need to delete anything at all? What's the harm in keeping it?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@kugel3 we dont want the
ids
to contradictrequest
ever, so we have to delete it if it does.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ideally this should be covered by tests, instead of sprinkling this switch over the codebase...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I agree 100% with you :D
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
when all other tickets are merged today and soundness check of a binary looks promising I can start write tests, but ATM no time :/ :/ :/