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

Make sure generated keys include defaults #366

Merged
merged 5 commits into from
May 6, 2024
Merged

Conversation

paul-sachs
Copy link
Collaborator

@paul-sachs paul-sachs commented May 3, 2024

With the current state, a generated key for a message with undefined fields and one with defined (but matching the default) fields will be different, meaning that duplicate requests can be made. This change ensures that all keys generated take into account default fields.

Fixes #361

@paul-sachs paul-sachs requested a review from timostamm May 3, 2024 17:54
@paul-sachs paul-sachs merged commit 672f9ba into main May 6, 2024
4 checks passed
@paul-sachs paul-sachs deleted the psachs/timestamp-hash branch May 6, 2024 13:27
@paul-sachs paul-sachs mentioned this pull request May 10, 2024
paul-sachs added a commit that referenced this pull request May 10, 2024
## What's Changed
* Need mutation context generic to support passing context by
@paul-sachs in #359
* Make sure generated keys include defaults by @paul-sachs in
#366


**Full Changelog**:
v1.3.1...v1.4.0
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.

Timestamps in query key can trigger infinite query loops
2 participants