ardalis / ardalis/Result

Translating Results to ActionResults doesn't contain the SuccessMessage

Open
#114 3 comments 0 reactions 0 assignees View on GitHub
bug good first issue help wanted
Dominant language
C#
Stars
1k
Forks
127
PR merge metrics
No merged PRs in 30d

Description

Translating Results to ActionResults doesn't contain the SuccessMessage.
I want to send a message by SuccessMessage in ActionResult> return type but this only return the T generic class without SuccessMessage property of Result class.

Contributor guide

Open the contributing guide

Research direction

Start by locating the translation from Result to ActionResult and reproduce the reported behavior with a SuccessMessage. Trace where the generic T is returned without the enclosing Result properties. Done means the translated ActionResult preserves the SuccessMessage, with a regression test covering this case.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
api
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.