Skip to content

Commit

Permalink
feat: adding external execute for GraphQL
Browse files Browse the repository at this point in the history
  • Loading branch information
byawitz committed Jun 11, 2024
1 parent 8eda2d0 commit bf24745
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/Http/Http.php
Original file line number Diff line number Diff line change
Expand Up @@ -404,6 +404,12 @@ public function match(Request $request): ?Route
return Router::match($method, $url);
}


public function execute(Route $route, Request $request, Container $context): self
{
return $this->lifecycle($route, $request, $context);
}

/**
* Execute a given route with middlewares and error handling
*
Expand Down

0 comments on commit bf24745

Please sign in to comment.