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
The following field types are fully supported by the `DynamoDBStore`:
94
+
95
+
-`string`
96
+
-`number`
97
+
-`boolean`
98
+
-`object`
99
+
100
+
The following field types are partially supported by the `DynamoDBStore`:
101
+
102
+
-`Date`
103
+
- Stored as a string in ISO 8601 format
104
+
- Will be returend as a string in ISO 8601 format
105
+
- Cannot be automatically converted back into a `Date` object since it is not known which fields were originally `Date` objects vs date strings
106
+
- Note: [connect-dynamodb](https://www.npmjs.com/package/connect-dynamodb) serializes `Date` objects to strings as well and also does not support automatic conversion back to `Date` objects since it serializes using [JSON.stringify()](https://github.com/ca98am79/connect-dynamodb/blob/87028bb10fa3c9d4b8adf4f6cdeea2c41c0e8f23/lib/connect-dynamodb.js#L203) and [JSON.parse()](https://github.com/ca98am79/connect-dynamodb/blob/87028bb10fa3c9d4b8adf4f6cdeea2c41c0e8f23/lib/connect-dynamodb.js#L185)
107
+
91
108
## API Documentation
92
109
93
110
After installing the package review the [API Documentation](https://pwrdrvr.github.io/dynamodb-session-store/classes/DynamoDBStore.html) for detailed on each configuration option.
0 commit comments