riskfirst.hateoas icon indicating copy to clipboard operation
riskfirst.hateoas copied to clipboard

Could not load type 'Microsoft.AspNetCore.Http.Internal.QueryCollection' from assembly 'Microsoft.AspNetCore.Http, Version=5.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60'.

Open zeWizard opened this issue 4 years ago • 0 comments

Hi,

first of all love the library!.

I'm just having a minor issue with paging when using .NET 5.

Basically the LinksHandlerContext has this line:

public IQueryCollection CurrentQueryValues => ActionContext?.HttpContext?.Request?.Query ?? new QueryCollection();

and by removing the 'new QueryCollection', it allows the operation to work as expected.

I have a change which seems to fix it for me, i was hoping you guys could review and push a new build.

Thanks

zeWizard avatar Feb 27 '21 04:02 zeWizard