redis / redis-om-node

Object mapping, and more, for Redis and Node.js. Written in TypeScript.
MIT License
1.18k stars 80 forks source link

Using `dataStructure: JSON` results in `Unsupported` db type (Redis OM for Node.js) #187

Closed humblecoder closed 1 year ago

humblecoder commented 1 year ago

Note: Using Docker image redis/redis-stack-server:latest

Creating a basic schema, and ending with:

{
    dataStructure: 'JSON',
}

Results in a redis entry of: Key: my:object:key, Value: NULL, Type: UNSUPPORTED

Using "Hash" (rather than JSON) works. Did I, perhaps, miss a configuration item of some sort?

humblecoder commented 1 year ago

Apparently not an issue. Was confused by any lack of reference to documents. Objects still searchable.