Skip to content

Conversation

@jcklie
Copy link
Collaborator

@jcklie jcklie commented Feb 9, 2023

  • Add is_predefined helper
  • Use toposort to fix the bug

…per type

- Make JSON serializing more deterministic by sorting type system by name
…per type

- Use toposort when deserializing JSON type systems
@jcklie jcklie added this to the 0.7.5 milestone Feb 9, 2023
@jcklie jcklie self-assigned this Feb 9, 2023
@codecov
Copy link

codecov bot commented Feb 9, 2023

Codecov Report

Merging #277 (fa41138) into main (b173a6f) will decrease coverage by 0.04%.
The diff coverage is 92.30%.

@@            Coverage Diff             @@
##             main     #277      +/-   ##
==========================================
- Coverage   95.39%   95.36%   -0.04%     
==========================================
  Files           5        5              
  Lines        1888     1897       +9     
==========================================
+ Hits         1801     1809       +8     
- Misses         87       88       +1     
Impacted Files Coverage Δ
cassis/json.py 91.55% <87.50%> (-0.17%) ⬇️
cassis/typesystem.py 95.45% <100.00%> (+0.02%) ⬆️

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@jcklie jcklie merged commit 213128f into main Feb 9, 2023
@jcklie jcklie deleted the bugfix/276-json-deserialize-child-type-before-supertype branch February 9, 2023 10:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants