Closed khoogheem closed 6 years ago
I just double checked, and with the latest release, which is 1.0.2
, they are public.
return try Product.makePaginate(req).flatMap(to: View.self) { products in
let max = products.page.position.max
produces: 'page' is inaccessible due to 'internal' protection level
The vars default to internal if nothing is there..
Oh I see, the actual variables inside of the structs themselves. I'll fix that up and push an update for it. 👍
Go ahead and update to 1.0.3 https://github.com/vapor-community/pagination/releases/tag/1.0.3
any reason not to make the vars public?