Skip to content

Use context in custom filters - #99

Open
pedro-skoach wants to merge 1 commit into
bettyblocks:masterfrom
myskoach:feature/enable_context_custom_filters
Open

Use context in custom filters#99
pedro-skoach wants to merge 1 commit into
bettyblocks:masterfrom
myskoach:feature/enable_context_custom_filters

Conversation

@pedro-skoach

@pedro-skoach pedro-skoach commented Mar 11, 2021

Copy link
Copy Markdown

This PR enables the use of the Context in custom filters.

Recommend a new major version since this will break the current filters because the arity of the functions changed.

Our use case was we needed to know which was the locale to apply a filter that transforms a number into a ordinal, which differs per locale

Thanks

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

Successfully merging this pull request may close these issues.

1 participant