Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update logic & error log when using sets with other filters #253

Merged
merged 3 commits into from
Oct 2, 2023

Conversation

emmaz90
Copy link
Contributor

@emmaz90 emmaz90 commented Sep 28, 2023

Javascript commons library

What did you accomplish?

  • Update error log when using sets with names or prefix
  • Fix issue with prefix filter in matchFilters method

How do we test the changes introduced in this PR?

unit tests included

Extra Notes

@emmaz90 emmaz90 requested a review from a team as a code owner September 28, 2023 15:10
Copy link
Contributor

@EmilianoSanchez EmilianoSanchez left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

IMO it is okey the change in the error message.

Approved, but just check with the team if the change in the matchFilters is Okay, because we mention here https://github.com/splitio/javascript-client/blob/development/types/splitio.d.ts#L226 that the "by prefix" filter is not being supported. If the change is OK, we should update eventually the comment at https://github.com/splitio/javascript-client/blob/development/types/splitio.d.ts#L226 and the equivalent lines in JS Browser and React Native SDKs.

Base automatically changed from sdks-7561 to sdks-7437 October 2, 2023 14:18
@emmaz90 emmaz90 merged commit 4410599 into sdks-7437 Oct 2, 2023
1 check passed
@emmaz90 emmaz90 deleted the sdks-7563 branch October 2, 2023 14:25
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