Repository navigation
Typed extensible response media handlers #2712
davetapley
started this conversation in
Ideas
Replies: 1 comment 2 replies
|
Hey @davetapley! Are you somehow implementing custom methods atop handlers, and would like to annotate these methods? Would it help if Could you also shed some light on how you are registering these classes? Is it some kind of models used to deserialize media? |
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Falcon currently maps each content type to a single response media handler.
Supporting multiple application media classes requires wrapping/replacing handlers and casts:
Could Falcon provide a typed, extensible handler that registers serializers by media class while preserving the existing handler as fallback?
This would support independently registered resource serializers without replacing handlers or relying on application-side casts.
All reactions