Skip to content

feat: DM-4438 expose the document path on a schema discovery result - #78

Open
jiatolentino wants to merge 1 commit into
mainfrom
DM-4428-nested-document-masking
Open

jiatolentino wants to merge 1 commit into
mainfrom
DM-4428-nested-document-masking

Conversation

@jiatolentino

Copy link
Copy Markdown
Contributor

Adds an optional path field to SchemaDiscoveryColumn: where a document-database field sits within its document, as a list of keys with * for an array position, such as ["contact", "*", "email"]. The result's column holds the same path joined with dots. It is None for a relational column.

The field already came through untyped through extra="allow". This declares it, so it is typed and documented. It uses the existing JsonPath (list[str | int]), so the client is never stricter than the server.

Tests: unit tests for a nested path, an integer path segment, a result without a path, and selecting a nested finding for generation by its column.

@jiatolentino jiatolentino self-assigned this Nov 9, 2026
@jiatolentino
jiatolentino force-pushed the DM-4428-nested-document-masking branch from 1d41694 to 99be3cf Compare November 10, 2026 22:41
@jiatolentino
jiatolentino marked this pull request as ready for review November 11, 2026 01:40

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant