-
Notifications
You must be signed in to change notification settings - Fork 223
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
[feature] Throw error if a connector has duplicate entries in the pinnumbers list #72
Comments
Do you also check for any collision with |
Thanks for reminding me, I never replied to that comment. |
OK, I thought these consepts applied to both cables and connectors. There exist connectors with shield that is not included in the pin numbering. And why not support custom wire identifiers also for completeness or to generalize the 'syntax? These are just my thoughts. I have no real need for any of it at the moment. |
Yes, but right now, only cables have a dedicated
Indeed, I also want to add a |
I'm sorry for all my comments about issues that don't apply. I don't have full knowledge about the source, and make wrong assumptions now and then. I'm impressed that you take the time to answer most comments this quickly. |
I'm really thankful for the open discussions, improvement suggestions and code reviews! I want to follow through with as many features and bugfixes as possible now that momentum -both on my side and in the contributors- is high, and I can afford to put my time into the project :) |
#10 allows the user to specify custom pin numbering schemes instead of auto-assigning pins 1 through N.
A check should be performed whether any pin number is assigned twice, and throw an error if so.
This is different from #71, since pin names need only be checked for duplicates if actually attempting to connect a pin with an ambiguous name, whereas pin numbers should be unique by definition, so this check should be performed during connector creation.
The text was updated successfully, but these errors were encountered: