-
Notifications
You must be signed in to change notification settings - Fork 0
Conversation
Is address descriptive enough? Also needs a location link which will be used for a google maps link on react.london events |
@lpil Do you need co-ords? I know in prismic we store both the event address and event co-ords. I should probably make it query able for the Api anyway. |
Coordinates will be super useful when implement things like OpenGraph and Schema Org |
Yes please, we need them on React London for the google maps link Can built it like so: http://www.google.com/maps/place/49.46800006494457,17.11514008755796 |
@@ -76,6 +77,10 @@ export const EventType = new GraphQLObjectType({ | |||
type: GraphQLString, | |||
description: 'Filename of an image uploaded to a 3rd party hosting service', | |||
}, | |||
location: { | |||
type: LocationType, | |||
description: 'The address of the event in both postal and coordinate form', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this correct?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yup. I have broken it further down now so it is now:
location -> address, coordinates -> lat, long
Looks good :) |
925925b
to
94aa626
Compare
No description provided.