Skip to content

Instantly share code, notes, and snippets.

View newerton's full-sized avatar
🏖️
Working

Newerton newerton

🏖️
Working
View GitHub Profile
@franciscojsc
franciscojsc / Kind.md
Last active February 27, 2024 10:56
Kind, crie seu cluster Kubernetes localmente com Docker
@arifmahmudrana
arifmahmudrana / joi-locale.ts
Created January 21, 2020 13:05
joi localization internationalization error messages
import { object, string, number, ValidationError } from '@hapi/joi';
const schema = object({
searchCode: string()
.required()
.label('Search code'),
id: number().required()
}),
messages = {
'alternatives.all': '{{#label}} does not match all of the required types',