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

Does not handle cases where the list is empty #2

Open
miyoyo opened this issue Aug 5, 2018 · 2 comments
Open

Does not handle cases where the list is empty #2

miyoyo opened this issue Aug 5, 2018 · 2 comments

Comments

@miyoyo
Copy link

miyoyo commented Aug 5, 2018

if (decode is List) {

@charafau
Copy link
Owner

thanks for comment. surely tests would cover that. real question is, what should generator do in that case? probably skip field.

@miyoyo
Copy link
Author

miyoyo commented Aug 13, 2018

Either skip the field or make it dynamic, whatever you feel more comfortable with

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

No branches or pull requests

2 participants