Skip to content

DataFetcherResult extensions are ignored #1201

Closed as duplicate
Closed as duplicate
@Kravuar

Description

@Kravuar

Migrated from 1.3.4 to 1.3.5
In my DataFetcher I was returning DataFetcherResult with extensions:

return DataFetcherResult.newResult()
                    .data(...)
                    .extensions(Map.of(...))
                    .build();

In 1.3.5 in org.springframework.graphql.execution.ContextDataFetcherDecorator::get method there's new piece of code, which reconstructs the DataFetcherResult, but without extensions being passed from original one. Is this a bug, or am I'm using DataFetcherResult wrong?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions