Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
type Query {
vacationRentalById(id: $id) : VacationRental
type VacationRental {
id: ID!
title: String
description: String
owner: Owner!
roomCount: Int
address: Address
geolocation: GeoLocation
price: Price
type Owner {
name: String!
email: String!
phone: String!
twitterHandle: String
inboxNotifications: [Notification]
type Address {
line1: String!
line2: String
city: String!
state: String!
zip: String!
type Price {
amount: Float!
currency: String!
type GeoLocation {
latitude: String!
longitude: String!
type Notification {
timestamp: String!
message: String!
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.