Skip to content

feat(tonic): Support register a validation function allowing context#95

Open
jonas0616 wants to merge 1 commit intoloopfz:masterfrom
jonas0616:feat/register-validation-ctx
Open

feat(tonic): Support register a validation function allowing context#95
jonas0616 wants to merge 1 commit intoloopfz:masterfrom
jonas0616:feat/register-validation-ctx

Conversation

@jonas0616
Copy link

This MR added a new function RegisterValidationCtx() to tonic. It is similar to RegisterValidation(), but the registered validator function can now access the context.Context as an additional parameter.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant