Skip to content
This repository has been archived by the owner on Feb 8, 2023. It is now read-only.

Added address field to event type #42

Merged
merged 3 commits into from
Jul 20, 2016
Merged

Conversation

AndrewBestbier
Copy link
Contributor

No description provided.

@lpil
Copy link
Contributor

lpil commented Jul 19, 2016

Is address descriptive enough?

Also needs a location link which will be used for a google maps link on react.london events

@AndrewBestbier
Copy link
Contributor Author

@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.

@jameshopkins
Copy link
Contributor

Coordinates will be super useful when implement things like OpenGraph and Schema Org

@lpil
Copy link
Contributor

lpil commented Jul 20, 2016

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',
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this correct?

Copy link
Contributor Author

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

@lpil
Copy link
Contributor

lpil commented Jul 20, 2016

Looks good :)

@AndrewBestbier AndrewBestbier force-pushed the adding-address-to-event-type branch from 925925b to 94aa626 Compare July 20, 2016 10:25
@asavin asavin merged commit 35754c8 into master Jul 20, 2016
@asavin asavin deleted the adding-address-to-event-type branch July 20, 2016 10:31
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants