Skip to content
Snippets Groups Projects
Verified Commit 0e04aba3 authored by Nik | Klampfradler's avatar Nik | Klampfradler
Browse files

Add a ping query for testing GraphQL

parent 321c3c38
No related branches found
No related tags found
Loading
Pipeline #79495 failed
......@@ -20,6 +20,8 @@ class PersonMutation(DjangoModelFormMutation):
class Query(graphene.ObjectType):
ping = graphene.String(default_value="pong")
persons = graphene.List(PersonType)
person_by_id = graphene.Field(PersonType, id=graphene.ID())
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment