render daily energy graphs

This commit is contained in:
Eric Hulburd
2016-02-13 16:49:32 -06:00
parent b13c33d83c
commit 6713e756c4
19 changed files with 367 additions and 191 deletions

View File

@@ -1,28 +1 @@
[See necessary examples](https://drive.google.com/drive/u/0/folders/0B6Ys-9_Te2cFNktOU3VwSzA1VWs)
## Problems
1. Setting type directly on field:
```js
fields: ()=>{
username: GraphQLString
}
```
threw this error:
```sh
Unhandled rejection Error: Query.viewer field type must be Output Type but got: undefined
```
Must pass object:
```js
fields: ()=>{
username: {
type: GraphQLString
}
}
```
# Spike