Skip to content
New issue

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

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

Already on GitHub? # to your account

No findOne(id) #2524

Merged
merged 2 commits into from
Mar 31, 2024
Merged

No findOne(id) #2524

merged 2 commits into from
Mar 31, 2024

Conversation

mei23
Copy link
Owner

@mei23 mei23 commented Mar 31, 2024

Summary

Related: #2523
Validationされてるから問題ないはずだけど、ねんのためfindOne(id)は使わないようにする。
そのうちTypeORM 0.30.0 以降にする。

メモ
だいたいパターン置換でいい
Polls, UserProfiles, UserKeypair, UserPublickeys のプライマリキー名はidではない
findOne(query)とかは置換しないように

@mei23 mei23 marked this pull request as ready for review March 31, 2024 11:32
@mei23 mei23 merged commit 01fe3bc into mei-v11 Mar 31, 2024
3 checks passed
@mei23 mei23 deleted the mei-v11-no-findone-id branch March 31, 2024 12:01
mgmn added a commit to mgmn/misskey-v11 that referenced this pull request Apr 6, 2024
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant