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

fix(session): fix double serialisation of values when inserting data into session state #366

Open
wants to merge 6 commits into
base: master
Choose a base branch
from

Conversation

zignis
Copy link

@zignis zignis commented Nov 19, 2023

PR Type

Bug Fix

PR Checklist

  • Tests for the changes have been added / updated.
  • Documentation comments have been added / updated.
  • A changelog entry has been made for the appropriate packages.
  • Format code with the nightly rustfmt (cargo +nightly fmt).

Overview

Replaces the usage of HashMap in session with serde Map, which solves the issue of double-serialization of values when inserting data into the session state.

Closes #308

@0rangeFox
Copy link
Contributor

Hey 👋. I'm experiencing this issue, can I participate on this PR to be merged asap? At this moment I have a messy workaround and this would simplify the logic and clear my messy code just for this.

@robjtede robjtede added A-session Project: actix-session B-semver-major breaking change requiring a major version bump labels Jun 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-session Project: actix-session B-semver-major breaking change requiring a major version bump
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Actix session insert should check for string
3 participants