Hacker News new | ask | show | jobs
by msp26 265 days ago
that only works for the outer level, not for any nested fields
1 comments

nested field have their own propertyOrdering
can you provide an example please? The docs suggest that propertyOrdering can only be a list[str].
yes but you can put it on nested objects. Each type: object can have its own propertyOrdering, so you control whole tree