canonical / identity-platform-admin-ui

Admin UI for the Canonical identity broker and identity provider solution
Other
5 stars 4 forks source link

feat: setup validation for APIs #265

Closed BarcoMasile closed 3 months ago

BarcoMasile commented 3 months ago

Description

This PR introduces what's needed to have validation on each APIs, leveraging both custom ValidationRegistry struct (introduced by this PR) and 3rd party validator already part of the project dependencies.

Changes

shipperizer commented 3 months ago

@wood-push-melon completely valid point on the chaining/builder pattern, happy to create a ticket to refactor NewApi