Skip to content

Conversation

@roninsightrx
Copy link
Contributor

@roninsightrx roninsightrx commented Sep 9, 2025

This fixes the edge case where it was possible to have duplicate obs_type columns in the return object from parse_input_data().

It's still a bit ugly to have a specific line of code to set OBS_TYPE to NULL to avoid an edge case, but I think this is the simplest solution. The other solution is to not care about the edge case (it essentially only occurs with erroneous usage).

Very minor change, shouldn't affect any production code.

Copy link

@mccarthy-m-g mccarthy-m-g left a comment

Choose a reason for hiding this comment

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

Would this approach also work? It's a bit cleaner and more general.

Copy link

@mccarthy-m-g mccarthy-m-g left a comment

Choose a reason for hiding this comment

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

lgtm!

@roninsightrx roninsightrx merged commit fba37dd into master Sep 10, 2025
1 check passed
@roninsightrx roninsightrx deleted the RXR-2722 branch September 10, 2025 16:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants