graphql-platform icon indicating copy to clipboard operation
graphql-platform copied to clipboard

Add PagingQueryableExtensions for Marten

Open s3w3nofficial opened this issue 8 months ago • 5 comments

I have ported the ToPageAsync extension method from GreenDonut.Data.EntityFramework with some marten specific changes.

Currently it supports all the types as the ef core version except:

  • datetime
  • ulong
  • ushort

Closes #8251

s3w3nofficial avatar Apr 21 '25 21:04 s3w3nofficial

CLA assistant check
All committers have signed the CLA.

CLAassistant avatar Apr 21 '25 21:04 CLAassistant

How did you handle ToBatchPageAsync? we have already a port for ToPageAsync but ToBatchPageAsync does not work with marten as of now. Marten will need to implement GroupBy support for this.

michaelstaib avatar Apr 28 '25 07:04 michaelstaib

How did you handle ToBatchPageAsync? we have already a port for ToPageAsync but ToBatchPageAsync does not work with marten as of now. Marten will need to implement GroupBy support for this.

I did not try to implement the ToBatchPageAsync since the GroupBy is not supported.

s3w3nofficial avatar Apr 28 '25 22:04 s3w3nofficial

We are talking at the moment with Jeremy to get some changes into the queryable provider thats why we do not have a provider as of now ... I will leave this as a draft open. But I do not want to have it in this state. Especially as I want to share more between drivers and allow for easier maintainability.

michaelstaib avatar May 01 '25 10:05 michaelstaib

@s3w3nofficial we will soon pick this back up ... sorry for the wait. I will include you in the work as soon as we have the main bulk for the new type system abstractions merged.

michaelstaib avatar May 19 '25 09:05 michaelstaib