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

[Next.js] Ensure disconnected JSS config plugin is run before computed plugin #1361

Merged
merged 1 commit into from
Mar 3, 2023

Conversation

ambrauer
Copy link
Contributor

@ambrauer ambrauer commented Mar 2, 2023

Description / Motivation

The computed JSS config plugin uses the sitecoreApiHost prop as part of its computed value for graphQLEndpoint. However, the disconnected JSS config plugin was running after this, so the sitecoreApiHost was not properly set for disconnected mode.

This fixes the Graphql endpoint error when running in disconnected mode. Also gives some breathing room with the assigned orders.

Testing Details

  • Unit Test Added
  • Manual Test/Other (Please elaborate)

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)

@ambrauer ambrauer requested a review from a team March 2, 2023 21:00
Copy link
Contributor

@illiakovalenko illiakovalenko 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 to me 👍

@illiakovalenko illiakovalenko merged commit 7ca0f75 into dev Mar 3, 2023
@illiakovalenko illiakovalenko deleted the fix/575763 branch March 3, 2023 10:31
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.

2 participants