Open alexcarpenter opened 6 years ago
dev-master
(on composer) now has the ability to set the postDate
and expiryDate
as unix timestamps. You can use it as follows,
mutation{
upsertBlog(
title:"foo",
postDate:1514829600,
expiryDate:1514829600
) {
id
}
}
Note: I'll leave this ticket open until this makes it in to a stable release.
I am looking to set an expiry date when an entry is created via a mutation (postDate + 30days).