Y
Hacker News
new
|
ask
|
show
|
jobs
by
Inviz
438 days ago
gemini api has propertyOrdering field for that
1 comments
msp26
438 days ago
that only works for the outer level, not for any nested fields
link
Inviz
435 days ago
nested field have their own propertyOrdering
link
msp26
434 days ago
can you provide an example please? The docs suggest that propertyOrdering can only be a list[str].
link
Inviz
432 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