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
feat(sessions): add flat_layout option for configurable collection hierarchy
Add flat_layout=True constructor parameter so developers can store sessions
directly in root_collection/{session_id} instead of the default nested
root/{app}/users/{user}/sessions/{session_id} path.
Useful when the session id already encodes the user (e.g. {phone}-{date}),
matching an existing flat Firestore collection layout. list_sessions adds a
userId field filter automatically in flat mode.
0 commit comments