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

[Generator] Required arguments pointers shouldn't be nil #401

Merged
merged 2 commits into from
Jan 20, 2022

Conversation

Anaethelion
Copy link
Contributor

This PR addresses the fact that required arguments that can be pointers shouldn't be passed as nil.
It aligns with the behavior of other clients and partly addresses #201

@Anaethelion Anaethelion merged commit 184c47e into elastic:main Jan 20, 2022
@Anaethelion Anaethelion deleted the required_args_pointers branch January 20, 2022 17:58
Anaethelion added a commit to Anaethelion/go-elasticsearch that referenced this pull request Jan 20, 2022
* Generator: add not nil validation for required arguments

* Skip: add empty required argument tests to skip list
Anaethelion added a commit to Anaethelion/go-elasticsearch that referenced this pull request Jan 20, 2022
* Generator: add not nil validation for required arguments

* Skip: add empty required argument tests to skip list
Anaethelion added a commit that referenced this pull request Jan 24, 2022
* Generator: add not nil validation for required arguments

* Skip: add empty required argument tests to skip list
Anaethelion added a commit that referenced this pull request Jan 24, 2022
* Generator: add not nil validation for required arguments

* Skip: add empty required argument tests to skip list
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