Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Filter, Ensure macros for the filter scheme #11

Open
batate opened this issue Dec 1, 2013 · 0 comments
Open

Filter, Ensure macros for the filter scheme #11

batate opened this issue Dec 1, 2013 · 0 comments

Comments

@batate
Copy link
Owner

batate commented Dec 1, 2013

The filter scheme should have a DSL that allows

filter :find_person, only: [:show, :edit, :update, :delete]
dispatch
ensure :sweep_cache, only: :update, :create, :delete

This will probably require custom matching that adds plug matchers.

I am thinking that the scheme will set the strategy, add to the plug matcher DSL, and have a couple of extra "use" as necessary.

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

No branches or pull requests

1 participant