Skip to content

Commit c1c8ee7

Browse files
authored
Merge pull request #36 from 1046102779/master
graphql.NewSchema method: return's params to add error type
2 parents df71746 + e3dcbc4 commit c1c8ee7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ import (
1919
func main() {
2020

2121
// define GraphQL schema using relay library helpers
22-
schema := graphql.NewSchema(...)
22+
schema, _ := graphql.NewSchema(...)
2323

2424
h := handler.New(&handler.Config{
2525
Schema: &schema,

0 commit comments

Comments
 (0)