loopbackio / loopback-connector-redis

EXPERIMENTAL: Redis connector for LoopBack.
http://loopback.io/doc/en/lb2/Redis-connector.html
Other
36 stars 46 forks source link

unstringify data field on read. #58

Open yonghongren opened 5 years ago

yonghongren commented 5 years ago

When a model's field has no property definition, we unconditionally stringify the field on write. If the field data is a string, it gets quoted again. On read we don't undo the stringification. A string data field becomes a string with extra quotes. read & write need be symmetrical.

Description

Related issues

Checklist