Open corymhall opened 1 month ago
I agree that this would be a good warning. We would need to do some cycle checking (A renamed to "b", B renamed to "a" is ok), but I think that could be as simple as verifying that the number of unique property names is the same as the number of properties.
Hello!
Issue details
The above is an example of having an attribute that you have re-mapped (via
Schema.Name
) to an existing attribute. Typically theSchema.Name
is used to rename the attribute, but it is technically possible to create a collision with an existing attribute. This should probably be disallowed.Affected area/feature
We should probably add a check that fails during tfgen.