dfinity / sdk

IC SDK: a Software Development Kit for creating and managing canister smart contracts on the ICP blockchain.

Home Page:https://internetcomputer.org/developers

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

vscode gives false warning in json schema

ocluf opened this issue · comments

commented

Ik have the following prebuild canister configuration in vscode:

"Token": {
"type": "custom",
"wasm": "ledger/ic-icrc1-ledger.wasm",
"candid": "ledger/icrc1.did"
}

Warning given in the json file (with the yellow squiggly line under "Token")

Missing property "build". The canister seems to deploy fine and does not need the "build" field in the config

Transferring to the dfinity/sdk repository, since the dfx.json validation directly uses this file:

https://github.com/dfinity/sdk/blob/master/docs/dfx-json-schema.json

Thank you for reporting this, @ocluf. I added an item to our backlog, but I won't make any promises as to when we'll get around to fixing this.