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

bugfix: dont throw error if +required is set with omitempty #455

Merged
merged 2 commits into from
Feb 24, 2024

Conversation

alexzielenski
Copy link
Contributor

I had included a bug into previous PR #448 which throws an error if +required is set on an omitempty field which ran counter to my interests.

Took another stab at it, this time including tests :)

/assign @Jefftree
sorry for the churn.

/hold

Am also going to try to pin dep after this one so will wait for green PR there before merging this

@k8s-ci-robot k8s-ci-robot added do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. labels Feb 23, 2024
@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: alexzielenski

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@k8s-ci-robot k8s-ci-robot added approved Indicates a PR has been approved by an approver from all required OWNERS files. size/L Denotes a PR that changes 100-499 lines, ignoring generated files. labels Feb 23, 2024
pkg/generators/openapi.go Outdated Show resolved Hide resolved
pkg/generators/openapi.go Outdated Show resolved Hide resolved
pkg/generators/union.go Outdated Show resolved Hide resolved
@alexzielenski
Copy link
Contributor Author

added another commit to fix another bug that was exposed when i pulled the changes into k/k. Newly evaluated enums sometimes alias each other and cause duplicate entries.

pkg/generators/openapi.go Outdated Show resolved Hide resolved
@Jefftree
Copy link
Member

/lgtm

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Feb 23, 2024
@alexzielenski
Copy link
Contributor Author

/hold cancel

@k8s-ci-robot k8s-ci-robot removed the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Feb 24, 2024
@k8s-ci-robot k8s-ci-robot merged commit 582cce7 into kubernetes:master Feb 24, 2024
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. lgtm "Looks good to me", indicates that a PR is ready to be merged. size/L Denotes a PR that changes 100-499 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants