How can we use Predicates in useGetStaticProps?

Hello,

I'm struggling to figure out how we can use Predicates in useGetStaticProps. We have apiParams but is that the correct place?

Hi Kris,

My understanding is that querying by predicates isn't currently possible with useGetStaticProps.

If you want to use predicates you'll have to use @prismic/client:

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.