my-legacy-code / Growth

0 stars 0 forks source link

Split Schema #15

Closed CreatCodeBuild closed 6 years ago

CreatCodeBuild commented 6 years ago

3

1. Split graphql types into multiple files

schema.graphql query.graphql mutation.graphql types.graphql

2. Add stack trace for errors using pkg/errors

panic: graphql: Unknown type "Event". (line 7, column 22)
Growth/dep.(*Dep).RelayHandler
        D:/Projects/Growth/dep/dep.go:35
main.main
        D:/Projects/Growth/main.go:20
runtime.main
        D:/Program/Go/src/runtime/proc.go:201
runtime.goexit
        D:/Program/Go/src/runtime/asm_amd64.s:1333

@byliuyang Please review it