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

セッションストアとしてcache_storeを使えるようDecidimApp::Applicationを修正 #638

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

takahashim
Copy link
Collaborator

🎩 What? Why?

#630 はDecidimのバージョンをあげると動かなくなるので、(あまり)依存しない形に修正しました。

いずれにしても、v0.28になれば不要になるため、更新時には消す必要があります。

修正方法

initializerは上書きできるという説もあったのですが、いろいろ試してみたところでは結局session_storeの差し替えには失敗してしまうようでした。
そのため、initializerのgroup(指定しない場合は:default)を変更することでrun_initializers実行時に無視されるよう修正したところ、正しく修正されるようだったのでこれにしてみます。

📌 Related Issues

📋 Subtasks

  • Add CHANGELOG upgrade notes, if required
  • If there's a new public field, add it to GraphQL API
  • Add documentation regarding the feature
  • Add/modify seeds
  • Add tests
  • Another subtask

@takahashim takahashim changed the title Fix session 2 セッションストアとしてcache_storeを使えるようDecidimApp::Applicationを修正 Oct 28, 2024
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.

1 participant