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

Remove SessionTrait trait #341

Merged
merged 2 commits into from
Feb 8, 2022
Merged

Remove SessionTrait trait #341

merged 2 commits into from
Feb 8, 2022

Conversation

mvorisek
Copy link
Member

@mvorisek mvorisek commented Feb 8, 2022

Session is solely atk4/ui feature. Session trait with read/update methods should be kept, but the handling should be moved to a separate App\Session class.

@DarkSide666
Copy link
Member

Why remove from core? If session trait is defined in core then we can use it also in projects which don't use atk4/ui.
What advantage is to remove it from core?

@mvorisek
Copy link
Member Author

mvorisek commented Feb 8, 2022

we can use it also in projects which don't use atk4/ui

what is the real usecase?

see atk4/ui PR, it does not even make sense to have traited, eg. uncentralized session management

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants