Skip to content

OData query parameters for v1 fail because of missing $ sign #2

@baywet

Description

@baywet

The typical URL template look something like

https://graph.microsoft.com/v1.0/users{?select,expand,orderby,top}

and will resolve to something like

https://graph.microsoft.com/v1.0/users?select=displayName

This is not an issue in beta because the service doesn't require the dollar sign. However it is an issue in v1.0 because the dollar sign is required.
The service will either ignore the query string parameter or fail, depending on the backend workload.

We can't use the dollar sign in the url template as it is not allowed by the specification.
The service is not planning to remove that requirement as it might break some existing applications.

The solution would be to add a middleware to do string replacement of those values and insert the dollar sign before executing the request.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions