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

Sparx association naming source & dest swapped #13

Closed
westpac-paul opened this issue Mar 3, 2021 · 0 comments
Closed

Sparx association naming source & dest swapped #13

westpac-paul opened this issue Mar 3, 2021 · 0 comments

Comments

@westpac-paul
Copy link
Contributor

Since association defaults to object name, if a name is specified the source name should be applied to the destination object.

    # If it's an association to or from a multiple then pluralize the name
    if dest_element.get('name') is not None:
        association.source_name = dest_element.get('name')
    else:
...
    if source_element.get('name') is not None:
        association.destination_name = source_element.get('name')
    else:
...```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant