Seems to be no way to determine if a product is in a sales channel with graphql unpublished. Any insights?

I need a way to check if a product is in a sales channel but unpublished.

So far the only way I seem to be able to do that is the list every product in a channel then check the published state. Not ideal

Essentially we check our products daily and if they are not in the web sales channel we add them. You can check if a product is in a channel if its set to ACTIVE and published.

Any thoughts?

Hey Scott,

Could you query the ResourcePublication object on a product to get this info?