File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed
Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change 1313
1414### Changed
1515
16- none
16+ - Order field ` id ` must be a string, instead of previously allowing int. This is because while an
17+ order ID may an integral numeric value, it is not a "number" in the sense that math will be performed
18+ order ID values, so string represents this better.
1719
1820### Deprecated
1921
Original file line number Diff line number Diff line change 88 BaseModel ,
99 ConfigDict ,
1010 Field ,
11- StrictInt ,
1211 StrictStr ,
1312)
1413
@@ -75,7 +74,7 @@ class OrderProperties(BaseModel):
7574class Order (Feature [Geometry , OrderProperties ]):
7675 # We need to enforce that orders have an id defined, as that is required to
7776 # retrieve them via the API
78- id : StrictInt | StrictStr
77+ id : StrictStr
7978 type : Literal ["Feature" ] = "Feature"
8079 links : list [Link ] = Field (default_factory = list )
8180
You can’t perform that action at this time.
0 commit comments