<#3363 feat(mappers): Add `flattening_max_key_leng...
# meltano-repo-activity
g
#3363 feat(mappers): Add `flattening_max_key_length` configuration option Pull request opened by edgarrmondragon ## Summary by Sourcery Support configurable maximum key length for schema flattening by adding a flattening_max_key_length option (default 255), updating flattening utilities to enforce this limit via abbreviation, refactoring FlatteningOptions to a dataclass with validation, and updating tests, docs, and capabilities accordingly. New Features: • Introduce flattening_max_key_length configuration option to limit flattened key name length Enhancements: • Refactor FlatteningOptions to a dataclass with post-init validation and from_dict factory method • Extend flattening functions (flatten_key, flatten_schema, flatten_record) to accept and enforce max_key_length parameter • Simplify get_flattening_options to leverage the new FlatteningOptions.from_dict Documentation: • Document new flattening_max_key_length option in stream_maps.md Tests: • Add tests for custom flattening_max_key_length and long key abbreviation behavior Chores: • Add flattening_max_key_length property to capabilities schema meltano/sdk