I have 2 objects, Foo and Bar (a Foo is @ManyToOne with Bar), and a very basic repository interface in Spring Boot 2.0, and a method:
List<Foo> findByBarIn(@Param("bar") List<Bar> bar);
This gets mapped by Spring to an endpoint called /foos/search/findByBarIn
I can specify a single bar doing something like
GET http://host/foos/search/findByBarIn?bar=http://host/bars/33 (where 33 is the ID the of the Bar entity)
But, how can I specify multiple bars?
I've tried: (with no success)
GET http://host/foos/search/findByBarIn?bar=http://host/bars/33,http://host/bars/44
GET http://host/foos/search/findByBarIn?bar=http://host/bars/33&bar=http://host/bars/44