All Release Notes
Added Reference Expansion for Product Search Attributes in the GraphQL API
16 August 2022
Enhancement
Product CatalogGraphQL
Reference Expansion for Attributes of ProductProjectionsSearch is now supported in the GraphQL API.
We appreciate your feedback on this new in public beta feature. An example query can be found in our GraphQL API documentation.
Changes:
- [GraphQL API] Changed the
RawProductSearchAttribute
type:- Added the
referencedResourceSet
field to theRawProductSearchAttribute
type. - Added the
referencedResource
field to theRawProductSearchAttribute
type.
- Added the
The following changes were introduced in terms of GraphQL SDL:
extend type RawProductSearchAttribute {"BETA: This feature can be subject to change and should be used carefully in production. https://docs.commercetools.com/api/contract#public-beta"referencedResource: ReferenceExpandable"BETA: This feature can be subject to change and should be used carefully in production. https://docs.commercetools.com/api/contract#public-beta"referencedResourceSet: [ReferenceExpandable!]!}