GraphQL: save publication errors and select products with such

Highlighted
Tourist
6 0 1

Hi,

I'm developing a sales channel app and I have some questions:

1. If a product can't  be published to the sale channel, where should I save the errors that occured, so I can later display them to the shop owner?
    I was thinking of using the 'privatemetafields' but as far as I understand I can't filter the products by privatemetafields.

2. So how can I select a list with all the products(with their errors/warnings) that were not published?

Thank you for your help!

Milen 

0 Likes