neo4j-graphql-js icon indicating copy to clipboard operation
neo4j-graphql-js copied to clipboard

[Suggestion] Add 'now: boolean' to arguments of Temporal Fields

Open ekarious opened this issue 6 years ago • 1 comments

Hello

I actually wanted to make a createdAt filed for my mutation and i cannot do it for now.

I could be really nice to do it this way:

mutation {
   Movie(title: "New added movie", createdAt: { now: true }) {
      title
      createdAt
   }
}

What do you think of this idea ?

Note: I am currently on 'Full auto-generated' mode. And i am planning to switch to manual resolvers for more flexibility later on.

ekarious avatar Dec 12 '18 14:12 ekarious

https://github.com/neo4j-graphql/neo4j-graphql-js/issues/608

michaeldgraham avatar May 02 '21 04:05 michaeldgraham