-
-
Notifications
You must be signed in to change notification settings - Fork 143
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
Calling to_string() method on some data #689
Comments
hello @dandyvica , handlebars uses |
@sunng87 Thanks for your answer. I already have such a custom |
@dandyvica you can just try |
It's weird because in some cases, the
Original template is:
|
Do you have other variants of rdata field? When it renders |
Hi @sunng87
Thanks for your amazing work.
Suppose you have a data structure which is mapped to the following JSON:
The
rdata
field is a Rust structure for which theto_string()
exists. Is it possible to code a helper to call thatto_string()
method in a template ?The
rdata
field is not always the same (actually anenum
).Thanks !
The text was updated successfully, but these errors were encountered: