-
-
Notifications
You must be signed in to change notification settings - Fork 237
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
Is there a support / planned support for async filters? #232
Comments
Filters cannot be async currently, but we do support async drops, see this test case: https://github.com/harttle/liquidjs/blob/master/test/integration/drop/drop.ts#L48 |
Async filters are now supported, see this test case: liquidjs/test/integration/liquid/register-filters.ts Lines 26 to 34 in e36f3ff
|
# [9.13.0](v9.12.0...v9.13.0) (2020-06-25) ### Features * async filters, closes [#232](#232) ([e36f3ff](e36f3ff))
🎉 This issue has been resolved in version 9.13.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
I'm trying to refactor my code that is currently using liquid module to use liquidjs and one thing I'm missing are async filters. Something that would allow me to do:
where
get_user_data
is an async function calling external API.Is something like this currently possible? Any workaround that could make this possible?
I've looked through the docs and tickets and the only thing I've found is the async context resolution.
The text was updated successfully, but these errors were encountered: