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

Conversation

samuelAndalon
Copy link
Contributor

📝 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

@samuelAndalon samuelAndalon merged commit 0a69755 into ExpediaGroup:master Jun 6, 2023
@samuelAndalon samuelAndalon deleted the feat/manually-completable-light-datafetcher branch June 6, 2023 16:47
samuelAndalon added a commit to samuelAndalon/graphql-kotlin that referenced this pull request Jun 6, 2023
…#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 added a commit that referenced this pull request Jun 6, 2023
### 📝 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`
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.

None yet

2 participants