microsoftgraph / microsoftgraph/msgraph-sdk-go
extra $ sign on ListSites "search" query param
Nobody has claimed this yet.
- Dominant language
- Go
- Stars
- 335
- Forks
- 43
- Avg merge
- 15h 19m
- Merged PRs (30d)
- 3
Description
when setting the query params of listSites request using RequestInformation class, the template used for preparing the URL uses "$search" while the API expects "search" without the "$" sign.
To work around it I had to patch the httpRequest manually:
"httpRequest.URL.RawQuery = "search=%2A"
However, currently it is not supported using the SDK.
Thanks
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start at the generated ListSites request builder and its RequestInformation query-parameter template. Compare the emitted query key with the API's expected search key and inspect any existing request tests or URL assertions. Done when SDK configuration produces search=%2A without the extra $, without manual RawQuery editing.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go
- Domain
- api
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100