Skip to content
This repository was archived by the owner on Sep 3, 2021. It is now read-only.

Commit e8a86b0

Browse files
committed
Add Point type support to inferShema
Fix #358
1 parent c0953b0 commit e8a86b0

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/neo4j-schema/types.js

+3-1
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ const chooseGraphQLType = property => {
2828
LocalTime: 'LocalTime',
2929
LocalDateTime: 'LocalDateTime',
3030
Time: 'Time',
31+
Point: 'Point',
3132

3233
// Array types
3334
LongArray: '[Int]',
@@ -40,7 +41,8 @@ const chooseGraphQLType = property => {
4041
DateTimeArray: '[DateTime]',
4142
TimeArray: '[Time]',
4243
LocalTimeArray: '[LocalTime]',
43-
LocalDateTimeArray: '[LocalDateTime]'
44+
LocalDateTimeArray: '[LocalDateTime]',
45+
PointArray: '[Point]'
4446
};
4547

4648
return mapping[t] || 'String';

0 commit comments

Comments
 (0)