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: Allow for more flexible flag key in tombstone #256

Merged
merged 1 commit into from
Nov 6, 2024

Conversation

keelerm84
Copy link
Member

No description provided.

@keelerm84 keelerm84 requested a review from a team as a code owner November 4, 2024 18:36
@@ -143,7 +143,7 @@ func newServerSidePersistentTests(
}

func (s *ServerSidePersistentTests) Run(t *ldtest.T) {
t.Run("uses default prefix", func(t *ldtest.T) {
s.runWithEmptyStore(t, "uses default prefix", func(t *ldtest.T) {
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This was an issue I noticed when running the tests against a different local service, so I'm adding that on here.

return m.AllOf(
m.JSONProperty("key").Should(m.Equal("$deleted")),
m.AnyOf(
m.JSONProperty("key").Should(m.Equal(key)),
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm throwing this up here because it was quick to implement, but we should stop and decide if we actually want this.

Should we update each integration to require that the key, when deleted, is updated to $deleted?

@keelerm84 keelerm84 merged commit 2a0e8e7 into v2 Nov 6, 2024
2 checks passed
@keelerm84 keelerm84 deleted the mk/sdk-872/deleted-key branch November 6, 2024 21:24
keelerm84 pushed a commit that referenced this pull request Nov 6, 2024
🤖 I have created a release *beep* *boop*
---


##
[2.25.1](v2.25.0...v2.25.1)
(2024-11-06)


### Bug Fixes

* Allow for more flexible flag key in tombstone
([#256](#256))
([2a0e8e7](2a0e8e7))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
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.

2 participants