Closed
Description
Having a Query mapping like:
public Page<Season> seasons(@Argument Pageable pageable) {. .. }
and a corresponding class:
@Data
public class Pageable {
private int first;
private int offset
}
when querying:
query {
seasons(first:5, offset:10) {
..
}
}
the pageable object in the controller is null
unfortunately.
I think the reason is that it will look for a pageable
input variable and will not look for the individual first
and offset
fields.