unloggedio / intellij-java-plugin

IntelliJ plugin with java language support
https://unlogged.io
Apache License 2.0
12 stars 1 forks source link

Map<Boolan,List<Pojo>> fails to serialize on 0.6.2 for a certain method #11

Open TheAmg opened 5 months ago

TheAmg commented 5 months ago

Describe the bug

A method with return type Map<Boolean,List> (from unlogged-spring-maven-demo) doesn't serialize properly. This results in no assertions being generated when trying to save the candidate.

https://github.com/unloggedio/intellij-java-plugin/assets/68552461/78f721bf-4d80-4941-868e-d4ea9bb224d7

Screenshot 2024-06-13 at 4 02 54 PM

Reproduction steps

  1. Start unlogged-spring-maven-demo with SDK 0.6.2
  2. DirectInvoke the method partitionBy in StreamOpsController
  3. Check the recorded value for this candidate/Try to save.

Expected behavior

Map<Boolean,List> should get serialized properly and proper assertions should get generated when trying to save a candidate for this method.

Additional context

No response