We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Annotating a primary constructor is pretty ugly. For example:
@Component class Foo @Autowired()(val bar: Bar) { //... }
It would be nice if you could target what would normally be a class annotation at the primary constructor - for example:
object Annotations { type AutowiredConstructor = Autowired @primaryConstructor } @Component @AutowiredConstructor class Foo(val bar: Bar) { //... }
The text was updated successfully, but these errors were encountered:
Imported From: https://issues.scala-lang.org/browse/SI-5647?orig=1 Reporter: Eric Pederson (ericacm) See #4242
Sorry, something went wrong.
@soc said: Action on one ticket will probably have effect on the other one: #4242 / #5647.
@retronym said: Recently requested by the Play team for the same reason.
retronym
No branches or pull requests
Annotating a primary constructor is pretty ugly. For example:
It would be nice if you could target what would normally be a class annotation at the primary constructor - for example:
The text was updated successfully, but these errors were encountered: