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
Currently there is no support for ToPageAsync extension method's when using Hotchocolate.Data.Marten.
Existing EntityFrameworkCore version
publicclassGetBrandQueryHandler(CatalogContextcontext):IRequestHandler<GetBrandsQuery,Page<Brand>>{publicasyncTask<Page<Brand>>Handle(GetBrandsQueryrequest,CancellationTokencancellationToken)=>awaitcontext.Brands.With(request.Query, s =>s.AddAscending(t =>t.Id)).ToPageAsync(request.PagingArguments,cancellationToken);}
The solution you'd like
I would like to implement it so that it has the same signature as Hotchocolate.Data.EntityFrameworkCore.
Marten (not implemented)
publicclassGetBrandQueryHandler(IDocumentSessionsession):IRequestHandler<GetBrandsQuery,Page<Brand>>{publicasyncTask<Page<Brand>>Handle(GetBrandsQueryrequest,CancellationTokencancellationToken)=>awaitsession.Query<Brand>().With(request.Query, s =>s.AddAscending(t =>t.Id)).ToPageAsync(request.PagingArguments,cancellationToken);}
The text was updated successfully, but these errors were encountered:
Product
Green Donut
Is your feature request related to a problem?
Currently there is no support for ToPageAsync extension method's when using Hotchocolate.Data.Marten.
Existing EntityFrameworkCore version
The solution you'd like
I would like to implement it so that it has the same signature as Hotchocolate.Data.EntityFrameworkCore.
Marten (not implemented)
The text was updated successfully, but these errors were encountered: