-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
Add Jackson Module Kotlin dependency when Kotlin is the selected language #400
Comments
Make sense but I guess the tricky point is to be able to detect when an initializr dependency transitively included Jackson one. @snicoll Do you see a way to achieve that? |
It does and it is technically feasible but I am not keen to bring that kind of complexity in initializr at this point. We have had similar requests to add java8 specific artifacts before Java8 became an obvious default and we rejected them. |
I plan to work on a Spring Boot 2.0 + Kotlin guide, I think I will add that as a documentation item then. |
Here are couple alternate suggestions @snicoll:
Definitely understand the desire to reduce complexity. Not expecting these to be accepted, just throwing ideas out there. |
@fitzoh thanks for the suggestions. Both have been evaluated and I am afraid that doesn't work:
#353 is very high on my list so I hope to apply your second suggestion (in a different manner) soon. |
Cool, that definitely sounds like the place for it... Cheers! |
Hello everyone, I encountered this same issue and banged my head a while before finding the solution. From the perspective of a long time Spring Initializr user, it's the first time I recall that I didn't enjoy a totally frictionless experience. Thanks for your time, P.S. Currently I am using @sdeleuze's Mixit application as the canonical way to build a Spring Boot 2.x + Kotlin app. |
@geoand this issue is closed and the Mongo issue is something unrelated to this issue. I've already replied for the Jackson part, I have no idea what you mean with the other issue. Perhaps we could chat on Gitter? If you have a compelling use case for the mongodb part, please create a separate issue. I don't think Initializr is supposed to fix the problem you experienced (at least the first one). |
@snicoll Sure thing! I will PM you on Gitter :) |
Spring Framework Also Spring + Kotlin documentation is coming with a specific mention about that topic. |
Jackson Module Kotlin adds support for serializing/deserializing Data classes and some other built in classes.
It should be included as a dependency when Kotlin is selected if another module which provides jackson is included.
The text was updated successfully, but these errors were encountered: