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

Support pluggable RuleFactory #210

Closed
davidpadbury opened this issue Jun 27, 2014 · 2 comments
Closed

Support pluggable RuleFactory #210

davidpadbury opened this issue Jun 27, 2014 · 2 comments

Comments

@davidpadbury
Copy link
Contributor

I started looking into customizing what types are being used for different types of format (particularly using Joda's LocalDate for a date format). Due to the rather elegant design of how rules are evaluated I feel that by supporting a "pluggable" rules factory, consumers would have the ability to tweak much of the behavior of how rules work in a very simple manor.

How would we feel about being able to specify a RulesFactory inheritor class as part of the Mojo properties similar to how the custom annotator is done?

@joelittlejohn
Copy link
Owner

Sounds like a good addition to me. As you say, allowing a custom RuleFactory basically allows all the generation behaviour to be customized so it's a good piece to make pluggable. Happy to add this to the next version.

@joelittlejohn
Copy link
Owner

Lets track this on #211

@joelittlejohn joelittlejohn removed this from the 0.4.5 milestone Aug 4, 2014
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