Skip to content

Commit

Permalink
Fixes relationship query
Browse files Browse the repository at this point in the history
  • Loading branch information
dmavrin committed Nov 23, 2020
1 parent 8ea1b79 commit 36df106
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "rebing/graphql-laravel",
"name": "dmavrin/graphql-laravel",
"description": "Laravel wrapper for PHP GraphQL",
"keywords": ["framework", "laravel", "graphql", "react"],
"authors": [
Expand Down
2 changes: 1 addition & 1 deletion src/Rebing/GraphQL/Support/SelectFields.php
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ public static function getSelectableFieldsAndRelations(array $requestedFields, $
$query = $customQuery(self::$args, $query);
}

$query->select($select);
// $query->select($select);
$query->with($with);
};
}
Expand Down

0 comments on commit 36df106

Please sign in to comment.