-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #42914 from mariofusco/q42774
Fix Jackson serializers generation for interfaces and boxed primitive types
- Loading branch information
Showing
7 changed files
with
93 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 4 additions & 0 deletions
4
...ment/src/test/java/io/quarkus/resteasy/reactive/jackson/deployment/test/ContainerDTO.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
package io.quarkus.resteasy.reactive.jackson.deployment.test; | ||
|
||
public record ContainerDTO(NestedInterface nestedInterface) { | ||
} |
28 changes: 28 additions & 0 deletions
28
...t/src/test/java/io/quarkus/resteasy/reactive/jackson/deployment/test/NestedInterface.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
package io.quarkus.resteasy.reactive.jackson.deployment.test; | ||
|
||
public interface NestedInterface { | ||
|
||
NestedInterface INSTANCE = new NestedInterface() { | ||
@Override | ||
public String getString() { | ||
return "response"; | ||
} | ||
|
||
@Override | ||
public Integer getInt() { | ||
return 42; | ||
} | ||
|
||
@Override | ||
public char getCharacter() { | ||
return 'a'; | ||
} | ||
}; | ||
|
||
String getString(); | ||
|
||
Integer getInt(); | ||
|
||
char getCharacter(); | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters