Skip to content

Fix buckets type for multi-bucket aggregates #6639

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

Merged
merged 1 commit into from
Jul 29, 2022
Merged

Conversation

stevejgordon
Copy link
Contributor

After flattening the inheritance hierarchy for types, multi-bucket aggregates lost their derived manual handling for the buckets property which opts to avoid the use of a union by preventing the use of keyed buckets. This PR reapplies the fixup for these types as part of code generation.

@stevejgordon stevejgordon added enhancement 8.x Relates to a 8.x client version labels Jul 29, 2022
@stevejgordon stevejgordon merged commit dbfd6b6 into main Jul 29, 2022
@stevejgordon stevejgordon deleted the fix-buckets branch July 29, 2022 12:00
stevejgordon added a commit that referenced this pull request Jul 29, 2022
stevejgordon added a commit that referenced this pull request Jul 29, 2022
stevejgordon added a commit that referenced this pull request Jul 29, 2022
stevejgordon added a commit that referenced this pull request Jul 29, 2022
stevejgordon added a commit that referenced this pull request Jul 29, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
8.x Relates to a 8.x client version
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant