jvalue / jayvee

Jayvee is a domain-specific language and runtime for automated processing of data pipelines
https://jvalue.github.io/jayvee/
116 stars 10 forks source link

Refactor Name Uniquenes #572

Open georg-schwarz opened 1 month ago

georg-schwarz commented 1 month ago

Right now, we ensure that elements of the same type (blocks, pipelines, etc.) have unique names. However, with exports, it might make sense to ensure unique names across different types of elements.

Any thoughts? @rhazn @joluj

rhazn commented 1 month ago

I agree, unique names for everything imho.

georg-schwarz commented 1 month ago

https://github.com/jvalue/jayvee/pull/576 introduced the following scheme:

@rhazn raised the question on why not making element names unique across all levels, so no "overwrite" behavior at all. IMO this is possible as we don't have variables (yet) whose names could be reused on different scope levels.