Hello,
I'm having some trouble adapting my existing models to zotonic 1.0.
The problem I'm facing is related to this syntax
{% with m.sisbv_auth_utils[{can_auth_vis_for_menu tag="teste"}] as teste %}
From what I could understand, if the model is not listed in the z_model:get_model/2, zotonic uses MQTT to call it. But it cannot convert {can_auth_vis_for_menu,
[{tag,<<"teste">>}]} to binary, so the topic generate an error.
If I add my module to the z_model:get_model then the error does not occur.
So, my question is:
How can I add my model to the z_module_indexer to stop this problem or how can I tell z_model that I'm passing a tuple?.
The other problem I'm facing is the missing z_converter warning... zotonic_stdlib exists on the _build folder, but not on the apps folder.
Any pointers are welcome! Cheers
--
Álvaro Pagliari