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

add inline option to embeded struct's json tag #18

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

sanchezl
Copy link

Embedded structs are generated without any explicit json tag, leaving the interpretation of the embedded struct ambiguous. Adding the inline option to the embedded struct's json tag.

yuqi-zhang added a commit to yuqi-zhang/machine-config-operator that referenced this pull request Feb 18, 2020
Following https://github.com/openshift/api#generating-crd-schemas,
add in ability to generate CRD schemas. Note that this currently
does not work pending idubinskiy/schematyper#18

Signed-off-by: Yu Qi Zhang <jerzhang@redhat.com>
@lucab
Copy link

lucab commented Feb 28, 2020

Ping @idubinskiy. Any chance you could review (and eventually merge) this soonish?

@JAORMX
Copy link

JAORMX commented Mar 5, 2020

would be great to get this merged

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.

3 participants