You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
PS: I don’t see this as a critical issue, since it’s easy to work around by explicitly adding the missing type. Still, I’m a big fan of ogen — it's by far the most elegant and thoughtful code generator I’ve used. That’s exactly why I care: a tool this good deserves to never produce non-compilable code, even in edge cases like this.
What version of ogen are you using?
github.com/ogen-go/ogen v1.14.0
Can this issue be reproduced with the latest version?
Yes
What did you do?
What did you expect to see?
Either inferred types based on format, use of jx.Raw without format assumptions, a generation warning, or a schema validation error.
What did you see instead?
Generated code is not compilable due to type mismatches caused by missing type with defined format.
The text was updated successfully, but these errors were encountered: