Closed
Description
In order to switch stores in a Multi-store Magento instance, a developer would need a GraphQL Query that would return a list with the following data (currently available for the current store inside storeConfig)
query {
storeConfig {
1. Available
id
header*logo*src
logo_alt
logo_width
logo_height
store_name
...
1. Missing
stores {
id
header*logo*src
logo_alt
logo_width
logo_height
store_name
...
}
}
}
!image-2020-05-11-10-11-04-038.png!
Requirements:
- This should be implemented in accordance with architectural proposal Add query to get available stores architecture#390
availableStores
query should only return other stores under the same website as the current store. It should not expose other websites.