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

Group, Groupmembership #11

Merged
merged 10 commits into from
Jun 4, 2024
Merged

Group, Groupmembership #11

merged 10 commits into from
Jun 4, 2024

Conversation

peterlipt
Copy link
Member

Issues #8 , #9

Szerintem megcsináltam mindent. Tesztelni sajnos nem tudtam, úgyhogy nem vagyok benne biztos, hogy minden úgy működik ahogyan kell.

@peterlipt peterlipt linked an issue May 9, 2024 that may be closed by this pull request
3 tasks
@csiszaralex
Copy link
Member

csiszaralex commented May 9, 2024

Ha VSCode-ot használsz, akkor a saját beállításaidnál be tudod állítani, hogy a mentésnél automatikusan sortolja az importokat a következő módon:

{
  "editor.codeActionsOnSave": {
      "source.fixAll": "explicit",
      "source.organizeImports": "explicit",
      "source.sortMembers": "explicit"
    },
}

Vagy tudod futtatni a backend mappában a következő parancsot kiadva:

npx eslint --fix

Amennyiben nem értenéd: az npx parancs a node-al automatikusan jön és arra képes, hogy az adott mappa node moduljait futtasd anélkül, hogy globálisan telepítened kéne őket, a --fix pedig "endedélyt ad rá", hogy ne csak kiírja, hanem javítsa is a hibákat.

U.i.: Ha az elsőt választod és be van kapcsolva az, hogy automatikusan mentse a fájlokat, ne CTRL+S-re, akkor nyomnod kell egy CTRL+S-t ahhoz, hogy rendezze az importokat. Valamint ez nem csak rendezi, hanem minden javítható hibát is javít és kitörli a nem használd importokat is.

@peterlipt
Copy link
Member Author

Köszi már be is állítottam :))

@csiszaralex
Copy link
Member

Emellett mi még teszteket nem tanultunk, ezt tényleg én nem mondtam el, de ugye a nest g res <név> az legenerálja a hozzá tartozó teszt fáljokat is (.spec.ts), ezt úgy lehet javítani, hogy nest g res <név> --no-spec parancsot adod ki.

@csiszaralex csiszaralex linked an issue May 9, 2024 that may be closed by this pull request
2 tasks
Copy link
Member

@csiszaralex csiszaralex left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hagytam pár (9) kommentet a kódban, ősszességében ami a feladat volt azt nagyon jól megcsináltad, egy pár apróbb hibád van, amiket a kódba kommenteltem.
Szép munka!

@peterlipt
Copy link
Member Author

Köszi! Amint lesz időm ránézek és kijavítom.

@peterlipt
Copy link
Member Author

Dolgoztam a group membership kezelésén, de az addMember metódust nem tudtam sehogy se működésre bírni.

Copy link
Collaborator

@balintking balintking left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Very nice job overall, only some minor remarks!👏

Copy link
Collaborator

@balintking balintking left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👌

Copy link
Member

@csiszaralex csiszaralex left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Amúgy jó, legközelebb kérlek figyelj arra, hogy yarn-t használunk, azaz yarn i-val telepítünk, nem npm i-vel és akkor nem lesz package-lock.json.

@csiszaralex csiszaralex merged commit 52b8fea into main Jun 4, 2024
3 checks passed
@csiszaralex csiszaralex deleted the GroupController branch June 4, 2024 11:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
4 participants