Skip to content

Conversation

@brycekbargar
Copy link
Collaborator

A small fix for streaming SRS endpoints and a larger fix for complicated queries.

There was a lot of folio/httpx logic piling up here that wasn't specifically related to ldlite. This was likely to increase over time with ECS and async support. I moved the authentication and query parameter code to a separate httpx-folio library which I then switched to with this PR.

Coincidentally, there were some edge cases around sorting and paging that weren't well handled by LDLite and the intended behavior was never clear either. This became worse when I switched to id offset based paging with 3.1. Pulling the query parameter logic out allowed for more thorough testing and handling of these edge cases and LDLite should behave better for ad-hoc usage where queries are more likely to be sorted and subsets of data are more likely to be returned.

I also accidentally exposed the new folio module in 3.1 when I intended for it to be internal.
@brycekbargar brycekbargar merged commit 820f0c0 into main Sep 10, 2025
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants