Devographics / Devographics/Monorepo

Reconciliate response automatically when upgrading account

Open
#302 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
178
Forks
55
Avg merge
1m
Merged PRs (30d)
2

Description

Scenario:
- user log in as anonymous
- then upgrade to "passwordless" **with an existing account**

Currently we add the `anonymousId` to an array linked to the user, but don't actually update th existing responses.

Could be improved:
- if user has no response for the survey, we can associate it automatically, no problem
- if user already has responses... there is a conflict, this would mean allowing multiple response per user. Reconciliation is trickier in this case => we could add an email asking user for their id and do it on-demand?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.