Skip to content

Centralized all protoIds into ProtoIds#1809

Merged
ml86 merged 1 commit intoShiftLeftSecurity:masterfrom
DavidBakerEffendi:dave/proto-ids
Feb 5, 2025
Merged

Centralized all protoIds into ProtoIds#1809
ml86 merged 1 commit intoShiftLeftSecurity:masterfrom
DavidBakerEffendi:dave/proto-ids

Conversation

@DavidBakerEffendi
Copy link
Contributor

As a means of record keeping, aggregated all ProtoIds entries into a single object.

Many items seem to collide, however they are often part of different schema objects.

To reviewers: Seems that uniqueness is a pair consisting of the ProtoId + Schema Object Type. E.g., ID + ConstantCategory or ID + Node, etc. One may choose to instead group the ProtoIds following this composite-style uniqueness instead of in a single object.

As a means of record keeping, aggregated all ProtoIds entries into a single object.
Copy link
Contributor

@ml86 ml86 left a comment

Choose a reason for hiding this comment

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

@DavidBakerEffendi I think an unstructured listing like it is now is fine. Otherwise you would now have to figure out the logical groups in which an ID needs to be unique. We also would need to maintain this grouping if we add new elements.

@ml86 ml86 merged commit 16241ee into ShiftLeftSecurity:master Feb 5, 2025
1 check passed
@DavidBakerEffendi DavidBakerEffendi deleted the dave/proto-ids branch February 6, 2025 15:24
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.

2 participants