Skip to content

Commit

Permalink
refactor: using NonEmptyArray for strict schema (#106)
Browse files Browse the repository at this point in the history
  • Loading branch information
sagojez authored Jul 31, 2024
1 parent b9c6482 commit 7b7e144
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion integrationos-domain/src/domain/schema/common_model.rs
Original file line number Diff line number Diff line change
Expand Up @@ -412,7 +412,7 @@ impl DataType {
SchemaType::Strict => {
let name = (*element_type).as_typescript_schema(enum_name, r#type);
format!(
"Schema.Array({})",
"Schema.NonEmptyArray({})",
name
)
}
Expand Down

0 comments on commit 7b7e144

Please sign in to comment.