7 September 2022
Composable Commerce
HTTP API
Enhancement
Project configurationMessages/SubscriptionsGraphQL

You can now subscribe to Messages about name changes on Stores.

Changes:

  • [API] Added StoreNameSet Message.
  • [GraphQL API] Added the following type to the GraphQL schema: StoreNameSet.

The following changes were introduced in terms of GraphQL SDL:

type StoreNameSet implements MessagePayload {
  name(
    "String is defined for different locales. This argument specifies the desired locale."
    locale: Locale,
    "List of languages the client is able to understand, and which locale variant is preferred."
    acceptLanguage: [Locale!]): String
  nameAllLocales: [LocalizedString!]
  type: String!
}