SneaksAndData / arcane-framework

Akka.NET-based framework for data streaming services using the Arcane Kubernetes Operator
Apache License 2.0
4 stars 2 forks source link

Allow developers to use custom pagination providers for RestApiSource #65

Closed jrbentzon closed 3 months ago

jrbentzon commented 3 months ago

Currently, RestApiSource has private constructors with factory methods targeting SimpleUriProvider & PagedUriProvider. We can safely allow changing from PagedUriProvider to the Interface IPaginatedApiUriProvider which currently only has a single inheritor in the framework (PagedUriProvider). This will allow developers to use RestApiSource with custom paged URI providers.