Increase dependency limit (#454)
This commit is contained in:
parent
d754eb74f7
commit
75b7583832
@ -43,7 +43,7 @@ pub struct InitialVersionData {
|
||||
#[serde(alias = "changelog")]
|
||||
pub version_body: Option<String>,
|
||||
#[validate(
|
||||
length(min = 0, max = 256),
|
||||
length(min = 0, max = 4096),
|
||||
custom(function = "crate::util::validate::validate_deps")
|
||||
)]
|
||||
pub dependencies: Vec<Dependency>,
|
||||
|
||||
@ -178,7 +178,7 @@ pub struct EditVersion {
|
||||
pub changelog: Option<String>,
|
||||
pub version_type: Option<models::projects::VersionType>,
|
||||
#[validate(
|
||||
length(min = 0, max = 256),
|
||||
length(min = 0, max = 4096),
|
||||
custom(function = "crate::util::validate::validate_deps")
|
||||
)]
|
||||
pub dependencies: Option<Vec<Dependency>>,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user