add .gitignore for coverage files
add initial function to return schema as JSON
more reliable default extractValue test
Minimalist querying. Work in progress.
Work in progress
Example query:
{
"query": {
"Name": true,
"Age": true,
"Tags": true,
"Address": { "Code": true },
"Posts": [{ "Title": true, "Body": true}]
},
"variables": {}
}
Expected response:
{
"data": {
"Address": {
"Code": "11234"
},
"Age": 33,
"Name": "real person",
"Posts": [
{
"Body":"this is the post body",
"Title":"helloo"
}
],
"Tags": ["happy","fun"]
},
"errors":null
}