Tracing 1.0
No due date
0% complete
Currently Config
type doesn't hold any position information in its fields. This makes it extremely difficult to debug and attach meaningful traces. In this issue, we want to insert tracing information in the config. That way we could see better errors:
Current
❯ tailcall check ./examples/jsonplaceholder.graphql
INFO Env file: "/Users/tushar/Documents/Pro…
Currently Config
type doesn't hold any position information in its fields. This makes it extremely difficult to debug and attach meaningful traces. In this issue, we want to insert tracing information in the config. That way we could see better errors:
Current
❯ tailcall check ./examples/jsonplaceholder.graphql
INFO Env file: "/Users/tushar/Documents/Projects/tailcall/.env" loaded
INFO File read: ./examples/jsonplaceholder.graphql ... ok
WARN A new release of tailcall is available: v0.74.1 ➜ v0.74.12
WARN To upgrade, run: brew upgrade tailcall
WARN https://github.com/tailcallhq/tailcall/releases/tag/v0.74.12
ERROR Invalid Configuration
Caused by:
• No base URL defined [at Post.user.@call.@http]
• No base URL defined [at Query.posts.@http]
• No base URL defined [at Query.user.@http]
• No base URL defined [at Query.users.@http]
Expected
❯ tailcall check ./examples/jsonplaceholder.graphql
INFO Env file: "/Users/tushar/Documents/Projects/tailcall/.env" loaded
INFO File read: ./examples/jsonplaceholder.graphql ... ok
WARN A new release of tailcall is available: v0.74.1 ➜ v0.74.12
WARN To upgrade, run: brew upgrade tailcall
WARN https://github.com/tailcallhq/tailcall/releases/tag/v0.74.12
ERROR Invalid Configuration
Caused by:
• No base URL defined [at ./examples/jsonplaceholder.graphql#8:17]