agrestio / agrest

Server-side Java REST Framework for easy access to data graphs from various backends
https://agrest.io
Apache License 2.0
81 stars 34 forks source link

"Path exceeds the max allowed depth" exception for attribute sort and 0 depth #608

Closed andrus closed 1 year ago

andrus commented 1 year ago

Per #600 we are checking max depth when sorting by property. This fails with Path exceeds the max allowed depth of 0, the remaining path 'name' can't be processed when the depth is "0" and the path is an attribute.