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

Use non-deprecated function names for oapi-codegen/runtime #1359

Conversation

cimitan
Copy link
Contributor

@cimitan cimitan commented Nov 22, 2023

Hi, I noticed linting was failing in a project of mine and that was due to deprecated packages being referenced. I assume this could be a leftover / oversight from v2.0.0

I did not run tests to make sure other bits are not being broken by this change, but it looked safe to me at first.

Thanks

As part of oapi-codegen/runtime v1.1.0, we renamed these for common
initialisms and deprecated the existing methods, which means this may
show up as a warning in IDEs or tooling.
@jamietanna jamietanna force-pushed the defect/replace-deprecated-strictnethttp-funcs branch from 4690f5a to ffe2282 Compare December 13, 2023 13:26
@jamietanna jamietanna changed the title replaced deprecated func Use non-deprecated function names for oapi-codegen/runtimereplaced deprecated func Dec 13, 2023
@jamietanna jamietanna changed the title Use non-deprecated function names for oapi-codegen/runtimereplaced deprecated func Use non-deprecated function names for oapi-codegen/runtime Dec 13, 2023
@jamietanna
Copy link
Member

Thanks very much @cimitan! Yeah this was due to the oapi-codegen/runtime library's https://github.com/oapi-codegen/runtime/releases/tag/v1.1.0 release, and we'd not come back to update here. Thanks for the fix, I've also added the other initialism we updated, and regenerated all the code.

@jamietanna jamietanna merged commit c2de8bf into oapi-codegen:master Dec 13, 2023
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants