Skip to content

Commit 0fdaad1

Browse files
authored
fix: Adjust breaking changes warning (#133)
1 parent c18b7a9 commit 0fdaad1

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

scripts/json_schema_changes.py

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -120,10 +120,13 @@ def main() -> None:
120120
"""
121121
⚠️ **This PR contains breaking changes.** Normally you should avoid that and make
122122
your consumer forwards-compatible (meaning that updated consumers can still
123-
accept old messages).
123+
accept old messages). There are a few exceptions:
124124
125-
If you know what you are doing, this change could potentially be rolled out
126-
to **producers** first, but that's not a flow we support.
125+
* If consumers already require these invariants in practice, and you're
126+
just adjusting the JSON schema to reality, ignore this warning.
127+
128+
* If you know what you are doing, this change could potentially be rolled out
129+
to **producers** first, but that's not a flow we support.
127130
"""
128131
)
129132
if "--no-exit-code" not in sys.argv:

0 commit comments

Comments
 (0)