Ensure Records are treated as separate namespaces for IDs#63
Conversation
|
All looks good to me but I don't seem to be able to approve! |
garethpotter
left a comment
There was a problem hiding this comment.
This is good and how it should have worked in the first place. Pleased to infer from this that you are now ingesting data from multiple device types.
| // >>> NOTE <<< | ||
| // | ||
| // If this test binary links successfully, static init didn't trip the | ||
| // spurious dedup assert which is a regression in itself |
There was a problem hiding this comment.
What is this comment regarding?
There was a problem hiding this comment.
This was in regards to the alpha and beta members of the two records. Pre-this-fix, this wouldn't build, so any build failure linked to these properties is a regression
There was a problem hiding this comment.
Pleased to infer from this that you are now ingesting data from multiple device types.
Yes, we're at quite an exciting point now where we are working on system integration as a whole - keep an eye on this space!
Fixes a bug whereby
RecordMemberswith a common ID (but different parent IDs for the record) would be falsely flagged as duplicates:...
The above would flag
TS_ID_EUIas duplicated.This change prevents this from happening, essentially treating records as namespaces keyed on the parent ID. IDs must still be unique within a namespace, but it is now possible to have common IDs between namespaces. I.e., in the case where one device is handling several different record types from different devices.