CQCL / hugr

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

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

Open doug-q opened 4 months ago

doug-q commented 4 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 4 months ago

Related to #1228