effector / effector/farfetched

Add information about request into `ExecutionMeta`

Open
#286 1 comment 2 reactions 0 assignees View on GitHub
good first issue scope:core
Dominant language
TypeScript
Stars
221
Forks
36
PR merge metrics
No merged PRs in 30d

Description

There is no way to retrieve information about the actual requests in `createJsonQuery` and `createJsonMutation`.
It would be great to have this information in the `meta` field in `finished` events.

My main use case: I want to have something like `attachSentry(query)` and subscribe to failure-event inside that operator. But for good logging I need information like URL or request headers, otherwise, in sentry, I can't distinguish 2 different queries, if they have the same params or I can't understand with what params request failed (for example, if I have URL as a sourced field)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.