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

Bugfix/array type support in subscribe #151

Merged
merged 1 commit into from
Jun 21, 2024

Conversation

corneliusclaussen
Copy link
Contributor

Fixed array types in vars

@corneliusclaussen corneliusclaussen requested a review from djchhp June 21, 2024 10:01
@corneliusclaussen corneliusclaussen force-pushed the bugfix/array_type_support_in_subscribe branch from d23f42a to bfc1581 Compare June 21, 2024 10:09
- the json array object has been casted to `nlohman::json::array` so
  far, instead of `std::vector<ItemType>` for subscription
- this commit introduces some code duplication, as it copies the
  handling from the `_gather_cmds` implementation -- this should be
  refactored
- NOTE: the array of enum handling has not been checked
bugfix: add correct type within public publish interface
- NOTE: all of this different type if/elseing needs to be refactored if
  it should stay maintainable

Signed-off-by: aw <[email protected]>
@corneliusclaussen corneliusclaussen force-pushed the bugfix/array_type_support_in_subscribe branch from bfc1581 to 3ed2262 Compare June 21, 2024 10:10
@corneliusclaussen corneliusclaussen merged commit dc09ddf into main Jun 21, 2024
6 of 7 checks passed
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