Skip to content

Conversation

rslawson
Copy link

At present I know there's some things that still need doing here: namely that the patch section in Cargo.toml needs to be removed, and I need to figure out why I had to change a constant in one of the tests. Other than that, though, I think it's probably good to go except maybe some doc comments here or there that I might've forgotten about?

let (arr1, used): ([Option<_>; MAX1], usize) = type_chewer_dmt(Example1::SCHEMA);
assert!(!is_prim(Example1::SCHEMA));
let child_ct = unique_types_dmt_upper(Example1::SCHEMA);
assert_eq!(child_ct, 2);
Copy link
Author

@rslawson rslawson Jun 18, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm very unsure whether this was the right change to make. The diff compared to base is that it was originally let child_ct = unique_types_dmt_upper(Example1::SCHEMA.ty);, but I'm not sure how to do an equivalent to the .ty anymore since I don't have a unique_types_data_upper, just unique_types_dmt_upper and unique_types_var_upper.

@jamesmunns jamesmunns added the Q2 '25 Triage Items tracked as part of https://github.com/jamesmunns/postcard/issues/241 label Jun 19, 2025
@rslawson rslawson changed the title Update to unreleased postcard-schema traits and types. Update for postcard-schema-ng traits and types. Jun 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Q2 '25 Triage Items tracked as part of https://github.com/jamesmunns/postcard/issues/241
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants