the auto generated did file name is service.did.
which i want to set as backend.did
but i didnt find where to config this .
Of course i cant write a script to rename it .
but i dont know if there is some hidden bug may cause.
Yes~ we wish to generate name as backend.did inside the .dfx/ic/canisters/backend/ folder.
My frontend friend needs to use it as backend.did file name.
But what was actually generated was service.did inside .dfx/ic/canisters/backend/ folder.
So we want to somehow change it. instead of manually rename in case of any bug.
I think there may be a misunderstanding about what the field canisters.<canister name>.candid does. IIUC you think it means that candid is generated at that location. But for Rust canisters there is no automatic candid generation. The field is where dfx expects you to place the candid file. For internal file transformations dfx then copies that file to .dfx/local/backend/service.did, but this is not something you should or can mess with.