Skip to content

Conversation

@xkr47
Copy link
Contributor

@xkr47 xkr47 commented Oct 17, 2025

Based on the code and tests in https://github.com/Constructor-io/constructorio-identity/ it seemed like these were the supported values. Current code also allows you to specify any string, for example 'none'. Looking at the code, it looks like in that case it would not use any storage at all and instead generate a new id for the user every time the library is initialized. This however does not seem like a supported option (or even desirable, except maybe for testing) and would work only because the code does not do validation on the provided parameters.

Ideally these typings should also rather be part of the constructorio-identity project and not in constructorio-client-javascript.

@xkr47 xkr47 requested review from esezen and jjl014 as code owners October 17, 2025 13:31
@esezen
Copy link
Contributor

esezen commented Oct 27, 2025

@xkr47 thanks a lot for your contribution!

@esezen esezen merged commit d1e7182 into Constructor-io:master Oct 27, 2025
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