Bug: using x-go-type-name results in missing types
This PR describes an issue with type generation when the x-go-type-name is used. The assigned type name is correctly used on the MyTestRequest but types for the enum type and the sub type that also has the x-go-type-name are missing.
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 :relieved:
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?
@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 https://github.com/deepmap/oapi-codegen/issues/1354 ?
@jamietanna once x-go-type-name is added, I believe so, yes.
Thanks for your patience!