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

Add role in Person #37

Merged

Conversation

chrystalquek
Copy link

Also fix tag package issue

Close #8

Copy link

@shadowezz shadowezz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM with just a minor nitpick

}

private static final String getMessageConstraints() {
return Arrays.stream(RoleEnum.values()).map(role -> role.toString() + " (" + role.getArgument() + ")")

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think maybe its better to switch the role.toString and role.getArgument() here as people may think role.toString is what they shld key in. Just a nitpick.

@chrystalquek chrystalquek merged commit 802ced5 into AY2021S1-CS2103T-F11-2:master Oct 1, 2020
@chrystalquek chrystalquek added this to the mid-V1.2 milestone Oct 2, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants