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

Fix intstr.IntOrString to be number or string instead of object #453

Merged

Conversation

nikolasmatt
Copy link
Contributor

@nikolasmatt nikolasmatt commented May 25, 2023

Address the issue where fields of type intstr.IntOrString would generate schemas for an object instead of either string or number literal.

Need to address issue https://github.com/solo-io/gloo-mesh-enterprise/issues/9194

Additionally after the change, code generation seems to edit a bunch of whitespaces too.
BOT NOTES:
resolves https://github.com/solo-io/gloo-mesh-enterprise/issues/9194

@nikolasmatt nikolasmatt marked this pull request as draft May 25, 2023 19:47
@solo-changelog-bot
Copy link

Issues linked to changelog:
https://github.com/solo-io/gloo-mesh-enterprise/issues/9194

@nikolasmatt nikolasmatt marked this pull request as ready for review May 25, 2023 19:51
ashleywang1
ashleywang1 previously approved these changes May 25, 2023
@soloio-bulldozer soloio-bulldozer bot merged commit 2763957 into v0.29.x May 25, 2023
@soloio-bulldozer soloio-bulldozer bot deleted the nmatthiopoulos-9194-intstr-to-number-or-string branch May 25, 2023 22:04
t-edris pushed a commit that referenced this pull request Jun 2, 2023
* add intstr.IntOrStr custom handling and test

* whitespace changes from codegen

* add changelog

* more autogenerated whitespace changes

* remove more whitespaces

* reset watcher.go
soloio-bulldozer bot pushed a commit that referenced this pull request Jun 2, 2023
#457)

* Fix intstr.IntOrString to be number or string instead of object (#453)

* add intstr.IntOrStr custom handling and test

* whitespace changes from codegen

* add changelog

* more autogenerated whitespace changes

* remove more whitespaces

* reset watcher.go

* Move changelog to v0.30.2

---------

Co-authored-by: Nik Matthiopoulos <nikolasmatt@gmail.com>
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.

None yet

3 participants