Module: FeatureHub::Sdk::SessionStoreHelpers

Included in:
MemcacheSessionStore, RedisSessionStore
Defined in:
lib/feature_hub/sdk/session_store_helpers.rb

Overview

Shared pure helpers for MemcacheSessionStore and RedisSessionStore. Both stores rely on SHA256-based change detection and a two-key layout:

${prefix}_${environment_id}      → JSON array of FeatureState objects
${prefix}_${environment_id}_sha  → SHA256 of "id:version|..." for change detection