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.