hughsk / hughsk/flat

Blank array not flattened!

Open
#66 4 comments 3 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
1.8k
Forks
197
PR merge metrics
No merged PRs in 30d

Description

I'm using flat module for preparing object to store data in Redis DB. (Redis doesn't allow array and nested object )
Now, the Issue is Flat doesn't do anything to blank array.
E.g.
```
{
a: [],
a1: {
a11: 1
}
b: 'test',
c: 12
}
is flatten to
{
a: [],
a1.a11: 1,
b: "test",
c: 12,
}
```

this gives me error on Redis. Can Flat module help me with this?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.