Skip to content

Support IResult via GraphQLExecutionHttpResult for .NET 6+ #1191

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 9 commits into
base: master
Choose a base branch
from

Conversation

Shane32
Copy link
Member

@Shane32 Shane32 commented Jul 9, 2025

This PR adds ExecutionResultHttpResult and GraphQLExecutionHttpResult to mirror the functionality of ExecutionResultActionResult and GraphQLExecutionActionResult, providing IResult implementations versus IActionResult implementations. IResult is for route handlers (MapGet / MapPost / etc) in .NET 6+ minimal APIs, whereas IActionResult is for MVC controller actions. Documentation has been updated; sample project added; tests added. No breaking changes.

Feature added based on request/discussion within:

@Shane32 Shane32 self-assigned this Jul 9, 2025
Shane32 and others added 6 commits July 9, 2025 14:05
…n local IDisposable

Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
@Shane32 Shane32 requested a review from gao-artur July 9, 2025 18:16
@Shane32 Shane32 added the enhancement New feature or request label Jul 9, 2025
@Shane32 Shane32 added this to the 8.3.0 milestone Jul 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant