Skip to content

Feat: auto generating component id#1

Merged
workaholicAB merged 2 commits into
dcc/fix-issue960from
feat/component-id-auto-fill
Sep 6, 2021
Merged

Feat: auto generating component id#1
workaholicAB merged 2 commits into
dcc/fix-issue960from
feat/component-id-auto-fill

Conversation

@workaholicAB

Copy link
Copy Markdown
Owner

This PR is to fill component id values automatically when it is not explicitly given.

** IMPORTANT NOTE **
We should make sure we always have same component id for the given code across all potential multiple processes.

Approaches under hood
It MD5 hashes the whole component definition as string and take it as a seed.
Then generate randomized UUID from the seed and assign it to component.id

@workaholicAB
workaholicAB merged commit effc6ef into dcc/fix-issue960 Sep 6, 2021
@workaholicAB
workaholicAB deleted the feat/component-id-auto-fill branch September 6, 2021 20:10
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.

1 participant