Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Handle 'null' values when deserializing for command expansion #1352

Merged
merged 1 commit into from
Mar 1, 2024

Conversation

goetzrrGit
Copy link
Contributor

Description

Establishing a default behavior to gracefully handle schemas with null values. Instead of encountering server-side errors that disrupt sequence expansion, null values will now be implicitly passed through. This decision places the onus on the expansion logic to implement appropriate null checks and handle potential null cases accordingly.

Future work

Find a better way to allow for an OptionalValueMapper with the ValueMapperSchema

@goetzrrGit goetzrrGit added bug Something isn't working sequencing Anything related to the sequencing domain labels Feb 29, 2024
@goetzrrGit goetzrrGit requested a review from a team as a code owner February 29, 2024 15:21
@goetzrrGit goetzrrGit changed the title Allow for the passing of 'null' value Handle 'null' values when deserializing for command expansion Feb 29, 2024
@goetzrrGit goetzrrGit requested review from mattdailis and dandelany and removed request for cohansen and adrienmaillard February 29, 2024 15:22
Establishing a default behavior to gracefully handle schemas with null values. Instead of encountering server-side errors that disrupt sequence expansion, null values will now be implicitly passed through. This decision places the onus on the expansion logic to implement appropriate null checks and handle potential null cases accordingly.
@mattdailis mattdailis merged commit c137793 into develop Mar 1, 2024
6 checks passed
@mattdailis mattdailis deleted the pass_through_null_expansion branch March 1, 2024 01:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working sequencing Anything related to the sequencing domain
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Null "parent" values in serialized activities break command expansion
2 participants