Skip to content

joostaarts/GraphQL

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GraphQL

A playground for GraphQL in .net core

Run project and open a browser to this url https://localhost:44369/graphql

Example requests

Query

query {
  students {
    id
    firstName
    lastName  
    dateOfBirth
  }
}
query{
  student(id: 265){
    firstName
    dateOfBirth
  }
}

Mutation

mutation	{
  createStudent(
    student: {
      firstName: "Harrie"
      lastName: "Nak"
      dateOfBirth:  "2000-08-27"
    }
  )
  {
    id
    firstName
    dateOfBirth
  }
}

Subscribe to student created event

subscription{
  studentAdded {
    id
  }
}

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages