Skip to content

Validate Feature origin in extract() via source hash#11

Closed
nathanjmcdougall wants to merge 1 commit into
mainfrom
feature-origin-validation
Closed

Validate Feature origin in extract() via source hash#11
nathanjmcdougall wants to merge 1 commit into
mainfrom
feature-origin-validation

Conversation

@nathanjmcdougall
Copy link
Copy Markdown
Collaborator

Tag each Document and its Features with a hash of the source YAML. extract() now raises ValueError when called with a Feature from a different document, preventing silent data corruption.

Add cross-document rejection test.

Tag each Document and its Features with a hash of the source YAML.
extract() now raises ValueError when called with a Feature from a
different document, preventing silent data corruption.

Add cross-document rejection test.
@nathanjmcdougall
Copy link
Copy Markdown
Collaborator Author

This is a bad idea.

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