Skip to content

Commit

Permalink
fix(api): add search to request operations
Browse files Browse the repository at this point in the history
  • Loading branch information
MarlonJD committed Dec 4, 2023
1 parent 0457212 commit aefe93c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ class GraphQLRequestFactory {
upperOutput = r'($id: ID!)';
lowerOutput = r'(id: $id)';
}
case GraphQLRequestOperation.list:
case GraphQLRequestOperation.list || GraphQLRequestOperation.search:
upperOutput =
'(\$filter: Model${modelName}FilterInput, \$limit: Int, \$nextToken: String)';
lowerOutput =
Expand Down

0 comments on commit aefe93c

Please sign in to comment.