zio / zio-http

A next-generation Scala framework for building scalable, correct, and efficient HTTP clients and servers
https://zio.dev/zio-http
Apache License 2.0
800 stars 403 forks source link

Added Schema based query param access in QueryGetters\QueryModifier. #3202

Open harshtech123 opened 1 week ago

harshtech123 commented 1 week ago

/claim #3176 /closes #3176

QueryGetters : is now able to read schema based query params as well

queryParamsTo, queryParamsToZIO, queryParamTo, and queryParamToZIO now accept a schema parameter for validation in QueryGetters.

In QueryModifier, addQueryParam and addQueryParams now validate each parameter against an optional schema.

CLAassistant commented 1 week ago

CLA assistant check
All committers have signed the CLA.