lafkob / swe681_game

Our game for SWE 681.
0 stars 1 forks source link

Validation #7

Closed lafkob closed 8 years ago

lafkob commented 8 years ago

Figure out a validation framework. Hibernate annotations would be nice

lafkob commented 8 years ago

Pattern is in place on the basic game request dto. As we add parameters we need to make sure they are validated.

lafkob commented 8 years ago

@Pattern(regexp="", message="") is the annotation to use for this on the DTOs. Remember to add @Valid to call these validators.

lafkob commented 8 years ago

Closing ticket, basic pattern is implemented in a few places to follow.