CQCL / hugr

Hierarchical Unified Graph Representation for quantum and classical programs
https://crates.io/crates/hugr
Apache License 2.0
18 stars 5 forks source link

Serialisation of `CustomType`s and `CustomConst`s is not checked against a schema #1224

Open doug-q opened 3 months ago

doug-q commented 3 months ago

I expect that "prelude" and "std_extension"s should be included in the main schema.

It would be nice for extensions to be able to provide a versioned schema for their custom types and consts, and for them to be able to provide upgrade hooks.

ss2165 commented 3 months ago

Related to #1228