quill icon indicating copy to clipboard operation
quill copied to clipboard

Do not output Candid IDL from queries, but JSON

Open jwiegley opened this issue 3 years ago • 1 comments

jwiegley avatar Sep 28 '21 19:09 jwiegley

Is this necessary? Candid can be clearer about enums and principals, and for a user who hasn't encountered its syntax it is not exactly unintuitive.

adamspofford-dfinity avatar Mar 02 '23 00:03 adamspofford-dfinity

I would second that request. Candid can be clearer in some cases but is noisier in all cases. From my point of view, JSON should be the default, Candid should be possible. So one should be able to provide an argument e.g. --format candid and pick the output format.

sasa-tomic avatar Jun 21 '24 11:06 sasa-tomic

Obsoleted by queries outputting user-friendly data instead of IDL.

adamspofford-dfinity avatar Jul 05 '24 19:07 adamspofford-dfinity