From 9df93d4d466ac864de8b2ab013eb4808f157cd49 Mon Sep 17 00:00:00 2001 From: Vladimir Razuvaev Date: Sat, 15 Oct 2016 22:43:46 +0700 Subject: [PATCH] Update README.md --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 148a549..0b214a6 100644 --- a/README.md +++ b/README.md @@ -29,7 +29,7 @@ This implementation will follow JavaScript version as close as possible until Gr ## Overview GraphQL is intended to be a replacement for REST APIs. [Read more](http://facebook.github.io/react/blog/2015/05/01/graphql-introduction.html) about rationale behind it. -Example: +Example usage: ```php $result = GraphQL::execute( StarWarsSchema::build(), @@ -59,7 +59,7 @@ Result returned: ] ] ``` - +(see also [schema definition](https://github.com/webonyx/graphql-php/blob/master/tests/StarWarsSchema.php#L22) for type system of this example). This PHP implementation is a thin wrapper around your existing data layer and business logic. It doesn't dictate how these layers are implemented or which storage engines are used. Instead it provides tools for creating API for your existing app. These tools include: - Type system