envelop icon indicating copy to clipboard operation
envelop copied to clipboard

useOnResolve: allow skipping default resolvers

Open Akryum opened this issue 1 year ago • 0 comments

Is your feature request related to a problem? Please describe.

Currently useOnResolve from @envelop/on-resolve wraps all fields even if they don't have a custom resolver defined.

For example, in the context of tracing (with opentelemetry or dd-tracer), spans a created for all the fields creating a lot of noise in the flamecharts.

Describe the solution you'd like

A new skipDefaultResolvers option.

Describe alternatives you've considered

Additional context

Akryum avatar Jan 05 '24 16:01 Akryum