-
-
Notifications
You must be signed in to change notification settings - Fork 811
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
Bug: using x-go-type-name results in missing types #1397
Bug: using x-go-type-name results in missing types #1397
Conversation
I've managed to make my fix work with a couple of other tweaks to how schema types are used. All tests pass and all generated code tests remain the same except my new one which is fixed by this change. |
Hi @jamietanna @deepmap-marcinr - if you get a minute, is there any chance of triggering the workflow for this PR so that I can make sure it's review-ready? Thanks :-) |
Thanks @jamietanna, it seems to be ok 😌 |
Thanks for the changes - I'm not going to merge it just yet (and focus on getting the release out now) but will get this in for the next release, hopefully in a couple of weeks. Thanks! |
@jamietanna are we able to get this merged now? |
bump :-) |
Hi @jamietanna, just checking in on this PR - if there's anything you need me to do, please let me know. |
Hi @jamietanna is there any chance if getting this PR moving again please? |
Would you mind making sure the latest main branch is merged in? Can't see GitHub Actions having run. I've got a day off tomorrow which I'm planning on spending a good chunk on oapi-codegen, so hopefully will get to this after #1254 |
No problem, I'll get onto that after some lunch :-) |
@jamietanna all up to date, tests pass locally - please trigger the github actions when you get a chance :-) |
Hi @jamietanna how did you get on with looking at this on Friday? |
@jamesphillpotts-fr would you say that this PR should also close off #1354 ? |
@jamietanna once |
Thanks for your patience! |
This PR describes an issue with type generation when the
x-go-type-name
is used. The assigned type name is correctly used on theMyTestRequest
but types for the enum type and the sub type that also has thex-go-type-name
are missing.