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

[http-client] Generate VarArgs Correctly #264

Merged
merged 6 commits into from
Aug 8, 2023

Conversation

SentryMan
Copy link
Collaborator

Adds a way to detect if an element is a varArg, and generates the implementation with a vararg param instead of an array.

@SentryMan
Copy link
Collaborator Author

I've never had to use regex this much until I started working on these libs. It has turned out to be much more useful for AP than I had imagined. In any case, I'm good with this.

@rob-bygrave rob-bygrave merged commit b6bfb8b into avaje:master Aug 8, 2023
2 checks passed
@rob-bygrave rob-bygrave added this to the 2.0 milestone Aug 8, 2023
@SentryMan SentryMan deleted the var-arg branch August 8, 2023 21:28
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.

None yet

2 participants