Try this `updatedAt: ${moment(article.modified).to...
# prisma-whats-new
a
Try this
updatedAt: ${moment(article.modified).toISOString()}
j
@adrianocola same error 😞 @nilan any suggestion?
n
Heya! what's
article.modified
? 🙂
a
Tried the other?
j
it's a date string, looks like it's actually the mutation not having a reference to the
createdAt
field
n
so
createdAt
and
updatedAt
are read-only fields
you can use them in
filter
though
j
@nilan guessing as this is generated by graph.cool I can't set this, it's important if we could as we're importing content from a legacy CMS
n
ah gotcha, I'll reach out to you 🙂