sdk icon indicating copy to clipboard operation
sdk copied to clipboard

Parse candid argument early

Open nmattia opened this issue 2 years ago • 1 comments

I've noticed that the --argument is not parsed when invoked, but only later one when used. Here's an example:

dfx deploy --no-wallet --argument 'version_info = "hello"'

Doing this, my canister will be built (~2mn) before I get a parse error. It would be great to fail early.

nmattia avatar Aug 02 '22 15:08 nmattia

Tracked in SDK-648

sesi200 avatar Aug 03 '22 06:08 sesi200