Properly revision RecordAccess structure (#4361)

This commit is contained in:
Gerard Guillemas Martos 2024-07-15 13:03:07 +02:00 committed by GitHub
parent e281a4e41e
commit a81aef0e93
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -260,14 +260,15 @@ pub struct JwtAccessVerifyJwks {
pub url: String, pub url: String,
} }
#[revisioned(revision = 1)] #[revisioned(revision = 2)]
#[derive(Debug, Serialize, Deserialize, Hash, Clone, Eq, PartialEq, PartialOrd)] #[derive(Debug, Serialize, Deserialize, Hash, Clone, Eq, PartialEq, PartialOrd)]
#[cfg_attr(feature = "arbitrary", derive(arbitrary::Arbitrary))] #[cfg_attr(feature = "arbitrary", derive(arbitrary::Arbitrary))]
pub struct RecordAccess { pub struct RecordAccess {
pub signup: Option<Value>, pub signup: Option<Value>,
pub signin: Option<Value>, pub signin: Option<Value>,
pub authenticate: Option<Value>,
pub jwt: JwtAccess, pub jwt: JwtAccess,
#[revision(start = 2)]
pub authenticate: Option<Value>,
} }
impl Default for RecordAccess { impl Default for RecordAccess {