Skip to content
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

Fix CDC Message for DeleteLabel #63

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

Areson
Copy link

@Areson Areson commented Nov 20, 2024

The CDC message generated by DeleteLabel doesn't include a value in the new field, and the old entity is the original entity before the label is removed. This prevents the CDC message from being useful as you cannot determine what changed about the entity.

The CDC message generated by `DeleteLabel` doesn't include a value in the `new` field, and the `old` entity is the original entity before the label is removed. This prevents the CDC message from being useful as you cannot determine what changed about the entity.
@felixp-square
Copy link

seems reasonable to me but are there any relevant tests to update?

- Updated unit tests for changes to CDC `DeleteLabel`
- Adjusted mongo test setup as indexes were not being created
@Areson
Copy link
Author

Areson commented Nov 21, 2024

Yes. Updated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants