Access4Learning / sif3-framework-dotnet

SIF 3.0 Developer Framework for .NET
Apache License 2.0
14 stars 19 forks source link

Navigation page and size in provider's get method #27

Open captainchamp opened 6 years ago

captainchamp commented 6 years ago

The use of navigation page and size are missing in Get(string, string, string, string, string, string, string[], string[]) implementation in Provider.

It can be added it by doing this:

`uint? navigationPage = HttpUtils.GetNavigationPage(Request.Headers); uint? navigationPageSize = HttpUtils.GetNavigationPageSize(Request.Headers);

TMultiple objs = service.Retrieve(conditions, navigationPage, navigationPageSize, ..`

asdaws commented 6 years ago

@rafidzal It looks a bit like this might now be implemented, but I don't see any support for the navigationId header, which means support for Provider cached query results is missing, or have I overlooked it somehow?

asdaws commented 6 years ago

And I'm guessing the queryIntention header will need to be passed through as well.