-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
AutoValue: Support String[] array #320
Comments
We deliberately don't support object arrays, including |
Yeah I can understand those reasons. Unfortunately I'm on Android where I don't have Guava Included hence I don't get If AutoValue would support |
Everyone can modify the contents of String[] as well. You can use On Mon, Apr 11, 2016, 5:36 PM Niklas Baudy [email protected] wrote:
|
The point is that with an array, AutoValue would know how to just insert Niklas: for what it's worth, Guava does support Android... On Mon, Apr 11, 2016 at 2:39 PM, Jake Wharton [email protected]
Kevin Bourrillion | Java Librarian | Google, Inc. | [email protected] |
To prevent anyone from modifying For now I'll stick to @kevinb9n I know that Guava supports Android but I don't feel like adding 15k methods to my android project just to get immutable classes. |
On Mon, Apr 11, 2016 at 2:54 PM, Niklas Baudy [email protected]
Kevin Bourrillion | Java Librarian | Google, Inc. | [email protected] |
Right now it is not supported as only primitive arrays are supported. Would love to have support for String[] aswell.
If you're also interested in this I could start an implementation.
The text was updated successfully, but these errors were encountered: