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

Generated Getter and Setter don't support multiplicity #1

Open
mvswahn opened this issue Apr 10, 2017 · 0 comments · May be fixed by #3
Open

Generated Getter and Setter don't support multiplicity #1

mvswahn opened this issue Apr 10, 2017 · 0 comments · May be fixed by #3

Comments

@mvswahn
Copy link

mvswahn commented Apr 10, 2017

The generated Getter and Setter function do not support multiplicity of properties.

If a property is defined as -users: User[*] the generated getter and setter will look following:

+getUsers(): User
+setUsers(value: User)

But correct would be:

+getUsers(): User[*]
+setUsers(value: User[*])
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

Successfully merging a pull request may close this issue.

1 participant