Replies: 2 comments
-
|
I saw #1243 too but it has been opened 9 years ago. Any plan for nullity management ? |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
Personally, I'd just love the generation of |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
JSpecify is going to be the standard way to deal with null safety.
It's already fully implemented in Spring 7 and spring boot 4.
Is there a plan to support JSpecify ?
At the moment I can't find a way to not break the whole chain when using the recommended approach (@NullMarked).
I saw the old post #2643 about null safety but I didn't find any response.
When mapping with default configuration a method
public TargetDto toEmbeddedDto(Source entity)(with @NullMarked it's the same as:public @NonNull TargetDto toEmbeddedDto(@NonNull Source entity)the generated code is:I also try with other configurations like
nullValueMappingStrategy = NullValueMappingStrategy.RETURN_DEFAULTbut I always pbs:Is there a way with the current implementation to have something like that ?
Beta Was this translation helpful? Give feedback.
All reactions