-
Notifications
You must be signed in to change notification settings - Fork 664
Open
Labels
Description
Currently I am using ActiveInteraction to build out service objects for each of my models. As of right now annotate doesn't easily allow for adding more directories with models to be added inside.
I've created a gist with a monkey-patch initializer locked on 2.7.4 and a config file config/annotate.yml
https://gist.github.com/skunkworker/fe527c7e5ea7c889569314d4a11a365a
Currently in the gist this is how I have it working:
in config/annotate.yml
User:
- interactions/user/
The User model would be applied to
app/interactions/user/*.rb
but no subdirectories below.
Is this something that would be beneficial to create a PR for this project? I feel like it could add a lot more flexibility when the naming of the file isn't immediately obvious.