export_service macro should honor method name in #[ic_cdk_macros::query(name = "method_name")]
#418
Labels
enhancement
New feature or request
Describe the bug
If a rust method is exposed to the IC under a different name using the
name
attribute in#[ic_cdk_macros::query(name = "method_name")]
, theexport_service
macro should also honor that name when generating the corresponding candid.To Reproduce
Steps to reproduce the behavior:
#[candid::candid_method(query)]
and#[ic_cdk_macros::query(name = "candid_method")]
export_service
macroic_cdk_marcros::query
.OR
Expected behavior
Calling the export_service macro should generate a candid file where the method matches the name passed to
ic_cdk_marcros::query
The text was updated successfully, but these errors were encountered: