You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To register a tag or filter, just use .registerTag(), .registerFilter() interface, and the type definitions are already exported for TypeScript clients.
As for the Drop, that's not fully implemented. Although you can pass in any object as context with a liquid_method_missing method and that method will be respected, I'm not encouraging you to do so because Drops are not fully functional for now and that method will be renamed soon #109.
I plan to make Drops ready to use in the next major version. I appreciate it very much that you keep trying those new features and helps a lot to enhance them.
Now Drop is exported via Liquid.Types.Drop, please refer to the e2e case. And you can find more cases in the unit test. If you got any problems, or if I made any mistakes, or it cannot be used the same way as the shopify/liquid, report it here please :)
Hi
In earlier version of liquidjs, Tag and Filter are exported, and I can define my custom tag or filter by implementing those interfaces.
In 7.*, these interfaces are not exported. Would you consider exporting your Tag, Filter and Drop interfaces?
The text was updated successfully, but these errors were encountered: