The Go Graph Loader is a plugin designed to load GraphQL by resolver and process scalar types using Go struct definitions instead of schema typing. It also includes simple extensions like a validator. Auto-generated documentation is supported with magicdoc for the Go Graph Loader.
2022/10/20 00:21:41 ————————————— Go Graph Loader —————————————
2022/10/20 00:21:41 | Package | main
2022/10/20 00:21:41 | Struct | Product
2022/10/20 00:21:41 | Type | PRE_RESOLVER
2022/10/20 00:21:41 | Signature | func(*main.Product) context.Context
2022/10/20 00:21:41 ———————————————————————————————————————————
panic: go-graph-loader: invalid method signature is using for pre resolver function
2022/10/20 00:18:03 ————————————— Go Graph Loader —————————————
2022/10/20 00:18:03 | Package | main
2022/10/20 00:18:03 | Struct | Product
2022/10/20 00:18:03 | Type | RESOLVER_METHOD
2022/10/20 00:18:03 | Signature | func(*main.Product, *main.ProductNameArgs) (string, error)
2022/10/20 00:18:03 ———————————————————————————————————————————
panic: go-graph-loader: invalid method signature is using for field resolver function