hughsk / hughsk/flat

Add flat-stop-condition function

Open
#55 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
1.8k
Forks
197
PR merge metrics
No merged PRs in 30d

Description

Hello Community,

Have you thought about adding a function option that could act as a flat stop condition?

I'm having issues with flattening an ObjectId (from MongoDB). Currently Flat will split this in bsonType and id (with unknown chars).

If I could pass down a function to Flat that would receive the object to process and decide if it should be processed or continue it would be great no?

What do you think?

I'm available to create a PR if you feel that this is interesting.

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.