Skip to content

feature: allow modifying dispatcher for suspend functions #2249

@Meemaw

Description

@Meemaw

Describe the Feature Request

Currently dispatcher is "hardcoded" to Unconfined, which is non ideal for us.

Relevant line: https://github.com/Netflix/dgs-framework/blob/master/graphql-dgs/src/main/kotlin/com/netflix/graphql/dgs/internal/DataFetcherInvoker.kt#L134C37-L134C47

Describe Preferred Solution

Ability to customize the dispatcher

Describe Alternatives

Currently customising this is basically impossible without forking, or "rewriting/rewiring" big part of what DGS does to tie things together.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions