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

Bug fixes #184

Merged
merged 1 commit into from
Jun 26, 2024
Merged

Conversation

ruchirchauhan
Copy link
Contributor

Fixes two bugs:

  1. Change uuri validator for every builder to be specific to that message type.
  2. While building response type builder, id of the original request (not reqid) should be copied to reqid of the response being created.

@gregmedd gregmedd added the bug Something isn't working label Jun 25, 2024
@gregmedd gregmedd added this to the alpha.2 milestone Jun 25, 2024
Copy link
Contributor

@gregmedd gregmedd left a comment

Choose a reason for hiding this comment

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

It looks like some of the updated builder methods take both a source and sink. One of those has been updated, but the other is still using isValid(). Could those be updated too?

I would also like to see a better commit message since it is unclear what bugs are being fixed and why.

src/datamodel/builder/UMessage.cpp Show resolved Hide resolved
- Switch the uuri validator for every builder to be specific to that message type.
- While building response type builder,
  reqId of the original request was being copied to reqId of response.
  Fix it to use id field on the original request
Copy link
Contributor

@gregmedd gregmedd left a comment

Choose a reason for hiding this comment

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

Approved. We will follow up on URI validation with #188.

@gregmedd gregmedd merged commit 32ba344 into eclipse-uprotocol:main Jun 26, 2024
7 checks passed
@ruchirchauhan ruchirchauhan deleted the UMessage-bug-fix branch June 26, 2024 18:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

None yet

2 participants