Y
Hacker News
new
|
ask
|
show
|
jobs
by
Inviz
265 days ago
gemini api has propertyOrdering field for that
1 comments
msp26
264 days ago
that only works for the outer level, not for any nested fields
link
Inviz
262 days ago
nested field have their own propertyOrdering
link
msp26
260 days ago
can you provide an example please? The docs suggest that propertyOrdering can only be a list[str].
link
Inviz
258 days ago
yes but you can put it on nested objects. Each type: object can have its own propertyOrdering, so you control whole tree
link