All Release Notes

Added CustomerFirstNameSet, CustomerLastNameSet, and CustomerTitleSet Messages

12 November 2021
Enhancement
MessagesCustomersGraphQL

With the addition of three new Messages you can now use the MessageSubscription to subscribe to changes on the firstName, lastName, and title fields on Customers specifically. Before, you had to use the generic ChangeSubscription for that. These Messages are triggered by Set First Name, Set Last Name, and Set Title update actions.

Changes:

The following changes were introduced in terms of GraphQL SDL:

type CustomerFirstNameSet implements MessagePayload {
firstName: String
type: String!
}
type CustomerLastNameSet implements MessagePayload {
lastName: String
type: String!
}
type CustomerTitleSet implements MessagePayload {
title: String
type: String!
}