Sort lazy imports to increase stability of generated code #1378
Knope Bot / Require changes to be documented
required action
Dec 12, 2025 in 0s
This pull request has not been documented yet
This project requires changes to be documented via either changesets or conventional commits. Depending on how this pull request is merged, it may not be fully documented:
- ❌ Squash merging is allowed, but the title is not a conventional commit
- ✅ Merge commits are disabled
- ✅ Rebase merging is disabled
You can either correct the above issues, or use a change file to document this pull request. knope-bot can't auto-generate a change file for this pull request. Instead, you can document the change manually by creating a change file with Knope or following these instructions:
- Create a file named
.changeset/sort_lazy_imports_to_increase_stability_of_generated_code.md - Copy and paste the below Markdown into the file
- Replace "CHANGE_TYPE" with
major,minor, orpatch(see knope's docs for what those mean) - Edit the content as needed to be applicable to users of the project (not maintainers)
Details
---
default: CHANGE_TYPE
---
# Sort lazy imports to increase stability of generated code
#1378 by @petterroea
Lazy imports of models aren't sorted, which causes them to be unstable and change from run to run. This is distracting in situations where you have a CI action automatically generating an API client and passing it as a PR to another repo.
This PR fixes this.
Loading