orangy
sdeleuze
05/11/2016, 2:35 PMsdeleuze
05/11/2016, 2:35 PMsdeleuze
05/11/2016, 2:36 PMnfrankel
05/11/2016, 6:03 PMrocketraman
05/14/2016, 4:55 PMrocketraman
05/14/2016, 6:34 PMsdeleuze
05/16/2016, 8:21 AMrocketraman
05/16/2016, 2:44 PMsdeleuze
05/17/2016, 10:25 AMsdeleuze
05/18/2016, 8:26 AMsdeleuze
05/18/2016, 8:26 AMeluinhost
05/24/2016, 10:01 AMeluinhost
05/24/2016, 10:01 AM@RepositoryRestResource
interface MatchRepository : PagingAndSortingRepository<Match, Long> {
@RestResource(exported = false) override fun delete(id: Long)
@RestResource(exported = false) override fun delete(match: Match)
@RestResource(exported = false) override fun delete(match: Iterable<Match>)
@RestResource(exported = false) override fun deleteAll()
}
eluinhost
05/24/2016, 10:02 AMPropertyReferenceException: No property delete found for type Match
and if I comment it out everything loads as usualeluinhost
05/24/2016, 10:03 AMvoid delete(ID id);
in CrudRepository<T, ID extends Serializable> extends Repository<T, ID>
but it doesn't seem like it gets detected properlycleiter
05/24/2016, 10:05 AMLong
is actually a long
, try Long?
insteadeluinhost
05/24/2016, 10:07 AMeluinhost
05/24/2016, 10:08 AMLong?
keeps the representation as an object, whereas Long
uses the primitive?cleiter
05/24/2016, 10:09 AMlong
but if it can be null you need an objecteluinhost
05/24/2016, 10:09 AMcleiter
05/24/2016, 10:09 AMjava.lang.Long
but it's also not pretty 🙂dharrigan
05/31/2016, 4:25 PMdharrigan
05/31/2016, 4:25 PMsdeleuze
05/31/2016, 5:21 PMsdeleuze
06/06/2016, 9:16 AMjbnizet
06/06/2016, 5:21 PMarrayOf(controller)
instead of just controller
. It's a vararg method. You're not supposed to pass an array.rocketraman
06/06/2016, 8:13 PMsdeleuze
06/09/2016, 9:51 PMsdeleuze
06/09/2016, 9:52 PM