graphql-engine/server/tests-py/queries/graphql_query/functions/query_search_posts.yaml

19 lines
330 B
YAML
Raw Normal View History

description: Custom GraphQL query using search_posts function
url: /v1alpha1/graphql
status: 200
response:
data:
search_posts:
- title: post by hasura
content: content for post
query:
query: |
query {
search_posts(
args: {search: "hasura"}
) {
title
content
}
}