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

GraphQL sitemap now parses personalize data from site queries #1005

Merged

Conversation

art-alexeyenko
Copy link
Contributor

Adds support for personalize variants data into GraphQL sitemap service in nextjs project

Description / Motivation

Site routes returned by GraphQL can have variants data included. Variants will now be included in site paths, when provided.

Testing Details

One unit test added

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

@illiakovalenko
Copy link
Contributor

illiakovalenko commented May 5, 2022

In the PBI I see that we should use segmentId, I suppose that in the API it wasn't changed to the variantId, doesn't it?
UPD: Already discussed, it's fine

Copy link
Contributor

@ambrauer ambrauer left a comment

Choose a reason for hiding this comment

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

See a couple comments/suggestions.

Copy link
Contributor

@ambrauer ambrauer left a comment

Choose a reason for hiding this comment

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

Looks good! 👍 Just need to check CI (some tests are failing).

@art-alexeyenko art-alexeyenko merged commit 9a07d8e into Sitecore:dev May 13, 2022
@art-alexeyenko art-alexeyenko deleted the feature/528677-personalize-sitemap branch June 29, 2022 21:59
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.

3 participants