-
Notifications
You must be signed in to change notification settings - Fork 73
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Segment Integration: user_id over email #5004
base: main
Are you sure you want to change the base?
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
Passing run #8928 ↗︎
Details:
Review all test suite changes for PR #5004 ↗︎ |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #5004 +/- ##
=======================================
Coverage 86.44% 86.44%
=======================================
Files 354 354
Lines 22201 22201
Branches 2925 2925
=======================================
Hits 19192 19192
Misses 2495 2495
Partials 514 514 ☔ View full report in Codecov by Sentry. |
fidesops_meta: | ||
fides_meta: | ||
data_type: string | ||
- name: first_name |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
additional fields found in testing (these may be configurable by client?)
identity: email | ||
references: | ||
- dataset: <instance_fides_key> | ||
field: traits.user_id |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I chose to use the traits, but it could also be that we use external_ids
however it will end up generating extra requests so decided against it for the time being
Closes FIDES-746
Description Of Changes
It's been determined that the email cannot be used as the identity unless it is also the user_id. For this we need to infer the user_id from either traits or external_ids
Code Changes
Steps to Confirm
Pre-Merge Checklist
CHANGELOG.md
main
downgrade()
migration is correct and works