Head's Up! These forums are read-only. All users and content have migrated. Please join us at community.neo4j.com.
10-21-2018 01:09 PM
I'm using the GRAND stack starter to create a new project. I've been able to get quite a bit done with it. However, using the auto-generated schema if I try to use Date as a data type, this causes an error:
I've tried a number of variations i.e. DateString, DateTime and always with the same result. the type I'm trying to create looks like:
Has anyone run into a similar issue?
Solved! Go to Solution.
02-12-2019 09:01 AM
10-22-2018 08:05 AM
Hey Michael -
We haven't yet added Date types to neo4j-graphql.js - but we plan on doing this soon! (as well as the geospatial types, which is just Point for now).
In the mean time you could treat dates as a string or define a custom scalar in your GraphQL schema for date:
scalar Date
Hope that helps.
11-10-2018 02:51 AM
Is there any timeframe for this?
02-12-2019 06:59 AM
This is implemented now
02-12-2019 09:01 AM
All the sessions of the conference are now available online