Skip to content

dougogodinho/graphql-eloquent-di-meetup

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GraphQL + Eloquent

Direto ao ponto!


Resources:


Queries to support

# List users
{
    users {
        name
        address { 
            city 
        }
        posts { 
            id
            title
            comments {
                content 
            } 
        }
    }
}
# Get single user
{
    user(id: 5) {
        name
        address { 
            city 
        }
        posts { 
            id
            title
            comments {
                content 
            } 
        }
    }
}
# Create user
mutation ($user: UserInput) {
    createUser(user: $user){
        id
    }
}
{
	"user": {
		"name": "Doug",
		"email": "doug@testing.com",
		"birthday":"1988-05-17",
		"address":{
			"street": "",
			"city": "Floripa",
			"state": "SC"
		}
	}
}

About

Meetup GraphqL + Eloquent: Direto ao Ponto (com DI)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages