Implemented the User Agent middleware #6

Merged
javier merged 23 commits from library/user-agent-middleware into main 2025-10-13 00:54:21 +00:00
Owner

This PR contains the work done to implement the UserAgentMiddleware middleware that includes user agent information into a header of the requests sent by the Client type, as defined in the Discogs documentation. For this purpose, the CamelCaseValidationRule, SemanticVersionValidationRule and URLValidationRule types were implemented and integrated into the existing ValidateInputUseCase type.

This PR contains the work done to implement the `UserAgentMiddleware` middleware that includes user agent information into a header of the requests sent by the `Client` type, as defined in the [Discogs documentation](https://www.discogs.com/developers/#page:home,header:home-general-information). For this purpose, the `CamelCaseValidationRule`, `SemanticVersionValidationRule` and `URLValidationRule` types were implemented and integrated into the existing `ValidateInputUseCase` type.
javier added the Kind/Feature
Priority
Critical
labels 2025-10-13 00:54:05 +00:00
javier self-assigned this 2025-10-13 00:54:05 +00:00
javier added 23 commits 2025-10-13 00:54:05 +00:00
javier merged commit 791ebf4f78 into main 2025-10-13 00:54:21 +00:00
javier deleted branch library/user-agent-middleware 2025-10-13 00:54:22 +00:00
Sign in to join this conversation.