Skip to content

feature-02-update-http-response#2

Draft
andresWeitzel wants to merge 6 commits into
masterfrom
feature-02-update-http-response
Draft

feature-02-update-http-response#2
andresWeitzel wants to merge 6 commits into
masterfrom
feature-02-update-http-response

Conversation

@andresWeitzel

@andresWeitzel andresWeitzel commented Aug 18, 2023

Copy link
Copy Markdown
Owner

Completed Tasks

  • Se agrega utilidad para respuesta json en manejo de excepciones
  • Se modifican los mensajes para logica add product
  • Se agrega clase para validación
  • Se amplia lógica de validación desde service para constraints.

Pending Tasks

  • Modificar todos los métodos CRUD para el manejo de excepciones (para void cambiar a return)
  • Actualizar y verificar response desde postman, sobretodo para op. de tipo crud agregar un helper para response con tipo de codigo)-->ej: throw new ProductoNotFoundException("NO SE PUDO ACTUALIZAR EL PRODUCTO. CAUSADO POR "+ e.getMessage() ,e, true,true
  • Verificar response al eliminar un producto
  • Aplicar todas las validaciones para manejo de errores
  • Analizar de agregar enumerados para mensaje de errores

@andresWeitzel andresWeitzel added the enhancement New feature or request label Aug 18, 2023
@andresWeitzel andresWeitzel self-assigned this Aug 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant