-
Notifications
You must be signed in to change notification settings - Fork 6
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
feat: read state #423
feat: read state #423
Conversation
773a85b
to
7e41520
Compare
@@ -313,7 +316,7 @@ pub struct SubscriptionGetNotificationsRequestAuth { | |||
/// did:web of app domain | |||
pub app: DidWeb, | |||
#[serde(flatten)] | |||
#[validate] | |||
#[validate(nested)] |
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.
Fix for silent breaking change in 0.17.0. See Keats/validator#307
@@ -92,7 +92,7 @@ sqlx = { version = "0.7.3", features = ["runtime-tokio-native-tls", "postgres", | |||
wiremock = "0.5.19" | |||
itertools = "0.11.0" | |||
sha3 = "0.10.8" | |||
validator = { version = "0.16.1", features = ["derive"] } | |||
validator = { version = "0.17.0", features = ["derive"] } |
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.
Upgrade to support custom validators accepting Option<T>
instead of T
, allowing the ability to validate the state of the Option
and not just T
.
Some may consider this change a bug
9397b45
to
5de4386
Compare
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.
lgtm with one concern about the index for the new field.
Description
Implements support for marking notifications as read as per the specs.
Resolves #425
Subsequent PRs will address the remaining TODOs at the end of integration.rs
How Has This Been Tested?
New tests
Due Diligence