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

Check for unique IDs during build process #41

Open
alexkn1 opened this issue Mar 15, 2023 · 1 comment
Open

Check for unique IDs during build process #41

alexkn1 opened this issue Mar 15, 2023 · 1 comment
Labels
enhancement New feature or request

Comments

@alexkn1
Copy link

alexkn1 commented Mar 15, 2023

If an ID or no ID specified is not specified for each node element, at some point the app will crash.

  • Build process should auto assign a unique ID to a node element if not specified.
  • If there is an ID check against all others to make sure it differs.
@bchelkowski
Copy link
Member

Hi @alexkn1,

Yeah, a valid point, sometimes you don't need an id, so you shouldn't be forced to define it.
For now, you need to provide id always, as it is a pretty important factor of framework mechanisms, and as you notice we don't generate any random one when it doesn't exist.

Also maybe you want to share some kind of example so we could understand better what you would like to achieve.
Or is it only about not being forced to create an id when you don't need it later?

For now, I will mark it as enhancement and hope someone picks it up in the near future.

@bchelkowski bchelkowski added the enhancement New feature or request label Mar 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants