I'm using the GraphQL playground on Prismic and I noticed that if I pass
uid_in as props to
_allDocuments, they are ignored. I tried with others but it is only
_allDocuments that doesn't use those props even though they show up in the query docs.
Does anyone else experience this? If so why is this happening?
Hi @payment, the reason that
uid_in are ignored for
_allDocuments is because the UID values are only unique by Custom Type. That is, you could have two documents with different types and the same UID value.
I will pass this to the @features-team. They will take a look and add this to our feature requests tracker as a possible area for improvement in the future.
This is being tracked as an open feature request.
If you have another use-case for this feature, you can 'Flag' this topic to reopen. Please use the button to show your support for the feature and check out our Feature Request Guidelines.