Skip to content

Instantly share code, notes, and snippets.

@1fabiopereira
Created October 12, 2018 12:36
Show Gist options
  • Save 1fabiopereira/ecc8e9b633b0c27ad9d8b534439a7d43 to your computer and use it in GitHub Desktop.
Save 1fabiopereira/ecc8e9b633b0c27ad9d8b534439a7d43 to your computer and use it in GitHub Desktop.
{ ValidationError: child "uv" fails because ["uv" is required],
isJoi: true,
name: 'ValidationError',
details:
[ { message: '"uv" is required',
path: [Array],
type: 'any.required',
context: [Object] } ],
_object:
{ max: '30',
min: '19',
text: 'Sol e aumento de nuvens de manhã. Pancadas de chuva à tarde. À noite o tempo fica aberto.',
icons:
{ day: '4t',
dawn: '2n',
morning: '2',
afternoon: '4t',
night: '2n' },
rain: { precipitation: '5', probability: 80 },
wind: { direction: 'NE', maxVelocity: '9' },
humidity: { min: '42', max: '89' },
uv: undefined },
annotate: [Function] }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment