API - Revisar todos os Modells, verificar quais Schemas tem o "require: True", se tiver já inserir a mensagem de tratamento. #46

Closed
opened 2026-08-23 12:57:56 +00:00 by fslab · 0 comments
Owner

Migrado do GitLab — Issue !46 · autor original @josejr · 2023-05-17

Exemplo da situação:
const alunoSchema = new mongoose.Schema({
nome: {type: String, required: [true, 'Nome é obrigatório']}
})

> _Migrado do GitLab — Issue !46 · autor original **@josejr** · 2023-05-17_ Exemplo da situação: const alunoSchema = new mongoose.Schema({ nome: {type: String, required: [true, 'Nome é obrigatório']} })
fslab 2026-08-23 12:57:56 +00:00
Sign in to join this conversation.
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
fs-ii-turma-2022-bncc/bncc-back-end#46
No description provided.