Skip to content

Commit

Permalink
MNT Remove TODO comments
Browse files Browse the repository at this point in the history
  • Loading branch information
Sabina Talipova committed Oct 13, 2023
1 parent 44a9b34 commit 678aaeb
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 4 deletions.
1 change: 0 additions & 1 deletion src/Auth/Handler.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ class Handler
* @var array
*
* @internal Experimental config:
* @todo Move this to a per-schema configuration and refer to this schema from the current endpoint
* @link https://github.com/silverstripe/silverstripe-graphql/issues/58
* @link https://github.com/silverstripe/silverstripe-graphql/issues/52
*/
Expand Down
1 change: 0 additions & 1 deletion src/Middleware/QueryCachingMiddleware.php
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,6 @@ protected function getCachedResponse(string $key): ?array
// On cache success validate against cached classes
foreach ($cached['classes'] as $class) {
// Note: Could combine these clases into a UNION to cut down on extravagant queries
// Todo: We can get last-deleted/modified as well for versioned records
$lastEditedDate = DataObject::get($class)->max('LastEdited');
if (strtotime($lastEditedDate ?? '') > strtotime($cached['date'] ?? '')) {
// class modified, fail validation of cache
Expand Down
2 changes: 0 additions & 2 deletions src/Schema/DataObject/InterfaceBuilder.php
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,6 @@ public function createInterfaces(ModelType $modelType, array $interfaceStack = [
)
->setTypeResolver([AbstractTypeResolver::class, 'resolveType']);

// TODO: this makes a really good case for
// https://github.com/silverstripe/silverstripe-graphql/issues/364
$validPlugins = [];
foreach ($modelType->getPlugins() as $name => $config) {
$plugin = $modelType->getPluginRegistry()->getPluginByID($name);
Expand Down

0 comments on commit 678aaeb

Please sign in to comment.