Open pyramation opened 2 years ago
the proper steps to generate code when editing
examples/schema.rs
if any Responses in msg.rs aren't properly exported in examples/schema.rs
, the codegen will miss types.
great examples: https://github.com/public-awesome/launchpad/blob/main/contracts/whitelist/examples/schema.rs
https://github.com/public-awesome/launchpad/blob/main/contracts/vending-minter/examples/schema.rs
https://github.com/public-awesome/launchpad/blob/main/contracts/vending-factory/examples/schema.rs
https://github.com/public-awesome/launchpad/blob/main/contracts/sg721-base/examples/schema.rs
In the image below you can see what VSCode is pointing at. this is in the .client.ts file generated with v.0.10.0