From 1444d07f75acd750705eebe3d3da15a21940f4a3 Mon Sep 17 00:00:00 2001 From: Jessie Mongeon <133128541+jessiemongeon1@users.noreply.github.com> Date: Fri, 13 Dec 2024 09:24:03 -0600 Subject: [PATCH] update candid ref (#3878) --- docs/references/candid-ref.mdx | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/docs/references/candid-ref.mdx b/docs/references/candid-ref.mdx index adf1a55591..03f6e894cf 100644 --- a/docs/references/candid-ref.mdx +++ b/docs/references/candid-ref.mdx @@ -175,6 +175,12 @@ We can use type annotation to distinguish different integer types. (42 : nat64) ``` +Canister init arguments passed to `dfx` must be explicit with data types, such as: + +``` +field = 5 : nat64 +``` + #### Corresponding Motoko type `natN` translates by default to `NatN`, but can also correspond to `WordN` when required.