Skip to content
This repository has been archived by the owner on Nov 13, 2023. It is now read-only.

Sort required properties when generating schemas #41

Open
ehennestad opened this issue Jan 18, 2023 · 0 comments
Open

Sort required properties when generating schemas #41

ehennestad opened this issue Jan 18, 2023 · 0 comments

Comments

@ehennestad
Copy link
Contributor

The use of set in the following piece of code results in the list of required properties being unsorted.

https://github.com/HumanBrainProject/openMINDS_generator/blob/3e701662d251a51af77e3efa804510b4728d7d34/generator/generate_json_schema.py#L112-L115

This cause the schemas to look different for each commit and it results in a lot of changed files for each commit. This really clutters the commit history. and should be fixed by sorting the required properties

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant