PetaPoco icon indicating copy to clipboard operation
PetaPoco copied to clipboard

QueryAsync and FetchAsync missing Overloads for Joins

Open Rafael-Dabrowski opened this issue 1 year ago • 1 comments

We are currently looking forward to integrate PetaPoco in our projects. But we found that the Async API is missing a Key Features. Namely the possibility to configure Joining Criteria which is present in the Sync API through Fetch<T1, T2, TRet>(action, query) and described here: https://github.com/CollaboratingPlatypus/PetaPoco/wiki/Multi-Poco-Queries.

Is this on Purpose? Did we miss something? Are there Timelines to when this will be available?

Kind Regards

Rafael

Rafael-Dabrowski avatar Jan 05 '24 15:01 Rafael-Dabrowski

@Rafael-Dabrowski, it's been a few years since I implemented Async support, so my memory in this area is a little rough. My best guess is that I focussed on the core APIs and left the few add-on APIs in the to-do basket. Feel free to try added support yourself, as we'd love a PR. Just remember to add tests if you attempt this

pleb avatar Jan 07 '24 23:01 pleb