Closed taitruong closed 1 year ago
The reason it creates this file is that QueryMsg
implements generics, i.e. QueryMsg<QueryExtension>
, in cw721-base
there is no query extension so the value is QueryMsg<Empty>
which leads to query_msg_for__empty.json
. Make sense?
This problem doesn't exist in v0.17.0 anymore, since there is now only one schema file for cw721-base. Though it is worth checking why
cargo schema
creates this file, with titleQueryMsg_for_Empty
in line 3: query_msg_for__empty:This causes ts-codegen not being able to create
ReadOnlyClientInterface
(since it doesn't findQueryMsg
). Check issue here: https://github.com/CosmWasm/ts-codegen/issues/120