- renamed Location2 to LocationMapBox

This commit is contained in:
Ulf Gebhardt 2021-02-03 17:17:09 +01:00
parent 49b4ebb954
commit ba460148b2
No known key found for this signature in database
GPG Key ID: 81308EFE29ABFEBD

View File

@ -16,12 +16,13 @@ type Location {
parent: Location @cypher(statement: "MATCH (this)-[:IS_IN]->(l:Location) RETURN l")
}
type Location2 {
# This is not smart - we need one location for everything - use the same type everywhere!
type LocationMapBox {
id: ID!
place_name: String!
}
type Query {
queryLocations(place: String!, lang: String!): [Location2]!
queryLocations(place: String!, lang: String!): [LocationMapBox]!
}