Skip to content
This repository has been archived by the owner on Jan 25, 2022. It is now read-only.

userId for Identify should be optional #58

Closed
2 of 3 tasks
danielgomezrico opened this issue Jun 2, 2021 · 1 comment · Fixed by #59
Closed
2 of 3 tasks

userId for Identify should be optional #58

danielgomezrico opened this issue Jun 2, 2021 · 1 comment · Fixed by #59

Comments

@danielgomezrico
Copy link
Contributor

danielgomezrico commented Jun 2, 2021

The function identify should have the parameter userId as optional.

The main issue with not allowing it is that you can not use the Persona Product nicely, it has an identity resolution based on traits that are sent and with that you don't need to have the unique key id every time on each platform.

TODO

Docs

The same applies for Ruby SDK and others.

Current

userId Is Required

Expected

userId is optional

@danielgomezrico
Copy link
Contributor Author

On iOS there's a bug where it can not be optional: segmentio/analytics-ios#1024

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants