rsaldanar / Spring-Basic

En este proyecto básico Spring tenemos EndPoints utilizando dos tablas y relacionando los datos entre ellas.
0 stars 0 forks source link

No se debe exponer un Optional hacia el exterior #2

Open ecabrerar opened 3 years ago

ecabrerar commented 3 years ago

https://github.com/rsaldanar/Spring-Basic/blob/1b372bc86952c20dbb0e6766f04c59d4b1a2e24c/src/main/java/com/example/springexample/controller/ContactoController.java#L44

ecabrerar commented 3 years ago

https://github.com/rsaldanar/Spring-Basic/blob/1b372bc86952c20dbb0e6766f04c59d4b1a2e24c/src/main/java/com/example/springexample/services/ContactoService.java#L38

ecabrerar commented 3 years ago

https://github.com/rsaldanar/Spring-Basic/blob/1b372bc86952c20dbb0e6766f04c59d4b1a2e24c/src/main/java/com/example/springexample/controller/UsuarioController.java#L46 https://github.com/rsaldanar/Spring-Basic/blob/1b372bc86952c20dbb0e6766f04c59d4b1a2e24c/src/main/java/com/example/springexample/services/UsuarioService.java#L34