You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit e94eb18
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: fixtures/agent-context-conformance/java-kotlin-react-tanstack/expected/.claude/skills/metaobjects-codegen/references/wire-format.md
+4Lines changed: 4 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -78,6 +78,10 @@ The generated input converters stay in every mode.
78
78
79
79
- From 1.0.x, upgrade to 1.1.2 or later. With no setting, C#, Java and Kotlin keep their 1.0.x
80
80
output. In Python and TypeScript, a decimal keeps its scale (`"12.50"`).
81
+
- In Python this is a change: a 1.0.x router wrote a decimal as a JSON number, a float that can
82
+
lose digits (`12.5`). It now writes a string, Pydantic's `str(Decimal)`, which is the
83
+
Python-normal form. There is no float option, by decision. Update a client that read the
84
+
number to read the string (`"decimals": "string"` gives the canonical `"12.5"`).
81
85
- A project already on 1.1.0 or 1.1.1 whose clients now expect strings and omitted members
82
86
declares `"wire": { "decimals": "string", "nullMembers": "omit" }` before it moves to 1.1.2.
83
87
- Every port's codegen drift gate (`meta verify --codegen`, `dotnet meta verify --codegen`,
Copy file name to clipboardExpand all lines: fixtures/agent-context-conformance/java-react/expected/.claude/skills/metaobjects-codegen/references/wire-format.md
+4Lines changed: 4 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -78,6 +78,10 @@ The generated input converters stay in every mode.
78
78
79
79
- From 1.0.x, upgrade to 1.1.2 or later. With no setting, C#, Java and Kotlin keep their 1.0.x
80
80
output. In Python and TypeScript, a decimal keeps its scale (`"12.50"`).
81
+
- In Python this is a change: a 1.0.x router wrote a decimal as a JSON number, a float that can
82
+
lose digits (`12.5`). It now writes a string, Pydantic's `str(Decimal)`, which is the
83
+
Python-normal form. There is no float option, by decision. Update a client that read the
84
+
number to read the string (`"decimals": "string"` gives the canonical `"12.5"`).
81
85
- A project already on 1.1.0 or 1.1.1 whose clients now expect strings and omitted members
82
86
declares `"wire": { "decimals": "string", "nullMembers": "omit" }` before it moves to 1.1.2.
83
87
- Every port's codegen drift gate (`meta verify --codegen`, `dotnet meta verify --codegen`,
Copy file name to clipboardExpand all lines: fixtures/agent-context-conformance/python/expected/.claude/skills/metaobjects-codegen/references/wire-format.md
+4Lines changed: 4 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -78,6 +78,10 @@ The generated input converters stay in every mode.
78
78
79
79
- From 1.0.x, upgrade to 1.1.2 or later. With no setting, C#, Java and Kotlin keep their 1.0.x
80
80
output. In Python and TypeScript, a decimal keeps its scale (`"12.50"`).
81
+
- In Python this is a change: a 1.0.x router wrote a decimal as a JSON number, a float that can
82
+
lose digits (`12.5`). It now writes a string, Pydantic's `str(Decimal)`, which is the
83
+
Python-normal form. There is no float option, by decision. Update a client that read the
84
+
number to read the string (`"decimals": "string"` gives the canonical `"12.5"`).
81
85
- A project already on 1.1.0 or 1.1.1 whose clients now expect strings and omitted members
82
86
declares `"wire": { "decimals": "string", "nullMembers": "omit" }` before it moves to 1.1.2.
83
87
- Every port's codegen drift gate (`meta verify --codegen`, `dotnet meta verify --codegen`,
Copy file name to clipboardExpand all lines: fixtures/agent-context-conformance/ts-react-tanstack/expected/.claude/skills/metaobjects-codegen/references/wire-format.md
+4Lines changed: 4 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -78,6 +78,10 @@ The generated input converters stay in every mode.
78
78
79
79
- From 1.0.x, upgrade to 1.1.2 or later. With no setting, C#, Java and Kotlin keep their 1.0.x
80
80
output. In Python and TypeScript, a decimal keeps its scale (`"12.50"`).
81
+
- In Python this is a change: a 1.0.x router wrote a decimal as a JSON number, a float that can
82
+
lose digits (`12.5`). It now writes a string, Pydantic's `str(Decimal)`, which is the
83
+
Python-normal form. There is no float option, by decision. Update a client that read the
84
+
number to read the string (`"decimals": "string"` gives the canonical `"12.5"`).
81
85
- A project already on 1.1.0 or 1.1.1 whose clients now expect strings and omitted members
82
86
declares `"wire": { "decimals": "string", "nullMembers": "omit" }` before it moves to 1.1.2.
83
87
- Every port's codegen drift gate (`meta verify --codegen`, `dotnet meta verify --codegen`,
Copy file name to clipboardExpand all lines: fixtures/agent-context-conformance/ts-requirements/expected/.claude/skills/metaobjects-codegen/references/wire-format.md
+4Lines changed: 4 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -78,6 +78,10 @@ The generated input converters stay in every mode.
78
78
79
79
- From 1.0.x, upgrade to 1.1.2 or later. With no setting, C#, Java and Kotlin keep their 1.0.x
80
80
output. In Python and TypeScript, a decimal keeps its scale (`"12.50"`).
81
+
- In Python this is a change: a 1.0.x router wrote a decimal as a JSON number, a float that can
82
+
lose digits (`12.5`). It now writes a string, Pydantic's `str(Decimal)`, which is the
83
+
Python-normal form. There is no float option, by decision. Update a client that read the
84
+
number to read the string (`"decimals": "string"` gives the canonical `"12.5"`).
81
85
- A project already on 1.1.0 or 1.1.1 whose clients now expect strings and omitted members
82
86
declares `"wire": { "decimals": "string", "nullMembers": "omit" }` before it moves to 1.1.2.
83
87
- Every port's codegen drift gate (`meta verify --codegen`, `dotnet meta verify --codegen`,
0 commit comments