Added file upload support
This commit is contained in:
@@ -53,6 +53,7 @@ The surface every Mizan adapter implements.
|
||||
| Invalidation auto-scoping (three-tier) | ✅ | ✅ | ✅ | ✅ | ✅ |
|
||||
| Function discovery / registration | ✅ | ✅ | ✅ | ✅ | ✅ |
|
||||
| Codegen IR export (KDL) | ✅ | ✅ | ✅ ⁶ | ✅ ⁶ | — ⁸ |
|
||||
| File uploads (multipart, `Upload` type) | ✅ | ✅ | ❌ ⁹ | ❌ ⁹ | — ¹⁰ |
|
||||
|
||||
### Edge, cache & enforcement
|
||||
|
||||
@@ -106,6 +107,12 @@ target stack calls for them.
|
||||
8. TypeScript is an edge/protocol-reference adapter (HMAC cache, manifest, PSR), not a
|
||||
codegen source — it demonstrates the cache + invalidation protocol is
|
||||
language-agnostic.
|
||||
9. The IR carries the `upload` type and the codegen emits the field across targets, but
|
||||
multipart dispatch binding is wired for Django and FastAPI only; Rust/Axum and Tauri
|
||||
parse the IR node but do not yet bind uploads.
|
||||
10. The TypeScript column is the `mizan-ts` backend adapter, which has no upload
|
||||
dispatch. The matching client side lives in the kernel (`@mizan/base`): `mizanCall`
|
||||
auto-switches to `multipart/form-data` when any argument is a `File`.
|
||||
|
||||
## Conformance
|
||||
|
||||
|
||||
Reference in New Issue
Block a user