Ahmed Riyadh
03/26/2024, 11:02 AMAdamW
03/26/2024, 12:21 PMAhmed Riyadh
03/26/2024, 12:23 PMAhmed Riyadh
03/26/2024, 12:24 PM:)
Aleksei Tirman [JB]
03/26/2024, 12:36 PMAhmed Riyadh
03/26/2024, 12:38 PMAdamW
03/26/2024, 12:39 PMAny
, so all of the route handlers in RoutingBuilder
with a single generic suffer from this ”issue” (post, put, patch).
One way you can get it to fail at compile time is to use the undocumented post<A, B>
with two generic arguments where A is your resource and B is the request body. It will always resolve to the correct import also.Aleksei Tirman [JB]
03/26/2024, 12:40 PMAleksei Tirman [JB]
03/26/2024, 12:41 PMAhmed Riyadh
03/26/2024, 12:41 PMCan you please file an issue about that?So should I open a new issue?
Aleksei Tirman [JB]
03/26/2024, 12:43 PMAhmed Riyadh
03/26/2024, 12:43 PMAhmed Riyadh
03/26/2024, 6:09 PM