We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
getServerSession
getServerSessionでセッションが取得できなかった場合,
notFound()
redirect()
null
現状, nullがreturnされた場合の処理が共通しているので, getSessionにまとめても良いかも。
getSession
一つのメソッドですることが多くなったり, 関数名以外のことをするのが問題
The text was updated successfully, but these errors were encountered:
No branches or pull requests
getServerSession
でセッションが取得できなかった場合,notFound()
を使うredirect()
を使うnull
を許容してreturn現状, nullがreturnされた場合の処理が共通しているので,
getSession
にまとめても良いかも。一つのメソッドですることが多くなったり, 関数名以外のことをするのが問題
The text was updated successfully, but these errors were encountered: