Conversation
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
|
@oliyh Is this an Easter gift for us all? 😅 This already looks super cool! Godspeed! |
| ;; Collection format handling | ||
| (wrap-collection-format-schema [backend array-schema collection-format] | ||
| "Wraps an array schema to handle a specific collection format string | ||
| (e.g. 'csv', 'ssv'). Returns array-schema unchanged if not applicable.") |
There was a problem hiding this comment.
This seems to be the only place where impedance mismatch occurs. These "collection formats" are not inherent in schemas, right? Maybe we can decompose it into atomic methods instead — two predicates (string-schema?, array-schema?) and one constructor? Or, given that we've already allowed OpenAPI specifics to leak into this protocol (the leaf-schema method), is it fine to leave this method as is?
|
Oliver, if you need any help porting the Plumatic Schema-specific part of the codebase I recently implemented in order to fully support the "parameter aliases" feature, just give me a nod. These are basically:
Hopefully, for Malli we won't have to re-implement |
No description provided.