Skip to content
This repository has been archived by the owner on May 9, 2021. It is now read-only.

required parameters #21

Open
kprevas opened this issue Jan 20, 2011 · 1 comment
Open

required parameters #21

kprevas opened this issue Jan 20, 2011 · 1 comment
Assignees
Labels

Comments

@kprevas
Copy link
Owner

kprevas commented Jan 20, 2011

Annotate a parameter with @required, and have RoninServlet throw if that parameter isn't passed in. Saves a lot of tedious null-checking in controller methods.

@kprevas
Copy link
Owner Author

kprevas commented Jan 20, 2011

Gosu does not yet support annotations on parameters.

@ghost ghost assigned kprevas Apr 10, 2011
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

1 participant