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

two connections between the same input and output connectors #8

Open
alexey-schroeder opened this issue Sep 18, 2013 · 2 comments
Open

Comments

@alexey-schroeder
Copy link

it is possible to create two connections between the same input and output connectors. the connections can not be distinguished

@miho
Copy link
Owner

miho commented Oct 28, 2013

That's true. The default model does allow multiple connections. But it can be disabled by defining a custom connection rule. Basically you pass a custom ValueObject to the connector.

Have a look at DefaultConnectorValueObject.java to see how this can be done.

If you'd like to contribute other rules (one-connection only etc.) you can open a pull request.

@aalmiray
Copy link
Contributor

Is the ValueObject the right place to do this kind of check?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants