From a7b19a969313c9b3fdb09e8363441a0af74600ff Mon Sep 17 00:00:00 2001 From: Felipe Sales Date: Wed, 30 Oct 2024 11:05:02 -0300 Subject: [PATCH] Added variant to facets query --- CHANGELOG.md | 4 ++++ graphql/schema.graphql | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 186272e..7c03f2f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0. ## [Unreleased] +### Added + +- `variant` to `facets` query, used to execute A/B tests. + ## [0.64.0] - 2024-10-16 ## [0.63.0] - 2024-09-16 diff --git a/graphql/schema.graphql b/graphql/schema.graphql index e746805..1cb9580 100644 --- a/graphql/schema.graphql +++ b/graphql/schema.graphql @@ -424,6 +424,10 @@ type Query { Initial attributes (based on the `initialMap` parameter) """ initialAttributes: String + """ + Variant used to A/B test + """ + variant: String ): Facets @cacheControl(scope: SEGMENT, maxAge: MEDIUM) @withSegment """