Concordium / concordium-smart-contract-tools

Tools for building, deploying, and interacting with smart contracts
Apache License 2.0
2 stars 8 forks source link

Cargo-concordium: embed schema by default #173

Closed lassemoldrup closed 3 months ago

lassemoldrup commented 3 months ago

Description We should consider having cargo-concordium embed the schema by default when building smart contracts, since it is most often what you want. If we do this, we need to add a flag for opting out. This could be --no-schema-embed/-n. Maybe it is worth keeping the existing --schema-embed/-e flag as a (deprecated) no-op to not break people's working build commands?

limemloh commented 3 months ago

I agree, we should keep the --schema-embed but show a warning when people use it