meilisearch / meilisearch/meilisearch-php
Add option to pass headers directly in the Client builder - For example to easily pass X-MS-USER-ID
Open
Nobody has claimed this yet.
enhancement
- Dominant language
- PHP
- Stars
- 757
- Forks
- 125
- Avg merge
- 6d 8h
- Merged PRs (30d)
- 2
Description
Description
I need to pass X-MS-USER-ID to track my user because I use search in my backend and not my front end. No easy way to pass them at Meilisearch Client build. And I do not want to pass a Guzzle client at build time.
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 by inspecting the PHP Client builder and the existing path for supplying a Guzzle client. Determine how request headers are currently configured, then define the direct-header option requested for X-MS-USER-ID without removing Guzzle client support. Done means callers can pass headers while building the Meilisearch Client.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php
- Domain
- api, backend-api-design
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100