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

[Feature] Allow ConfigurationGenerator to register custom annotation handlers #1

Open
shochdoerfer opened this issue Nov 4, 2015 · 1 comment
Milestone

Comments

@shochdoerfer
Copy link
Member

Currently the ConfigurationGenerator is working with a fixed set of annotations which is ok for now but in the future I`d like to see a way to add custom annotation handlers which should be able to generate methods (and maybe more?) in the generated proxy class so that frameworks could add own annotations (e.g. an annotation to configure the routing or security settings).

@shochdoerfer shochdoerfer changed the title Allow ConfigurationGenerator to register custom annotation handlers [Feature] Allow ConfigurationGenerator to register custom annotation handlers Dec 4, 2016
@shochdoerfer
Copy link
Member Author

Instead of generating magic methods that can be called from the bean configuration method we should simply extend the "Parameter" mechanism and allow to inject those "values". That way the generated code will be syntactically correct - which is one of the key features of Disco.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant