ODataQuerySettings not loaded from Context

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Unknown
    • 1.0.1
    • Affects Version/s: 1.0.0
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Seems like Context.GetODataQuerySettings(); is not loading correctly ODataQuerySettings.

      I am referring to code at Microsoft.AspNetCore.OData.Query - public virtual IQueryable ApplyTo(IQueryable query, AllowedQueryOptions ignoreQueryOptions).

      I got there from MongoDB.AspNetCore.OData - public override IQueryable ApplyQuery(IQueryable queryable, ODataQueryOptions queryOptions).

      I noticed this since [MongoEnableQuery(PageSize = 3)]  seems not to be working (using the sample available at GitHub).

              Assignee:
              Oleksandr Poliakov
              Reporter:
              Sergio Maestrello
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: