WIP: upgrade schemars#6894
Conversation
|
CodSpeed Performance ReportMerging #6894 will not alter performanceComparing Summary
|
|
All the failures are coming from our assertions in our codegen. I think that the openapi schema setting considers optional things to be |
|
Thanks, seems that is indeed related. By ignoring the assertion it confirms indeed that types that were treated as But I see a lot of other things have broken as well... going to park it for now. Hopefully we can finish it at some point. |
|
The includes types aren't emitted anymore: https://github.com/arendjr/biome/blob/upgrade-schemars/packages%2F%40biomejs%2Fbackend-jsonrpc%2Fsrc%2Fworkspace.ts#L120-L123 (there's more than one instance) |
|
Yeah, I know. That’s only one of the many issues… |
|
That's been implemented |
Summary
Attempt to upgrade to schemars 1.0, but unfortunately I got with the subschemas. If anyone has an insight, it would be appreciated!
Test Plan
Schemas should remain the same.