Skip to content

Allowed empty cells for non-enum array types in Google Spreadsheets.#60

Merged
kimsama merged 1 commit intokimsama:masterfrom
MokaGames:empty-array
May 7, 2018
Merged

Allowed empty cells for non-enum array types in Google Spreadsheets.#60
kimsama merged 1 commit intokimsama:masterfrom
MokaGames:empty-array

Conversation

@zzxiang
Copy link
Copy Markdown
Contributor

@zzxiang zzxiang commented May 4, 2018

The generated data classes already have array type fields be initialized as zero length arrays instead of null. Therefore, we can safely ignore an array type cell in a spreadsheet if the cell value is empty.

@kimsama
Copy link
Copy Markdown
Owner

kimsama commented May 5, 2018

What does non-enum array type exactly mean? Could you show me any example?

Cheers,

@zzxiang
Copy link
Copy Markdown
Contributor Author

zzxiang commented May 6, 2018

My so-called non-enum array type means an array in which elements are not enums. That means, an int array, a float array, a string array, a double array or a bool array.

@kimsama kimsama merged commit 1e9f379 into kimsama:master May 7, 2018
@zzxiang zzxiang deleted the empty-array branch May 7, 2018 08: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.

2 participants