Join Slack
Powered by
Since $now isn’t available in permission queries y...
# prisma-whats-new
a
alexanbj
11/21/2017, 6:20 AM
Since $now isn’t available in permission queries yet… What is the best approach to allow access at a certain timestamp?
https://docs-next.graph.cool/docs/reference/auth/authorization/permission-queries-iox3aqu0ee#custom-variables
alexanbj
11/21/2017, 6:21 AM
Say I have a type Post, with a DateTime field called ‘activeFrom’, and posts should only be be readable when now() > activeFrom
Open in Slack
Previous
Next