Skip to content
This repository was archived by the owner on Dec 18, 2024. It is now read-only.

Update VSS parser #456

Conversation

argerus
Copy link
Contributor

@argerus argerus commented Jan 20, 2023

Add support for parsing min, max & allowed.

@argerus argerus force-pushed the feature/update_vss_parser branch from 9bea051 to 649c37e Compare January 20, 2023 10:36
})
.map_err(|err| err.into()),
types::DataType::Int32Array => serde_json::from_value::<Vec<i32>>(value)
.map(|value| Some(types::DataValue::Int32Array(value)))
Copy link
Contributor

@erikbosch erikbosch Jan 20, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

How come it says | value| here and on line 314? Error or something i do not understand? I.e. when shall | array| be used and when shall | value| be used?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That was pretty eagle-eyed of you :)

It's not an error, since it's only describes what to name the input variable in the closure for the map function.

It is inconsistent, though, so I'll change it.

Add support for parsing `min`, `max` & `allowed`.
@argerus argerus force-pushed the feature/update_vss_parser branch from 649c37e to 212e522 Compare January 20, 2023 11:18
Copy link
Contributor

@SebastianSchildt SebastianSchildt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"Works", or at least at this stage rather does not see to break things to me

@SebastianSchildt SebastianSchildt merged commit 29ef37c into eclipse-archived:master Jan 23, 2023
@erikbosch erikbosch deleted the feature/update_vss_parser branch September 29, 2023 09:32
# for free to subscribe to this conversation on GitHub. Already have an account? #.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants