-
Notifications
You must be signed in to change notification settings - Fork 0
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
Add attachmentId to RequestMetaData #58
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
See my comments inline. I think some kind of abstraction is necessary to find the common ground between measurements and attachments handle both cleanly together, or if that is not possible, separate handling them.
e5a027d
to
77bc75b
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Suggestion to fix the code smell
libs/model/src/main/java/de/cyface/model/MeasurementIdentifier.java
Outdated
Show resolved
Hide resolved
77bc75b
to
3d00726
Compare
3d00726
to
7bbaba4
Compare
Update:
This PR removes the
RequestMetaData
as the upload requests have nothing to do with the purpose of this library, which is the serialization of the binary data. Theupoader
library should have it's own copy of this model instead.