Skip to content

Conversation

jdrames
Copy link
Contributor

@jdrames jdrames commented Aug 13, 2024

Added Result.Created methods to Result.Void static methods so that returned Result type is implicitly handled.

This allows for return Result.Created(value); and return Result.Created(value, location); to work effortlessly and as expected the same way that Result.Success(value); currently works.

@ardalis ardalis merged commit 194d23c into ardalis:main Sep 11, 2024
1 check passed
@ardalis
Copy link
Owner

ardalis commented Sep 11, 2024

Thanks!@

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants