Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: honor LightDataFetcher on by level batching logic (#1795) #1796

Conversation

samuelAndalon
Copy link
Contributor

@samuelAndalon samuelAndalon commented Jun 6, 2023

📝 Description

Now that PropertyDataFetcher implements LightDataFetcher we need to make sure we respect that and on the LEVEL_DISPATCHED batching mechanism, decorate the DataFetcher properly depending if its LightDataFetcher, or just DataFetcher

…#1795)

### 📝 Description
Now that
[PropertyDataFetcher](https://github.com/ExpediaGroup/graphql-kotlin/blob/master/generator/graphql-kotlin-schema-generator/src/main/kotlin/com/expediagroup/graphql/generator/execution/PropertyDataFetcher.kt#L31)
implements `LightDataFetcher` we need to make sure we respect that and
on the `LEVEL_DISPATCHED` batching mechanism, decorate the DataFetcher
properly depending if its `LightDataFetcher`, or just `DataFetcher`
@samuelAndalon samuelAndalon merged commit 5d3a9cb into ExpediaGroup:6.x.x Jun 6, 2023
@samuelAndalon samuelAndalon deleted the feat/batching-light-data-fetcher branch June 6, 2023 18:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants