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

Refactoring of UserRepository #19

Closed
dawciobiel opened this issue Jun 28, 2022 · 2 comments
Closed

Refactoring of UserRepository #19

dawciobiel opened this issue Jun 28, 2022 · 2 comments
Assignees

Comments

@dawciobiel
Copy link
Member

Klasa:
https://github.com/Simple-as-Coding/tutoring-platform/blob/main/src/main/java/pl/simpleascoding/tutoringplatform/repository/**UserRepository**.java

L:9
jest:
findByUsername()

powinno być:
findByUserName()

@Eukon05
Copy link
Contributor

Eukon05 commented Jun 29, 2022

Dlaczego tak? Pole w klasie User nazywa się username, a findByUsername() to nazwa, którą podpowiedziało mi IDEA
image

@MateuszCiapala
Copy link
Member

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

No branches or pull requests

3 participants