aileftech / snap-admin

A plug-and-play, auto-generated CRUD database admin panel for Spring Boot apps
MIT License
256 stars 20 forks source link

Unable to set values of `@ManyToMany` relationships mapped to something different than a `List` #35

Closed aileftech closed 11 months ago

aileftech commented 11 months ago

Describe the bug When a @ManytoMany relationship is not mapped to a List (e.g. to a Set) setting the values fails with a java.lang.IllegalArgumentException: argument type mismatch error. By default, we always pass a List to the setter method even if it expects a Set.