Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to handle createdAt and updatedAt for pre-existing documents #115

Open
deinspanjer opened this issue Nov 5, 2019 · 0 comments
Open

Comments

@deinspanjer
Copy link

If the collection contains pre-existing records, and those records do not contain createdAt or updatedAt and I try to return those fields in a query, I get an error Cannot return null for non-nullable field Order.createdAt.

What is the expected way to deal with this?

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

No branches or pull requests

1 participant