properties - Show Skip, Take, OrderBy in ServiceStack metadata page -
in of services using servicestack autoquery greater simplify data access. helpful.
when looking @ metadata page correctly shows data operations available not show default iquery ones skip, take, orderby, , orderbydesc. these show since query operations. tried several things not figure out.
i thought autoquery ignore properties solution, not sure still don't show.
var autoquery = new autoqueryfeature() { orderbyprimarykeyonpagedquery = true }; autoquery.ignoreproperties.remove("skip"); autoquery.ignoreproperties.remove("take"); autoquery.ignoreproperties.remove("orderby"); autoquery.ignoreproperties.remove("orderbydesc"); plugins.add(autoquery);
the metadata pages have been modified show definitions of built-in servicestack types querybase
in metadata pages in commit.
this change available v4.0.41+ of servicestack that's available on myget.
Comments
Post a Comment