Skip to content

Commit

Permalink
Added variant to facets query
Browse files Browse the repository at this point in the history
  • Loading branch information
salesfelipe committed Oct 30, 2024
1 parent 7f4f75d commit a7b19a9
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 4 additions & 0 deletions graphql/schema.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -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

"""
Expand Down

0 comments on commit a7b19a9

Please sign in to comment.