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

Fix ArgumentError when calling dup on aggregations #1090

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

rafayqayyum
Copy link

This PR fixes an issue where calling .dup on aggregations in elasticsearch-rails results in the following error:

ArgumentError Exception: wrong number of arguments (given 2, expected 0..1)
Testing
Verified that .dup now works correctly on aggregations.
Ensured no breaking changes in existing functionality.

Copy link

❌ Author of the following commits did not sign a Contributor Agreement:
a976b7c

Please, read and sign the above mentioned agreement if you want to contribute to this project

@rafayqayyum
Copy link
Author

❌ Author of the following commits did not sign a Contributor Agreement: a976b7c

Please, read and sign the above mentioned agreement if you want to contribute to this project

I have signed the Contributor Agreement but this won't go away

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant