Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

extra $ sign on ListSites "search" query param

Open
#532 1 comment 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
35/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
go
Domain
api

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.

Description

bug

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

Dominant language
Go
Stars
332
Forks
43
Avg merge
6h 42m
Merged PRs (30d)
4

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from microsoftgraph/msgraph-sdk-go

All issues in microsoftgraph/msgraph-sdk-go

Similar issues

More Go issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.