Skip to content

Stop merging things that aren't PII from the document into pii_from_doc#9913

Merged
jmhooper merged 3 commits intomainfrom
jmhooper-stop-merging-pii-from-doc
Jan 16, 2024
Merged

Stop merging things that aren't PII from the document into pii_from_doc#9913
jmhooper merged 3 commits intomainfrom
jmhooper-stop-merging-pii-from-doc

Conversation

@jmhooper
Copy link
Contributor

@jmhooper jmhooper commented Jan 11, 2024

The Idv::Session#pii_from_doc method has a name that suggests it returns the PII that is read from the document. Prior to this commit this was not the case because we merge data that was not read from the document into the pii_from_doc hash. This was done as a convenience so it is available when communicating to vendors in downstream steps.

This commit removes the merge and provides the additional data explicitly in down steam step.

…doc`

The `Idv::Session#pii_from_doc` method has a name that suggests it returns the PII that is read from the document. Prior to this commit this was not the case because we merge data that was not read from the document into the `pii_from_doc` hash. This was done as a convienence so it is available when communicating to vendors in downstream steps.

This commit removes the merge and provides the additional data explicitly in downsteam step.

[skip changelog]
Copy link
Contributor

@soniaconnolly soniaconnolly left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Tried it locally past VerifyInfo for both remote and in-person and it worked as expected.

@jmhooper jmhooper merged commit 5482d5a into main Jan 16, 2024
@jmhooper jmhooper deleted the jmhooper-stop-merging-pii-from-doc branch January 16, 2024 19:58
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.

2 participants