bazo/feature-toggler

Shorthand config syntax

mishak87 opened this issue · 4 comments

Have you considered shorthand syntax?

config:
    feature:
    - [ "field", "operator", arg ]
# or
    - { "field", "operator", arg }
bazo commented

i haven't really thought about this, but it looks much nicer.

will you send a PR?
if you do, keep in mind that the third parameter is optional

bazo commented

implemented

I knew it will prevent you from sleeping :)

bazo commented

well, took like 10min tops :D