invoke-ai / invoke-ai/InvokeAI
[enhancement]: workflow json fields should be in stable order
- Dominant language
- Python
- Stars
- 28.2k
- Forks
- 3k
- Avg merge
- 6d 5h
- Merged PRs (30d)
- 19
Description
### Is there an existing issue for this?
- [x] I have searched the existing issues
### What should this feature add?
When I save my workflows to file, I'd like to avoid the extraneous diff noise that comes from the fields moving around. i.e. "version" might come first once, but "type" on a later re-save.
There should be some sort of canonical order to these, whether that's alphabetical or the order of the pydantic fields or whatever.
[[example workflow diff](https://gitlab.com/keturn/chroma_invoke/-/merge_requests/3/diffs?commit_id=da4b3c686daeb71d95a41fbc1f68186e0648f7c1)]
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.