A demo project for dataloader with graphql server
$ yarn
$ yarn run migrate
$ yarn run seed
$ yarn run dev
Open http://localhost:8080/graphql
{
getAuthor(id: 3) {
id
name
posts {
id
text
author {
name
}
}
}
}
{
getAuthor(id: 3) {
id
name
posts {
id
text
author {
id
name
posts {
id
title
text
author {
id
posts {
id
title
text
}
}
}
}
}
}
}
MIT © Daniel Tseng