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

[Editing Integration] Make sc_variant and sc_version query string params optional #1835

Merged
merged 10 commits into from
Jul 5, 2024

Conversation

addy-pathania
Copy link
Contributor

@addy-pathania addy-pathania commented Jul 3, 2024

Description / Motivation

Make sc_variant and sc_version query string params optional for the /editing/render endppoint

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)

@addy-pathania addy-pathania changed the title [Editing Integration] Make sc_variant and sc_version optional [Editing Integration] Make sc_variant and sc_version query string params optional Jul 3, 2024
@addy-pathania addy-pathania requested a review from a team July 3, 2024 23:26
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.

  1. Should GraphQLEditingService be updated, since version is optional now?
  2. If variantId is not present, we can't personalize layout
  3. Please, update the description of the PR

addy-pathania and others added 2 commits July 4, 2024 08:42
…ware.ts

Co-authored-by: Illia Kovalenko <23364749+illiakovalenko@users.noreply.github.com>
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.

Looking good! See some other comments below, noticed new things on the second round of review

@addy-pathania addy-pathania merged commit 0584980 into dev Jul 5, 2024
1 check passed
@addy-pathania addy-pathania deleted the feature/jss-3491-query-params branch July 5, 2024 15:40
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