Unleash / unleash-client-dotnet

Unleash client SDK for .NET
Apache License 2.0
81 stars 39 forks source link

Negate operator not work in dot net sdk #195

Closed mohsen-khalili closed 8 months ago

mohsen-khalili commented 9 months ago

Describe the bug in segment if you add Constraints and use negate operator its not work in dot net sdk and return false result

To Reproduce Steps to reproduce the behavior:

  1. Go to create segments
  2. Add 'dummy name'
  3. Click on Next
  4. Select context 'UserId'

Screenshots negate off: Screenshot 2024-01-07 at 09 43 52 negate on: Screenshot 2024-01-07 at 09 51 09

mjalil commented 9 months ago

This also requires some additional tests in the client-specification project at specifications/09-strategy-constraints.json

daveleek commented 9 months ago

Thank you for raising this @mohsen-khalili! We'll take a look at it!

sjaanus commented 8 months ago

Fix released in 4.1.3