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

serializers: use of illegal fallthrough statement in a type switch #978

Closed
skotambkar opened this issue Dec 14, 2020 · 2 comments · Fixed by #979
Closed

serializers: use of illegal fallthrough statement in a type switch #978

skotambkar opened this issue Dec 14, 2020 · 2 comments · Fixed by #979
Assignees
Labels
bug This issue is a bug.

Comments

@skotambkar
Copy link
Contributor

skotambkar commented Dec 14, 2020

We use fallthrough in a type switch statement in union serializers. Needs a simple fix to not use fallthrough for unknown types, andjust use the default statement.

@skotambkar skotambkar added the bug This issue is a bug. label Dec 14, 2020
@skotambkar skotambkar added this to the v1.0 Release Candidate milestone Dec 14, 2020
@skotambkar skotambkar self-assigned this Dec 14, 2020
@skotambkar
Copy link
Contributor Author

fixed in #979

jasdel added a commit that referenced this issue Dec 15, 2020
Fixes the cases of generated union serializer functions to use the correct types for union members.

Fixes #978
@github-actions
Copy link

⚠️COMMENT VISIBILITY WARNING⚠️

Comments on closed issues are hard for our team to see.
If you need more assistance, please either tag a team member or open a new issue that references this one.
If you wish to keep having a conversation with other community members under this issue feel free to do so.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug This issue is a bug.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant