Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: override built in stickiness options (#3563)
<!-- Thanks for creating a PR! To make it easier for reviewers and everyone else to understand what your changes relate to, please add some relevant content to the headings below. Feel free to ignore or delete sections that you don't think are relevant. Thank you! ❤️ --> Created migration for updating context fields Context fields with stickiness are now the source of truth for stickiness options. ## About the changes `userId` context field is updated to have stickiness on by default `sessionId` context field is added with stickiness on by default If `default` or `random` are not part of the context field - we add them This will allow for the option to disable them, by creating a eg. `random` context field with stickiness off https://user-images.githubusercontent.com/104830839/233581147-9a514af4-1fdd-4c2e-b954-3cfa13b1a203.mov <!-- Describe the changes introduced. What are they and why are they being introduced? Feel free to also add screenshots or steps to view the changes if they're visual. --> <!-- Does it close an issue? Multiple? --> Closes to # [1-794](https://linear.app/unleash/issue/1-794/reach-out-to-yousician-for-early-beta-test) <!-- (For internal contributors): Does it relate to an issue on public roadmap? --> <!-- Relates to [roadmap](https://github.com/orgs/Unleash/projects/10) item: # --> ### Important files <!-- PRs can contain a lot of changes, but not all changes are equally important. Where should a reviewer start looking to get an overview of the changes? Are any files particularly important? --> ## Discussion points <!-- Anything about the PR you'd like to discuss before it gets merged? Got any questions or doubts? --> --------- Signed-off-by: andreas-unleash <andreas@getunleash.ai>
- Loading branch information