Skip to content

Commit

Permalink
feat(dpp): decomposed integer types for document type properties (#1968)
Browse files Browse the repository at this point in the history
  • Loading branch information
QuantumExplorer authored Jul 17, 2024
1 parent 3930e2e commit 77f7a96
Show file tree
Hide file tree
Showing 4 changed files with 825 additions and 64 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -685,8 +685,8 @@ fn insert_values_nested(
let is_required = known_required.contains(&property_key);

let field_type = match type_value {
"integer" => DocumentPropertyType::Integer,
"number" => DocumentPropertyType::Number,
"integer" => DocumentPropertyType::I64,
"number" => DocumentPropertyType::F64,
"string" => DocumentPropertyType::String(StringPropertySizes {
min_length: inner_properties.get_optional_integer(property_names::MIN_LENGTH)?,
max_length: inner_properties.get_optional_integer(property_names::MAX_LENGTH)?,
Expand Down
Loading

0 comments on commit 77f7a96

Please sign in to comment.