Uploaded image for project: 'ODATA'
  1. ODATA
  2. ODATA-22

ODataQuerySettings not loaded from Context

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Unknown Unknown
    • 1.0.1
    • Affects Version/s: 1.0.0
    • 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@mongodb.com Oleksandr Poliakov
            Reporter:
            sergio.maestrello@gmail.com Sergio Maestrello
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: