PagedResourcesAssembler should expose first and last links [DATACMNS-701] #1167
Comments
Oliver Drotbohm commented I wonder if we should apply some restrictions on when these links actually are supposed to appear? Should they only be rendered if more than one page is available in total? Should I'm currently leaning towards not rendering the link in case they "don't make sense". So not rendering What do you think of using the adaptive behavior by default but providing a configuration option to enforce the |
Greg Turnquist commented I agree with defaulting to a dynamic set of links based on conditions, but providing a single property to switch to ALWAYS ON rendering. |
Vladimir Tsukur commented Having Consider an alternative case when Still, making this overall dynamism configurable is a good idea |
André Schäfer commented The default rendering behavior of |
Oliver Drotbohm commented That's in place now. We slightly altered the appearance rules compared to what I sketched out above:
Also, |
Chris Georgoulis opened DATACMNS-701 and commented
Currently the default HAL representation for collections only provides
next
andprev
rels for navigating collections. It would be nice to also addfirst
andlast
rels as well since these are very common buttons / links that are used when representing data with tables client - sideReference URL: http://stackoverflow.com/questions/30281438/spring-data-rest-hateoas-first-and-last-rels/30302068#30302068
0 votes, 5 watchers
The text was updated successfully, but these errors were encountered: