Skip to content

Commit

Permalink
API Remove GraphQL
Browse files Browse the repository at this point in the history
  • Loading branch information
emteknetnz committed Jul 31, 2024
1 parent f6af630 commit fd59a76
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 4 deletions.
1 change: 0 additions & 1 deletion src/Forms/FormRequestHandler.php
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,6 @@ public function __construct(Form $form)
public function Link($action = null)
{
// Forms without parent controller have no link;
// E.g. Submission handled via graphql
$controller = $this->form->getController();
if (empty($controller)) {
return null;
Expand Down
3 changes: 1 addition & 2 deletions src/ORM/Connect/NullDatabase.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,7 @@
/**
* Utility class required due to bad coupling in framework.
* Not every framework execution should require a working database connection.
* For example, when generating class and config manifests for deployment bundles,
* or when generating code in a silverstripe/graphql schema build.
* For example, when generating class and config manifests for deployment bundles
*
* This class creates the required no-ops to fulfill the contract,
* and create exceptions as required.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,6 @@ public function testRedirectTrailingSlashIgnorePaths(bool $addTrailingSlash, boo
$requestSlash = $requestHasSlash ? '/' : '';
$noRedirectPaths = [
"/admin{$requestSlash}",
"/admin/graphql{$requestSlash}",
"/dev/tasks/my-task{$requestSlash}",
];
$allowRedirectPaths = [
Expand Down

0 comments on commit fd59a76

Please sign in to comment.