Skip to content
This repository has been archived by the owner on Sep 2, 2022. It is now read-only.

Make createdAt, updatedAt optional #452

Closed
schickling opened this issue Sep 8, 2017 · 1 comment
Closed

Make createdAt, updatedAt optional #452

schickling opened this issue Sep 8, 2017 · 1 comment
Milestone

Comments

@schickling
Copy link
Member

Issue by mavilein
Thursday Sep 07, 2017 at 11:47 GMT
Originally opened as https://github.com/graphcool/api-bugs/issues/257


  • the user does not have to specify in the types.graphql file
  • it is still created in the background in the database
  • ideally it would not be visible in the Client API

So maybe we have to add an isVisible flag to our Fields data structure.

@marktani
Copy link
Contributor

This is now fixed 🙂

The field is not there from the start, once it's added, the values are there. It can be removed and added, and the values will still be there.

fields need to be createdAt: DateTime! and updatedAt: DateTime!.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants