Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge user metadata using lodash.merge (#207)
Similar to [this example](https://auth0.com/docs/link-accounts/suggested-linking#merging-metadata), use lodash.merge to avoid loss of primary user's metadata when the secondary user has no metadata. Additionally with this change, array values are merged and primary (original) user's metadata takes precedence. This fixes #206
- Loading branch information