<#2924 fix: Generate standard stream metadata for ...
# meltano-repo-activity
g
#2924 fix: Generate standard stream metadata for nested fields Pull request opened by edgarrmondragon FWIW, this nested metadata is already added by Meltano: https://github.com/meltano/meltano/blob/7cf6f2a0833127258dc885f4c095a028eab6ac06/src/meltano/core/plugin/singer/catalog.py#L415-L442 ## Related • https://gitlab.com/meltano/sdk/-/issues/285#note_750983833 • meltano/meltano#3024 • meltano/meltano#8807 ## Links • Slack: https://meltano.slack.com/archives/C06A1MD6A6L/p1742822266403049 • https://discuss.meltano.com/t/27124273/i-was-looking-at-some-issues-about-selecting-nested-properti#2873626a-f180-46dd-91ae-58d2b7b85654 ## Summary by Sourcery Generates standard stream metadata for nested fields, ensuring that all subfields within a schema have appropriate metadata entries. Enhancements: • Adds metadata entries for all subfields within a schema, ensuring that nested fields are properly represented in the metadata. • Improves the accuracy and completeness of metadata generated for complex schemas with nested properties. • Adds a recursive helper function to add breadcrumbs and metadata for subfields. ## Summary by Sourcery Enhance metadata generation for Singer streams to support nested field metadata, ensuring comprehensive metadata coverage for complex schemas with nested properties. Enhancements: • Implement a recursive metadata generation approach to add metadata entries for nested fields in complex schemas • Extend metadata generation to support nested object and array schemas with comprehensive breadcrumb tracking Tests: • Update test cases to validate metadata generation for nested schemas, including objects with multiple levels of nesting and array types meltano/sdk