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

Feature/graphql nextjs sitemap update #1002

Merged

Conversation

art-alexeyenko
Copy link
Contributor

nextjs Sitemap service rework to use 'site' query instead of 'search'

Description / Motivation

The fresh 'site' query from edge GQL schema allows for a more intuitive sitemap generation along with built in filtering by includedPaths and excludedPaths.

Testing Details

One extra unit test added for includedPaths and excludedPaths variables in a query.

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)
    Updated GraphQLSitemapService will only work with Sitecore versions that have 'site' query present in edge schema.

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.

Looking good, see some comments

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!

@ambrauer ambrauer merged commit 17e74bc into Sitecore:dev May 4, 2022
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.

None yet

2 participants