Skip to content
This repository has been archived by the owner on Jan 15, 2024. It is now read-only.

PROMO-702: [update] Channels, tighten definitions #1179

Merged
merged 2 commits into from
Dec 15, 2023

Conversation

leeBigCommerce
Copy link
Contributor

PROMO-702

What changed?

  • data and meta fields within multiple_channels_without_currencies_resp made required
  • id and name fields within ChannelWithoutCurrencies made required

Anything else?

I found some mistakes here while moving to use auto-generated Type definitions for some promotions view work.
The above values were portrayed as potentially undefined (or nullable), which I don't believe is a true representation of the API.

There are likely to a lot more values that are actually required, but that would need someone more knowledgeable of the Channels domain to look into.

@leeBigCommerce leeBigCommerce requested a review from a team as a code owner March 2, 2023 02:25
@slsriehl slsriehl marked this pull request as draft March 2, 2023 02:29
@slsriehl
Copy link
Contributor

slsriehl commented Mar 2, 2023

Hi @leeBigCommerce. Some changes to the spec files are coming in the next few days. I've marked his PR as draft.

In the meantime, if PROMO-702 doesn't have an associated CSS project ticket, please ping #operational-readiness so they can get that and a child DEVDOCS ticket made.

Copy link
Contributor

@slsriehl slsriehl left a comment

Choose a reason for hiding this comment

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

Nice step forward, @leeBigCommerce.

@slsriehl slsriehl marked this pull request as ready for review December 15, 2023 18:33
@slsriehl slsriehl changed the title PROMO-702 [fix] tighten definitions within channels reference PROMO-702: [update] Channels, tighten definitions Dec 15, 2023
@slsriehl slsriehl merged commit a01890e into bigcommerce:main Dec 15, 2023
2 checks passed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants