You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Evaluate each variant expression once, before bucketing, and return the result for the selected bucket.
Don't reject a variant based on its result type. Pass the result through, and let the resolver handle it like any other targeting result.
Bucketing doesn't change; it depends only on the bucketing value and the weights.
This may already work, or only need a variant type check relaxed. Either way, please add a test.
Why: this allows the new resolve operator as a bucket variant (e.g. [{ "resolve": ["red", "SPLIT"] }, 50]), so each bucket can set its own reason and metadata.
References:
Go implementation: feat: Add resolve operator flagd#2127 (the fractional.go change and the "fractional bucket variant is terminal" test in resolve_test.go)
Activity