You've already forked AstralRinth
forked from didirus/AstralRinth
Increase dependency limit (#454)
This commit is contained in:
@@ -43,7 +43,7 @@ pub struct InitialVersionData {
|
|||||||
#[serde(alias = "changelog")]
|
#[serde(alias = "changelog")]
|
||||||
pub version_body: Option<String>,
|
pub version_body: Option<String>,
|
||||||
#[validate(
|
#[validate(
|
||||||
length(min = 0, max = 256),
|
length(min = 0, max = 4096),
|
||||||
custom(function = "crate::util::validate::validate_deps")
|
custom(function = "crate::util::validate::validate_deps")
|
||||||
)]
|
)]
|
||||||
pub dependencies: Vec<Dependency>,
|
pub dependencies: Vec<Dependency>,
|
||||||
|
|||||||
@@ -178,7 +178,7 @@ pub struct EditVersion {
|
|||||||
pub changelog: Option<String>,
|
pub changelog: Option<String>,
|
||||||
pub version_type: Option<models::projects::VersionType>,
|
pub version_type: Option<models::projects::VersionType>,
|
||||||
#[validate(
|
#[validate(
|
||||||
length(min = 0, max = 256),
|
length(min = 0, max = 4096),
|
||||||
custom(function = "crate::util::validate::validate_deps")
|
custom(function = "crate::util::validate::validate_deps")
|
||||||
)]
|
)]
|
||||||
pub dependencies: Option<Vec<Dependency>>,
|
pub dependencies: Option<Vec<Dependency>>,
|
||||||
|
|||||||
Reference in New Issue
Block a user