amplitude / experiment-ios-client

MIT License
2 stars 9 forks source link

fix: properly compare ExperimentUser properties #24

Closed dus7 closed 2 years ago

dus7 commented 2 years ago

Summary

It fixes a failing comparison of userProperties on ExperimentUser, when all other properties are equal. It was assumed that receiver instance always has nil value in userProperties. The issue occurred when custom user properties were set on ExperimentUser passed to fetch function, in order to merge it with the data provided by AmplitudeAnalytics integration.

Checklist

github-actions[bot] commented 2 years ago

:tada: This PR is included in version 1.7.3 :tada:

The release is available on:

Your semantic-release bot :package::rocket: