Page MenuHomeDevCentral

Support .into_json_response() with Axum
ClosedPublic

Authored by dereckson on Sep 24 2025, 17:41.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Mar 28, 20:05
Unknown Object (File)
Sat, Mar 28, 06:42
Unknown Object (File)
Sat, Mar 28, 04:51
Unknown Object (File)
Sat, Mar 28, 02:22
Unknown Object (File)
Thu, Mar 26, 01:05
Unknown Object (File)
Wed, Mar 25, 16:24
Unknown Object (File)
Tue, Mar 24, 09:25
Unknown Object (File)
Mon, Mar 23, 14:53
Subscribers
None

Details

Summary

Allow to convert an arbitrary type into a API JSON response
simply adding .into_json_response().

For Alkane, adding FailureResponse trait to handle the errort part of a Result.

Ref T2133

Test Plan

Tested with D3717 for Alkane

Diff Detail

Repository
rLF Limiting Factor
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

dereckson created this revision.
This revision is now accepted and ready to land.Sep 24 2025, 17:41
This revision was automatically updated to reflect the committed changes.