This came up as a nice feature to have in #247 and entails being able to all keys with a particular name regardless of where they appear in the data. For example, to exclude all keys with the name __typename in the generated CSV, without needing to pass all possible key paths to the excludeKeys option.
By adding support for RegExps in the excludeKeys option, users have more control over the specific behavior of which keys are included in the generated CSV.
Background Information
This came up as a nice feature to have in #247 and entails being able to all keys with a particular name regardless of where they appear in the data. For example, to exclude all keys with the name
__typename
in the generated CSV, without needing to pass all possible key paths to theexcludeKeys
option.By adding support for RegExps in the
excludeKeys
option, users have more control over the specific behavior of which keys are included in the generated CSV.