You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Would like to be able to pass operationName to our server. While this field isn't required in a standard setup, it's great for logging & tracing requests on the backend.
Doesn't seem to be a way currently to get the name of the operation within the fetch handler as only the raw text and hash are passed down.
Quick look seems it would be as simple as passing the artifact name down to the fetch handler here:
hey @trmcnvn! Thanks for opening this. This is a perfect use case for #365 so I think your best off waiting a bit for that to be ready. It's my top priority right now and I'm trying to have something you can play with by the end of the weekend. At least now there's some social pressure to make sure I hit my internal deadline 😅
Describe the feature
Would like to be able to pass
operationName
to our server. While this field isn't required in a standard setup, it's great for logging & tracing requests on the backend.Doesn't seem to be a way currently to get the name of the operation within the fetch handler as only the raw text and hash are passed down.
Quick look seems it would be as simple as passing the artifact name down to the fetch handler here:
houdini/packages/houdini/src/runtime/lib/network.ts
Lines 297 to 301 in 30a754a
Won't be able to open a PR until the weekend, so opening this issue until then in case someone wants to take it.
Criticality
nice to have
The text was updated successfully, but these errors were encountered: