gqlify icon indicating copy to clipboard operation
gqlify copied to clipboard

Support firestore.FieldValue.serverTimestamp()

Open wwwy3y3 opened this issue 7 years ago • 0 comments

Is your feature request related to a problem? Please describe. We should provide a way to let developers annotate a field that tells GQLify to put firestore.FieldValue.serverTimestamp() in it when creating data.

Describe the solution you'd like

type Book @GQLifyModel(dataSource: "firestore", key: "Book") {
  id: ID! @unique @autoGen
  name: String!
  time: DateTime @autoGen(value: SERVER_TIMESTAMP)
}

wwwy3y3 avatar Dec 26 '18 08:12 wwwy3y3