You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Im adding this issue more as a question mark. I myself use some rest service based on this project and one thing i find difficult to think about in a clean, non redundant way is filtering and ordering. Are there any plans on adding these features someday? Id love to see how to go about that in a nice way. Right now i just have doobie queries matching the different kind of filterings / ordering i need with the matching endpoints. This somehow seems like a very bloated way to do it. I envision maybe something like an Ordering middleware thats able to map orderby=(field name) and orderType=(asc/desc). This seems hard to do however because of the different types and domains involved, but im not experienced enough to judge on that ;).
What are your thoughts?
The text was updated successfully, but these errors were encountered:
I believe a general pattern throughout the system. Something that supports more advanced queries and possibly building the query. Consider something like the following:
Its easy to create an endpoint expecting the specific (optional)values and create some business to check whats there and then point to some specific doobie implementation, but this seems verbose so im wondering about doing stuff like that in a more generic/dynamic way that follows a clean pattern.
*I see allot of discussion regarding the "right" way to do this in REST, so im not advocating for a specific method or uri schema, im just thinking about the concept.
Hello,
Im adding this issue more as a question mark. I myself use some rest service based on this project and one thing i find difficult to think about in a clean, non redundant way is filtering and ordering. Are there any plans on adding these features someday? Id love to see how to go about that in a nice way. Right now i just have doobie queries matching the different kind of filterings / ordering i need with the matching endpoints. This somehow seems like a very bloated way to do it. I envision maybe something like an Ordering middleware thats able to map orderby=(field name) and orderType=(asc/desc). This seems hard to do however because of the different types and domains involved, but im not experienced enough to judge on that ;).
What are your thoughts?
The text was updated successfully, but these errors were encountered: