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

Implement modifiers #51

Open
ngoov opened this issue May 18, 2018 · 0 comments
Open

Implement modifiers #51

ngoov opened this issue May 18, 2018 · 0 comments

Comments

@ngoov
Copy link
Contributor

ngoov commented May 18, 2018

From PR #47

modifiers
Modifiers are functions that take input and send output and then we can apply with other closes.

modifiers ❤️ filters
for example just with one DateInYear modifier you can use all filters:
mydate:year=1989 mydate:year!=1989 mydate:yearContains=9 mydate:year>9 ...

modifiers ❤️ select
for example juste with one DateInYear modifier you can use all filters:
select=name:uppercase,color:stringtohex,amount:percent

In a future release, modifiers could be chained too like that:
mydate:year:last(2)=89 to take only last 2 digits of year

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

1 participant