-
Notifications
You must be signed in to change notification settings - Fork 135
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
Compatibility with Spring 6 #794
Comments
With SDK release 11.0.0, we've moved away from Spring Boot (2.x) and Spring 5 dependencies. In this effort, we've replaced Spring Rest Template with Apache HttpClient5. Therefore, compatibility with Spring should no longer be an issue. Let me know if that helps! |
It's definitely a good move to depend on a lower-level API than Spring for the generated client. Also, the main exception type ResourceException was changed to ApiException, which is now a checked exception => is there a good reason for that? This is a major disruption to existing code bases, especially when using lambda extensively (which I do). It's something that should be at least mentioned in the migration guide. PS: couldn't you release alpha / beta version of the client to fix this kind of major issues before releasing the first "GA" version? I'll be willing to test this early versions. |
@clementdenis Thanks for your feedback! We definitely considered a alpha/beta version initially but later decided to go with a GA version per internal product guidelines. I'll work on getting more details into the migration guide/changelog to be as helpful as possible. Meanwhile, please try out the SDK and I'd be happy to hear more feedback. And, feel free to close this issue if you don't have any followups on this particular issue. |
As mentioned before, I've tried it, but definitely can't use it until pagination is back ... |
Will mark this issue resolved, pagination will be addressed in #884 |
Describe the feature request?
It's currently not possible to run the SDK in a Spring 6 / Spring Boot 3 application, due to incompatible code and HTTP client dependencies.
I've fixed the issue in my own branch (PR here), but I won't submit it as you probably want to retain Spring 5 compatibility somehow, which isn't the case here.
Also, it might be better to wait for a new version of the OpenAPI generator that supports Spring 6 (it should be fixed by there), to avoid customizing the handlebars templates as I did.
New or Affected Resource(s)
All
Provide a documentation link
No response
Additional Information?
No response
The text was updated successfully, but these errors were encountered: