Repository navigation
feat: expose the document path on a schema discovery result - #78
Merged
Merged
Conversation
jiatolentino
force-pushed
the
DM-4428-nested-document-masking
branch
from
November 10, 2026 22:41
1d41694 to
99be3cf
Compare
jiatolentino
marked this pull request as ready for review
November 11, 2026 01:40
kw-datamasque
requested changes
Nov 13, 2026
jiatolentino
force-pushed
the
DM-4428-nested-document-masking
branch
from
November 13, 2026 00:34
99be3cf to
9203d92
Compare
kw-datamasque
approved these changes
Nov 13, 2026
kw-datamasque
force-pushed
the
DM-4428-nested-document-masking
branch
from
November 18, 2026 05:29
9203d92 to
0b09c72
Compare
kw-datamasque
force-pushed
the
DM-4428-nested-document-masking
branch
from
November 18, 2026 08:35
0b09c72 to
9adc9e9
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds an optional
pathfield toSchemaDiscoveryColumn: 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'scolumnholds the same path joined with dots. It isNonefor relational columns, and results stored by DataMasque 3.26.16 or earlier.The field already came through untyped through
extra="allow". This declares it, so it is typed and documented. It uses the existingJsonPath(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.