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

Support enum field for Oneof #257

Open
tnodir opened this issue Dec 24, 2021 · 1 comment
Open

Support enum field for Oneof #257

tnodir opened this issue Dec 24, 2021 · 1 comment
Assignees
Labels
feature New feature to be implemented

Comments

@tnodir
Copy link

tnodir commented Dec 24, 2021

Problem description
Generator doesn't create enum for Oneof cases.

Suggestion/solution
Generator should create enum field for Oneof cases.
And (de)serializer should fill the field.

Additional context
See the docs, how standard CPP generator supports it.

@tnodir tnodir added the feature New feature to be implemented label Dec 24, 2021
@Eijebong
Copy link

Eijebong commented Feb 5, 2022

Am I reading correctly in that there currently no way of knowing which variant of a oneof is populated?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature to be implemented
Projects
None yet
Development

No branches or pull requests

3 participants