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
{{ message }}
This repository has been archived by the owner on Feb 3, 2023. It is now read-only.
It would be nice to have more flexibility in the way JSONRPC function names are exposed to the outside world. Primarily because Holochain uses snake_case parameter and function names, and the reference API for our app uses lowerCamelCase. So, any of our client-side code that deals with multi-word parameter names needs to do this kind of translation.
I would advocate support for something similar to the #[serde(rename_all = "camelCase")] attribute which can be optionally added after the #[zome_fn(...)] macros to control this behaviour.
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
It would be nice to have more flexibility in the way JSONRPC function names are exposed to the outside world. Primarily because Holochain uses
snake_case
parameter and function names, and the reference API for our app useslowerCamelCase
. So, any of our client-side code that deals with multi-word parameter names needs to do this kind of translation.I would advocate support for something similar to the
#[serde(rename_all = "camelCase")]
attribute which can be optionally added after the#[zome_fn(...)]
macros to control this behaviour.The text was updated successfully, but these errors were encountered: