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

Create annotation to describe Rules and Groups #7

Open
andrelugomes opened this issue Feb 16, 2019 · 3 comments
Open

Create annotation to describe Rules and Groups #7

andrelugomes opened this issue Feb 16, 2019 · 3 comments

Comments

@andrelugomes
Copy link
Contributor

I'm thinking, if we be able to do this, our runner will be more generic and we wil eliminate a lot of ENUMs.

@ArqvRule(name="REPOSITORIES_SHOULD_STAY_ON_REPOSITORY_PACKAGE", belongsTo="SPRING_REPOSITORY_GROUP_RULES")

What do you think @juliofalbo ?

@juliofalbo
Copy link
Contributor

Hmm, but this way we will need to compare strings in the runner.

But, if this annotation create a enum in compile time (like Lombok) I think that will be great!

@andrelugomes

@andrelugomes
Copy link
Contributor Author

I like this idea...

@juliofalbo
Copy link
Contributor

Take a look at cglib!
Would be a solution!

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

2 participants