Skip to content

Remove SessionTrait trait#341

Merged
mvorisek merged 2 commits intodevelopfrom
rm_sessiontrait
Feb 8, 2022
Merged

Remove SessionTrait trait#341
mvorisek merged 2 commits intodevelopfrom
rm_sessiontrait

Conversation

@mvorisek
Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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

Development

Successfully merging this pull request may close these issues.

2 participants