Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Graph linq queries on Lists do not seem to support $filter #68

Closed
1 task done
jansenbe opened this issue Jun 17, 2020 · 4 comments
Closed
1 task done

Graph linq queries on Lists do not seem to support $filter #68

jansenbe opened this issue Jun 17, 2020 · 4 comments
Assignees
Labels
area: linq 🧝‍♂️ LINQ magic bug Something isn't working

Comments

@jansenbe
Copy link
Contributor

Category

  • Bug

Describe the bug

Graph linq queries on Lists do not seem to support $filter. This sites/bertonline.sharepoint.com,b56adf79-ff6a-4964-a63a-ff1fa23be9f8,8c8e101c-1b0d-4253-85e7-c30039bf46e2/lists?$filter=name eq 'AddListItemViaRest' fails with

{
    "error": {
        "code": "invalidRequest",
        "message": "The provided filter statement is not supported",
        "innerError": {
            "date": "2020-06-17T11:22:15",
            "request-id": "df3455a3-1376-4253-a8ad-12419764aea5"
        }
    }
}

We need to make the Linq query support more intelligent and able to forcefully use REST for this reason

@jansenbe jansenbe added the bug Something isn't working label Jun 17, 2020
@jansenbe jansenbe assigned jansenbe and unassigned PaoloPia Jun 26, 2020
jansenbe added a commit that referenced this issue Jun 26, 2020
…ted expandable properties #57 + partial fix for Graph linq queries on Lists do not seem to support $filter #68
@jansenbe
Copy link
Contributor Author

Partly fixed by checking if the requested fields are available via graph...but still, if the field is available via graph and the $filter is not working this will fail...relates to #38 for a final solution

@jansenbe
Copy link
Contributor Author

jansenbe commented Sep 8, 2020

$filter on a list only seems to work with the displayName field...investigation ongoing

@jansenbe jansenbe added this to the Beta 1 milestone Sep 28, 2020
@jansenbe jansenbe modified the milestones: Beta 1, Beta 2 Dec 7, 2020
@jansenbe
Copy link
Contributor Author

jansenbe commented Dec 7, 2020

Will be fixed when 2.1 version of VROOM API get's rolled out...pushing this to backlog for future validation

@jansenbe jansenbe removed this from the Beta 2 milestone Dec 7, 2020
@jansenbe
Copy link
Contributor Author

Closed as we're not using Graph anymore for list queries

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: linq 🧝‍♂️ LINQ magic bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants