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

Enable constructor parameters in message classes #104

Conversation

seanmccleary
Copy link
Contributor

This enables support for message classes with constructor parameters which match class properties. This is in response to issue #100 (which admittedly I am the one who filed).

In order to preserve backward compatibility, this option is only enabled if the message class is annotated with the @ApiMessage annotation, and by setting its new "withConstructorParameters" to true.

This is a feature I would like very much. If it should be implemented in some other way to keep with the style and conventions of the library, I am happy to make changes.

@kevmoo
Copy link
Contributor

kevmoo commented Oct 15, 2016

CC @mkustermann

@mit-mit mit-mit closed this Dec 17, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

Successfully merging this pull request may close these issues.

4 participants