You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the same spirit as #2778 and #2777, i.e. in the spirit of having smaller, more specific, self-contained and cohesive organization, we want to refactor the current session module into the new pattern. This could allow us to make use of inheritance or other language features to better organize the interaction with request.session. The Session in Office-of-Digital-Services/cdt-ods-disaster-recovery is an example of this.
Acceptance Criteria
[ ]
Additional context
The text was updated successfully, but these errors were encountered:
The Benefits app currently encapsulates interaction with the Django session framework via the
benefits.core.session
module, which contains:update
function to update session dataThis module serves as the single place where all session-handling logic is done, and we've noticed this is becoming harder to work with.
A new pattern was established in Office-of-Digital-Services/django-cdt-identity that follows a more class-based approach.
In the same spirit as #2778 and #2777, i.e. in the spirit of having smaller, more specific, self-contained and cohesive organization, we want to refactor the current
session
module into the new pattern. This could allow us to make use of inheritance or other language features to better organize the interaction withrequest.session
. TheSession
in Office-of-Digital-Services/cdt-ods-disaster-recovery is an example of this.Acceptance Criteria
Additional context
The text was updated successfully, but these errors were encountered: