Skip to content

Commit

Permalink
added tag params
Browse files Browse the repository at this point in the history
  • Loading branch information
abrenoch committed Sep 21, 2023
1 parent dc9862d commit ca5d6ab
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion src/GraphQL/Query/QueryType.php
Original file line number Diff line number Diff line change
Expand Up @@ -263,7 +263,18 @@ public function buildDataObjectQueries(&$config = [], $context = []): void
'type' => Type::string(),
'description' => 'Comma separated list of fullpath'
],
'tags' => ['type' => Type::string(), 'description' => 'Comma separated list of tag names'],
'tags' => [
'type' => Type::string(),
'description' => 'Comma separated list of tag names (or idPath if useTagIdPath is true)'
],
'useTagIdPath' => [
'type' => Type::boolean(),
'description' => 'Use idPath instead of name for tags in the tags argument'
],
'hasAllTags' => [
'type' => Type::boolean(),
'description' => 'Results must match all tags in the tags argument'
],
'defaultLanguage' => ['type' => Type::string()],
'first' => ['type' => Type::int()],
'after' => ['type' => Type::int()],
Expand Down

0 comments on commit ca5d6ab

Please sign in to comment.