Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

#2 Crud de curso #10

Open
wants to merge 25 commits into
base: develop
Choose a base branch
from
Open

#2 Crud de curso #10

wants to merge 25 commits into from

Conversation

JheannyC
Copy link

@JheannyC JheannyC commented Feb 3, 2021

Closes #2

@GhostDovahkiin
Copy link

Jhê, o DTO adiciona uma camada para a entidade Course, então houve um errinho em relação a divisão dos componentes e responsabilidades de cada classe. O @RestController deve ser utilizado em uma classe somente de controller, e não dentro do DTO. Alguns arquivos desnecessários como .idea/ subiram junto do commit, o que não é algo bom pra estrutura do projeto. Dá uma olhada melhor em DTO em alguns projetos aqui do @ayty-org e retira os métodos do controller pra uma classe específica.

Após isso, creio que esteja tudo ok para um merge.
🔥 🔥

@JheannyC JheannyC self-assigned this Feb 5, 2021
.idea/compiler.xml Outdated Show resolved Hide resolved
.idea/dataSources.xml Outdated Show resolved Hide resolved
.idea/hatcher-api.iml Outdated Show resolved Hide resolved
.idea/misc.xml Outdated Show resolved Hide resolved
.idea/sqldialects.xml Outdated Show resolved Hide resolved
.idea/compiler.xml Outdated Show resolved Hide resolved
.idea/compiler.xml Outdated Show resolved Hide resolved
.idea/dataSources.xml Outdated Show resolved Hide resolved
.idea/dataSources.xml Outdated Show resolved Hide resolved
.idea/hatcher-api.iml Show resolved Hide resolved
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

CRUD de Curso
5 participants