mirror of
https://github.com/retailcrm/graphql-php.git
synced 2024-11-22 21:06:05 +03:00
Deployed 848f9c3
with MkDocs version: 0.16.3
This commit is contained in:
parent
2d6fbf6ca6
commit
b48875693c
BIN
__init__.pyc
BIN
__init__.pyc
Binary file not shown.
118
base.html
118
base.html
@ -1,118 +0,0 @@
|
|||||||
<!DOCTYPE html>
|
|
||||||
<!--[if IE 8]><html class="no-js lt-ie9" lang="en" > <![endif]-->
|
|
||||||
<!--[if gt IE 8]><!--> <html class="no-js" lang="en" > <!--<![endif]-->
|
|
||||||
<head>
|
|
||||||
<meta charset="utf-8">
|
|
||||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
||||||
{% if page_description %}<meta name="description" content="{{ page_description }}">{% endif %}
|
|
||||||
{% if site_author %}<meta name="author" content="{{ site_author }}">{% endif %}
|
|
||||||
{% block htmltitle %}
|
|
||||||
<title>{% if page_title %}{{ page_title }} - {% endif %}{{ site_name }}</title>
|
|
||||||
{% endblock %}
|
|
||||||
|
|
||||||
{% if favicon %}<link rel="shortcut icon" href="{{ favicon }}">
|
|
||||||
{% else %}<link rel="shortcut icon" href="{{ base_url }}/img/favicon.ico">{% endif %}
|
|
||||||
|
|
||||||
{# CSS #}
|
|
||||||
<link href='https://fonts.googleapis.com/css?family=Lato:400,700|Roboto+Slab:400,700|Inconsolata:400,700' rel='stylesheet' type='text/css'>
|
|
||||||
|
|
||||||
<link rel="stylesheet" href="{{ base_url }}/css/theme.css" type="text/css" />
|
|
||||||
<link rel="stylesheet" href="{{ base_url }}/css/theme_extra.css" type="text/css" />
|
|
||||||
<link rel="stylesheet" href="{{ base_url }}/css/highlight.css">
|
|
||||||
{%- for path in extra_css %}
|
|
||||||
<link href="{{ path }}" rel="stylesheet">
|
|
||||||
{%- endfor %}
|
|
||||||
|
|
||||||
{% if current_page %}
|
|
||||||
<script>
|
|
||||||
// Current page data
|
|
||||||
var mkdocs_page_name = "{{ page_title }}";
|
|
||||||
var mkdocs_page_input_path = "{{ current_page.input_path }}";
|
|
||||||
var mkdocs_page_url = "{{ current_page.abs_url }}";
|
|
||||||
</script>
|
|
||||||
{% endif %}
|
|
||||||
<script src="{{ base_url }}/js/jquery-2.1.1.min.js"></script>
|
|
||||||
<script src="{{ base_url }}/js/modernizr-2.8.3.min.js"></script>
|
|
||||||
<script type="text/javascript" src="{{ base_url }}/js/highlight.pack.js"></script>
|
|
||||||
<script src="{{ base_url }}/js/theme.js"></script>
|
|
||||||
|
|
||||||
{%- block extrahead %} {% endblock %}
|
|
||||||
|
|
||||||
{%- for path in extra_javascript %}
|
|
||||||
<script src="{{ path }}"></script>
|
|
||||||
{%- endfor %}
|
|
||||||
|
|
||||||
{% if google_analytics %}
|
|
||||||
<script>
|
|
||||||
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
|
|
||||||
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
|
|
||||||
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
|
|
||||||
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
|
|
||||||
|
|
||||||
ga('create', '{{ google_analytics[0] }}', '{{ google_analytics[1] }}');
|
|
||||||
ga('send', 'pageview');
|
|
||||||
</script>
|
|
||||||
{% endif %}
|
|
||||||
</head>
|
|
||||||
|
|
||||||
<body class="wy-body-for-nav" role="document">
|
|
||||||
|
|
||||||
<div class="wy-grid-for-nav">
|
|
||||||
|
|
||||||
{# SIDE NAV, TOGGLES ON MOBILE #}
|
|
||||||
<nav data-toggle="wy-nav-shift" class="wy-nav-side stickynav">
|
|
||||||
<div class="wy-side-nav-search">
|
|
||||||
<a href="{{ homepage_url }}" class="icon icon-home"> {{ site_name }}</a>
|
|
||||||
{% include "searchbox.html" %}
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="wy-menu wy-menu-vertical" data-spy="affix" role="navigation" aria-label="main navigation">
|
|
||||||
<ul class="current">
|
|
||||||
{% for nav_item in nav %}
|
|
||||||
<li>{% include "toc.html" %}<li>
|
|
||||||
{% endfor %}
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
</nav>
|
|
||||||
|
|
||||||
<section data-toggle="wy-nav-shift" class="wy-nav-content-wrap">
|
|
||||||
|
|
||||||
{# MOBILE NAV, TRIGGLES SIDE NAV ON TOGGLE #}
|
|
||||||
<nav class="wy-nav-top" role="navigation" aria-label="top navigation">
|
|
||||||
<i data-toggle="wy-nav-top" class="fa fa-bars"></i>
|
|
||||||
<a href="{{ homepage_url }}">{{ site_name }}</a>
|
|
||||||
</nav>
|
|
||||||
|
|
||||||
{# PAGE CONTENT #}
|
|
||||||
<div class="wy-nav-content">
|
|
||||||
<div class="rst-content">
|
|
||||||
{% include "breadcrumbs.html" %}
|
|
||||||
<div role="main">
|
|
||||||
<div class="section">
|
|
||||||
{% block content %}
|
|
||||||
{{ content }}
|
|
||||||
{% endblock %}
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
{%- block footer %}
|
|
||||||
{% include "footer.html" %}
|
|
||||||
{% endblock %}
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
</section>
|
|
||||||
|
|
||||||
</div>
|
|
||||||
|
|
||||||
{% include "versions.html" %}
|
|
||||||
|
|
||||||
</body>
|
|
||||||
</html>
|
|
||||||
{% if current_page and current_page.is_homepage %}
|
|
||||||
<!--
|
|
||||||
MkDocs version : {{ mkdocs_version }}
|
|
||||||
Build Date UTC : {{ build_date_utc }}
|
|
||||||
-->
|
|
||||||
{% endif %}
|
|
@ -1,25 +0,0 @@
|
|||||||
<div role="navigation" aria-label="breadcrumbs navigation">
|
|
||||||
<ul class="wy-breadcrumbs">
|
|
||||||
<li><a href="{{ homepage_url }}">Docs</a> »</li>
|
|
||||||
{% if current_page %}
|
|
||||||
{% for doc in current_page.ancestors %}
|
|
||||||
{% if doc.link %}
|
|
||||||
<li><a href="{{ doc.link|e }}">{{ doc.title }}</a> »</li>
|
|
||||||
{% else %}
|
|
||||||
<li>{{ doc.title }} »</li>
|
|
||||||
{% endif %}
|
|
||||||
{% endfor %}
|
|
||||||
{% endif %}
|
|
||||||
{% if current_page %}<li>{{ current_page.title }}</li>{% endif %}
|
|
||||||
<li class="wy-breadcrumbs-aside">
|
|
||||||
{% if repo_url %}
|
|
||||||
{% if repo_name == 'GitHub' %}
|
|
||||||
<a href="{{ repo_url }}" class="icon icon-github"> Edit on GitHub</a>
|
|
||||||
{% elif repo_name == 'Bitbucket' %}
|
|
||||||
<a href="{{ repo_url }}" class="icon icon-bitbucket"> Edit on BitBucket</a>
|
|
||||||
{% endif %}
|
|
||||||
{% endif %}
|
|
||||||
</li>
|
|
||||||
</ul>
|
|
||||||
<hr/>
|
|
||||||
</div>
|
|
@ -7,20 +7,14 @@
|
|||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<title>Complementary Tools - graphql-php</title>
|
|
||||||
|
|
||||||
|
|
||||||
<link rel="shortcut icon" href="../img/favicon.ico">
|
<link rel="shortcut icon" href="../img/favicon.ico">
|
||||||
|
<title>Complementary Tools - graphql-php</title>
|
||||||
|
|
||||||
<link href='https://fonts.googleapis.com/css?family=Lato:400,700|Roboto+Slab:400,700|Inconsolata:400,700' rel='stylesheet' type='text/css'>
|
<link href='https://fonts.googleapis.com/css?family=Lato:400,700|Roboto+Slab:400,700|Inconsolata:400,700' rel='stylesheet' type='text/css'>
|
||||||
|
|
||||||
<link rel="stylesheet" href="../css/theme.css" type="text/css" />
|
<link rel="stylesheet" href="../css/theme.css" type="text/css" />
|
||||||
<link rel="stylesheet" href="../css/theme_extra.css" type="text/css" />
|
<link rel="stylesheet" href="../css/theme_extra.css" type="text/css" />
|
||||||
<link rel="stylesheet" href="../css/highlight.css">
|
<link rel="stylesheet" href="../css/highlight.css">
|
||||||
|
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
// Current page data
|
// Current page data
|
||||||
var mkdocs_page_name = "Complementary Tools";
|
var mkdocs_page_name = "Complementary Tools";
|
||||||
@ -31,8 +25,6 @@
|
|||||||
<script src="../js/jquery-2.1.1.min.js"></script>
|
<script src="../js/jquery-2.1.1.min.js"></script>
|
||||||
<script src="../js/modernizr-2.8.3.min.js"></script>
|
<script src="../js/modernizr-2.8.3.min.js"></script>
|
||||||
<script type="text/javascript" src="../js/highlight.pack.js"></script>
|
<script type="text/javascript" src="../js/highlight.pack.js"></script>
|
||||||
<script src="../js/theme.js"></script>
|
|
||||||
|
|
||||||
|
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
@ -52,137 +44,94 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="wy-menu wy-menu-vertical" data-spy="affix" role="navigation" aria-label="main navigation">
|
<div class="wy-menu wy-menu-vertical" data-spy="affix" role="navigation" aria-label="main navigation">
|
||||||
<ul class="current">
|
<ul class="current">
|
||||||
|
|
||||||
<li>
|
|
||||||
<li class="toctree-l1 ">
|
|
||||||
<a class="" href="..">About</a>
|
|
||||||
|
|
||||||
</li>
|
<li class="toctree-l1">
|
||||||
<li>
|
|
||||||
|
|
||||||
<li>
|
<a class="" href="..">About</a>
|
||||||
<li class="toctree-l1 ">
|
</li>
|
||||||
<a class="" href="../getting-started/">Getting Started</a>
|
|
||||||
|
|
||||||
</li>
|
<li class="toctree-l1">
|
||||||
<li>
|
|
||||||
|
|
||||||
<li>
|
<a class="" href="../getting-started/">Getting Started</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
<li class="toctree-l1">
|
||||||
|
|
||||||
|
<span class="caption-text">Type System</span>
|
||||||
<ul class="subnav">
|
<ul class="subnav">
|
||||||
<li><span>Type System</span></li>
|
<li class="">
|
||||||
|
|
||||||
|
<a class="" href="../type-system/">Introduction</a>
|
||||||
|
</li>
|
||||||
|
<li class="">
|
||||||
|
|
||||||
|
<a class="" href="../type-system/object-types/">Object Types</a>
|
||||||
|
</li>
|
||||||
|
<li class="">
|
||||||
|
|
||||||
|
<a class="" href="../type-system/scalar-types/">Scalar Types</a>
|
||||||
|
</li>
|
||||||
|
<li class="">
|
||||||
|
|
||||||
|
<a class="" href="../type-system/enum-types/">Enumeration Types</a>
|
||||||
|
</li>
|
||||||
|
<li class="">
|
||||||
|
|
||||||
|
<a class="" href="../type-system/lists-and-nonnulls/">Lists and Non-Null</a>
|
||||||
|
</li>
|
||||||
|
<li class="">
|
||||||
|
|
||||||
|
<a class="" href="../type-system/interfaces/">Interfaces</a>
|
||||||
|
</li>
|
||||||
|
<li class="">
|
||||||
|
|
||||||
|
<a class="" href="../type-system/unions/">Unions</a>
|
||||||
|
</li>
|
||||||
|
<li class="">
|
||||||
|
|
||||||
|
<a class="" href="../type-system/input-types/">Input Types</a>
|
||||||
|
</li>
|
||||||
|
<li class="">
|
||||||
|
|
||||||
|
<a class="" href="../type-system/directives/">Directives</a>
|
||||||
|
</li>
|
||||||
|
<li class="">
|
||||||
|
|
||||||
|
<a class="" href="../type-system/schema/">Schema</a>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
<li class="toctree-l1">
|
||||||
|
|
||||||
|
<a class="" href="../executing-queries/">Executing Queries</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
<li class="toctree-l1">
|
||||||
|
|
||||||
|
<a class="" href="../data-fetching/">Fetching Data</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
<li class="toctree-l1">
|
||||||
|
|
||||||
|
<a class="" href="../error-handling/">Handling Errors</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
<li class="toctree-l1 current">
|
||||||
|
|
||||||
|
<a class="current" href="./">Complementary Tools</a>
|
||||||
|
<ul class="subnav">
|
||||||
|
|
||||||
|
<li class="toctree-l2"><a href="#integrations">Integrations</a></li>
|
||||||
|
|
||||||
|
|
||||||
|
<li class="toctree-l2"><a href="#tools">Tools</a></li>
|
||||||
<li class="toctree-l1 ">
|
|
||||||
<a class="" href="../type-system/">Introduction</a>
|
|
||||||
|
|
||||||
</li>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<li class="toctree-l1 ">
|
|
||||||
<a class="" href="../type-system/object-types/">Object Types</a>
|
|
||||||
|
|
||||||
</li>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<li class="toctree-l1 ">
|
|
||||||
<a class="" href="../type-system/scalar-types/">Scalar Types</a>
|
|
||||||
|
|
||||||
</li>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<li class="toctree-l1 ">
|
|
||||||
<a class="" href="../type-system/enum-types/">Enumeration Types</a>
|
|
||||||
|
|
||||||
</li>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<li class="toctree-l1 ">
|
|
||||||
<a class="" href="../type-system/lists-and-nonnulls/">Lists and Non-Null</a>
|
|
||||||
|
|
||||||
</li>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<li class="toctree-l1 ">
|
|
||||||
<a class="" href="../type-system/interfaces/">Interfaces</a>
|
|
||||||
|
|
||||||
</li>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<li class="toctree-l1 ">
|
|
||||||
<a class="" href="../type-system/unions/">Unions</a>
|
|
||||||
|
|
||||||
</li>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<li class="toctree-l1 ">
|
|
||||||
<a class="" href="../type-system/input-types/">Input Types</a>
|
|
||||||
|
|
||||||
</li>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<li class="toctree-l1 ">
|
|
||||||
<a class="" href="../type-system/directives/">Directives</a>
|
|
||||||
|
|
||||||
</li>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<li class="toctree-l1 ">
|
|
||||||
<a class="" href="../type-system/schema/">Schema</a>
|
|
||||||
|
|
||||||
</li>
|
|
||||||
|
|
||||||
|
|
||||||
</ul>
|
</ul>
|
||||||
<li>
|
</li>
|
||||||
|
|
||||||
<li>
|
|
||||||
<li class="toctree-l1 ">
|
|
||||||
<a class="" href="../executing-queries/">Executing Queries</a>
|
|
||||||
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
|
|
||||||
<li>
|
|
||||||
<li class="toctree-l1 ">
|
|
||||||
<a class="" href="../data-fetching/">Fetching Data</a>
|
|
||||||
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
|
|
||||||
<li>
|
|
||||||
<li class="toctree-l1 ">
|
|
||||||
<a class="" href="../error-handling/">Handling Errors</a>
|
|
||||||
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
|
|
||||||
<li>
|
|
||||||
<li class="toctree-l1 current">
|
|
||||||
<a class="current" href="./">Complementary Tools</a>
|
|
||||||
|
|
||||||
<ul>
|
|
||||||
|
|
||||||
<li class="toctree-l3"><a href="#integrations">Integrations</a></li>
|
|
||||||
|
|
||||||
|
|
||||||
<li class="toctree-l3"><a href="#tools">Tools</a></li>
|
|
||||||
|
|
||||||
|
|
||||||
</ul>
|
|
||||||
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
|
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
@ -259,7 +208,7 @@
|
|||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="rst-versions" role="note" style="cursor: pointer">
|
<div class="rst-versions" role="note" style="cursor: pointer">
|
||||||
<span class="rst-current-version" data-toggle="rst-current-version">
|
<span class="rst-current-version" data-toggle="rst-current-version">
|
||||||
|
|
||||||
|
|
||||||
@ -268,6 +217,7 @@
|
|||||||
|
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
|
<script src="../js/theme.js"></script>
|
||||||
|
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
@ -8,7 +8,6 @@ github.com style (c) Vasily Polovnyov <vast@whiteants.net>
|
|||||||
.hljs {
|
.hljs {
|
||||||
display: block;
|
display: block;
|
||||||
overflow-x: auto;
|
overflow-x: auto;
|
||||||
padding: 0.5em;
|
|
||||||
color: #333;
|
color: #333;
|
||||||
-webkit-text-size-adjust: none;
|
-webkit-text-size-adjust: none;
|
||||||
}
|
}
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
* theme. To aid upgradability this file should *not* be edited.
|
* theme. To aid upgradability this file should *not* be edited.
|
||||||
* modifications we need should be included in theme_extra.css.
|
* modifications we need should be included in theme_extra.css.
|
||||||
*
|
*
|
||||||
* https://github.com/rtfd/readthedocs.org/blob/master/media/css/sphinx_rtd_theme.css
|
* https://github.com/rtfd/readthedocs.org/blob/master/readthedocs/core/static/core/css/theme.css
|
||||||
*/
|
*/
|
||||||
|
|
||||||
*{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}article,aside,details,figcaption,figure,footer,header,hgroup,nav,section{display:block}audio,canvas,video{display:inline-block;*display:inline;*zoom:1}audio:not([controls]){display:none}[hidden]{display:none}*{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}html{font-size:100%;-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%}body{margin:0}a:hover,a:active{outline:0}abbr[title]{border-bottom:1px dotted}b,strong{font-weight:bold}blockquote{margin:0}dfn{font-style:italic}ins{background:#ff9;color:#000;text-decoration:none}mark{background:#ff0;color:#000;font-style:italic;font-weight:bold}pre,code,.rst-content tt,kbd,samp{font-family:monospace,serif;_font-family:"courier new",monospace;font-size:1em}pre{white-space:pre}q{quotes:none}q:before,q:after{content:"";content:none}small{font-size:85%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sup{top:-0.5em}sub{bottom:-0.25em}ul,ol,dl{margin:0;padding:0;list-style:none;list-style-image:none}li{list-style:none}dd{margin:0}img{border:0;-ms-interpolation-mode:bicubic;vertical-align:middle;max-width:100%}svg:not(:root){overflow:hidden}figure{margin:0}form{margin:0}fieldset{border:0;margin:0;padding:0}label{cursor:pointer}legend{border:0;*margin-left:-7px;padding:0;white-space:normal}button,input,select,textarea{font-size:100%;margin:0;vertical-align:baseline;*vertical-align:middle}button,input{line-height:normal}button,input[type="button"],input[type="reset"],input[type="submit"]{cursor:pointer;-webkit-appearance:button;*overflow:visible}button[disabled],input[disabled]{cursor:default}input[type="checkbox"],input[type="radio"]{box-sizing:border-box;padding:0;*width:13px;*height:13px}input[type="search"]{-webkit-appearance:textfield;-moz-box-sizing:content-box;-webkit-box-sizing:content-box;box-sizing:content-box}input[type="search"]::-webkit-search-decoration,input[type="search"]::-webkit-search-cancel-button{-webkit-appearance:none}button::-moz-focus-inner,input::-moz-focus-inner{border:0;padding:0}textarea{overflow:auto;vertical-align:top;resize:vertical}table{border-collapse:collapse;border-spacing:0}td{vertical-align:top}.chromeframe{margin:0.2em 0;background:#ccc;color:#000;padding:0.2em 0}.ir{display:block;border:0;text-indent:-999em;overflow:hidden;background-color:transparent;background-repeat:no-repeat;text-align:left;direction:ltr;*line-height:0}.ir br{display:none}.hidden{display:none !important;visibility:hidden}.visuallyhidden{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px}.visuallyhidden.focusable:active,.visuallyhidden.focusable:focus{clip:auto;height:auto;margin:0;overflow:visible;position:static;width:auto}.invisible{visibility:hidden}.relative{position:relative}big,small{font-size:100%}@media print{html,body,section{background:none !important}*{box-shadow:none !important;text-shadow:none !important;filter:none !important;-ms-filter:none !important}a,a:visited{text-decoration:underline}.ir a:after,a[href^="javascript:"]:after,a[href^="#"]:after{content:""}pre,blockquote{page-break-inside:avoid}thead{display:table-header-group}tr,img{page-break-inside:avoid}img{max-width:100% !important}@page{margin:0.5cm}p,h2,h3{orphans:3;widows:3}h2,h3{page-break-after:avoid}}.fa:before,.rst-content .admonition-title:before,.rst-content h1 .headerlink:before,.rst-content h2 .headerlink:before,.rst-content h3 .headerlink:before,.rst-content h4 .headerlink:before,.rst-content h5 .headerlink:before,.rst-content h6 .headerlink:before,.rst-content dl dt .headerlink:before,.icon:before,.wy-dropdown .caret:before,.wy-inline-validate.wy-inline-validate-success .wy-input-context:before,.wy-inline-validate.wy-inline-validate-danger .wy-input-context:before,.wy-inline-validate.wy-inline-validate-warning .wy-input-context:before,.wy-inline-validate.wy-inline-validate-info .wy-input-context:before,.wy-alert,.rst-content .note,.rst-content .attention,.rst-content .caution,.rst-content .danger,.rst-content .error,.rst-content .hint,.rst-content .important,.rst-content .tip,.rst-content .warning,.rst-content .seealso,.rst-content .admonition-todo,.btn,input[type="text"],input[type="password"],input[type="email"],input[type="url"],input[type="date"],input[type="month"],input[type="time"],input[type="datetime"],input[type="datetime-local"],input[type="week"],input[type="number"],input[type="search"],input[type="tel"],input[type="color"],select,textarea,.wy-menu-vertical li.on a,.wy-menu-vertical li.current>a,.wy-side-nav-search>a,.wy-side-nav-search .wy-dropdown>a,.wy-nav-top a{-webkit-font-smoothing:antialiased}.clearfix{*zoom:1}.clearfix:before,.clearfix:after{display:table;content:""}.clearfix:after{clear:both}/*!
|
*{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}article,aside,details,figcaption,figure,footer,header,hgroup,nav,section{display:block}audio,canvas,video{display:inline-block;*display:inline;*zoom:1}audio:not([controls]){display:none}[hidden]{display:none}*{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}html{font-size:100%;-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%}body{margin:0}a:hover,a:active{outline:0}abbr[title]{border-bottom:1px dotted}b,strong{font-weight:bold}blockquote{margin:0}dfn{font-style:italic}ins{background:#ff9;color:#000;text-decoration:none}mark{background:#ff0;color:#000;font-style:italic;font-weight:bold}pre,code,.rst-content tt,kbd,samp{font-family:monospace,serif;_font-family:"courier new",monospace;font-size:1em}pre{white-space:pre}q{quotes:none}q:before,q:after{content:"";content:none}small{font-size:85%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sup{top:-0.5em}sub{bottom:-0.25em}ul,ol,dl{margin:0;padding:0;list-style:none;list-style-image:none}li{list-style:none}dd{margin:0}img{border:0;-ms-interpolation-mode:bicubic;vertical-align:middle;max-width:100%}svg:not(:root){overflow:hidden}figure{margin:0}form{margin:0}fieldset{border:0;margin:0;padding:0}label{cursor:pointer}legend{border:0;*margin-left:-7px;padding:0;white-space:normal}button,input,select,textarea{font-size:100%;margin:0;vertical-align:baseline;*vertical-align:middle}button,input{line-height:normal}button,input[type="button"],input[type="reset"],input[type="submit"]{cursor:pointer;-webkit-appearance:button;*overflow:visible}button[disabled],input[disabled]{cursor:default}input[type="checkbox"],input[type="radio"]{box-sizing:border-box;padding:0;*width:13px;*height:13px}input[type="search"]{-webkit-appearance:textfield;-moz-box-sizing:content-box;-webkit-box-sizing:content-box;box-sizing:content-box}input[type="search"]::-webkit-search-decoration,input[type="search"]::-webkit-search-cancel-button{-webkit-appearance:none}button::-moz-focus-inner,input::-moz-focus-inner{border:0;padding:0}textarea{overflow:auto;vertical-align:top;resize:vertical}table{border-collapse:collapse;border-spacing:0}td{vertical-align:top}.chromeframe{margin:0.2em 0;background:#ccc;color:#000;padding:0.2em 0}.ir{display:block;border:0;text-indent:-999em;overflow:hidden;background-color:transparent;background-repeat:no-repeat;text-align:left;direction:ltr;*line-height:0}.ir br{display:none}.hidden{display:none !important;visibility:hidden}.visuallyhidden{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px}.visuallyhidden.focusable:active,.visuallyhidden.focusable:focus{clip:auto;height:auto;margin:0;overflow:visible;position:static;width:auto}.invisible{visibility:hidden}.relative{position:relative}big,small{font-size:100%}@media print{html,body,section{background:none !important}*{box-shadow:none !important;text-shadow:none !important;filter:none !important;-ms-filter:none !important}a,a:visited{text-decoration:underline}.ir a:after,a[href^="javascript:"]:after,a[href^="#"]:after{content:""}pre,blockquote{page-break-inside:avoid}thead{display:table-header-group}tr,img{page-break-inside:avoid}img{max-width:100% !important}@page{margin:0.5cm}p,h2,h3{orphans:3;widows:3}h2,h3{page-break-after:avoid}}.fa:before,.rst-content .admonition-title:before,.rst-content h1 .headerlink:before,.rst-content h2 .headerlink:before,.rst-content h3 .headerlink:before,.rst-content h4 .headerlink:before,.rst-content h5 .headerlink:before,.rst-content h6 .headerlink:before,.rst-content dl dt .headerlink:before,.icon:before,.wy-dropdown .caret:before,.wy-inline-validate.wy-inline-validate-success .wy-input-context:before,.wy-inline-validate.wy-inline-validate-danger .wy-input-context:before,.wy-inline-validate.wy-inline-validate-warning .wy-input-context:before,.wy-inline-validate.wy-inline-validate-info .wy-input-context:before,.wy-alert,.rst-content .note,.rst-content .attention,.rst-content .caution,.rst-content .danger,.rst-content .error,.rst-content .hint,.rst-content .important,.rst-content .tip,.rst-content .warning,.rst-content .seealso,.rst-content .admonition-todo,.btn,input[type="text"],input[type="password"],input[type="email"],input[type="url"],input[type="date"],input[type="month"],input[type="time"],input[type="datetime"],input[type="datetime-local"],input[type="week"],input[type="number"],input[type="search"],input[type="tel"],input[type="color"],select,textarea,.wy-menu-vertical li.on a,.wy-menu-vertical li.current>a,.wy-side-nav-search>a,.wy-side-nav-search .wy-dropdown>a,.wy-nav-top a{-webkit-font-smoothing:antialiased}.clearfix{*zoom:1}.clearfix:before,.clearfix:after{display:table;content:""}.clearfix:after{clear:both}/*!
|
||||||
|
@ -1,15 +1,3 @@
|
|||||||
/*
|
|
||||||
* Tweak the overal size to better match RTD.
|
|
||||||
*/
|
|
||||||
html {
|
|
||||||
font-size: 90%;
|
|
||||||
}
|
|
||||||
|
|
||||||
h3, h4, h5, h6 {
|
|
||||||
color: #2980b9;
|
|
||||||
font-weight: 300
|
|
||||||
}
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Sphinx doesn't have support for section dividers like we do in
|
* Sphinx doesn't have support for section dividers like we do in
|
||||||
* MkDocs, this styles the section titles in the nav
|
* MkDocs, this styles the section titles in the nav
|
||||||
@ -34,10 +22,25 @@ h3, h4, h5, h6 {
|
|||||||
* area doesn't scroll.
|
* area doesn't scroll.
|
||||||
*
|
*
|
||||||
* https://github.com/mkdocs/mkdocs/pull/202
|
* https://github.com/mkdocs/mkdocs/pull/202
|
||||||
|
*
|
||||||
|
* Builds upon pull 202 https://github.com/mkdocs/mkdocs/pull/202
|
||||||
|
* to make toc scrollbar end before navigations buttons to not be overlapping.
|
||||||
*/
|
*/
|
||||||
.wy-nav-side {
|
.wy-nav-side {
|
||||||
height: 100%;
|
height: calc(100% - 45px);
|
||||||
overflow-y: auto;
|
overflow-y: auto;
|
||||||
|
min-height: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.rst-versions{
|
||||||
|
border-top: 0;
|
||||||
|
height: 45px;
|
||||||
|
}
|
||||||
|
|
||||||
|
@media screen and (max-width: 768px) {
|
||||||
|
.wy-nav-side {
|
||||||
|
height: 100%;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
@ -50,23 +53,49 @@ h3, h4, h5, h6 {
|
|||||||
margin-bottom: 2em;
|
margin-bottom: 2em;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
|
||||||
* Fix wrapping in the code highlighting
|
|
||||||
*
|
|
||||||
* https://github.com/mkdocs/mkdocs/issues/233
|
|
||||||
*/
|
|
||||||
code {
|
|
||||||
white-space: pre;
|
|
||||||
}
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Wrap inline code samples otherwise they shoot of the side and
|
* Wrap inline code samples otherwise they shoot of the side and
|
||||||
* can't be read at all.
|
* can't be read at all.
|
||||||
*
|
*
|
||||||
* https://github.com/mkdocs/mkdocs/issues/313
|
* https://github.com/mkdocs/mkdocs/issues/313
|
||||||
|
* https://github.com/mkdocs/mkdocs/issues/233
|
||||||
|
* https://github.com/mkdocs/mkdocs/issues/834
|
||||||
*/
|
*/
|
||||||
p code {
|
code {
|
||||||
|
white-space: pre-wrap;
|
||||||
word-wrap: break-word;
|
word-wrap: break-word;
|
||||||
|
padding: 2px 5px;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Make code blocks display as blocks and give them the appropriate
|
||||||
|
* font size and padding.
|
||||||
|
*
|
||||||
|
* https://github.com/mkdocs/mkdocs/issues/855
|
||||||
|
* https://github.com/mkdocs/mkdocs/issues/834
|
||||||
|
* https://github.com/mkdocs/mkdocs/issues/233
|
||||||
|
*/
|
||||||
|
pre code {
|
||||||
|
white-space: pre;
|
||||||
|
word-wrap: normal;
|
||||||
|
display: block;
|
||||||
|
padding: 12px;
|
||||||
|
font-size: 12px;
|
||||||
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Fix link colors when the link text is inline code.
|
||||||
|
*
|
||||||
|
* https://github.com/mkdocs/mkdocs/issues/718
|
||||||
|
*/
|
||||||
|
a code {
|
||||||
|
color: #2980B9;
|
||||||
|
}
|
||||||
|
a:hover code {
|
||||||
|
color: #3091d1;
|
||||||
|
}
|
||||||
|
a:visited code {
|
||||||
|
color: #9B59B6;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
@ -76,7 +105,7 @@ p code {
|
|||||||
*
|
*
|
||||||
* https://github.com/mkdocs/mkdocs/issues/411
|
* https://github.com/mkdocs/mkdocs/issues/411
|
||||||
*/
|
*/
|
||||||
code.cs, code.c {
|
pre .cs, pre .c {
|
||||||
font-weight: inherit;
|
font-weight: inherit;
|
||||||
font-style: inherit;
|
font-style: inherit;
|
||||||
}
|
}
|
||||||
@ -99,21 +128,20 @@ code.cs, code.c {
|
|||||||
* Additions specific to the search functionality provided by MkDocs
|
* Additions specific to the search functionality provided by MkDocs
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#mkdocs-search-results article h3
|
.search-results article {
|
||||||
{
|
|
||||||
margin-top: 23px;
|
margin-top: 23px;
|
||||||
border-top: 1px solid #E1E4E5;
|
border-top: 1px solid #E1E4E5;
|
||||||
padding-top: 24px;
|
padding-top: 24px;
|
||||||
}
|
}
|
||||||
|
|
||||||
#mkdocs-search-results article:first-child h3 {
|
.search-results article:first-child {
|
||||||
border-top: none;
|
border-top: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
#mkdocs-search-query{
|
form .search-query {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
border-radius: 50px;
|
border-radius: 50px;
|
||||||
padding: 6px 12px;
|
padding: 6px 12px; /* csslint allow: box-model */
|
||||||
border-color: #D1D4D5;
|
border-color: #D1D4D5;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -125,14 +153,41 @@ code.cs, code.c {
|
|||||||
padding-left: 1em;
|
padding-left: 1em;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.wy-menu-vertical .subnav li.current > a {
|
||||||
|
padding-left: 2.42em;
|
||||||
|
}
|
||||||
|
.wy-menu-vertical .subnav li.current > ul li a {
|
||||||
|
padding-left: 3.23em;
|
||||||
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Improve inline code blocks within admonitions.
|
* Improve inline code blocks within admonitions.
|
||||||
*
|
*
|
||||||
* https://github.com/mkdocs/mkdocs/issues/656
|
* https://github.com/mkdocs/mkdocs/issues/656
|
||||||
*/
|
*/
|
||||||
div.admonition code {
|
.admonition code {
|
||||||
color: #404040;
|
color: #404040;
|
||||||
|
border: 1px solid #c7c9cb;
|
||||||
border: 1px solid rgba(0, 0, 0, 0.2);
|
border: 1px solid rgba(0, 0, 0, 0.2);
|
||||||
|
background: #f8fbfd;
|
||||||
background: rgba(255, 255, 255, 0.7);
|
background: rgba(255, 255, 255, 0.7);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Account for wide tables which go off the side.
|
||||||
|
* Override borders to avoid wierdness on narrow tables.
|
||||||
|
*
|
||||||
|
* https://github.com/mkdocs/mkdocs/issues/834
|
||||||
|
* https://github.com/mkdocs/mkdocs/pull/1034
|
||||||
|
*/
|
||||||
|
.rst-content .section .docutils {
|
||||||
|
width: 100%;
|
||||||
|
overflow: auto;
|
||||||
|
display: block;
|
||||||
|
border: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
td, th {
|
||||||
|
border: 1px solid #e1e4e5 !important; /* csslint allow: important */
|
||||||
|
border-collapse: collapse;
|
||||||
|
}
|
||||||
|
@ -7,20 +7,14 @@
|
|||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<title>Fetching Data - graphql-php</title>
|
|
||||||
|
|
||||||
|
|
||||||
<link rel="shortcut icon" href="../img/favicon.ico">
|
<link rel="shortcut icon" href="../img/favicon.ico">
|
||||||
|
<title>Fetching Data - graphql-php</title>
|
||||||
|
|
||||||
<link href='https://fonts.googleapis.com/css?family=Lato:400,700|Roboto+Slab:400,700|Inconsolata:400,700' rel='stylesheet' type='text/css'>
|
<link href='https://fonts.googleapis.com/css?family=Lato:400,700|Roboto+Slab:400,700|Inconsolata:400,700' rel='stylesheet' type='text/css'>
|
||||||
|
|
||||||
<link rel="stylesheet" href="../css/theme.css" type="text/css" />
|
<link rel="stylesheet" href="../css/theme.css" type="text/css" />
|
||||||
<link rel="stylesheet" href="../css/theme_extra.css" type="text/css" />
|
<link rel="stylesheet" href="../css/theme_extra.css" type="text/css" />
|
||||||
<link rel="stylesheet" href="../css/highlight.css">
|
<link rel="stylesheet" href="../css/highlight.css">
|
||||||
|
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
// Current page data
|
// Current page data
|
||||||
var mkdocs_page_name = "Fetching Data";
|
var mkdocs_page_name = "Fetching Data";
|
||||||
@ -31,8 +25,6 @@
|
|||||||
<script src="../js/jquery-2.1.1.min.js"></script>
|
<script src="../js/jquery-2.1.1.min.js"></script>
|
||||||
<script src="../js/modernizr-2.8.3.min.js"></script>
|
<script src="../js/modernizr-2.8.3.min.js"></script>
|
||||||
<script type="text/javascript" src="../js/highlight.pack.js"></script>
|
<script type="text/javascript" src="../js/highlight.pack.js"></script>
|
||||||
<script src="../js/theme.js"></script>
|
|
||||||
|
|
||||||
|
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
@ -52,146 +44,103 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="wy-menu wy-menu-vertical" data-spy="affix" role="navigation" aria-label="main navigation">
|
<div class="wy-menu wy-menu-vertical" data-spy="affix" role="navigation" aria-label="main navigation">
|
||||||
<ul class="current">
|
<ul class="current">
|
||||||
|
|
||||||
<li>
|
|
||||||
<li class="toctree-l1 ">
|
|
||||||
<a class="" href="..">About</a>
|
|
||||||
|
|
||||||
</li>
|
<li class="toctree-l1">
|
||||||
<li>
|
|
||||||
|
|
||||||
<li>
|
<a class="" href="..">About</a>
|
||||||
<li class="toctree-l1 ">
|
</li>
|
||||||
<a class="" href="../getting-started/">Getting Started</a>
|
|
||||||
|
|
||||||
</li>
|
<li class="toctree-l1">
|
||||||
<li>
|
|
||||||
|
|
||||||
<li>
|
<a class="" href="../getting-started/">Getting Started</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
<li class="toctree-l1">
|
||||||
|
|
||||||
|
<span class="caption-text">Type System</span>
|
||||||
<ul class="subnav">
|
<ul class="subnav">
|
||||||
<li><span>Type System</span></li>
|
<li class="">
|
||||||
|
|
||||||
|
<a class="" href="../type-system/">Introduction</a>
|
||||||
|
</li>
|
||||||
|
<li class="">
|
||||||
|
|
||||||
|
<a class="" href="../type-system/object-types/">Object Types</a>
|
||||||
|
</li>
|
||||||
|
<li class="">
|
||||||
|
|
||||||
|
<a class="" href="../type-system/scalar-types/">Scalar Types</a>
|
||||||
|
</li>
|
||||||
|
<li class="">
|
||||||
|
|
||||||
|
<a class="" href="../type-system/enum-types/">Enumeration Types</a>
|
||||||
|
</li>
|
||||||
|
<li class="">
|
||||||
|
|
||||||
|
<a class="" href="../type-system/lists-and-nonnulls/">Lists and Non-Null</a>
|
||||||
|
</li>
|
||||||
|
<li class="">
|
||||||
|
|
||||||
|
<a class="" href="../type-system/interfaces/">Interfaces</a>
|
||||||
|
</li>
|
||||||
|
<li class="">
|
||||||
|
|
||||||
|
<a class="" href="../type-system/unions/">Unions</a>
|
||||||
|
</li>
|
||||||
|
<li class="">
|
||||||
|
|
||||||
|
<a class="" href="../type-system/input-types/">Input Types</a>
|
||||||
|
</li>
|
||||||
|
<li class="">
|
||||||
|
|
||||||
|
<a class="" href="../type-system/directives/">Directives</a>
|
||||||
|
</li>
|
||||||
|
<li class="">
|
||||||
|
|
||||||
|
<a class="" href="../type-system/schema/">Schema</a>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
<li class="toctree-l1">
|
||||||
|
|
||||||
|
<a class="" href="../executing-queries/">Executing Queries</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
<li class="toctree-l1 current">
|
||||||
|
|
||||||
|
<a class="current" href="./">Fetching Data</a>
|
||||||
|
<ul class="subnav">
|
||||||
|
|
||||||
|
<li class="toctree-l2"><a href="#overview">Overview</a></li>
|
||||||
|
|
||||||
|
|
||||||
|
<li class="toctree-l2"><a href="#default-field-resolver">Default Field Resolver</a></li>
|
||||||
<li class="toctree-l1 ">
|
|
||||||
<a class="" href="../type-system/">Introduction</a>
|
|
||||||
|
|
||||||
</li>
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="toctree-l2"><a href="#default-field-resolver-per-type">Default Field Resolver per Type</a></li>
|
||||||
<li class="toctree-l1 ">
|
|
||||||
<a class="" href="../type-system/object-types/">Object Types</a>
|
|
||||||
|
|
||||||
</li>
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="toctree-l2"><a href="#solving-n1-problem">Solving N+1 Problem</a></li>
|
||||||
<li class="toctree-l1 ">
|
|
||||||
<a class="" href="../type-system/scalar-types/">Scalar Types</a>
|
|
||||||
|
|
||||||
</li>
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="toctree-l2"><a href="#async-php">Async PHP</a></li>
|
||||||
<li class="toctree-l1 ">
|
|
||||||
<a class="" href="../type-system/enum-types/">Enumeration Types</a>
|
|
||||||
|
|
||||||
</li>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<li class="toctree-l1 ">
|
|
||||||
<a class="" href="../type-system/lists-and-nonnulls/">Lists and Non-Null</a>
|
|
||||||
|
|
||||||
</li>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<li class="toctree-l1 ">
|
|
||||||
<a class="" href="../type-system/interfaces/">Interfaces</a>
|
|
||||||
|
|
||||||
</li>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<li class="toctree-l1 ">
|
|
||||||
<a class="" href="../type-system/unions/">Unions</a>
|
|
||||||
|
|
||||||
</li>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<li class="toctree-l1 ">
|
|
||||||
<a class="" href="../type-system/input-types/">Input Types</a>
|
|
||||||
|
|
||||||
</li>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<li class="toctree-l1 ">
|
|
||||||
<a class="" href="../type-system/directives/">Directives</a>
|
|
||||||
|
|
||||||
</li>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<li class="toctree-l1 ">
|
|
||||||
<a class="" href="../type-system/schema/">Schema</a>
|
|
||||||
|
|
||||||
</li>
|
|
||||||
|
|
||||||
|
|
||||||
</ul>
|
</ul>
|
||||||
<li>
|
</li>
|
||||||
|
|
||||||
<li>
|
<li class="toctree-l1">
|
||||||
<li class="toctree-l1 ">
|
|
||||||
<a class="" href="../executing-queries/">Executing Queries</a>
|
|
||||||
|
|
||||||
</li>
|
<a class="" href="../error-handling/">Handling Errors</a>
|
||||||
<li>
|
</li>
|
||||||
|
|
||||||
<li>
|
<li class="toctree-l1">
|
||||||
<li class="toctree-l1 current">
|
|
||||||
<a class="current" href="./">Fetching Data</a>
|
|
||||||
|
|
||||||
<ul>
|
<a class="" href="../complementary-tools/">Complementary Tools</a>
|
||||||
|
</li>
|
||||||
<li class="toctree-l3"><a href="#overview">Overview</a></li>
|
|
||||||
|
|
||||||
|
|
||||||
<li class="toctree-l3"><a href="#default-field-resolver">Default Field Resolver</a></li>
|
|
||||||
|
|
||||||
|
|
||||||
<li class="toctree-l3"><a href="#default-field-resolver-per-type">Default Field Resolver per Type</a></li>
|
|
||||||
|
|
||||||
|
|
||||||
<li class="toctree-l3"><a href="#solving-n1-problem">Solving N+1 Problem</a></li>
|
|
||||||
|
|
||||||
|
|
||||||
<li class="toctree-l3"><a href="#async-php">Async PHP</a></li>
|
|
||||||
|
|
||||||
|
|
||||||
</ul>
|
|
||||||
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
|
|
||||||
<li>
|
|
||||||
<li class="toctree-l1 ">
|
|
||||||
<a class="" href="../error-handling/">Handling Errors</a>
|
|
||||||
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
|
|
||||||
<li>
|
|
||||||
<li class="toctree-l1 ">
|
|
||||||
<a class="" href="../complementary-tools/">Complementary Tools</a>
|
|
||||||
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
|
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
@ -463,7 +412,7 @@ the power of your platform to resolve fields asynchronously.</p>
|
|||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="rst-versions" role="note" style="cursor: pointer">
|
<div class="rst-versions" role="note" style="cursor: pointer">
|
||||||
<span class="rst-current-version" data-toggle="rst-current-version">
|
<span class="rst-current-version" data-toggle="rst-current-version">
|
||||||
|
|
||||||
|
|
||||||
@ -474,6 +423,7 @@ the power of your platform to resolve fields asynchronously.</p>
|
|||||||
|
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
|
<script src="../js/theme.js"></script>
|
||||||
|
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
@ -7,20 +7,14 @@
|
|||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<title>Handling Errors - graphql-php</title>
|
|
||||||
|
|
||||||
|
|
||||||
<link rel="shortcut icon" href="../img/favicon.ico">
|
<link rel="shortcut icon" href="../img/favicon.ico">
|
||||||
|
<title>Handling Errors - graphql-php</title>
|
||||||
|
|
||||||
<link href='https://fonts.googleapis.com/css?family=Lato:400,700|Roboto+Slab:400,700|Inconsolata:400,700' rel='stylesheet' type='text/css'>
|
<link href='https://fonts.googleapis.com/css?family=Lato:400,700|Roboto+Slab:400,700|Inconsolata:400,700' rel='stylesheet' type='text/css'>
|
||||||
|
|
||||||
<link rel="stylesheet" href="../css/theme.css" type="text/css" />
|
<link rel="stylesheet" href="../css/theme.css" type="text/css" />
|
||||||
<link rel="stylesheet" href="../css/theme_extra.css" type="text/css" />
|
<link rel="stylesheet" href="../css/theme_extra.css" type="text/css" />
|
||||||
<link rel="stylesheet" href="../css/highlight.css">
|
<link rel="stylesheet" href="../css/highlight.css">
|
||||||
|
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
// Current page data
|
// Current page data
|
||||||
var mkdocs_page_name = "Handling Errors";
|
var mkdocs_page_name = "Handling Errors";
|
||||||
@ -31,8 +25,6 @@
|
|||||||
<script src="../js/jquery-2.1.1.min.js"></script>
|
<script src="../js/jquery-2.1.1.min.js"></script>
|
||||||
<script src="../js/modernizr-2.8.3.min.js"></script>
|
<script src="../js/modernizr-2.8.3.min.js"></script>
|
||||||
<script type="text/javascript" src="../js/highlight.pack.js"></script>
|
<script type="text/javascript" src="../js/highlight.pack.js"></script>
|
||||||
<script src="../js/theme.js"></script>
|
|
||||||
|
|
||||||
|
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
@ -52,143 +44,100 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="wy-menu wy-menu-vertical" data-spy="affix" role="navigation" aria-label="main navigation">
|
<div class="wy-menu wy-menu-vertical" data-spy="affix" role="navigation" aria-label="main navigation">
|
||||||
<ul class="current">
|
<ul class="current">
|
||||||
|
|
||||||
<li>
|
|
||||||
<li class="toctree-l1 ">
|
|
||||||
<a class="" href="..">About</a>
|
|
||||||
|
|
||||||
</li>
|
<li class="toctree-l1">
|
||||||
<li>
|
|
||||||
|
|
||||||
<li>
|
<a class="" href="..">About</a>
|
||||||
<li class="toctree-l1 ">
|
</li>
|
||||||
<a class="" href="../getting-started/">Getting Started</a>
|
|
||||||
|
|
||||||
</li>
|
<li class="toctree-l1">
|
||||||
<li>
|
|
||||||
|
|
||||||
<li>
|
<a class="" href="../getting-started/">Getting Started</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
<li class="toctree-l1">
|
||||||
|
|
||||||
|
<span class="caption-text">Type System</span>
|
||||||
<ul class="subnav">
|
<ul class="subnav">
|
||||||
<li><span>Type System</span></li>
|
<li class="">
|
||||||
|
|
||||||
|
<a class="" href="../type-system/">Introduction</a>
|
||||||
|
</li>
|
||||||
|
<li class="">
|
||||||
|
|
||||||
|
<a class="" href="../type-system/object-types/">Object Types</a>
|
||||||
|
</li>
|
||||||
|
<li class="">
|
||||||
|
|
||||||
|
<a class="" href="../type-system/scalar-types/">Scalar Types</a>
|
||||||
|
</li>
|
||||||
|
<li class="">
|
||||||
|
|
||||||
|
<a class="" href="../type-system/enum-types/">Enumeration Types</a>
|
||||||
|
</li>
|
||||||
|
<li class="">
|
||||||
|
|
||||||
|
<a class="" href="../type-system/lists-and-nonnulls/">Lists and Non-Null</a>
|
||||||
|
</li>
|
||||||
|
<li class="">
|
||||||
|
|
||||||
|
<a class="" href="../type-system/interfaces/">Interfaces</a>
|
||||||
|
</li>
|
||||||
|
<li class="">
|
||||||
|
|
||||||
|
<a class="" href="../type-system/unions/">Unions</a>
|
||||||
|
</li>
|
||||||
|
<li class="">
|
||||||
|
|
||||||
|
<a class="" href="../type-system/input-types/">Input Types</a>
|
||||||
|
</li>
|
||||||
|
<li class="">
|
||||||
|
|
||||||
|
<a class="" href="../type-system/directives/">Directives</a>
|
||||||
|
</li>
|
||||||
|
<li class="">
|
||||||
|
|
||||||
|
<a class="" href="../type-system/schema/">Schema</a>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
<li class="toctree-l1">
|
||||||
|
|
||||||
|
<a class="" href="../executing-queries/">Executing Queries</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
<li class="toctree-l1">
|
||||||
|
|
||||||
|
<a class="" href="../data-fetching/">Fetching Data</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
<li class="toctree-l1 current">
|
||||||
|
|
||||||
|
<a class="current" href="./">Handling Errors</a>
|
||||||
|
<ul class="subnav">
|
||||||
|
|
||||||
|
<li class="toctree-l2"><a href="#errors-in-graphql">Errors in GraphQL</a></li>
|
||||||
|
|
||||||
|
|
||||||
|
<li class="toctree-l2"><a href="#debugging-tools">Debugging tools</a></li>
|
||||||
<li class="toctree-l1 ">
|
|
||||||
<a class="" href="../type-system/">Introduction</a>
|
|
||||||
|
|
||||||
</li>
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="toctree-l2"><a href="#custom-error-formatting">Custom Error Formatting</a></li>
|
||||||
<li class="toctree-l1 ">
|
|
||||||
<a class="" href="../type-system/object-types/">Object Types</a>
|
|
||||||
|
|
||||||
</li>
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="toctree-l2"><a href="#schema-errors">Schema Errors</a></li>
|
||||||
<li class="toctree-l1 ">
|
|
||||||
<a class="" href="../type-system/scalar-types/">Scalar Types</a>
|
|
||||||
|
|
||||||
</li>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<li class="toctree-l1 ">
|
|
||||||
<a class="" href="../type-system/enum-types/">Enumeration Types</a>
|
|
||||||
|
|
||||||
</li>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<li class="toctree-l1 ">
|
|
||||||
<a class="" href="../type-system/lists-and-nonnulls/">Lists and Non-Null</a>
|
|
||||||
|
|
||||||
</li>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<li class="toctree-l1 ">
|
|
||||||
<a class="" href="../type-system/interfaces/">Interfaces</a>
|
|
||||||
|
|
||||||
</li>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<li class="toctree-l1 ">
|
|
||||||
<a class="" href="../type-system/unions/">Unions</a>
|
|
||||||
|
|
||||||
</li>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<li class="toctree-l1 ">
|
|
||||||
<a class="" href="../type-system/input-types/">Input Types</a>
|
|
||||||
|
|
||||||
</li>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<li class="toctree-l1 ">
|
|
||||||
<a class="" href="../type-system/directives/">Directives</a>
|
|
||||||
|
|
||||||
</li>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<li class="toctree-l1 ">
|
|
||||||
<a class="" href="../type-system/schema/">Schema</a>
|
|
||||||
|
|
||||||
</li>
|
|
||||||
|
|
||||||
|
|
||||||
</ul>
|
</ul>
|
||||||
<li>
|
</li>
|
||||||
|
|
||||||
<li>
|
<li class="toctree-l1">
|
||||||
<li class="toctree-l1 ">
|
|
||||||
<a class="" href="../executing-queries/">Executing Queries</a>
|
|
||||||
|
|
||||||
</li>
|
<a class="" href="../complementary-tools/">Complementary Tools</a>
|
||||||
<li>
|
</li>
|
||||||
|
|
||||||
<li>
|
|
||||||
<li class="toctree-l1 ">
|
|
||||||
<a class="" href="../data-fetching/">Fetching Data</a>
|
|
||||||
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
|
|
||||||
<li>
|
|
||||||
<li class="toctree-l1 current">
|
|
||||||
<a class="current" href="./">Handling Errors</a>
|
|
||||||
|
|
||||||
<ul>
|
|
||||||
|
|
||||||
<li class="toctree-l3"><a href="#errors-in-graphql">Errors in GraphQL</a></li>
|
|
||||||
|
|
||||||
|
|
||||||
<li class="toctree-l3"><a href="#debugging-tools">Debugging tools</a></li>
|
|
||||||
|
|
||||||
|
|
||||||
<li class="toctree-l3"><a href="#custom-error-formatting">Custom Error Formatting</a></li>
|
|
||||||
|
|
||||||
|
|
||||||
<li class="toctree-l3"><a href="#schema-errors">Schema Errors</a></li>
|
|
||||||
|
|
||||||
|
|
||||||
</ul>
|
|
||||||
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
|
|
||||||
<li>
|
|
||||||
<li class="toctree-l1 ">
|
|
||||||
<a class="" href="../complementary-tools/">Complementary Tools</a>
|
|
||||||
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
|
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
@ -371,7 +320,7 @@ echo json_encode($body);
|
|||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="rst-versions" role="note" style="cursor: pointer">
|
<div class="rst-versions" role="note" style="cursor: pointer">
|
||||||
<span class="rst-current-version" data-toggle="rst-current-version">
|
<span class="rst-current-version" data-toggle="rst-current-version">
|
||||||
|
|
||||||
|
|
||||||
@ -382,6 +331,7 @@ echo json_encode($body);
|
|||||||
|
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
|
<script src="../js/theme.js"></script>
|
||||||
|
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
@ -7,20 +7,14 @@
|
|||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<title>Executing Queries - graphql-php</title>
|
|
||||||
|
|
||||||
|
|
||||||
<link rel="shortcut icon" href="../img/favicon.ico">
|
<link rel="shortcut icon" href="../img/favicon.ico">
|
||||||
|
<title>Executing Queries - graphql-php</title>
|
||||||
|
|
||||||
<link href='https://fonts.googleapis.com/css?family=Lato:400,700|Roboto+Slab:400,700|Inconsolata:400,700' rel='stylesheet' type='text/css'>
|
<link href='https://fonts.googleapis.com/css?family=Lato:400,700|Roboto+Slab:400,700|Inconsolata:400,700' rel='stylesheet' type='text/css'>
|
||||||
|
|
||||||
<link rel="stylesheet" href="../css/theme.css" type="text/css" />
|
<link rel="stylesheet" href="../css/theme.css" type="text/css" />
|
||||||
<link rel="stylesheet" href="../css/theme_extra.css" type="text/css" />
|
<link rel="stylesheet" href="../css/theme_extra.css" type="text/css" />
|
||||||
<link rel="stylesheet" href="../css/highlight.css">
|
<link rel="stylesheet" href="../css/highlight.css">
|
||||||
|
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
// Current page data
|
// Current page data
|
||||||
var mkdocs_page_name = "Executing Queries";
|
var mkdocs_page_name = "Executing Queries";
|
||||||
@ -31,8 +25,6 @@
|
|||||||
<script src="../js/jquery-2.1.1.min.js"></script>
|
<script src="../js/jquery-2.1.1.min.js"></script>
|
||||||
<script src="../js/modernizr-2.8.3.min.js"></script>
|
<script src="../js/modernizr-2.8.3.min.js"></script>
|
||||||
<script type="text/javascript" src="../js/highlight.pack.js"></script>
|
<script type="text/javascript" src="../js/highlight.pack.js"></script>
|
||||||
<script src="../js/theme.js"></script>
|
|
||||||
|
|
||||||
|
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
@ -52,143 +44,100 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="wy-menu wy-menu-vertical" data-spy="affix" role="navigation" aria-label="main navigation">
|
<div class="wy-menu wy-menu-vertical" data-spy="affix" role="navigation" aria-label="main navigation">
|
||||||
<ul class="current">
|
<ul class="current">
|
||||||
|
|
||||||
<li>
|
|
||||||
<li class="toctree-l1 ">
|
|
||||||
<a class="" href="..">About</a>
|
|
||||||
|
|
||||||
</li>
|
<li class="toctree-l1">
|
||||||
<li>
|
|
||||||
|
|
||||||
<li>
|
<a class="" href="..">About</a>
|
||||||
<li class="toctree-l1 ">
|
</li>
|
||||||
<a class="" href="../getting-started/">Getting Started</a>
|
|
||||||
|
|
||||||
</li>
|
<li class="toctree-l1">
|
||||||
<li>
|
|
||||||
|
|
||||||
<li>
|
<a class="" href="../getting-started/">Getting Started</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
<li class="toctree-l1">
|
||||||
|
|
||||||
|
<span class="caption-text">Type System</span>
|
||||||
<ul class="subnav">
|
<ul class="subnav">
|
||||||
<li><span>Type System</span></li>
|
<li class="">
|
||||||
|
|
||||||
|
<a class="" href="../type-system/">Introduction</a>
|
||||||
|
</li>
|
||||||
|
<li class="">
|
||||||
|
|
||||||
|
<a class="" href="../type-system/object-types/">Object Types</a>
|
||||||
|
</li>
|
||||||
|
<li class="">
|
||||||
|
|
||||||
|
<a class="" href="../type-system/scalar-types/">Scalar Types</a>
|
||||||
|
</li>
|
||||||
|
<li class="">
|
||||||
|
|
||||||
|
<a class="" href="../type-system/enum-types/">Enumeration Types</a>
|
||||||
|
</li>
|
||||||
|
<li class="">
|
||||||
|
|
||||||
|
<a class="" href="../type-system/lists-and-nonnulls/">Lists and Non-Null</a>
|
||||||
|
</li>
|
||||||
|
<li class="">
|
||||||
|
|
||||||
|
<a class="" href="../type-system/interfaces/">Interfaces</a>
|
||||||
|
</li>
|
||||||
|
<li class="">
|
||||||
|
|
||||||
|
<a class="" href="../type-system/unions/">Unions</a>
|
||||||
|
</li>
|
||||||
|
<li class="">
|
||||||
|
|
||||||
|
<a class="" href="../type-system/input-types/">Input Types</a>
|
||||||
|
</li>
|
||||||
|
<li class="">
|
||||||
|
|
||||||
|
<a class="" href="../type-system/directives/">Directives</a>
|
||||||
|
</li>
|
||||||
|
<li class="">
|
||||||
|
|
||||||
|
<a class="" href="../type-system/schema/">Schema</a>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
<li class="toctree-l1 current">
|
||||||
|
|
||||||
|
<a class="current" href="./">Executing Queries</a>
|
||||||
|
<ul class="subnav">
|
||||||
|
|
||||||
|
<li class="toctree-l2"><a href="#overview">Overview</a></li>
|
||||||
|
|
||||||
|
|
||||||
|
<li class="toctree-l2"><a href="#parsing">Parsing</a></li>
|
||||||
<li class="toctree-l1 ">
|
|
||||||
<a class="" href="../type-system/">Introduction</a>
|
|
||||||
|
|
||||||
</li>
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="toctree-l2"><a href="#validating">Validating</a></li>
|
||||||
<li class="toctree-l1 ">
|
|
||||||
<a class="" href="../type-system/object-types/">Object Types</a>
|
|
||||||
|
|
||||||
</li>
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="toctree-l2"><a href="#executing">Executing</a></li>
|
||||||
<li class="toctree-l1 ">
|
|
||||||
<a class="" href="../type-system/scalar-types/">Scalar Types</a>
|
|
||||||
|
|
||||||
</li>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<li class="toctree-l1 ">
|
|
||||||
<a class="" href="../type-system/enum-types/">Enumeration Types</a>
|
|
||||||
|
|
||||||
</li>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<li class="toctree-l1 ">
|
|
||||||
<a class="" href="../type-system/lists-and-nonnulls/">Lists and Non-Null</a>
|
|
||||||
|
|
||||||
</li>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<li class="toctree-l1 ">
|
|
||||||
<a class="" href="../type-system/interfaces/">Interfaces</a>
|
|
||||||
|
|
||||||
</li>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<li class="toctree-l1 ">
|
|
||||||
<a class="" href="../type-system/unions/">Unions</a>
|
|
||||||
|
|
||||||
</li>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<li class="toctree-l1 ">
|
|
||||||
<a class="" href="../type-system/input-types/">Input Types</a>
|
|
||||||
|
|
||||||
</li>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<li class="toctree-l1 ">
|
|
||||||
<a class="" href="../type-system/directives/">Directives</a>
|
|
||||||
|
|
||||||
</li>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<li class="toctree-l1 ">
|
|
||||||
<a class="" href="../type-system/schema/">Schema</a>
|
|
||||||
|
|
||||||
</li>
|
|
||||||
|
|
||||||
|
|
||||||
</ul>
|
</ul>
|
||||||
<li>
|
</li>
|
||||||
|
|
||||||
<li>
|
<li class="toctree-l1">
|
||||||
<li class="toctree-l1 current">
|
|
||||||
<a class="current" href="./">Executing Queries</a>
|
|
||||||
|
|
||||||
<ul>
|
<a class="" href="../data-fetching/">Fetching Data</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
<li class="toctree-l3"><a href="#overview">Overview</a></li>
|
<li class="toctree-l1">
|
||||||
|
|
||||||
|
<a class="" href="../error-handling/">Handling Errors</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
<li class="toctree-l3"><a href="#parsing">Parsing</a></li>
|
<li class="toctree-l1">
|
||||||
|
|
||||||
|
<a class="" href="../complementary-tools/">Complementary Tools</a>
|
||||||
<li class="toctree-l3"><a href="#validating">Validating</a></li>
|
</li>
|
||||||
|
|
||||||
|
|
||||||
<li class="toctree-l3"><a href="#executing">Executing</a></li>
|
|
||||||
|
|
||||||
|
|
||||||
</ul>
|
|
||||||
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
|
|
||||||
<li>
|
|
||||||
<li class="toctree-l1 ">
|
|
||||||
<a class="" href="../data-fetching/">Fetching Data</a>
|
|
||||||
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
|
|
||||||
<li>
|
|
||||||
<li class="toctree-l1 ">
|
|
||||||
<a class="" href="../error-handling/">Handling Errors</a>
|
|
||||||
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
|
|
||||||
<li>
|
|
||||||
<li class="toctree-l1 ">
|
|
||||||
<a class="" href="../complementary-tools/">Complementary Tools</a>
|
|
||||||
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
|
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
@ -325,7 +274,7 @@ on <a href="../error-handling/">Error Handling</a> for essentials.</p>
|
|||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="rst-versions" role="note" style="cursor: pointer">
|
<div class="rst-versions" role="note" style="cursor: pointer">
|
||||||
<span class="rst-current-version" data-toggle="rst-current-version">
|
<span class="rst-current-version" data-toggle="rst-current-version">
|
||||||
|
|
||||||
|
|
||||||
@ -336,6 +285,7 @@ on <a href="../error-handling/">Error Handling</a> for essentials.</p>
|
|||||||
|
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
|
<script src="../js/theme.js"></script>
|
||||||
|
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
23
footer.html
23
footer.html
@ -1,23 +0,0 @@
|
|||||||
<footer>
|
|
||||||
{% if next_page or previous_page %}
|
|
||||||
<div class="rst-footer-buttons" role="navigation" aria-label="footer navigation">
|
|
||||||
{% if next_page %}
|
|
||||||
<a href="{{ next_page.url }}" class="btn btn-neutral float-right" title="{{ next_page.title }}">Next <span class="icon icon-circle-arrow-right"></span></a>
|
|
||||||
{% endif %}
|
|
||||||
{% if previous_page %}
|
|
||||||
<a href="{{ previous_page.url }}" class="btn btn-neutral" title="{{ previous_page.title }}"><span class="icon icon-circle-arrow-left"></span> Previous</a>
|
|
||||||
{% endif %}
|
|
||||||
</div>
|
|
||||||
{% endif %}
|
|
||||||
|
|
||||||
<hr/>
|
|
||||||
|
|
||||||
<div role="contentinfo">
|
|
||||||
<!-- Copyright etc -->
|
|
||||||
{% if copyright %}
|
|
||||||
<p>{{ copyright }}</p>
|
|
||||||
{% endif %}
|
|
||||||
</div>
|
|
||||||
|
|
||||||
Built with <a href="http://www.mkdocs.org">MkDocs</a> using a <a href="https://github.com/snide/sphinx_rtd_theme">theme</a> provided by <a href="https://readthedocs.org">Read the Docs</a>.
|
|
||||||
</footer>
|
|
@ -7,20 +7,14 @@
|
|||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<title>Getting Started - graphql-php</title>
|
|
||||||
|
|
||||||
|
|
||||||
<link rel="shortcut icon" href="../img/favicon.ico">
|
<link rel="shortcut icon" href="../img/favicon.ico">
|
||||||
|
<title>Getting Started - graphql-php</title>
|
||||||
|
|
||||||
<link href='https://fonts.googleapis.com/css?family=Lato:400,700|Roboto+Slab:400,700|Inconsolata:400,700' rel='stylesheet' type='text/css'>
|
<link href='https://fonts.googleapis.com/css?family=Lato:400,700|Roboto+Slab:400,700|Inconsolata:400,700' rel='stylesheet' type='text/css'>
|
||||||
|
|
||||||
<link rel="stylesheet" href="../css/theme.css" type="text/css" />
|
<link rel="stylesheet" href="../css/theme.css" type="text/css" />
|
||||||
<link rel="stylesheet" href="../css/theme_extra.css" type="text/css" />
|
<link rel="stylesheet" href="../css/theme_extra.css" type="text/css" />
|
||||||
<link rel="stylesheet" href="../css/highlight.css">
|
<link rel="stylesheet" href="../css/highlight.css">
|
||||||
|
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
// Current page data
|
// Current page data
|
||||||
var mkdocs_page_name = "Getting Started";
|
var mkdocs_page_name = "Getting Started";
|
||||||
@ -31,8 +25,6 @@
|
|||||||
<script src="../js/jquery-2.1.1.min.js"></script>
|
<script src="../js/jquery-2.1.1.min.js"></script>
|
||||||
<script src="../js/modernizr-2.8.3.min.js"></script>
|
<script src="../js/modernizr-2.8.3.min.js"></script>
|
||||||
<script type="text/javascript" src="../js/highlight.pack.js"></script>
|
<script type="text/javascript" src="../js/highlight.pack.js"></script>
|
||||||
<script src="../js/theme.js"></script>
|
|
||||||
|
|
||||||
|
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
@ -52,149 +44,106 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="wy-menu wy-menu-vertical" data-spy="affix" role="navigation" aria-label="main navigation">
|
<div class="wy-menu wy-menu-vertical" data-spy="affix" role="navigation" aria-label="main navigation">
|
||||||
<ul class="current">
|
<ul class="current">
|
||||||
|
|
||||||
<li>
|
|
||||||
<li class="toctree-l1 ">
|
|
||||||
<a class="" href="..">About</a>
|
|
||||||
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
|
|
||||||
<li>
|
|
||||||
<li class="toctree-l1 current">
|
|
||||||
<a class="current" href="./">Getting Started</a>
|
|
||||||
|
|
||||||
<ul>
|
|
||||||
|
|
||||||
<li class="toctree-l3"><a href="#prerequisites">Prerequisites</a></li>
|
|
||||||
|
|
||||||
|
|
||||||
<li class="toctree-l3"><a href="#installation">Installation</a></li>
|
<li class="toctree-l1">
|
||||||
|
|
||||||
|
<a class="" href="..">About</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
<li class="toctree-l3"><a href="#upgrading">Upgrading</a></li>
|
<li class="toctree-l1 current">
|
||||||
|
|
||||||
|
<a class="current" href="./">Getting Started</a>
|
||||||
<li class="toctree-l3"><a href="#install-tools-optional">Install Tools (optional)</a></li>
|
|
||||||
|
|
||||||
|
|
||||||
<li class="toctree-l3"><a href="#hello-world">Hello World</a></li>
|
|
||||||
|
|
||||||
|
|
||||||
<li class="toctree-l3"><a href="#blog-example">Blog example</a></li>
|
|
||||||
|
|
||||||
|
|
||||||
</ul>
|
|
||||||
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
|
|
||||||
<li>
|
|
||||||
<ul class="subnav">
|
<ul class="subnav">
|
||||||
<li><span>Type System</span></li>
|
|
||||||
|
<li class="toctree-l2"><a href="#prerequisites">Prerequisites</a></li>
|
||||||
|
|
||||||
|
|
||||||
|
<li class="toctree-l2"><a href="#installation">Installation</a></li>
|
||||||
<li class="toctree-l1 ">
|
|
||||||
<a class="" href="../type-system/">Introduction</a>
|
|
||||||
|
|
||||||
</li>
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="toctree-l2"><a href="#upgrading">Upgrading</a></li>
|
||||||
<li class="toctree-l1 ">
|
|
||||||
<a class="" href="../type-system/object-types/">Object Types</a>
|
|
||||||
|
|
||||||
</li>
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="toctree-l2"><a href="#install-tools-optional">Install Tools (optional)</a></li>
|
||||||
<li class="toctree-l1 ">
|
|
||||||
<a class="" href="../type-system/scalar-types/">Scalar Types</a>
|
|
||||||
|
|
||||||
</li>
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="toctree-l2"><a href="#hello-world">Hello World</a></li>
|
||||||
<li class="toctree-l1 ">
|
|
||||||
<a class="" href="../type-system/enum-types/">Enumeration Types</a>
|
|
||||||
|
|
||||||
</li>
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="toctree-l2"><a href="#blog-example">Blog example</a></li>
|
||||||
<li class="toctree-l1 ">
|
|
||||||
<a class="" href="../type-system/lists-and-nonnulls/">Lists and Non-Null</a>
|
|
||||||
|
|
||||||
</li>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<li class="toctree-l1 ">
|
|
||||||
<a class="" href="../type-system/interfaces/">Interfaces</a>
|
|
||||||
|
|
||||||
</li>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<li class="toctree-l1 ">
|
|
||||||
<a class="" href="../type-system/unions/">Unions</a>
|
|
||||||
|
|
||||||
</li>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<li class="toctree-l1 ">
|
|
||||||
<a class="" href="../type-system/input-types/">Input Types</a>
|
|
||||||
|
|
||||||
</li>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<li class="toctree-l1 ">
|
|
||||||
<a class="" href="../type-system/directives/">Directives</a>
|
|
||||||
|
|
||||||
</li>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<li class="toctree-l1 ">
|
|
||||||
<a class="" href="../type-system/schema/">Schema</a>
|
|
||||||
|
|
||||||
</li>
|
|
||||||
|
|
||||||
|
|
||||||
</ul>
|
</ul>
|
||||||
<li>
|
</li>
|
||||||
|
|
||||||
<li>
|
<li class="toctree-l1">
|
||||||
<li class="toctree-l1 ">
|
|
||||||
<a class="" href="../executing-queries/">Executing Queries</a>
|
|
||||||
|
|
||||||
</li>
|
<span class="caption-text">Type System</span>
|
||||||
<li>
|
<ul class="subnav">
|
||||||
|
<li class="">
|
||||||
|
|
||||||
<li>
|
<a class="" href="../type-system/">Introduction</a>
|
||||||
<li class="toctree-l1 ">
|
</li>
|
||||||
<a class="" href="../data-fetching/">Fetching Data</a>
|
<li class="">
|
||||||
|
|
||||||
</li>
|
<a class="" href="../type-system/object-types/">Object Types</a>
|
||||||
<li>
|
</li>
|
||||||
|
<li class="">
|
||||||
|
|
||||||
<li>
|
<a class="" href="../type-system/scalar-types/">Scalar Types</a>
|
||||||
<li class="toctree-l1 ">
|
</li>
|
||||||
<a class="" href="../error-handling/">Handling Errors</a>
|
<li class="">
|
||||||
|
|
||||||
</li>
|
<a class="" href="../type-system/enum-types/">Enumeration Types</a>
|
||||||
<li>
|
</li>
|
||||||
|
<li class="">
|
||||||
|
|
||||||
<li>
|
<a class="" href="../type-system/lists-and-nonnulls/">Lists and Non-Null</a>
|
||||||
<li class="toctree-l1 ">
|
</li>
|
||||||
<a class="" href="../complementary-tools/">Complementary Tools</a>
|
<li class="">
|
||||||
|
|
||||||
</li>
|
<a class="" href="../type-system/interfaces/">Interfaces</a>
|
||||||
<li>
|
</li>
|
||||||
|
<li class="">
|
||||||
|
|
||||||
|
<a class="" href="../type-system/unions/">Unions</a>
|
||||||
|
</li>
|
||||||
|
<li class="">
|
||||||
|
|
||||||
|
<a class="" href="../type-system/input-types/">Input Types</a>
|
||||||
|
</li>
|
||||||
|
<li class="">
|
||||||
|
|
||||||
|
<a class="" href="../type-system/directives/">Directives</a>
|
||||||
|
</li>
|
||||||
|
<li class="">
|
||||||
|
|
||||||
|
<a class="" href="../type-system/schema/">Schema</a>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
<li class="toctree-l1">
|
||||||
|
|
||||||
|
<a class="" href="../executing-queries/">Executing Queries</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
<li class="toctree-l1">
|
||||||
|
|
||||||
|
<a class="" href="../data-fetching/">Fetching Data</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
<li class="toctree-l1">
|
||||||
|
|
||||||
|
<a class="" href="../error-handling/">Handling Errors</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
<li class="toctree-l1">
|
||||||
|
|
||||||
|
<a class="" href="../complementary-tools/">Complementary Tools</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
@ -232,17 +181,10 @@
|
|||||||
<p>This documentation assumes your familiarity with GraphQL concepts. If it is not the case -
|
<p>This documentation assumes your familiarity with GraphQL concepts. If it is not the case -
|
||||||
first learn about GraphQL on <a href="http://graphql.org/learn/">official website</a>.</p>
|
first learn about GraphQL on <a href="http://graphql.org/learn/">official website</a>.</p>
|
||||||
<h1 id="installation">Installation</h1>
|
<h1 id="installation">Installation</h1>
|
||||||
<p>Using <a href="https://getcomposer.org/doc/00-intro.md">composer</a>:
|
<p>Using <a href="https://getcomposer.org/doc/00-intro.md">composer</a>, simply run:</p>
|
||||||
add <code>composer.json</code> file to your project root folder with following contents:</p>
|
<pre><code class="sh">composer require webonyx/graphql-php
|
||||||
<pre><code>{
|
|
||||||
"require": {
|
|
||||||
"webonyx/graphql-php": "^0.8"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
</code></pre>
|
</code></pre>
|
||||||
|
|
||||||
<p>and run <code>composer install</code>. </p>
|
|
||||||
<p>If you already have composer.json file - simply run: <code>composer require webonyx/graphql-php="^0.8"</code></p>
|
|
||||||
<h1 id="upgrading">Upgrading</h1>
|
<h1 id="upgrading">Upgrading</h1>
|
||||||
<p>We try to keep library releases backwards compatible. But when breaking changes are inevitable
|
<p>We try to keep library releases backwards compatible. But when breaking changes are inevitable
|
||||||
they are explained in <a href="https://github.com/webonyx/graphql-php/blob/master/UPGRADE.md">upgrade instructions</a>.</p>
|
they are explained in <a href="https://github.com/webonyx/graphql-php/blob/master/UPGRADE.md">upgrade instructions</a>.</p>
|
||||||
@ -303,10 +245,13 @@ $schema = new Schema([
|
|||||||
]);
|
]);
|
||||||
|
|
||||||
$rawInput = file_get_contents('php://input');
|
$rawInput = file_get_contents('php://input');
|
||||||
|
$input = json_decode($rawInput, true);
|
||||||
|
$query = $input['query'];
|
||||||
|
$variableValues = isset($input['variables']) ? $input['variables'] : null;
|
||||||
|
|
||||||
try {
|
try {
|
||||||
$rootValue = ['prefix' => 'You said: '];
|
$rootValue = ['prefix' => 'You said: '];
|
||||||
$result = GraphQL::execute($schema, $rawInput, $rootValue);
|
$result = GraphQL::execute($schema, $query, $rootValue, null, $variableValues);
|
||||||
} catch (\Exception $e) {
|
} catch (\Exception $e) {
|
||||||
$result = [
|
$result = [
|
||||||
'error' => [
|
'error' => [
|
||||||
@ -320,7 +265,7 @@ echo json_encode($result);
|
|||||||
|
|
||||||
<p>Our example is ready. Try it by running:</p>
|
<p>Our example is ready. Try it by running:</p>
|
||||||
<pre><code class="sh">php -S localhost:8000 graphql.php
|
<pre><code class="sh">php -S localhost:8000 graphql.php
|
||||||
curl http://localhost:8000 -d "query { echo(message: \"Hello World\") }"
|
curl http://localhost:8000 -d '{"query": "query { echo(message: \"Hello World\") }" }'
|
||||||
</code></pre>
|
</code></pre>
|
||||||
|
|
||||||
<p>Check out the full <a href="https://github.com/webonyx/graphql-php/blob/master/examples/00-hello-world">source code</a> of this example.</p>
|
<p>Check out the full <a href="https://github.com/webonyx/graphql-php/blob/master/examples/00-hello-world">source code</a> of this example.</p>
|
||||||
@ -364,7 +309,7 @@ It is quite close to real-world GraphQL hierarchies. Follow instructions and try
|
|||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="rst-versions" role="note" style="cursor: pointer">
|
<div class="rst-versions" role="note" style="cursor: pointer">
|
||||||
<span class="rst-current-version" data-toggle="rst-current-version">
|
<span class="rst-current-version" data-toggle="rst-current-version">
|
||||||
|
|
||||||
|
|
||||||
@ -375,6 +320,7 @@ It is quite close to real-world GraphQL hierarchies. Follow instructions and try
|
|||||||
|
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
|
<script src="../js/theme.js"></script>
|
||||||
|
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
212
index.html
212
index.html
@ -5,25 +5,19 @@
|
|||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
|
<meta name="description" content="None">
|
||||||
|
|
||||||
|
|
||||||
<title>graphql-php</title>
|
|
||||||
|
|
||||||
|
|
||||||
<link rel="shortcut icon" href="./img/favicon.ico">
|
<link rel="shortcut icon" href="./img/favicon.ico">
|
||||||
|
<title>About - graphql-php</title>
|
||||||
|
|
||||||
<link href='https://fonts.googleapis.com/css?family=Lato:400,700|Roboto+Slab:400,700|Inconsolata:400,700' rel='stylesheet' type='text/css'>
|
<link href='https://fonts.googleapis.com/css?family=Lato:400,700|Roboto+Slab:400,700|Inconsolata:400,700' rel='stylesheet' type='text/css'>
|
||||||
|
|
||||||
<link rel="stylesheet" href="./css/theme.css" type="text/css" />
|
<link rel="stylesheet" href="./css/theme.css" type="text/css" />
|
||||||
<link rel="stylesheet" href="./css/theme_extra.css" type="text/css" />
|
<link rel="stylesheet" href="./css/theme_extra.css" type="text/css" />
|
||||||
<link rel="stylesheet" href="./css/highlight.css">
|
<link rel="stylesheet" href="./css/highlight.css">
|
||||||
|
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
// Current page data
|
// Current page data
|
||||||
var mkdocs_page_name = "None";
|
var mkdocs_page_name = "About";
|
||||||
var mkdocs_page_input_path = "index.md";
|
var mkdocs_page_input_path = "index.md";
|
||||||
var mkdocs_page_url = "/";
|
var mkdocs_page_url = "/";
|
||||||
</script>
|
</script>
|
||||||
@ -31,8 +25,6 @@
|
|||||||
<script src="./js/jquery-2.1.1.min.js"></script>
|
<script src="./js/jquery-2.1.1.min.js"></script>
|
||||||
<script src="./js/modernizr-2.8.3.min.js"></script>
|
<script src="./js/modernizr-2.8.3.min.js"></script>
|
||||||
<script type="text/javascript" src="./js/highlight.pack.js"></script>
|
<script type="text/javascript" src="./js/highlight.pack.js"></script>
|
||||||
<script src="./js/theme.js"></script>
|
|
||||||
|
|
||||||
|
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
@ -52,141 +44,102 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="wy-menu wy-menu-vertical" data-spy="affix" role="navigation" aria-label="main navigation">
|
<div class="wy-menu wy-menu-vertical" data-spy="affix" role="navigation" aria-label="main navigation">
|
||||||
<ul class="current">
|
<ul class="current">
|
||||||
|
|
||||||
<li>
|
|
||||||
<li class="toctree-l1 current">
|
|
||||||
<a class="current" href=".">About</a>
|
|
||||||
|
|
||||||
<ul>
|
|
||||||
|
|
||||||
<li class="toctree-l3"><a href="#about-graphql">About GraphQL</a></li>
|
|
||||||
|
|
||||||
|
|
||||||
<li class="toctree-l3"><a href="#about-graphql-php">About graphql-php</a></li>
|
<li class="toctree-l1 current">
|
||||||
|
|
||||||
<li><a class="toctree-l4" href="#current-status">Current Status</a></li>
|
<a class="current" href=".">About</a>
|
||||||
|
|
||||||
<li><a class="toctree-l4" href="#github">Github</a></li>
|
|
||||||
|
|
||||||
|
|
||||||
</ul>
|
|
||||||
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
|
|
||||||
<li>
|
|
||||||
<li class="toctree-l1 ">
|
|
||||||
<a class="" href="getting-started/">Getting Started</a>
|
|
||||||
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
|
|
||||||
<li>
|
|
||||||
<ul class="subnav">
|
<ul class="subnav">
|
||||||
<li><span>Type System</span></li>
|
|
||||||
|
<li class="toctree-l2"><a href="#about-graphql">About GraphQL</a></li>
|
||||||
|
|
||||||
|
|
||||||
|
<li class="toctree-l2"><a href="#about-graphql-php">About graphql-php</a></li>
|
||||||
|
|
||||||
<li class="toctree-l1 ">
|
<ul>
|
||||||
<a class="" href="type-system/">Introduction</a>
|
|
||||||
|
|
||||||
</li>
|
<li><a class="toctree-l3" href="#current-status">Current Status</a></li>
|
||||||
|
|
||||||
|
<li><a class="toctree-l3" href="#github">Github</a></li>
|
||||||
|
|
||||||
|
</ul>
|
||||||
<li class="toctree-l1 ">
|
|
||||||
<a class="" href="type-system/object-types/">Object Types</a>
|
|
||||||
|
|
||||||
</li>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<li class="toctree-l1 ">
|
|
||||||
<a class="" href="type-system/scalar-types/">Scalar Types</a>
|
|
||||||
|
|
||||||
</li>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<li class="toctree-l1 ">
|
|
||||||
<a class="" href="type-system/enum-types/">Enumeration Types</a>
|
|
||||||
|
|
||||||
</li>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<li class="toctree-l1 ">
|
|
||||||
<a class="" href="type-system/lists-and-nonnulls/">Lists and Non-Null</a>
|
|
||||||
|
|
||||||
</li>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<li class="toctree-l1 ">
|
|
||||||
<a class="" href="type-system/interfaces/">Interfaces</a>
|
|
||||||
|
|
||||||
</li>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<li class="toctree-l1 ">
|
|
||||||
<a class="" href="type-system/unions/">Unions</a>
|
|
||||||
|
|
||||||
</li>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<li class="toctree-l1 ">
|
|
||||||
<a class="" href="type-system/input-types/">Input Types</a>
|
|
||||||
|
|
||||||
</li>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<li class="toctree-l1 ">
|
|
||||||
<a class="" href="type-system/directives/">Directives</a>
|
|
||||||
|
|
||||||
</li>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<li class="toctree-l1 ">
|
|
||||||
<a class="" href="type-system/schema/">Schema</a>
|
|
||||||
|
|
||||||
</li>
|
|
||||||
|
|
||||||
|
|
||||||
</ul>
|
</ul>
|
||||||
<li>
|
</li>
|
||||||
|
|
||||||
<li>
|
<li class="toctree-l1">
|
||||||
<li class="toctree-l1 ">
|
|
||||||
<a class="" href="executing-queries/">Executing Queries</a>
|
|
||||||
|
|
||||||
</li>
|
<a class="" href="getting-started/">Getting Started</a>
|
||||||
<li>
|
</li>
|
||||||
|
|
||||||
<li>
|
<li class="toctree-l1">
|
||||||
<li class="toctree-l1 ">
|
|
||||||
<a class="" href="data-fetching/">Fetching Data</a>
|
|
||||||
|
|
||||||
</li>
|
<span class="caption-text">Type System</span>
|
||||||
<li>
|
<ul class="subnav">
|
||||||
|
<li class="">
|
||||||
|
|
||||||
<li>
|
<a class="" href="type-system/">Introduction</a>
|
||||||
<li class="toctree-l1 ">
|
</li>
|
||||||
<a class="" href="error-handling/">Handling Errors</a>
|
<li class="">
|
||||||
|
|
||||||
</li>
|
<a class="" href="type-system/object-types/">Object Types</a>
|
||||||
<li>
|
</li>
|
||||||
|
<li class="">
|
||||||
|
|
||||||
<li>
|
<a class="" href="type-system/scalar-types/">Scalar Types</a>
|
||||||
<li class="toctree-l1 ">
|
</li>
|
||||||
<a class="" href="complementary-tools/">Complementary Tools</a>
|
<li class="">
|
||||||
|
|
||||||
</li>
|
<a class="" href="type-system/enum-types/">Enumeration Types</a>
|
||||||
<li>
|
</li>
|
||||||
|
<li class="">
|
||||||
|
|
||||||
|
<a class="" href="type-system/lists-and-nonnulls/">Lists and Non-Null</a>
|
||||||
|
</li>
|
||||||
|
<li class="">
|
||||||
|
|
||||||
|
<a class="" href="type-system/interfaces/">Interfaces</a>
|
||||||
|
</li>
|
||||||
|
<li class="">
|
||||||
|
|
||||||
|
<a class="" href="type-system/unions/">Unions</a>
|
||||||
|
</li>
|
||||||
|
<li class="">
|
||||||
|
|
||||||
|
<a class="" href="type-system/input-types/">Input Types</a>
|
||||||
|
</li>
|
||||||
|
<li class="">
|
||||||
|
|
||||||
|
<a class="" href="type-system/directives/">Directives</a>
|
||||||
|
</li>
|
||||||
|
<li class="">
|
||||||
|
|
||||||
|
<a class="" href="type-system/schema/">Schema</a>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
<li class="toctree-l1">
|
||||||
|
|
||||||
|
<a class="" href="executing-queries/">Executing Queries</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
<li class="toctree-l1">
|
||||||
|
|
||||||
|
<a class="" href="data-fetching/">Fetching Data</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
<li class="toctree-l1">
|
||||||
|
|
||||||
|
<a class="" href="error-handling/">Handling Errors</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
<li class="toctree-l1">
|
||||||
|
|
||||||
|
<a class="" href="complementary-tools/">Complementary Tools</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
@ -252,7 +205,7 @@ are used. Instead it provides tools for creating rich API for your existing app.
|
|||||||
existing PHP frameworks, add support for Relay, etc.</p>
|
existing PHP frameworks, add support for Relay, etc.</p>
|
||||||
<h2 id="current-status">Current Status</h2>
|
<h2 id="current-status">Current Status</h2>
|
||||||
<p>First version of this library (v0.1) was released on August 10th 2015.</p>
|
<p>First version of this library (v0.1) was released on August 10th 2015.</p>
|
||||||
<p>Current version (v0.8) supports all features described by GraphQL specification
|
<p>Current version (v0.9) supports all features described by GraphQL specification
|
||||||
(including April 2016 add-ons) as well as some experimental features like
|
(including April 2016 add-ons) as well as some experimental features like
|
||||||
Schema Language parser.</p>
|
Schema Language parser.</p>
|
||||||
<p>Ready for real-world usage. </p>
|
<p>Ready for real-world usage. </p>
|
||||||
@ -288,7 +241,7 @@ Schema Language parser.</p>
|
|||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="rst-versions" role="note" style="cursor: pointer">
|
<div class="rst-versions" role="note" style="cursor: pointer">
|
||||||
<span class="rst-current-version" data-toggle="rst-current-version">
|
<span class="rst-current-version" data-toggle="rst-current-version">
|
||||||
|
|
||||||
|
|
||||||
@ -297,11 +250,12 @@ Schema Language parser.</p>
|
|||||||
|
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
|
<script src="./js/theme.js"></script>
|
||||||
|
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|
||||||
<!--
|
<!--
|
||||||
MkDocs version : 0.15.3
|
MkDocs version : 0.16.3
|
||||||
Build Date UTC : 2016-12-16 22:21:03.555000
|
Build Date UTC : 2017-04-25 11:15:39
|
||||||
-->
|
-->
|
||||||
|
29
js/theme.js
29
js/theme.js
@ -1,5 +1,4 @@
|
|||||||
$( document ).ready(function() {
|
$( document ).ready(function() {
|
||||||
|
|
||||||
// Shift nav in mobile when clicking the menu.
|
// Shift nav in mobile when clicking the menu.
|
||||||
$(document).on('click', "[data-toggle='wy-nav-top']", function() {
|
$(document).on('click', "[data-toggle='wy-nav-top']", function() {
|
||||||
$("[data-toggle='wy-nav-shift']").toggleClass("shift");
|
$("[data-toggle='wy-nav-shift']").toggleClass("shift");
|
||||||
@ -53,3 +52,31 @@ window.SphinxRtdTheme = (function (jquery) {
|
|||||||
StickyNav : stickyNav
|
StickyNav : stickyNav
|
||||||
};
|
};
|
||||||
}($));
|
}($));
|
||||||
|
|
||||||
|
// The code below is a copy of @seanmadsen code posted Jan 10, 2017 on issue 803.
|
||||||
|
// https://github.com/mkdocs/mkdocs/issues/803
|
||||||
|
// This just incorporates the auto scroll into the theme itself without
|
||||||
|
// the need for additional custom.js file.
|
||||||
|
//
|
||||||
|
$(function() {
|
||||||
|
$.fn.isFullyWithinViewport = function(){
|
||||||
|
var viewport = {};
|
||||||
|
viewport.top = $(window).scrollTop();
|
||||||
|
viewport.bottom = viewport.top + $(window).height();
|
||||||
|
var bounds = {};
|
||||||
|
bounds.top = this.offset().top;
|
||||||
|
bounds.bottom = bounds.top + this.outerHeight();
|
||||||
|
return ( ! (
|
||||||
|
(bounds.top <= viewport.top) ||
|
||||||
|
(bounds.bottom >= viewport.bottom)
|
||||||
|
) );
|
||||||
|
};
|
||||||
|
if( $('li.toctree-l1.current').length && !$('li.toctree-l1.current').isFullyWithinViewport() ) {
|
||||||
|
$('.wy-nav-side')
|
||||||
|
.scrollTop(
|
||||||
|
$('li.toctree-l1.current').offset().top -
|
||||||
|
$('.wy-nav-side').offset().top -
|
||||||
|
60
|
||||||
|
);
|
||||||
|
}
|
||||||
|
});
|
||||||
|
7
mkdocs/js/lunr-0.5.7.min.js
vendored
7
mkdocs/js/lunr-0.5.7.min.js
vendored
File diff suppressed because one or more lines are too long
7
mkdocs/js/lunr.min.js
vendored
Executable file
7
mkdocs/js/lunr.min.js
vendored
Executable file
File diff suppressed because one or more lines are too long
@ -1,6 +1,6 @@
|
|||||||
require([
|
require([
|
||||||
base_url + '/mkdocs/js/mustache.min.js',
|
base_url + '/mkdocs/js/mustache.min.js',
|
||||||
base_url + '/mkdocs/js/lunr-0.5.7.min.js',
|
base_url + '/mkdocs/js/lunr.min.js',
|
||||||
'text!search-results-template.mustache',
|
'text!search-results-template.mustache',
|
||||||
'text!../search_index.json',
|
'text!../search_index.json',
|
||||||
], function (Mustache, lunr, results_template, data) {
|
], function (Mustache, lunr, results_template, data) {
|
||||||
@ -70,7 +70,7 @@ require([
|
|||||||
*/
|
*/
|
||||||
jQuery('#mkdocs_search_modal a').click(function(){
|
jQuery('#mkdocs_search_modal a').click(function(){
|
||||||
jQuery('#mkdocs_search_modal').modal('hide');
|
jQuery('#mkdocs_search_modal').modal('hide');
|
||||||
})
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
};
|
};
|
||||||
|
File diff suppressed because one or more lines are too long
167
search.html
167
search.html
@ -7,29 +7,21 @@
|
|||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<title>graphql-php</title>
|
|
||||||
|
|
||||||
|
|
||||||
<link rel="shortcut icon" href="./img/favicon.ico">
|
<link rel="shortcut icon" href="./img/favicon.ico">
|
||||||
|
<title>graphql-php</title>
|
||||||
|
|
||||||
<link href='https://fonts.googleapis.com/css?family=Lato:400,700|Roboto+Slab:400,700|Inconsolata:400,700' rel='stylesheet' type='text/css'>
|
<link href='https://fonts.googleapis.com/css?family=Lato:400,700|Roboto+Slab:400,700|Inconsolata:400,700' rel='stylesheet' type='text/css'>
|
||||||
|
|
||||||
<link rel="stylesheet" href="./css/theme.css" type="text/css" />
|
<link rel="stylesheet" href="./css/theme.css" type="text/css" />
|
||||||
<link rel="stylesheet" href="./css/theme_extra.css" type="text/css" />
|
<link rel="stylesheet" href="./css/theme_extra.css" type="text/css" />
|
||||||
<link rel="stylesheet" href="./css/highlight.css">
|
<link rel="stylesheet" href="./css/highlight.css">
|
||||||
|
|
||||||
|
|
||||||
<script src="./js/jquery-2.1.1.min.js"></script>
|
<script src="./js/jquery-2.1.1.min.js"></script>
|
||||||
<script src="./js/modernizr-2.8.3.min.js"></script>
|
<script src="./js/modernizr-2.8.3.min.js"></script>
|
||||||
<script type="text/javascript" src="./js/highlight.pack.js"></script>
|
<script type="text/javascript" src="./js/highlight.pack.js"></script>
|
||||||
<script src="./js/theme.js"></script>
|
|
||||||
<script>var base_url = '.';</script>
|
<script>var base_url = '.';</script>
|
||||||
<script data-main="./mkdocs/js/search.js" src="./mkdocs/js/require.js"></script>
|
<script data-main="./mkdocs/js/search.js" src="./mkdocs/js/require.js"></script>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body class="wy-body-for-nav" role="document">
|
<body class="wy-body-for-nav" role="document">
|
||||||
@ -48,127 +40,85 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="wy-menu wy-menu-vertical" data-spy="affix" role="navigation" aria-label="main navigation">
|
<div class="wy-menu wy-menu-vertical" data-spy="affix" role="navigation" aria-label="main navigation">
|
||||||
<ul class="current">
|
<ul class="current">
|
||||||
|
|
||||||
<li>
|
|
||||||
<li class="toctree-l1 ">
|
|
||||||
<a class="" href=".">About</a>
|
|
||||||
|
|
||||||
</li>
|
<li class="toctree-l1">
|
||||||
<li>
|
|
||||||
|
|
||||||
<li>
|
<a class="" href=".">About</a>
|
||||||
<li class="toctree-l1 ">
|
</li>
|
||||||
<a class="" href="getting-started/">Getting Started</a>
|
|
||||||
|
|
||||||
</li>
|
<li class="toctree-l1">
|
||||||
<li>
|
|
||||||
|
|
||||||
<li>
|
<a class="" href="getting-started/">Getting Started</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
<li class="toctree-l1">
|
||||||
|
|
||||||
|
<span class="caption-text">Type System</span>
|
||||||
<ul class="subnav">
|
<ul class="subnav">
|
||||||
<li><span>Type System</span></li>
|
<li class="">
|
||||||
|
|
||||||
|
<a class="" href="type-system/">Introduction</a>
|
||||||
|
</li>
|
||||||
|
<li class="">
|
||||||
|
|
||||||
|
<a class="" href="type-system/object-types/">Object Types</a>
|
||||||
|
</li>
|
||||||
|
<li class="">
|
||||||
|
|
||||||
<li class="toctree-l1 ">
|
<a class="" href="type-system/scalar-types/">Scalar Types</a>
|
||||||
<a class="" href="type-system/">Introduction</a>
|
</li>
|
||||||
|
<li class="">
|
||||||
|
|
||||||
</li>
|
<a class="" href="type-system/enum-types/">Enumeration Types</a>
|
||||||
|
</li>
|
||||||
|
<li class="">
|
||||||
|
|
||||||
|
<a class="" href="type-system/lists-and-nonnulls/">Lists and Non-Null</a>
|
||||||
|
</li>
|
||||||
|
<li class="">
|
||||||
|
|
||||||
|
<a class="" href="type-system/interfaces/">Interfaces</a>
|
||||||
|
</li>
|
||||||
|
<li class="">
|
||||||
|
|
||||||
<li class="toctree-l1 ">
|
<a class="" href="type-system/unions/">Unions</a>
|
||||||
<a class="" href="type-system/object-types/">Object Types</a>
|
</li>
|
||||||
|
<li class="">
|
||||||
|
|
||||||
</li>
|
<a class="" href="type-system/input-types/">Input Types</a>
|
||||||
|
</li>
|
||||||
|
<li class="">
|
||||||
|
|
||||||
<li class="toctree-l1 ">
|
|
||||||
<a class="" href="type-system/scalar-types/">Scalar Types</a>
|
|
||||||
|
|
||||||
</li>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<li class="toctree-l1 ">
|
|
||||||
<a class="" href="type-system/enum-types/">Enumeration Types</a>
|
|
||||||
|
|
||||||
</li>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<li class="toctree-l1 ">
|
|
||||||
<a class="" href="type-system/lists-and-nonnulls/">Lists and Non-Null</a>
|
|
||||||
|
|
||||||
</li>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<li class="toctree-l1 ">
|
|
||||||
<a class="" href="type-system/interfaces/">Interfaces</a>
|
|
||||||
|
|
||||||
</li>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<li class="toctree-l1 ">
|
|
||||||
<a class="" href="type-system/unions/">Unions</a>
|
|
||||||
|
|
||||||
</li>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<li class="toctree-l1 ">
|
|
||||||
<a class="" href="type-system/input-types/">Input Types</a>
|
|
||||||
|
|
||||||
</li>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<li class="toctree-l1 ">
|
|
||||||
<a class="" href="type-system/directives/">Directives</a>
|
|
||||||
|
|
||||||
</li>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<li class="toctree-l1 ">
|
|
||||||
<a class="" href="type-system/schema/">Schema</a>
|
|
||||||
|
|
||||||
</li>
|
|
||||||
|
|
||||||
|
<a class="" href="type-system/directives/">Directives</a>
|
||||||
|
</li>
|
||||||
|
<li class="">
|
||||||
|
|
||||||
|
<a class="" href="type-system/schema/">Schema</a>
|
||||||
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
<li>
|
</li>
|
||||||
|
|
||||||
<li>
|
<li class="toctree-l1">
|
||||||
<li class="toctree-l1 ">
|
|
||||||
<a class="" href="executing-queries/">Executing Queries</a>
|
|
||||||
|
|
||||||
</li>
|
<a class="" href="executing-queries/">Executing Queries</a>
|
||||||
<li>
|
</li>
|
||||||
|
|
||||||
<li>
|
<li class="toctree-l1">
|
||||||
<li class="toctree-l1 ">
|
|
||||||
<a class="" href="data-fetching/">Fetching Data</a>
|
|
||||||
|
|
||||||
</li>
|
<a class="" href="data-fetching/">Fetching Data</a>
|
||||||
<li>
|
</li>
|
||||||
|
|
||||||
<li>
|
<li class="toctree-l1">
|
||||||
<li class="toctree-l1 ">
|
|
||||||
<a class="" href="error-handling/">Handling Errors</a>
|
|
||||||
|
|
||||||
</li>
|
<a class="" href="error-handling/">Handling Errors</a>
|
||||||
<li>
|
</li>
|
||||||
|
|
||||||
<li>
|
<li class="toctree-l1">
|
||||||
<li class="toctree-l1 ">
|
|
||||||
<a class="" href="complementary-tools/">Complementary Tools</a>
|
|
||||||
|
|
||||||
</li>
|
<a class="" href="complementary-tools/">Complementary Tools</a>
|
||||||
<li>
|
</li>
|
||||||
|
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
@ -208,8 +158,8 @@
|
|||||||
<input name="q" id="mkdocs-search-query" type="text" class="search_input search-query ui-autocomplete-input" placeholder="Search the Docs" autocomplete="off" autofocus>
|
<input name="q" id="mkdocs-search-query" type="text" class="search_input search-query ui-autocomplete-input" placeholder="Search the Docs" autocomplete="off" autofocus>
|
||||||
</form>
|
</form>
|
||||||
|
|
||||||
<div id="mkdocs-search-results">
|
<div id="mkdocs-search-results" class="search-results">
|
||||||
Sorry, page not found.
|
Searching...
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
@ -235,13 +185,14 @@
|
|||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="rst-versions" role="note" style="cursor: pointer">
|
<div class="rst-versions" role="note" style="cursor: pointer">
|
||||||
<span class="rst-current-version" data-toggle="rst-current-version">
|
<span class="rst-current-version" data-toggle="rst-current-version">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
|
<script src="./js/theme.js"></script>
|
||||||
|
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
@ -1,5 +0,0 @@
|
|||||||
<div role="search">
|
|
||||||
<form id ="rtd-search-form" class="wy-form" action="{{ base_url }}/search.html" method="get">
|
|
||||||
<input type="text" name="q" placeholder="Search docs" />
|
|
||||||
</form>
|
|
||||||
</div>
|
|
64
sitemap.xml
64
sitemap.xml
@ -3,16 +3,16 @@
|
|||||||
|
|
||||||
|
|
||||||
<url>
|
<url>
|
||||||
<loc>None/</loc>
|
<loc>/</loc>
|
||||||
<lastmod>2016-12-17</lastmod>
|
<lastmod>2017-04-25</lastmod>
|
||||||
<changefreq>daily</changefreq>
|
<changefreq>daily</changefreq>
|
||||||
</url>
|
</url>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<url>
|
<url>
|
||||||
<loc>None/getting-started/</loc>
|
<loc>/getting-started/</loc>
|
||||||
<lastmod>2016-12-17</lastmod>
|
<lastmod>2017-04-25</lastmod>
|
||||||
<changefreq>daily</changefreq>
|
<changefreq>daily</changefreq>
|
||||||
</url>
|
</url>
|
||||||
|
|
||||||
@ -20,62 +20,62 @@
|
|||||||
|
|
||||||
|
|
||||||
<url>
|
<url>
|
||||||
<loc>None/type-system/</loc>
|
<loc>/type-system/</loc>
|
||||||
<lastmod>2016-12-17</lastmod>
|
<lastmod>2017-04-25</lastmod>
|
||||||
<changefreq>daily</changefreq>
|
<changefreq>daily</changefreq>
|
||||||
</url>
|
</url>
|
||||||
|
|
||||||
<url>
|
<url>
|
||||||
<loc>None/type-system/object-types/</loc>
|
<loc>/type-system/object-types/</loc>
|
||||||
<lastmod>2016-12-17</lastmod>
|
<lastmod>2017-04-25</lastmod>
|
||||||
<changefreq>daily</changefreq>
|
<changefreq>daily</changefreq>
|
||||||
</url>
|
</url>
|
||||||
|
|
||||||
<url>
|
<url>
|
||||||
<loc>None/type-system/scalar-types/</loc>
|
<loc>/type-system/scalar-types/</loc>
|
||||||
<lastmod>2016-12-17</lastmod>
|
<lastmod>2017-04-25</lastmod>
|
||||||
<changefreq>daily</changefreq>
|
<changefreq>daily</changefreq>
|
||||||
</url>
|
</url>
|
||||||
|
|
||||||
<url>
|
<url>
|
||||||
<loc>None/type-system/enum-types/</loc>
|
<loc>/type-system/enum-types/</loc>
|
||||||
<lastmod>2016-12-17</lastmod>
|
<lastmod>2017-04-25</lastmod>
|
||||||
<changefreq>daily</changefreq>
|
<changefreq>daily</changefreq>
|
||||||
</url>
|
</url>
|
||||||
|
|
||||||
<url>
|
<url>
|
||||||
<loc>None/type-system/lists-and-nonnulls/</loc>
|
<loc>/type-system/lists-and-nonnulls/</loc>
|
||||||
<lastmod>2016-12-17</lastmod>
|
<lastmod>2017-04-25</lastmod>
|
||||||
<changefreq>daily</changefreq>
|
<changefreq>daily</changefreq>
|
||||||
</url>
|
</url>
|
||||||
|
|
||||||
<url>
|
<url>
|
||||||
<loc>None/type-system/interfaces/</loc>
|
<loc>/type-system/interfaces/</loc>
|
||||||
<lastmod>2016-12-17</lastmod>
|
<lastmod>2017-04-25</lastmod>
|
||||||
<changefreq>daily</changefreq>
|
<changefreq>daily</changefreq>
|
||||||
</url>
|
</url>
|
||||||
|
|
||||||
<url>
|
<url>
|
||||||
<loc>None/type-system/unions/</loc>
|
<loc>/type-system/unions/</loc>
|
||||||
<lastmod>2016-12-17</lastmod>
|
<lastmod>2017-04-25</lastmod>
|
||||||
<changefreq>daily</changefreq>
|
<changefreq>daily</changefreq>
|
||||||
</url>
|
</url>
|
||||||
|
|
||||||
<url>
|
<url>
|
||||||
<loc>None/type-system/input-types/</loc>
|
<loc>/type-system/input-types/</loc>
|
||||||
<lastmod>2016-12-17</lastmod>
|
<lastmod>2017-04-25</lastmod>
|
||||||
<changefreq>daily</changefreq>
|
<changefreq>daily</changefreq>
|
||||||
</url>
|
</url>
|
||||||
|
|
||||||
<url>
|
<url>
|
||||||
<loc>None/type-system/directives/</loc>
|
<loc>/type-system/directives/</loc>
|
||||||
<lastmod>2016-12-17</lastmod>
|
<lastmod>2017-04-25</lastmod>
|
||||||
<changefreq>daily</changefreq>
|
<changefreq>daily</changefreq>
|
||||||
</url>
|
</url>
|
||||||
|
|
||||||
<url>
|
<url>
|
||||||
<loc>None/type-system/schema/</loc>
|
<loc>/type-system/schema/</loc>
|
||||||
<lastmod>2016-12-17</lastmod>
|
<lastmod>2017-04-25</lastmod>
|
||||||
<changefreq>daily</changefreq>
|
<changefreq>daily</changefreq>
|
||||||
</url>
|
</url>
|
||||||
|
|
||||||
@ -83,32 +83,32 @@
|
|||||||
|
|
||||||
|
|
||||||
<url>
|
<url>
|
||||||
<loc>None/executing-queries/</loc>
|
<loc>/executing-queries/</loc>
|
||||||
<lastmod>2016-12-17</lastmod>
|
<lastmod>2017-04-25</lastmod>
|
||||||
<changefreq>daily</changefreq>
|
<changefreq>daily</changefreq>
|
||||||
</url>
|
</url>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<url>
|
<url>
|
||||||
<loc>None/data-fetching/</loc>
|
<loc>/data-fetching/</loc>
|
||||||
<lastmod>2016-12-17</lastmod>
|
<lastmod>2017-04-25</lastmod>
|
||||||
<changefreq>daily</changefreq>
|
<changefreq>daily</changefreq>
|
||||||
</url>
|
</url>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<url>
|
<url>
|
||||||
<loc>None/error-handling/</loc>
|
<loc>/error-handling/</loc>
|
||||||
<lastmod>2016-12-17</lastmod>
|
<lastmod>2017-04-25</lastmod>
|
||||||
<changefreq>daily</changefreq>
|
<changefreq>daily</changefreq>
|
||||||
</url>
|
</url>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<url>
|
<url>
|
||||||
<loc>None/complementary-tools/</loc>
|
<loc>/complementary-tools/</loc>
|
||||||
<lastmod>2016-12-17</lastmod>
|
<lastmod>2017-04-25</lastmod>
|
||||||
<changefreq>daily</changefreq>
|
<changefreq>daily</changefreq>
|
||||||
</url>
|
</url>
|
||||||
|
|
||||||
|
23
toc.html
23
toc.html
@ -1,23 +0,0 @@
|
|||||||
{% if nav_item.children %}
|
|
||||||
<ul class="subnav">
|
|
||||||
<li><span>{{ nav_item.title }}</span></li>
|
|
||||||
|
|
||||||
{% for nav_item in nav_item.children %}
|
|
||||||
{% include 'toc.html' %}
|
|
||||||
{% endfor %}
|
|
||||||
</ul>
|
|
||||||
{% else %}
|
|
||||||
<li class="toctree-l1 {% if nav_item.active%}current{%endif%}">
|
|
||||||
<a class="{% if nav_item.active%}current{%endif%}" href="{{ nav_item.url }}">{{ nav_item.title }}</a>
|
|
||||||
{% if nav_item == current_page %}
|
|
||||||
<ul>
|
|
||||||
{% for toc_item in toc %}
|
|
||||||
<li class="toctree-l3"><a href="{{ toc_item.url }}">{{ toc_item.title }}</a></li>
|
|
||||||
{% for toc_item in toc_item.children %}
|
|
||||||
<li><a class="toctree-l4" href="{{ toc_item.url }}">{{ toc_item.title }}</a></li>
|
|
||||||
{% endfor %}
|
|
||||||
{% endfor %}
|
|
||||||
</ul>
|
|
||||||
{% endif %}
|
|
||||||
</li>
|
|
||||||
{% endif %}
|
|
@ -7,32 +7,24 @@
|
|||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<title>Directives - graphql-php</title>
|
|
||||||
|
|
||||||
|
|
||||||
<link rel="shortcut icon" href="../../img/favicon.ico">
|
<link rel="shortcut icon" href="../../img/favicon.ico">
|
||||||
|
<title>Directives - graphql-php</title>
|
||||||
|
|
||||||
<link href='https://fonts.googleapis.com/css?family=Lato:400,700|Roboto+Slab:400,700|Inconsolata:400,700' rel='stylesheet' type='text/css'>
|
<link href='https://fonts.googleapis.com/css?family=Lato:400,700|Roboto+Slab:400,700|Inconsolata:400,700' rel='stylesheet' type='text/css'>
|
||||||
|
|
||||||
<link rel="stylesheet" href="../../css/theme.css" type="text/css" />
|
<link rel="stylesheet" href="../../css/theme.css" type="text/css" />
|
||||||
<link rel="stylesheet" href="../../css/theme_extra.css" type="text/css" />
|
<link rel="stylesheet" href="../../css/theme_extra.css" type="text/css" />
|
||||||
<link rel="stylesheet" href="../../css/highlight.css">
|
<link rel="stylesheet" href="../../css/highlight.css">
|
||||||
|
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
// Current page data
|
// Current page data
|
||||||
var mkdocs_page_name = "Directives";
|
var mkdocs_page_name = "Directives";
|
||||||
var mkdocs_page_input_path = "type-system\directives.md";
|
var mkdocs_page_input_path = "type-system\\directives.md";
|
||||||
var mkdocs_page_url = "/type-system/directives/";
|
var mkdocs_page_url = "/type-system/directives/";
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<script src="../../js/jquery-2.1.1.min.js"></script>
|
<script src="../../js/jquery-2.1.1.min.js"></script>
|
||||||
<script src="../../js/modernizr-2.8.3.min.js"></script>
|
<script src="../../js/modernizr-2.8.3.min.js"></script>
|
||||||
<script type="text/javascript" src="../../js/highlight.pack.js"></script>
|
<script type="text/javascript" src="../../js/highlight.pack.js"></script>
|
||||||
<script src="../../js/theme.js"></script>
|
|
||||||
|
|
||||||
|
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
@ -52,137 +44,94 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="wy-menu wy-menu-vertical" data-spy="affix" role="navigation" aria-label="main navigation">
|
<div class="wy-menu wy-menu-vertical" data-spy="affix" role="navigation" aria-label="main navigation">
|
||||||
<ul class="current">
|
<ul class="current">
|
||||||
|
|
||||||
<li>
|
|
||||||
<li class="toctree-l1 ">
|
|
||||||
<a class="" href="../..">About</a>
|
|
||||||
|
|
||||||
</li>
|
<li class="toctree-l1">
|
||||||
<li>
|
|
||||||
|
|
||||||
<li>
|
<a class="" href="../..">About</a>
|
||||||
<li class="toctree-l1 ">
|
</li>
|
||||||
<a class="" href="../../getting-started/">Getting Started</a>
|
|
||||||
|
|
||||||
</li>
|
<li class="toctree-l1">
|
||||||
<li>
|
|
||||||
|
|
||||||
<li>
|
<a class="" href="../../getting-started/">Getting Started</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
<li class="toctree-l1">
|
||||||
|
|
||||||
|
<span class="caption-text">Type System</span>
|
||||||
<ul class="subnav">
|
<ul class="subnav">
|
||||||
<li><span>Type System</span></li>
|
<li class="">
|
||||||
|
|
||||||
|
<a class="" href="../">Introduction</a>
|
||||||
|
</li>
|
||||||
|
<li class="">
|
||||||
|
|
||||||
|
<a class="" href="../object-types/">Object Types</a>
|
||||||
|
</li>
|
||||||
|
<li class="">
|
||||||
|
|
||||||
|
<a class="" href="../scalar-types/">Scalar Types</a>
|
||||||
|
</li>
|
||||||
|
<li class="">
|
||||||
|
|
||||||
|
<a class="" href="../enum-types/">Enumeration Types</a>
|
||||||
|
</li>
|
||||||
|
<li class="">
|
||||||
|
|
||||||
|
<a class="" href="../lists-and-nonnulls/">Lists and Non-Null</a>
|
||||||
|
</li>
|
||||||
|
<li class="">
|
||||||
|
|
||||||
|
<a class="" href="../interfaces/">Interfaces</a>
|
||||||
|
</li>
|
||||||
|
<li class="">
|
||||||
|
|
||||||
|
<a class="" href="../unions/">Unions</a>
|
||||||
|
</li>
|
||||||
|
<li class="">
|
||||||
|
|
||||||
|
<a class="" href="../input-types/">Input Types</a>
|
||||||
|
</li>
|
||||||
|
<li class=" current">
|
||||||
|
|
||||||
|
<a class="current" href="./">Directives</a>
|
||||||
|
<ul class="subnav">
|
||||||
|
|
||||||
|
<li class="toctree-l3"><a href="#built-in-directives">Built-in directives</a></li>
|
||||||
|
|
||||||
|
|
||||||
|
<li class="toctree-l3"><a href="#custom-directives">Custom directives</a></li>
|
||||||
<li class="toctree-l1 ">
|
|
||||||
<a class="" href="../">Introduction</a>
|
|
||||||
|
|
||||||
</li>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<li class="toctree-l1 ">
|
|
||||||
<a class="" href="../object-types/">Object Types</a>
|
|
||||||
|
|
||||||
</li>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<li class="toctree-l1 ">
|
|
||||||
<a class="" href="../scalar-types/">Scalar Types</a>
|
|
||||||
|
|
||||||
</li>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<li class="toctree-l1 ">
|
|
||||||
<a class="" href="../enum-types/">Enumeration Types</a>
|
|
||||||
|
|
||||||
</li>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<li class="toctree-l1 ">
|
|
||||||
<a class="" href="../lists-and-nonnulls/">Lists and Non-Null</a>
|
|
||||||
|
|
||||||
</li>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<li class="toctree-l1 ">
|
|
||||||
<a class="" href="../interfaces/">Interfaces</a>
|
|
||||||
|
|
||||||
</li>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<li class="toctree-l1 ">
|
|
||||||
<a class="" href="../unions/">Unions</a>
|
|
||||||
|
|
||||||
</li>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<li class="toctree-l1 ">
|
|
||||||
<a class="" href="../input-types/">Input Types</a>
|
|
||||||
|
|
||||||
</li>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<li class="toctree-l1 current">
|
|
||||||
<a class="current" href="./">Directives</a>
|
|
||||||
|
|
||||||
<ul>
|
|
||||||
|
|
||||||
<li class="toctree-l3"><a href="#built-in-directives">Built-in directives</a></li>
|
|
||||||
|
|
||||||
|
|
||||||
<li class="toctree-l3"><a href="#custom-directives">Custom directives</a></li>
|
|
||||||
|
|
||||||
|
|
||||||
</ul>
|
|
||||||
|
|
||||||
</li>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<li class="toctree-l1 ">
|
|
||||||
<a class="" href="../schema/">Schema</a>
|
|
||||||
|
|
||||||
</li>
|
|
||||||
|
|
||||||
|
|
||||||
</ul>
|
</ul>
|
||||||
<li>
|
</li>
|
||||||
|
<li class="">
|
||||||
|
|
||||||
<li>
|
<a class="" href="../schema/">Schema</a>
|
||||||
<li class="toctree-l1 ">
|
</li>
|
||||||
<a class="" href="../../executing-queries/">Executing Queries</a>
|
</ul>
|
||||||
|
</li>
|
||||||
|
|
||||||
</li>
|
<li class="toctree-l1">
|
||||||
<li>
|
|
||||||
|
|
||||||
<li>
|
<a class="" href="../../executing-queries/">Executing Queries</a>
|
||||||
<li class="toctree-l1 ">
|
</li>
|
||||||
<a class="" href="../../data-fetching/">Fetching Data</a>
|
|
||||||
|
|
||||||
</li>
|
<li class="toctree-l1">
|
||||||
<li>
|
|
||||||
|
|
||||||
<li>
|
<a class="" href="../../data-fetching/">Fetching Data</a>
|
||||||
<li class="toctree-l1 ">
|
</li>
|
||||||
<a class="" href="../../error-handling/">Handling Errors</a>
|
|
||||||
|
|
||||||
</li>
|
<li class="toctree-l1">
|
||||||
<li>
|
|
||||||
|
|
||||||
<li>
|
<a class="" href="../../error-handling/">Handling Errors</a>
|
||||||
<li class="toctree-l1 ">
|
</li>
|
||||||
<a class="" href="../../complementary-tools/">Complementary Tools</a>
|
|
||||||
|
|
||||||
</li>
|
<li class="toctree-l1">
|
||||||
<li>
|
|
||||||
|
<a class="" href="../../complementary-tools/">Complementary Tools</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
@ -312,7 +261,7 @@ $trackDirective = new Directive([
|
|||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="rst-versions" role="note" style="cursor: pointer">
|
<div class="rst-versions" role="note" style="cursor: pointer">
|
||||||
<span class="rst-current-version" data-toggle="rst-current-version">
|
<span class="rst-current-version" data-toggle="rst-current-version">
|
||||||
|
|
||||||
|
|
||||||
@ -323,6 +272,7 @@ $trackDirective = new Directive([
|
|||||||
|
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
|
<script src="../../js/theme.js"></script>
|
||||||
|
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
@ -7,32 +7,24 @@
|
|||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<title>Enumeration Types - graphql-php</title>
|
|
||||||
|
|
||||||
|
|
||||||
<link rel="shortcut icon" href="../../img/favicon.ico">
|
<link rel="shortcut icon" href="../../img/favicon.ico">
|
||||||
|
<title>Enumeration Types - graphql-php</title>
|
||||||
|
|
||||||
<link href='https://fonts.googleapis.com/css?family=Lato:400,700|Roboto+Slab:400,700|Inconsolata:400,700' rel='stylesheet' type='text/css'>
|
<link href='https://fonts.googleapis.com/css?family=Lato:400,700|Roboto+Slab:400,700|Inconsolata:400,700' rel='stylesheet' type='text/css'>
|
||||||
|
|
||||||
<link rel="stylesheet" href="../../css/theme.css" type="text/css" />
|
<link rel="stylesheet" href="../../css/theme.css" type="text/css" />
|
||||||
<link rel="stylesheet" href="../../css/theme_extra.css" type="text/css" />
|
<link rel="stylesheet" href="../../css/theme_extra.css" type="text/css" />
|
||||||
<link rel="stylesheet" href="../../css/highlight.css">
|
<link rel="stylesheet" href="../../css/highlight.css">
|
||||||
|
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
// Current page data
|
// Current page data
|
||||||
var mkdocs_page_name = "Enumeration Types";
|
var mkdocs_page_name = "Enumeration Types";
|
||||||
var mkdocs_page_input_path = "type-system\enum-types.md";
|
var mkdocs_page_input_path = "type-system\\enum-types.md";
|
||||||
var mkdocs_page_url = "/type-system/enum-types/";
|
var mkdocs_page_url = "/type-system/enum-types/";
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<script src="../../js/jquery-2.1.1.min.js"></script>
|
<script src="../../js/jquery-2.1.1.min.js"></script>
|
||||||
<script src="../../js/modernizr-2.8.3.min.js"></script>
|
<script src="../../js/modernizr-2.8.3.min.js"></script>
|
||||||
<script type="text/javascript" src="../../js/highlight.pack.js"></script>
|
<script type="text/javascript" src="../../js/highlight.pack.js"></script>
|
||||||
<script src="../../js/theme.js"></script>
|
|
||||||
|
|
||||||
|
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
@ -52,143 +44,100 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="wy-menu wy-menu-vertical" data-spy="affix" role="navigation" aria-label="main navigation">
|
<div class="wy-menu wy-menu-vertical" data-spy="affix" role="navigation" aria-label="main navigation">
|
||||||
<ul class="current">
|
<ul class="current">
|
||||||
|
|
||||||
<li>
|
|
||||||
<li class="toctree-l1 ">
|
|
||||||
<a class="" href="../..">About</a>
|
|
||||||
|
|
||||||
</li>
|
<li class="toctree-l1">
|
||||||
<li>
|
|
||||||
|
|
||||||
<li>
|
<a class="" href="../..">About</a>
|
||||||
<li class="toctree-l1 ">
|
</li>
|
||||||
<a class="" href="../../getting-started/">Getting Started</a>
|
|
||||||
|
|
||||||
</li>
|
<li class="toctree-l1">
|
||||||
<li>
|
|
||||||
|
|
||||||
<li>
|
<a class="" href="../../getting-started/">Getting Started</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
<li class="toctree-l1">
|
||||||
|
|
||||||
|
<span class="caption-text">Type System</span>
|
||||||
<ul class="subnav">
|
<ul class="subnav">
|
||||||
<li><span>Type System</span></li>
|
<li class="">
|
||||||
|
|
||||||
|
<a class="" href="../">Introduction</a>
|
||||||
|
</li>
|
||||||
|
<li class="">
|
||||||
|
|
||||||
|
<a class="" href="../object-types/">Object Types</a>
|
||||||
|
</li>
|
||||||
|
<li class="">
|
||||||
|
|
||||||
|
<a class="" href="../scalar-types/">Scalar Types</a>
|
||||||
|
</li>
|
||||||
|
<li class=" current">
|
||||||
|
|
||||||
|
<a class="current" href="./">Enumeration Types</a>
|
||||||
|
<ul class="subnav">
|
||||||
|
|
||||||
|
<li class="toctree-l3"><a href="#enum-type-definition">Enum Type Definition</a></li>
|
||||||
|
|
||||||
|
|
||||||
|
<li class="toctree-l3"><a href="#configuration-options">Configuration options</a></li>
|
||||||
<li class="toctree-l1 ">
|
|
||||||
<a class="" href="../">Introduction</a>
|
|
||||||
|
|
||||||
</li>
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="toctree-l3"><a href="#shorthand-definitions">Shorthand definitions</a></li>
|
||||||
<li class="toctree-l1 ">
|
|
||||||
<a class="" href="../object-types/">Object Types</a>
|
|
||||||
|
|
||||||
</li>
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="toctree-l3"><a href="#field-resolution">Field Resolution</a></li>
|
||||||
<li class="toctree-l1 ">
|
|
||||||
<a class="" href="../scalar-types/">Scalar Types</a>
|
|
||||||
|
|
||||||
</li>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<li class="toctree-l1 current">
|
|
||||||
<a class="current" href="./">Enumeration Types</a>
|
|
||||||
|
|
||||||
<ul>
|
|
||||||
|
|
||||||
<li class="toctree-l3"><a href="#enum-type-definition">Enum Type Definition</a></li>
|
|
||||||
|
|
||||||
|
|
||||||
<li class="toctree-l3"><a href="#configuration-options">Configuration options</a></li>
|
|
||||||
|
|
||||||
|
|
||||||
<li class="toctree-l3"><a href="#shorthand-definitions">Shorthand definitions</a></li>
|
|
||||||
|
|
||||||
|
|
||||||
<li class="toctree-l3"><a href="#field-resolution">Field Resolution</a></li>
|
|
||||||
|
|
||||||
|
|
||||||
</ul>
|
|
||||||
|
|
||||||
</li>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<li class="toctree-l1 ">
|
|
||||||
<a class="" href="../lists-and-nonnulls/">Lists and Non-Null</a>
|
|
||||||
|
|
||||||
</li>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<li class="toctree-l1 ">
|
|
||||||
<a class="" href="../interfaces/">Interfaces</a>
|
|
||||||
|
|
||||||
</li>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<li class="toctree-l1 ">
|
|
||||||
<a class="" href="../unions/">Unions</a>
|
|
||||||
|
|
||||||
</li>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<li class="toctree-l1 ">
|
|
||||||
<a class="" href="../input-types/">Input Types</a>
|
|
||||||
|
|
||||||
</li>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<li class="toctree-l1 ">
|
|
||||||
<a class="" href="../directives/">Directives</a>
|
|
||||||
|
|
||||||
</li>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<li class="toctree-l1 ">
|
|
||||||
<a class="" href="../schema/">Schema</a>
|
|
||||||
|
|
||||||
</li>
|
|
||||||
|
|
||||||
|
|
||||||
</ul>
|
</ul>
|
||||||
<li>
|
</li>
|
||||||
|
<li class="">
|
||||||
|
|
||||||
<li>
|
<a class="" href="../lists-and-nonnulls/">Lists and Non-Null</a>
|
||||||
<li class="toctree-l1 ">
|
</li>
|
||||||
<a class="" href="../../executing-queries/">Executing Queries</a>
|
<li class="">
|
||||||
|
|
||||||
</li>
|
<a class="" href="../interfaces/">Interfaces</a>
|
||||||
<li>
|
</li>
|
||||||
|
<li class="">
|
||||||
|
|
||||||
<li>
|
<a class="" href="../unions/">Unions</a>
|
||||||
<li class="toctree-l1 ">
|
</li>
|
||||||
<a class="" href="../../data-fetching/">Fetching Data</a>
|
<li class="">
|
||||||
|
|
||||||
</li>
|
<a class="" href="../input-types/">Input Types</a>
|
||||||
<li>
|
</li>
|
||||||
|
<li class="">
|
||||||
|
|
||||||
<li>
|
<a class="" href="../directives/">Directives</a>
|
||||||
<li class="toctree-l1 ">
|
</li>
|
||||||
<a class="" href="../../error-handling/">Handling Errors</a>
|
<li class="">
|
||||||
|
|
||||||
</li>
|
<a class="" href="../schema/">Schema</a>
|
||||||
<li>
|
</li>
|
||||||
|
</ul>
|
||||||
|
</li>
|
||||||
|
|
||||||
<li>
|
<li class="toctree-l1">
|
||||||
<li class="toctree-l1 ">
|
|
||||||
<a class="" href="../../complementary-tools/">Complementary Tools</a>
|
|
||||||
|
|
||||||
</li>
|
<a class="" href="../../executing-queries/">Executing Queries</a>
|
||||||
<li>
|
</li>
|
||||||
|
|
||||||
|
<li class="toctree-l1">
|
||||||
|
|
||||||
|
<a class="" href="../../data-fetching/">Fetching Data</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
<li class="toctree-l1">
|
||||||
|
|
||||||
|
<a class="" href="../../error-handling/">Handling Errors</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
<li class="toctree-l1">
|
||||||
|
|
||||||
|
<a class="" href="../../complementary-tools/">Complementary Tools</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
@ -464,7 +413,7 @@ GraphQL will treat enum input as <strong>name</strong> and convert it into <stro
|
|||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="rst-versions" role="note" style="cursor: pointer">
|
<div class="rst-versions" role="note" style="cursor: pointer">
|
||||||
<span class="rst-current-version" data-toggle="rst-current-version">
|
<span class="rst-current-version" data-toggle="rst-current-version">
|
||||||
|
|
||||||
|
|
||||||
@ -475,6 +424,7 @@ GraphQL will treat enum input as <strong>name</strong> and convert it into <stro
|
|||||||
|
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
|
<script src="../../js/theme.js"></script>
|
||||||
|
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
@ -7,32 +7,24 @@
|
|||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<title>Introduction - graphql-php</title>
|
|
||||||
|
|
||||||
|
|
||||||
<link rel="shortcut icon" href="../img/favicon.ico">
|
<link rel="shortcut icon" href="../img/favicon.ico">
|
||||||
|
<title>Introduction - graphql-php</title>
|
||||||
|
|
||||||
<link href='https://fonts.googleapis.com/css?family=Lato:400,700|Roboto+Slab:400,700|Inconsolata:400,700' rel='stylesheet' type='text/css'>
|
<link href='https://fonts.googleapis.com/css?family=Lato:400,700|Roboto+Slab:400,700|Inconsolata:400,700' rel='stylesheet' type='text/css'>
|
||||||
|
|
||||||
<link rel="stylesheet" href="../css/theme.css" type="text/css" />
|
<link rel="stylesheet" href="../css/theme.css" type="text/css" />
|
||||||
<link rel="stylesheet" href="../css/theme_extra.css" type="text/css" />
|
<link rel="stylesheet" href="../css/theme_extra.css" type="text/css" />
|
||||||
<link rel="stylesheet" href="../css/highlight.css">
|
<link rel="stylesheet" href="../css/highlight.css">
|
||||||
|
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
// Current page data
|
// Current page data
|
||||||
var mkdocs_page_name = "Introduction";
|
var mkdocs_page_name = "Introduction";
|
||||||
var mkdocs_page_input_path = "type-system\index.md";
|
var mkdocs_page_input_path = "type-system\\index.md";
|
||||||
var mkdocs_page_url = "/type-system/";
|
var mkdocs_page_url = "/type-system/";
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<script src="../js/jquery-2.1.1.min.js"></script>
|
<script src="../js/jquery-2.1.1.min.js"></script>
|
||||||
<script src="../js/modernizr-2.8.3.min.js"></script>
|
<script src="../js/modernizr-2.8.3.min.js"></script>
|
||||||
<script type="text/javascript" src="../js/highlight.pack.js"></script>
|
<script type="text/javascript" src="../js/highlight.pack.js"></script>
|
||||||
<script src="../js/theme.js"></script>
|
|
||||||
|
|
||||||
|
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
@ -52,140 +44,97 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="wy-menu wy-menu-vertical" data-spy="affix" role="navigation" aria-label="main navigation">
|
<div class="wy-menu wy-menu-vertical" data-spy="affix" role="navigation" aria-label="main navigation">
|
||||||
<ul class="current">
|
<ul class="current">
|
||||||
|
|
||||||
<li>
|
|
||||||
<li class="toctree-l1 ">
|
|
||||||
<a class="" href="..">About</a>
|
|
||||||
|
|
||||||
</li>
|
<li class="toctree-l1">
|
||||||
<li>
|
|
||||||
|
|
||||||
<li>
|
<a class="" href="..">About</a>
|
||||||
<li class="toctree-l1 ">
|
</li>
|
||||||
<a class="" href="../getting-started/">Getting Started</a>
|
|
||||||
|
|
||||||
</li>
|
<li class="toctree-l1">
|
||||||
<li>
|
|
||||||
|
|
||||||
<li>
|
<a class="" href="../getting-started/">Getting Started</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
<li class="toctree-l1">
|
||||||
|
|
||||||
|
<span class="caption-text">Type System</span>
|
||||||
<ul class="subnav">
|
<ul class="subnav">
|
||||||
<li><span>Type System</span></li>
|
<li class=" current">
|
||||||
|
|
||||||
|
<a class="current" href="./">Introduction</a>
|
||||||
|
<ul class="subnav">
|
||||||
|
|
||||||
|
<li class="toctree-l3"><a href="#type-system">Type System</a></li>
|
||||||
|
|
||||||
|
|
||||||
|
<li class="toctree-l3"><a href="#type-definition-styles">Type Definition Styles</a></li>
|
||||||
<li class="toctree-l1 current">
|
|
||||||
<a class="current" href="./">Introduction</a>
|
|
||||||
|
|
||||||
<ul>
|
|
||||||
|
|
||||||
<li class="toctree-l3"><a href="#type-system">Type System</a></li>
|
|
||||||
|
|
||||||
|
|
||||||
<li class="toctree-l3"><a href="#type-definition-styles">Type Definition Styles</a></li>
|
<li class="toctree-l3"><a href="#type-registry">Type Registry</a></li>
|
||||||
|
|
||||||
|
|
||||||
<li class="toctree-l3"><a href="#type-registry">Type Registry</a></li>
|
|
||||||
|
|
||||||
|
|
||||||
</ul>
|
|
||||||
|
|
||||||
</li>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<li class="toctree-l1 ">
|
|
||||||
<a class="" href="object-types/">Object Types</a>
|
|
||||||
|
|
||||||
</li>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<li class="toctree-l1 ">
|
|
||||||
<a class="" href="scalar-types/">Scalar Types</a>
|
|
||||||
|
|
||||||
</li>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<li class="toctree-l1 ">
|
|
||||||
<a class="" href="enum-types/">Enumeration Types</a>
|
|
||||||
|
|
||||||
</li>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<li class="toctree-l1 ">
|
|
||||||
<a class="" href="lists-and-nonnulls/">Lists and Non-Null</a>
|
|
||||||
|
|
||||||
</li>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<li class="toctree-l1 ">
|
|
||||||
<a class="" href="interfaces/">Interfaces</a>
|
|
||||||
|
|
||||||
</li>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<li class="toctree-l1 ">
|
|
||||||
<a class="" href="unions/">Unions</a>
|
|
||||||
|
|
||||||
</li>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<li class="toctree-l1 ">
|
|
||||||
<a class="" href="input-types/">Input Types</a>
|
|
||||||
|
|
||||||
</li>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<li class="toctree-l1 ">
|
|
||||||
<a class="" href="directives/">Directives</a>
|
|
||||||
|
|
||||||
</li>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<li class="toctree-l1 ">
|
|
||||||
<a class="" href="schema/">Schema</a>
|
|
||||||
|
|
||||||
</li>
|
|
||||||
|
|
||||||
|
|
||||||
</ul>
|
</ul>
|
||||||
<li>
|
</li>
|
||||||
|
<li class="">
|
||||||
|
|
||||||
<li>
|
<a class="" href="object-types/">Object Types</a>
|
||||||
<li class="toctree-l1 ">
|
</li>
|
||||||
<a class="" href="../executing-queries/">Executing Queries</a>
|
<li class="">
|
||||||
|
|
||||||
</li>
|
<a class="" href="scalar-types/">Scalar Types</a>
|
||||||
<li>
|
</li>
|
||||||
|
<li class="">
|
||||||
|
|
||||||
<li>
|
<a class="" href="enum-types/">Enumeration Types</a>
|
||||||
<li class="toctree-l1 ">
|
</li>
|
||||||
<a class="" href="../data-fetching/">Fetching Data</a>
|
<li class="">
|
||||||
|
|
||||||
</li>
|
<a class="" href="lists-and-nonnulls/">Lists and Non-Null</a>
|
||||||
<li>
|
</li>
|
||||||
|
<li class="">
|
||||||
|
|
||||||
<li>
|
<a class="" href="interfaces/">Interfaces</a>
|
||||||
<li class="toctree-l1 ">
|
</li>
|
||||||
<a class="" href="../error-handling/">Handling Errors</a>
|
<li class="">
|
||||||
|
|
||||||
</li>
|
<a class="" href="unions/">Unions</a>
|
||||||
<li>
|
</li>
|
||||||
|
<li class="">
|
||||||
|
|
||||||
<li>
|
<a class="" href="input-types/">Input Types</a>
|
||||||
<li class="toctree-l1 ">
|
</li>
|
||||||
<a class="" href="../complementary-tools/">Complementary Tools</a>
|
<li class="">
|
||||||
|
|
||||||
</li>
|
<a class="" href="directives/">Directives</a>
|
||||||
<li>
|
</li>
|
||||||
|
<li class="">
|
||||||
|
|
||||||
|
<a class="" href="schema/">Schema</a>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
<li class="toctree-l1">
|
||||||
|
|
||||||
|
<a class="" href="../executing-queries/">Executing Queries</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
<li class="toctree-l1">
|
||||||
|
|
||||||
|
<a class="" href="../data-fetching/">Fetching Data</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
<li class="toctree-l1">
|
||||||
|
|
||||||
|
<a class="" href="../error-handling/">Handling Errors</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
<li class="toctree-l1">
|
||||||
|
|
||||||
|
<a class="" href="../complementary-tools/">Complementary Tools</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
@ -376,7 +325,7 @@ to pass it in constructor - instead just use use <code>TypeRegistry::myAType()</
|
|||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="rst-versions" role="note" style="cursor: pointer">
|
<div class="rst-versions" role="note" style="cursor: pointer">
|
||||||
<span class="rst-current-version" data-toggle="rst-current-version">
|
<span class="rst-current-version" data-toggle="rst-current-version">
|
||||||
|
|
||||||
|
|
||||||
@ -387,6 +336,7 @@ to pass it in constructor - instead just use use <code>TypeRegistry::myAType()</
|
|||||||
|
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
|
<script src="../js/theme.js"></script>
|
||||||
|
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
@ -7,32 +7,24 @@
|
|||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<title>Input Types - graphql-php</title>
|
|
||||||
|
|
||||||
|
|
||||||
<link rel="shortcut icon" href="../../img/favicon.ico">
|
<link rel="shortcut icon" href="../../img/favicon.ico">
|
||||||
|
<title>Input Types - graphql-php</title>
|
||||||
|
|
||||||
<link href='https://fonts.googleapis.com/css?family=Lato:400,700|Roboto+Slab:400,700|Inconsolata:400,700' rel='stylesheet' type='text/css'>
|
<link href='https://fonts.googleapis.com/css?family=Lato:400,700|Roboto+Slab:400,700|Inconsolata:400,700' rel='stylesheet' type='text/css'>
|
||||||
|
|
||||||
<link rel="stylesheet" href="../../css/theme.css" type="text/css" />
|
<link rel="stylesheet" href="../../css/theme.css" type="text/css" />
|
||||||
<link rel="stylesheet" href="../../css/theme_extra.css" type="text/css" />
|
<link rel="stylesheet" href="../../css/theme_extra.css" type="text/css" />
|
||||||
<link rel="stylesheet" href="../../css/highlight.css">
|
<link rel="stylesheet" href="../../css/highlight.css">
|
||||||
|
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
// Current page data
|
// Current page data
|
||||||
var mkdocs_page_name = "Input Types";
|
var mkdocs_page_name = "Input Types";
|
||||||
var mkdocs_page_input_path = "type-system\input-types.md";
|
var mkdocs_page_input_path = "type-system\\input-types.md";
|
||||||
var mkdocs_page_url = "/type-system/input-types/";
|
var mkdocs_page_url = "/type-system/input-types/";
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<script src="../../js/jquery-2.1.1.min.js"></script>
|
<script src="../../js/jquery-2.1.1.min.js"></script>
|
||||||
<script src="../../js/modernizr-2.8.3.min.js"></script>
|
<script src="../../js/modernizr-2.8.3.min.js"></script>
|
||||||
<script type="text/javascript" src="../../js/highlight.pack.js"></script>
|
<script type="text/javascript" src="../../js/highlight.pack.js"></script>
|
||||||
<script src="../../js/theme.js"></script>
|
|
||||||
|
|
||||||
|
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
@ -52,143 +44,100 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="wy-menu wy-menu-vertical" data-spy="affix" role="navigation" aria-label="main navigation">
|
<div class="wy-menu wy-menu-vertical" data-spy="affix" role="navigation" aria-label="main navigation">
|
||||||
<ul class="current">
|
<ul class="current">
|
||||||
|
|
||||||
<li>
|
|
||||||
<li class="toctree-l1 ">
|
|
||||||
<a class="" href="../..">About</a>
|
|
||||||
|
|
||||||
</li>
|
<li class="toctree-l1">
|
||||||
<li>
|
|
||||||
|
|
||||||
<li>
|
<a class="" href="../..">About</a>
|
||||||
<li class="toctree-l1 ">
|
</li>
|
||||||
<a class="" href="../../getting-started/">Getting Started</a>
|
|
||||||
|
|
||||||
</li>
|
<li class="toctree-l1">
|
||||||
<li>
|
|
||||||
|
|
||||||
<li>
|
<a class="" href="../../getting-started/">Getting Started</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
<li class="toctree-l1">
|
||||||
|
|
||||||
|
<span class="caption-text">Type System</span>
|
||||||
<ul class="subnav">
|
<ul class="subnav">
|
||||||
<li><span>Type System</span></li>
|
<li class="">
|
||||||
|
|
||||||
|
<a class="" href="../">Introduction</a>
|
||||||
|
</li>
|
||||||
|
<li class="">
|
||||||
|
|
||||||
|
<a class="" href="../object-types/">Object Types</a>
|
||||||
|
</li>
|
||||||
|
<li class="">
|
||||||
|
|
||||||
|
<a class="" href="../scalar-types/">Scalar Types</a>
|
||||||
|
</li>
|
||||||
|
<li class="">
|
||||||
|
|
||||||
|
<a class="" href="../enum-types/">Enumeration Types</a>
|
||||||
|
</li>
|
||||||
|
<li class="">
|
||||||
|
|
||||||
|
<a class="" href="../lists-and-nonnulls/">Lists and Non-Null</a>
|
||||||
|
</li>
|
||||||
|
<li class="">
|
||||||
|
|
||||||
|
<a class="" href="../interfaces/">Interfaces</a>
|
||||||
|
</li>
|
||||||
|
<li class="">
|
||||||
|
|
||||||
|
<a class="" href="../unions/">Unions</a>
|
||||||
|
</li>
|
||||||
|
<li class=" current">
|
||||||
|
|
||||||
|
<a class="current" href="./">Input Types</a>
|
||||||
|
<ul class="subnav">
|
||||||
|
|
||||||
|
<li class="toctree-l3"><a href="#about-input-and-output-types">About Input and Output Types</a></li>
|
||||||
|
|
||||||
|
|
||||||
|
<li class="toctree-l3"><a href="#input-object-type">Input Object Type</a></li>
|
||||||
<li class="toctree-l1 ">
|
|
||||||
<a class="" href="../">Introduction</a>
|
|
||||||
|
|
||||||
</li>
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="toctree-l3"><a href="#configuration-options">Configuration options</a></li>
|
||||||
<li class="toctree-l1 ">
|
|
||||||
<a class="" href="../object-types/">Object Types</a>
|
|
||||||
|
|
||||||
</li>
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="toctree-l3"><a href="#using-input-object-type">Using Input Object Type</a></li>
|
||||||
<li class="toctree-l1 ">
|
|
||||||
<a class="" href="../scalar-types/">Scalar Types</a>
|
|
||||||
|
|
||||||
</li>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<li class="toctree-l1 ">
|
|
||||||
<a class="" href="../enum-types/">Enumeration Types</a>
|
|
||||||
|
|
||||||
</li>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<li class="toctree-l1 ">
|
|
||||||
<a class="" href="../lists-and-nonnulls/">Lists and Non-Null</a>
|
|
||||||
|
|
||||||
</li>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<li class="toctree-l1 ">
|
|
||||||
<a class="" href="../interfaces/">Interfaces</a>
|
|
||||||
|
|
||||||
</li>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<li class="toctree-l1 ">
|
|
||||||
<a class="" href="../unions/">Unions</a>
|
|
||||||
|
|
||||||
</li>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<li class="toctree-l1 current">
|
|
||||||
<a class="current" href="./">Input Types</a>
|
|
||||||
|
|
||||||
<ul>
|
|
||||||
|
|
||||||
<li class="toctree-l3"><a href="#about-input-and-output-types">About Input and Output Types</a></li>
|
|
||||||
|
|
||||||
|
|
||||||
<li class="toctree-l3"><a href="#input-object-type">Input Object Type</a></li>
|
|
||||||
|
|
||||||
|
|
||||||
<li class="toctree-l3"><a href="#configuration-options">Configuration options</a></li>
|
|
||||||
|
|
||||||
|
|
||||||
<li class="toctree-l3"><a href="#using-input-object-type">Using Input Object Type</a></li>
|
|
||||||
|
|
||||||
|
|
||||||
</ul>
|
|
||||||
|
|
||||||
</li>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<li class="toctree-l1 ">
|
|
||||||
<a class="" href="../directives/">Directives</a>
|
|
||||||
|
|
||||||
</li>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<li class="toctree-l1 ">
|
|
||||||
<a class="" href="../schema/">Schema</a>
|
|
||||||
|
|
||||||
</li>
|
|
||||||
|
|
||||||
|
|
||||||
</ul>
|
</ul>
|
||||||
<li>
|
</li>
|
||||||
|
<li class="">
|
||||||
|
|
||||||
<li>
|
<a class="" href="../directives/">Directives</a>
|
||||||
<li class="toctree-l1 ">
|
</li>
|
||||||
<a class="" href="../../executing-queries/">Executing Queries</a>
|
<li class="">
|
||||||
|
|
||||||
</li>
|
<a class="" href="../schema/">Schema</a>
|
||||||
<li>
|
</li>
|
||||||
|
</ul>
|
||||||
|
</li>
|
||||||
|
|
||||||
<li>
|
<li class="toctree-l1">
|
||||||
<li class="toctree-l1 ">
|
|
||||||
<a class="" href="../../data-fetching/">Fetching Data</a>
|
|
||||||
|
|
||||||
</li>
|
<a class="" href="../../executing-queries/">Executing Queries</a>
|
||||||
<li>
|
</li>
|
||||||
|
|
||||||
<li>
|
<li class="toctree-l1">
|
||||||
<li class="toctree-l1 ">
|
|
||||||
<a class="" href="../../error-handling/">Handling Errors</a>
|
|
||||||
|
|
||||||
</li>
|
<a class="" href="../../data-fetching/">Fetching Data</a>
|
||||||
<li>
|
</li>
|
||||||
|
|
||||||
<li>
|
<li class="toctree-l1">
|
||||||
<li class="toctree-l1 ">
|
|
||||||
<a class="" href="../../complementary-tools/">Complementary Tools</a>
|
|
||||||
|
|
||||||
</li>
|
<a class="" href="../../error-handling/">Handling Errors</a>
|
||||||
<li>
|
</li>
|
||||||
|
|
||||||
|
<li class="toctree-l1">
|
||||||
|
|
||||||
|
<a class="" href="../../complementary-tools/">Complementary Tools</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
@ -409,7 +358,7 @@ resolver as <code>$args['filters']</code></p>
|
|||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="rst-versions" role="note" style="cursor: pointer">
|
<div class="rst-versions" role="note" style="cursor: pointer">
|
||||||
<span class="rst-current-version" data-toggle="rst-current-version">
|
<span class="rst-current-version" data-toggle="rst-current-version">
|
||||||
|
|
||||||
|
|
||||||
@ -420,6 +369,7 @@ resolver as <code>$args['filters']</code></p>
|
|||||||
|
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
|
<script src="../../js/theme.js"></script>
|
||||||
|
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
@ -7,32 +7,24 @@
|
|||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<title>Interfaces - graphql-php</title>
|
|
||||||
|
|
||||||
|
|
||||||
<link rel="shortcut icon" href="../../img/favicon.ico">
|
<link rel="shortcut icon" href="../../img/favicon.ico">
|
||||||
|
<title>Interfaces - graphql-php</title>
|
||||||
|
|
||||||
<link href='https://fonts.googleapis.com/css?family=Lato:400,700|Roboto+Slab:400,700|Inconsolata:400,700' rel='stylesheet' type='text/css'>
|
<link href='https://fonts.googleapis.com/css?family=Lato:400,700|Roboto+Slab:400,700|Inconsolata:400,700' rel='stylesheet' type='text/css'>
|
||||||
|
|
||||||
<link rel="stylesheet" href="../../css/theme.css" type="text/css" />
|
<link rel="stylesheet" href="../../css/theme.css" type="text/css" />
|
||||||
<link rel="stylesheet" href="../../css/theme_extra.css" type="text/css" />
|
<link rel="stylesheet" href="../../css/theme_extra.css" type="text/css" />
|
||||||
<link rel="stylesheet" href="../../css/highlight.css">
|
<link rel="stylesheet" href="../../css/highlight.css">
|
||||||
|
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
// Current page data
|
// Current page data
|
||||||
var mkdocs_page_name = "Interfaces";
|
var mkdocs_page_name = "Interfaces";
|
||||||
var mkdocs_page_input_path = "type-system\interfaces.md";
|
var mkdocs_page_input_path = "type-system\\interfaces.md";
|
||||||
var mkdocs_page_url = "/type-system/interfaces/";
|
var mkdocs_page_url = "/type-system/interfaces/";
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<script src="../../js/jquery-2.1.1.min.js"></script>
|
<script src="../../js/jquery-2.1.1.min.js"></script>
|
||||||
<script src="../../js/modernizr-2.8.3.min.js"></script>
|
<script src="../../js/modernizr-2.8.3.min.js"></script>
|
||||||
<script type="text/javascript" src="../../js/highlight.pack.js"></script>
|
<script type="text/javascript" src="../../js/highlight.pack.js"></script>
|
||||||
<script src="../../js/theme.js"></script>
|
|
||||||
|
|
||||||
|
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
@ -52,149 +44,106 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="wy-menu wy-menu-vertical" data-spy="affix" role="navigation" aria-label="main navigation">
|
<div class="wy-menu wy-menu-vertical" data-spy="affix" role="navigation" aria-label="main navigation">
|
||||||
<ul class="current">
|
<ul class="current">
|
||||||
|
|
||||||
<li>
|
|
||||||
<li class="toctree-l1 ">
|
|
||||||
<a class="" href="../..">About</a>
|
|
||||||
|
|
||||||
</li>
|
<li class="toctree-l1">
|
||||||
<li>
|
|
||||||
|
|
||||||
<li>
|
<a class="" href="../..">About</a>
|
||||||
<li class="toctree-l1 ">
|
</li>
|
||||||
<a class="" href="../../getting-started/">Getting Started</a>
|
|
||||||
|
|
||||||
</li>
|
<li class="toctree-l1">
|
||||||
<li>
|
|
||||||
|
|
||||||
<li>
|
<a class="" href="../../getting-started/">Getting Started</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
<li class="toctree-l1">
|
||||||
|
|
||||||
|
<span class="caption-text">Type System</span>
|
||||||
<ul class="subnav">
|
<ul class="subnav">
|
||||||
<li><span>Type System</span></li>
|
<li class="">
|
||||||
|
|
||||||
|
<a class="" href="../">Introduction</a>
|
||||||
|
</li>
|
||||||
|
<li class="">
|
||||||
|
|
||||||
|
<a class="" href="../object-types/">Object Types</a>
|
||||||
|
</li>
|
||||||
|
<li class="">
|
||||||
|
|
||||||
|
<a class="" href="../scalar-types/">Scalar Types</a>
|
||||||
|
</li>
|
||||||
|
<li class="">
|
||||||
|
|
||||||
|
<a class="" href="../enum-types/">Enumeration Types</a>
|
||||||
|
</li>
|
||||||
|
<li class="">
|
||||||
|
|
||||||
|
<a class="" href="../lists-and-nonnulls/">Lists and Non-Null</a>
|
||||||
|
</li>
|
||||||
|
<li class=" current">
|
||||||
|
|
||||||
|
<a class="current" href="./">Interfaces</a>
|
||||||
|
<ul class="subnav">
|
||||||
|
|
||||||
|
<li class="toctree-l3"><a href="#interface-type-definition">Interface Type Definition</a></li>
|
||||||
|
|
||||||
|
|
||||||
|
<li class="toctree-l3"><a href="#configuration-options">Configuration options</a></li>
|
||||||
<li class="toctree-l1 ">
|
|
||||||
<a class="" href="../">Introduction</a>
|
|
||||||
|
|
||||||
</li>
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="toctree-l3"><a href="#implementing-interface">Implementing interface</a></li>
|
||||||
<li class="toctree-l1 ">
|
|
||||||
<a class="" href="../object-types/">Object Types</a>
|
|
||||||
|
|
||||||
</li>
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="toctree-l3"><a href="#covariant-return-types-for-interface-fields">Covariant return types for interface fields</a></li>
|
||||||
<li class="toctree-l1 ">
|
|
||||||
<a class="" href="../scalar-types/">Scalar Types</a>
|
|
||||||
|
|
||||||
</li>
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="toctree-l3"><a href="#sharing-interface-fields">Sharing Interface fields</a></li>
|
||||||
<li class="toctree-l1 ">
|
|
||||||
<a class="" href="../enum-types/">Enumeration Types</a>
|
|
||||||
|
|
||||||
</li>
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="toctree-l3"><a href="#interface-role-in-data-fetching">Interface role in data fetching</a></li>
|
||||||
<li class="toctree-l1 ">
|
|
||||||
<a class="" href="../lists-and-nonnulls/">Lists and Non-Null</a>
|
|
||||||
|
|
||||||
</li>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<li class="toctree-l1 current">
|
|
||||||
<a class="current" href="./">Interfaces</a>
|
|
||||||
|
|
||||||
<ul>
|
|
||||||
|
|
||||||
<li class="toctree-l3"><a href="#interface-type-definition">Interface Type Definition</a></li>
|
|
||||||
|
|
||||||
|
|
||||||
<li class="toctree-l3"><a href="#configuration-options">Configuration options</a></li>
|
|
||||||
|
|
||||||
|
|
||||||
<li class="toctree-l3"><a href="#implementing-interface">Implementing interface</a></li>
|
|
||||||
|
|
||||||
|
|
||||||
<li class="toctree-l3"><a href="#covariant-return-types-for-interface-fields">Covariant return types for interface fields</a></li>
|
|
||||||
|
|
||||||
|
|
||||||
<li class="toctree-l3"><a href="#sharing-interface-fields">Sharing Interface fields</a></li>
|
|
||||||
|
|
||||||
|
|
||||||
<li class="toctree-l3"><a href="#interface-role-in-data-fetching">Interface role in data fetching</a></li>
|
|
||||||
|
|
||||||
|
|
||||||
</ul>
|
|
||||||
|
|
||||||
</li>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<li class="toctree-l1 ">
|
|
||||||
<a class="" href="../unions/">Unions</a>
|
|
||||||
|
|
||||||
</li>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<li class="toctree-l1 ">
|
|
||||||
<a class="" href="../input-types/">Input Types</a>
|
|
||||||
|
|
||||||
</li>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<li class="toctree-l1 ">
|
|
||||||
<a class="" href="../directives/">Directives</a>
|
|
||||||
|
|
||||||
</li>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<li class="toctree-l1 ">
|
|
||||||
<a class="" href="../schema/">Schema</a>
|
|
||||||
|
|
||||||
</li>
|
|
||||||
|
|
||||||
|
|
||||||
</ul>
|
</ul>
|
||||||
<li>
|
</li>
|
||||||
|
<li class="">
|
||||||
|
|
||||||
<li>
|
<a class="" href="../unions/">Unions</a>
|
||||||
<li class="toctree-l1 ">
|
</li>
|
||||||
<a class="" href="../../executing-queries/">Executing Queries</a>
|
<li class="">
|
||||||
|
|
||||||
</li>
|
<a class="" href="../input-types/">Input Types</a>
|
||||||
<li>
|
</li>
|
||||||
|
<li class="">
|
||||||
|
|
||||||
<li>
|
<a class="" href="../directives/">Directives</a>
|
||||||
<li class="toctree-l1 ">
|
</li>
|
||||||
<a class="" href="../../data-fetching/">Fetching Data</a>
|
<li class="">
|
||||||
|
|
||||||
</li>
|
<a class="" href="../schema/">Schema</a>
|
||||||
<li>
|
</li>
|
||||||
|
</ul>
|
||||||
|
</li>
|
||||||
|
|
||||||
<li>
|
<li class="toctree-l1">
|
||||||
<li class="toctree-l1 ">
|
|
||||||
<a class="" href="../../error-handling/">Handling Errors</a>
|
|
||||||
|
|
||||||
</li>
|
<a class="" href="../../executing-queries/">Executing Queries</a>
|
||||||
<li>
|
</li>
|
||||||
|
|
||||||
<li>
|
<li class="toctree-l1">
|
||||||
<li class="toctree-l1 ">
|
|
||||||
<a class="" href="../../complementary-tools/">Complementary Tools</a>
|
|
||||||
|
|
||||||
</li>
|
<a class="" href="../../data-fetching/">Fetching Data</a>
|
||||||
<li>
|
</li>
|
||||||
|
|
||||||
|
<li class="toctree-l1">
|
||||||
|
|
||||||
|
<a class="" href="../../error-handling/">Handling Errors</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
<li class="toctree-l1">
|
||||||
|
|
||||||
|
<a class="" href="../../complementary-tools/">Complementary Tools</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
@ -406,7 +355,7 @@ than single <strong>resolveType</strong> call. So it is recommended to define <s
|
|||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="rst-versions" role="note" style="cursor: pointer">
|
<div class="rst-versions" role="note" style="cursor: pointer">
|
||||||
<span class="rst-current-version" data-toggle="rst-current-version">
|
<span class="rst-current-version" data-toggle="rst-current-version">
|
||||||
|
|
||||||
|
|
||||||
@ -417,6 +366,7 @@ than single <strong>resolveType</strong> call. So it is recommended to define <s
|
|||||||
|
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
|
<script src="../../js/theme.js"></script>
|
||||||
|
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
@ -7,32 +7,24 @@
|
|||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<title>Lists and Non-Null - graphql-php</title>
|
|
||||||
|
|
||||||
|
|
||||||
<link rel="shortcut icon" href="../../img/favicon.ico">
|
<link rel="shortcut icon" href="../../img/favicon.ico">
|
||||||
|
<title>Lists and Non-Null - graphql-php</title>
|
||||||
|
|
||||||
<link href='https://fonts.googleapis.com/css?family=Lato:400,700|Roboto+Slab:400,700|Inconsolata:400,700' rel='stylesheet' type='text/css'>
|
<link href='https://fonts.googleapis.com/css?family=Lato:400,700|Roboto+Slab:400,700|Inconsolata:400,700' rel='stylesheet' type='text/css'>
|
||||||
|
|
||||||
<link rel="stylesheet" href="../../css/theme.css" type="text/css" />
|
<link rel="stylesheet" href="../../css/theme.css" type="text/css" />
|
||||||
<link rel="stylesheet" href="../../css/theme_extra.css" type="text/css" />
|
<link rel="stylesheet" href="../../css/theme_extra.css" type="text/css" />
|
||||||
<link rel="stylesheet" href="../../css/highlight.css">
|
<link rel="stylesheet" href="../../css/highlight.css">
|
||||||
|
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
// Current page data
|
// Current page data
|
||||||
var mkdocs_page_name = "Lists and Non-Null";
|
var mkdocs_page_name = "Lists and Non-Null";
|
||||||
var mkdocs_page_input_path = "type-system\lists-and-nonnulls.md";
|
var mkdocs_page_input_path = "type-system\\lists-and-nonnulls.md";
|
||||||
var mkdocs_page_url = "/type-system/lists-and-nonnulls/";
|
var mkdocs_page_url = "/type-system/lists-and-nonnulls/";
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<script src="../../js/jquery-2.1.1.min.js"></script>
|
<script src="../../js/jquery-2.1.1.min.js"></script>
|
||||||
<script src="../../js/modernizr-2.8.3.min.js"></script>
|
<script src="../../js/modernizr-2.8.3.min.js"></script>
|
||||||
<script type="text/javascript" src="../../js/highlight.pack.js"></script>
|
<script type="text/javascript" src="../../js/highlight.pack.js"></script>
|
||||||
<script src="../../js/theme.js"></script>
|
|
||||||
|
|
||||||
|
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
@ -52,137 +44,94 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="wy-menu wy-menu-vertical" data-spy="affix" role="navigation" aria-label="main navigation">
|
<div class="wy-menu wy-menu-vertical" data-spy="affix" role="navigation" aria-label="main navigation">
|
||||||
<ul class="current">
|
<ul class="current">
|
||||||
|
|
||||||
<li>
|
|
||||||
<li class="toctree-l1 ">
|
|
||||||
<a class="" href="../..">About</a>
|
|
||||||
|
|
||||||
</li>
|
<li class="toctree-l1">
|
||||||
<li>
|
|
||||||
|
|
||||||
<li>
|
<a class="" href="../..">About</a>
|
||||||
<li class="toctree-l1 ">
|
</li>
|
||||||
<a class="" href="../../getting-started/">Getting Started</a>
|
|
||||||
|
|
||||||
</li>
|
<li class="toctree-l1">
|
||||||
<li>
|
|
||||||
|
|
||||||
<li>
|
<a class="" href="../../getting-started/">Getting Started</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
<li class="toctree-l1">
|
||||||
|
|
||||||
|
<span class="caption-text">Type System</span>
|
||||||
<ul class="subnav">
|
<ul class="subnav">
|
||||||
<li><span>Type System</span></li>
|
<li class="">
|
||||||
|
|
||||||
|
<a class="" href="../">Introduction</a>
|
||||||
|
</li>
|
||||||
|
<li class="">
|
||||||
|
|
||||||
|
<a class="" href="../object-types/">Object Types</a>
|
||||||
|
</li>
|
||||||
|
<li class="">
|
||||||
|
|
||||||
|
<a class="" href="../scalar-types/">Scalar Types</a>
|
||||||
|
</li>
|
||||||
|
<li class="">
|
||||||
|
|
||||||
|
<a class="" href="../enum-types/">Enumeration Types</a>
|
||||||
|
</li>
|
||||||
|
<li class=" current">
|
||||||
|
|
||||||
|
<a class="current" href="./">Lists and Non-Null</a>
|
||||||
|
<ul class="subnav">
|
||||||
|
|
||||||
|
<li class="toctree-l3"><a href="#lists">Lists</a></li>
|
||||||
|
|
||||||
|
|
||||||
|
<li class="toctree-l3"><a href="#non-null-fields">Non-Null fields</a></li>
|
||||||
<li class="toctree-l1 ">
|
|
||||||
<a class="" href="../">Introduction</a>
|
|
||||||
|
|
||||||
</li>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<li class="toctree-l1 ">
|
|
||||||
<a class="" href="../object-types/">Object Types</a>
|
|
||||||
|
|
||||||
</li>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<li class="toctree-l1 ">
|
|
||||||
<a class="" href="../scalar-types/">Scalar Types</a>
|
|
||||||
|
|
||||||
</li>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<li class="toctree-l1 ">
|
|
||||||
<a class="" href="../enum-types/">Enumeration Types</a>
|
|
||||||
|
|
||||||
</li>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<li class="toctree-l1 current">
|
|
||||||
<a class="current" href="./">Lists and Non-Null</a>
|
|
||||||
|
|
||||||
<ul>
|
|
||||||
|
|
||||||
<li class="toctree-l3"><a href="#lists">Lists</a></li>
|
|
||||||
|
|
||||||
|
|
||||||
<li class="toctree-l3"><a href="#non-null-fields">Non-Null fields</a></li>
|
|
||||||
|
|
||||||
|
|
||||||
</ul>
|
|
||||||
|
|
||||||
</li>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<li class="toctree-l1 ">
|
|
||||||
<a class="" href="../interfaces/">Interfaces</a>
|
|
||||||
|
|
||||||
</li>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<li class="toctree-l1 ">
|
|
||||||
<a class="" href="../unions/">Unions</a>
|
|
||||||
|
|
||||||
</li>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<li class="toctree-l1 ">
|
|
||||||
<a class="" href="../input-types/">Input Types</a>
|
|
||||||
|
|
||||||
</li>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<li class="toctree-l1 ">
|
|
||||||
<a class="" href="../directives/">Directives</a>
|
|
||||||
|
|
||||||
</li>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<li class="toctree-l1 ">
|
|
||||||
<a class="" href="../schema/">Schema</a>
|
|
||||||
|
|
||||||
</li>
|
|
||||||
|
|
||||||
|
|
||||||
</ul>
|
</ul>
|
||||||
<li>
|
</li>
|
||||||
|
<li class="">
|
||||||
|
|
||||||
<li>
|
<a class="" href="../interfaces/">Interfaces</a>
|
||||||
<li class="toctree-l1 ">
|
</li>
|
||||||
<a class="" href="../../executing-queries/">Executing Queries</a>
|
<li class="">
|
||||||
|
|
||||||
</li>
|
<a class="" href="../unions/">Unions</a>
|
||||||
<li>
|
</li>
|
||||||
|
<li class="">
|
||||||
|
|
||||||
<li>
|
<a class="" href="../input-types/">Input Types</a>
|
||||||
<li class="toctree-l1 ">
|
</li>
|
||||||
<a class="" href="../../data-fetching/">Fetching Data</a>
|
<li class="">
|
||||||
|
|
||||||
</li>
|
<a class="" href="../directives/">Directives</a>
|
||||||
<li>
|
</li>
|
||||||
|
<li class="">
|
||||||
|
|
||||||
<li>
|
<a class="" href="../schema/">Schema</a>
|
||||||
<li class="toctree-l1 ">
|
</li>
|
||||||
<a class="" href="../../error-handling/">Handling Errors</a>
|
</ul>
|
||||||
|
</li>
|
||||||
|
|
||||||
</li>
|
<li class="toctree-l1">
|
||||||
<li>
|
|
||||||
|
|
||||||
<li>
|
<a class="" href="../../executing-queries/">Executing Queries</a>
|
||||||
<li class="toctree-l1 ">
|
</li>
|
||||||
<a class="" href="../../complementary-tools/">Complementary Tools</a>
|
|
||||||
|
|
||||||
</li>
|
<li class="toctree-l1">
|
||||||
<li>
|
|
||||||
|
<a class="" href="../../data-fetching/">Fetching Data</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
<li class="toctree-l1">
|
||||||
|
|
||||||
|
<a class="" href="../../error-handling/">Handling Errors</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
<li class="toctree-l1">
|
||||||
|
|
||||||
|
<a class="" href="../../complementary-tools/">Complementary Tools</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
@ -307,7 +256,7 @@ field which will be set to <code>null</code>).</p>
|
|||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="rst-versions" role="note" style="cursor: pointer">
|
<div class="rst-versions" role="note" style="cursor: pointer">
|
||||||
<span class="rst-current-version" data-toggle="rst-current-version">
|
<span class="rst-current-version" data-toggle="rst-current-version">
|
||||||
|
|
||||||
|
|
||||||
@ -318,6 +267,7 @@ field which will be set to <code>null</code>).</p>
|
|||||||
|
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
|
<script src="../../js/theme.js"></script>
|
||||||
|
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
@ -7,32 +7,24 @@
|
|||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<title>Object Types - graphql-php</title>
|
|
||||||
|
|
||||||
|
|
||||||
<link rel="shortcut icon" href="../../img/favicon.ico">
|
<link rel="shortcut icon" href="../../img/favicon.ico">
|
||||||
|
<title>Object Types - graphql-php</title>
|
||||||
|
|
||||||
<link href='https://fonts.googleapis.com/css?family=Lato:400,700|Roboto+Slab:400,700|Inconsolata:400,700' rel='stylesheet' type='text/css'>
|
<link href='https://fonts.googleapis.com/css?family=Lato:400,700|Roboto+Slab:400,700|Inconsolata:400,700' rel='stylesheet' type='text/css'>
|
||||||
|
|
||||||
<link rel="stylesheet" href="../../css/theme.css" type="text/css" />
|
<link rel="stylesheet" href="../../css/theme.css" type="text/css" />
|
||||||
<link rel="stylesheet" href="../../css/theme_extra.css" type="text/css" />
|
<link rel="stylesheet" href="../../css/theme_extra.css" type="text/css" />
|
||||||
<link rel="stylesheet" href="../../css/highlight.css">
|
<link rel="stylesheet" href="../../css/highlight.css">
|
||||||
|
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
// Current page data
|
// Current page data
|
||||||
var mkdocs_page_name = "Object Types";
|
var mkdocs_page_name = "Object Types";
|
||||||
var mkdocs_page_input_path = "type-system\object-types.md";
|
var mkdocs_page_input_path = "type-system\\object-types.md";
|
||||||
var mkdocs_page_url = "/type-system/object-types/";
|
var mkdocs_page_url = "/type-system/object-types/";
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<script src="../../js/jquery-2.1.1.min.js"></script>
|
<script src="../../js/jquery-2.1.1.min.js"></script>
|
||||||
<script src="../../js/modernizr-2.8.3.min.js"></script>
|
<script src="../../js/modernizr-2.8.3.min.js"></script>
|
||||||
<script type="text/javascript" src="../../js/highlight.pack.js"></script>
|
<script type="text/javascript" src="../../js/highlight.pack.js"></script>
|
||||||
<script src="../../js/theme.js"></script>
|
|
||||||
|
|
||||||
|
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
@ -52,155 +44,112 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="wy-menu wy-menu-vertical" data-spy="affix" role="navigation" aria-label="main navigation">
|
<div class="wy-menu wy-menu-vertical" data-spy="affix" role="navigation" aria-label="main navigation">
|
||||||
<ul class="current">
|
<ul class="current">
|
||||||
|
|
||||||
<li>
|
|
||||||
<li class="toctree-l1 ">
|
|
||||||
<a class="" href="../..">About</a>
|
|
||||||
|
|
||||||
</li>
|
<li class="toctree-l1">
|
||||||
<li>
|
|
||||||
|
|
||||||
<li>
|
<a class="" href="../..">About</a>
|
||||||
<li class="toctree-l1 ">
|
</li>
|
||||||
<a class="" href="../../getting-started/">Getting Started</a>
|
|
||||||
|
|
||||||
</li>
|
<li class="toctree-l1">
|
||||||
<li>
|
|
||||||
|
|
||||||
<li>
|
<a class="" href="../../getting-started/">Getting Started</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
<li class="toctree-l1">
|
||||||
|
|
||||||
|
<span class="caption-text">Type System</span>
|
||||||
<ul class="subnav">
|
<ul class="subnav">
|
||||||
<li><span>Type System</span></li>
|
<li class="">
|
||||||
|
|
||||||
|
<a class="" href="../">Introduction</a>
|
||||||
|
</li>
|
||||||
|
<li class=" current">
|
||||||
|
|
||||||
|
<a class="current" href="./">Object Types</a>
|
||||||
|
<ul class="subnav">
|
||||||
|
|
||||||
|
<li class="toctree-l3"><a href="#object-type-definition">Object Type Definition</a></li>
|
||||||
|
|
||||||
|
|
||||||
|
<li class="toctree-l3"><a href="#configuration-options">Configuration options</a></li>
|
||||||
<li class="toctree-l1 ">
|
|
||||||
<a class="" href="../">Introduction</a>
|
|
||||||
|
|
||||||
</li>
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="toctree-l3"><a href="#field-configuration-options">Field configuration options</a></li>
|
||||||
<li class="toctree-l1 current">
|
|
||||||
<a class="current" href="./">Object Types</a>
|
|
||||||
|
|
||||||
<ul>
|
|
||||||
|
|
||||||
<li class="toctree-l3"><a href="#object-type-definition">Object Type Definition</a></li>
|
|
||||||
|
|
||||||
|
|
||||||
<li class="toctree-l3"><a href="#configuration-options">Configuration options</a></li>
|
<li class="toctree-l3"><a href="#field-arguments">Field arguments</a></li>
|
||||||
|
|
||||||
|
|
||||||
<li class="toctree-l3"><a href="#field-configuration-options">Field configuration options</a></li>
|
<li class="toctree-l3"><a href="#shorthand-field-definitions">Shorthand field definitions</a></li>
|
||||||
|
|
||||||
|
|
||||||
<li class="toctree-l3"><a href="#field-arguments">Field arguments</a></li>
|
<li class="toctree-l3"><a href="#recurring-and-circular-types">Recurring and circular types</a></li>
|
||||||
|
|
||||||
|
|
||||||
<li class="toctree-l3"><a href="#shorthand-field-definitions">Shorthand field definitions</a></li>
|
<li class="toctree-l3"><a href="#field-resolution">Field Resolution</a></li>
|
||||||
|
|
||||||
|
|
||||||
<li class="toctree-l3"><a href="#recurring-and-circular-types">Recurring and circular types</a></li>
|
<li class="toctree-l3"><a href="#custom-metadata">Custom Metadata</a></li>
|
||||||
|
|
||||||
|
|
||||||
<li class="toctree-l3"><a href="#field-resolution">Field Resolution</a></li>
|
|
||||||
|
|
||||||
|
|
||||||
<li class="toctree-l3"><a href="#custom-metadata">Custom Metadata</a></li>
|
|
||||||
|
|
||||||
|
|
||||||
</ul>
|
|
||||||
|
|
||||||
</li>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<li class="toctree-l1 ">
|
|
||||||
<a class="" href="../scalar-types/">Scalar Types</a>
|
|
||||||
|
|
||||||
</li>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<li class="toctree-l1 ">
|
|
||||||
<a class="" href="../enum-types/">Enumeration Types</a>
|
|
||||||
|
|
||||||
</li>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<li class="toctree-l1 ">
|
|
||||||
<a class="" href="../lists-and-nonnulls/">Lists and Non-Null</a>
|
|
||||||
|
|
||||||
</li>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<li class="toctree-l1 ">
|
|
||||||
<a class="" href="../interfaces/">Interfaces</a>
|
|
||||||
|
|
||||||
</li>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<li class="toctree-l1 ">
|
|
||||||
<a class="" href="../unions/">Unions</a>
|
|
||||||
|
|
||||||
</li>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<li class="toctree-l1 ">
|
|
||||||
<a class="" href="../input-types/">Input Types</a>
|
|
||||||
|
|
||||||
</li>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<li class="toctree-l1 ">
|
|
||||||
<a class="" href="../directives/">Directives</a>
|
|
||||||
|
|
||||||
</li>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<li class="toctree-l1 ">
|
|
||||||
<a class="" href="../schema/">Schema</a>
|
|
||||||
|
|
||||||
</li>
|
|
||||||
|
|
||||||
|
|
||||||
</ul>
|
</ul>
|
||||||
<li>
|
</li>
|
||||||
|
<li class="">
|
||||||
|
|
||||||
<li>
|
<a class="" href="../scalar-types/">Scalar Types</a>
|
||||||
<li class="toctree-l1 ">
|
</li>
|
||||||
<a class="" href="../../executing-queries/">Executing Queries</a>
|
<li class="">
|
||||||
|
|
||||||
</li>
|
<a class="" href="../enum-types/">Enumeration Types</a>
|
||||||
<li>
|
</li>
|
||||||
|
<li class="">
|
||||||
|
|
||||||
<li>
|
<a class="" href="../lists-and-nonnulls/">Lists and Non-Null</a>
|
||||||
<li class="toctree-l1 ">
|
</li>
|
||||||
<a class="" href="../../data-fetching/">Fetching Data</a>
|
<li class="">
|
||||||
|
|
||||||
</li>
|
<a class="" href="../interfaces/">Interfaces</a>
|
||||||
<li>
|
</li>
|
||||||
|
<li class="">
|
||||||
|
|
||||||
<li>
|
<a class="" href="../unions/">Unions</a>
|
||||||
<li class="toctree-l1 ">
|
</li>
|
||||||
<a class="" href="../../error-handling/">Handling Errors</a>
|
<li class="">
|
||||||
|
|
||||||
</li>
|
<a class="" href="../input-types/">Input Types</a>
|
||||||
<li>
|
</li>
|
||||||
|
<li class="">
|
||||||
|
|
||||||
<li>
|
<a class="" href="../directives/">Directives</a>
|
||||||
<li class="toctree-l1 ">
|
</li>
|
||||||
<a class="" href="../../complementary-tools/">Complementary Tools</a>
|
<li class="">
|
||||||
|
|
||||||
</li>
|
<a class="" href="../schema/">Schema</a>
|
||||||
<li>
|
</li>
|
||||||
|
</ul>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
<li class="toctree-l1">
|
||||||
|
|
||||||
|
<a class="" href="../../executing-queries/">Executing Queries</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
<li class="toctree-l1">
|
||||||
|
|
||||||
|
<a class="" href="../../data-fetching/">Fetching Data</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
<li class="toctree-l1">
|
||||||
|
|
||||||
|
<a class="" href="../../error-handling/">Handling Errors</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
<li class="toctree-l1">
|
||||||
|
|
||||||
|
<a class="" href="../../complementary-tools/">Complementary Tools</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
@ -547,7 +496,7 @@ public property <code>$config</code>. Use it to implement app-level mappings and
|
|||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="rst-versions" role="note" style="cursor: pointer">
|
<div class="rst-versions" role="note" style="cursor: pointer">
|
||||||
<span class="rst-current-version" data-toggle="rst-current-version">
|
<span class="rst-current-version" data-toggle="rst-current-version">
|
||||||
|
|
||||||
|
|
||||||
@ -558,6 +507,7 @@ public property <code>$config</code>. Use it to implement app-level mappings and
|
|||||||
|
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
|
<script src="../../js/theme.js"></script>
|
||||||
|
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
@ -7,32 +7,24 @@
|
|||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<title>Scalar Types - graphql-php</title>
|
|
||||||
|
|
||||||
|
|
||||||
<link rel="shortcut icon" href="../../img/favicon.ico">
|
<link rel="shortcut icon" href="../../img/favicon.ico">
|
||||||
|
<title>Scalar Types - graphql-php</title>
|
||||||
|
|
||||||
<link href='https://fonts.googleapis.com/css?family=Lato:400,700|Roboto+Slab:400,700|Inconsolata:400,700' rel='stylesheet' type='text/css'>
|
<link href='https://fonts.googleapis.com/css?family=Lato:400,700|Roboto+Slab:400,700|Inconsolata:400,700' rel='stylesheet' type='text/css'>
|
||||||
|
|
||||||
<link rel="stylesheet" href="../../css/theme.css" type="text/css" />
|
<link rel="stylesheet" href="../../css/theme.css" type="text/css" />
|
||||||
<link rel="stylesheet" href="../../css/theme_extra.css" type="text/css" />
|
<link rel="stylesheet" href="../../css/theme_extra.css" type="text/css" />
|
||||||
<link rel="stylesheet" href="../../css/highlight.css">
|
<link rel="stylesheet" href="../../css/highlight.css">
|
||||||
|
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
// Current page data
|
// Current page data
|
||||||
var mkdocs_page_name = "Scalar Types";
|
var mkdocs_page_name = "Scalar Types";
|
||||||
var mkdocs_page_input_path = "type-system\scalar-types.md";
|
var mkdocs_page_input_path = "type-system\\scalar-types.md";
|
||||||
var mkdocs_page_url = "/type-system/scalar-types/";
|
var mkdocs_page_url = "/type-system/scalar-types/";
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<script src="../../js/jquery-2.1.1.min.js"></script>
|
<script src="../../js/jquery-2.1.1.min.js"></script>
|
||||||
<script src="../../js/modernizr-2.8.3.min.js"></script>
|
<script src="../../js/modernizr-2.8.3.min.js"></script>
|
||||||
<script type="text/javascript" src="../../js/highlight.pack.js"></script>
|
<script type="text/javascript" src="../../js/highlight.pack.js"></script>
|
||||||
<script src="../../js/theme.js"></script>
|
|
||||||
|
|
||||||
|
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
@ -52,137 +44,94 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="wy-menu wy-menu-vertical" data-spy="affix" role="navigation" aria-label="main navigation">
|
<div class="wy-menu wy-menu-vertical" data-spy="affix" role="navigation" aria-label="main navigation">
|
||||||
<ul class="current">
|
<ul class="current">
|
||||||
|
|
||||||
<li>
|
|
||||||
<li class="toctree-l1 ">
|
|
||||||
<a class="" href="../..">About</a>
|
|
||||||
|
|
||||||
</li>
|
<li class="toctree-l1">
|
||||||
<li>
|
|
||||||
|
|
||||||
<li>
|
<a class="" href="../..">About</a>
|
||||||
<li class="toctree-l1 ">
|
</li>
|
||||||
<a class="" href="../../getting-started/">Getting Started</a>
|
|
||||||
|
|
||||||
</li>
|
<li class="toctree-l1">
|
||||||
<li>
|
|
||||||
|
|
||||||
<li>
|
<a class="" href="../../getting-started/">Getting Started</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
<li class="toctree-l1">
|
||||||
|
|
||||||
|
<span class="caption-text">Type System</span>
|
||||||
<ul class="subnav">
|
<ul class="subnav">
|
||||||
<li><span>Type System</span></li>
|
<li class="">
|
||||||
|
|
||||||
|
<a class="" href="../">Introduction</a>
|
||||||
|
</li>
|
||||||
|
<li class="">
|
||||||
|
|
||||||
|
<a class="" href="../object-types/">Object Types</a>
|
||||||
|
</li>
|
||||||
|
<li class=" current">
|
||||||
|
|
||||||
|
<a class="current" href="./">Scalar Types</a>
|
||||||
|
<ul class="subnav">
|
||||||
|
|
||||||
|
<li class="toctree-l3"><a href="#built-in-scalar-types">Built-in Scalar Types</a></li>
|
||||||
|
|
||||||
|
|
||||||
|
<li class="toctree-l3"><a href="#writing-custom-scalar-types">Writing Custom Scalar Types</a></li>
|
||||||
<li class="toctree-l1 ">
|
|
||||||
<a class="" href="../">Introduction</a>
|
|
||||||
|
|
||||||
</li>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<li class="toctree-l1 ">
|
|
||||||
<a class="" href="../object-types/">Object Types</a>
|
|
||||||
|
|
||||||
</li>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<li class="toctree-l1 current">
|
|
||||||
<a class="current" href="./">Scalar Types</a>
|
|
||||||
|
|
||||||
<ul>
|
|
||||||
|
|
||||||
<li class="toctree-l3"><a href="#built-in-scalar-types">Built-in Scalar Types</a></li>
|
|
||||||
|
|
||||||
|
|
||||||
<li class="toctree-l3"><a href="#writing-custom-scalar-types">Writing Custom Scalar Types</a></li>
|
|
||||||
|
|
||||||
|
|
||||||
</ul>
|
|
||||||
|
|
||||||
</li>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<li class="toctree-l1 ">
|
|
||||||
<a class="" href="../enum-types/">Enumeration Types</a>
|
|
||||||
|
|
||||||
</li>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<li class="toctree-l1 ">
|
|
||||||
<a class="" href="../lists-and-nonnulls/">Lists and Non-Null</a>
|
|
||||||
|
|
||||||
</li>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<li class="toctree-l1 ">
|
|
||||||
<a class="" href="../interfaces/">Interfaces</a>
|
|
||||||
|
|
||||||
</li>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<li class="toctree-l1 ">
|
|
||||||
<a class="" href="../unions/">Unions</a>
|
|
||||||
|
|
||||||
</li>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<li class="toctree-l1 ">
|
|
||||||
<a class="" href="../input-types/">Input Types</a>
|
|
||||||
|
|
||||||
</li>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<li class="toctree-l1 ">
|
|
||||||
<a class="" href="../directives/">Directives</a>
|
|
||||||
|
|
||||||
</li>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<li class="toctree-l1 ">
|
|
||||||
<a class="" href="../schema/">Schema</a>
|
|
||||||
|
|
||||||
</li>
|
|
||||||
|
|
||||||
|
|
||||||
</ul>
|
</ul>
|
||||||
<li>
|
</li>
|
||||||
|
<li class="">
|
||||||
|
|
||||||
<li>
|
<a class="" href="../enum-types/">Enumeration Types</a>
|
||||||
<li class="toctree-l1 ">
|
</li>
|
||||||
<a class="" href="../../executing-queries/">Executing Queries</a>
|
<li class="">
|
||||||
|
|
||||||
</li>
|
<a class="" href="../lists-and-nonnulls/">Lists and Non-Null</a>
|
||||||
<li>
|
</li>
|
||||||
|
<li class="">
|
||||||
|
|
||||||
<li>
|
<a class="" href="../interfaces/">Interfaces</a>
|
||||||
<li class="toctree-l1 ">
|
</li>
|
||||||
<a class="" href="../../data-fetching/">Fetching Data</a>
|
<li class="">
|
||||||
|
|
||||||
</li>
|
<a class="" href="../unions/">Unions</a>
|
||||||
<li>
|
</li>
|
||||||
|
<li class="">
|
||||||
|
|
||||||
<li>
|
<a class="" href="../input-types/">Input Types</a>
|
||||||
<li class="toctree-l1 ">
|
</li>
|
||||||
<a class="" href="../../error-handling/">Handling Errors</a>
|
<li class="">
|
||||||
|
|
||||||
</li>
|
<a class="" href="../directives/">Directives</a>
|
||||||
<li>
|
</li>
|
||||||
|
<li class="">
|
||||||
|
|
||||||
<li>
|
<a class="" href="../schema/">Schema</a>
|
||||||
<li class="toctree-l1 ">
|
</li>
|
||||||
<a class="" href="../../complementary-tools/">Complementary Tools</a>
|
</ul>
|
||||||
|
</li>
|
||||||
|
|
||||||
</li>
|
<li class="toctree-l1">
|
||||||
<li>
|
|
||||||
|
<a class="" href="../../executing-queries/">Executing Queries</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
<li class="toctree-l1">
|
||||||
|
|
||||||
|
<a class="" href="../../data-fetching/">Fetching Data</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
<li class="toctree-l1">
|
||||||
|
|
||||||
|
<a class="" href="../../error-handling/">Handling Errors</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
<li class="toctree-l1">
|
||||||
|
|
||||||
|
<a class="" href="../../complementary-tools/">Complementary Tools</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
@ -372,7 +321,7 @@ $emailType = new CustomScalarType([
|
|||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="rst-versions" role="note" style="cursor: pointer">
|
<div class="rst-versions" role="note" style="cursor: pointer">
|
||||||
<span class="rst-current-version" data-toggle="rst-current-version">
|
<span class="rst-current-version" data-toggle="rst-current-version">
|
||||||
|
|
||||||
|
|
||||||
@ -383,6 +332,7 @@ $emailType = new CustomScalarType([
|
|||||||
|
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
|
<script src="../../js/theme.js"></script>
|
||||||
|
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
@ -7,32 +7,24 @@
|
|||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<title>Schema - graphql-php</title>
|
|
||||||
|
|
||||||
|
|
||||||
<link rel="shortcut icon" href="../../img/favicon.ico">
|
<link rel="shortcut icon" href="../../img/favicon.ico">
|
||||||
|
<title>Schema - graphql-php</title>
|
||||||
|
|
||||||
<link href='https://fonts.googleapis.com/css?family=Lato:400,700|Roboto+Slab:400,700|Inconsolata:400,700' rel='stylesheet' type='text/css'>
|
<link href='https://fonts.googleapis.com/css?family=Lato:400,700|Roboto+Slab:400,700|Inconsolata:400,700' rel='stylesheet' type='text/css'>
|
||||||
|
|
||||||
<link rel="stylesheet" href="../../css/theme.css" type="text/css" />
|
<link rel="stylesheet" href="../../css/theme.css" type="text/css" />
|
||||||
<link rel="stylesheet" href="../../css/theme_extra.css" type="text/css" />
|
<link rel="stylesheet" href="../../css/theme_extra.css" type="text/css" />
|
||||||
<link rel="stylesheet" href="../../css/highlight.css">
|
<link rel="stylesheet" href="../../css/highlight.css">
|
||||||
|
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
// Current page data
|
// Current page data
|
||||||
var mkdocs_page_name = "Schema";
|
var mkdocs_page_name = "Schema";
|
||||||
var mkdocs_page_input_path = "type-system\schema.md";
|
var mkdocs_page_input_path = "type-system\\schema.md";
|
||||||
var mkdocs_page_url = "/type-system/schema/";
|
var mkdocs_page_url = "/type-system/schema/";
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<script src="../../js/jquery-2.1.1.min.js"></script>
|
<script src="../../js/jquery-2.1.1.min.js"></script>
|
||||||
<script src="../../js/modernizr-2.8.3.min.js"></script>
|
<script src="../../js/modernizr-2.8.3.min.js"></script>
|
||||||
<script type="text/javascript" src="../../js/highlight.pack.js"></script>
|
<script type="text/javascript" src="../../js/highlight.pack.js"></script>
|
||||||
<script src="../../js/theme.js"></script>
|
|
||||||
|
|
||||||
|
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
@ -52,140 +44,97 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="wy-menu wy-menu-vertical" data-spy="affix" role="navigation" aria-label="main navigation">
|
<div class="wy-menu wy-menu-vertical" data-spy="affix" role="navigation" aria-label="main navigation">
|
||||||
<ul class="current">
|
<ul class="current">
|
||||||
|
|
||||||
<li>
|
|
||||||
<li class="toctree-l1 ">
|
|
||||||
<a class="" href="../..">About</a>
|
|
||||||
|
|
||||||
</li>
|
<li class="toctree-l1">
|
||||||
<li>
|
|
||||||
|
|
||||||
<li>
|
<a class="" href="../..">About</a>
|
||||||
<li class="toctree-l1 ">
|
</li>
|
||||||
<a class="" href="../../getting-started/">Getting Started</a>
|
|
||||||
|
|
||||||
</li>
|
<li class="toctree-l1">
|
||||||
<li>
|
|
||||||
|
|
||||||
<li>
|
<a class="" href="../../getting-started/">Getting Started</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
<li class="toctree-l1">
|
||||||
|
|
||||||
|
<span class="caption-text">Type System</span>
|
||||||
<ul class="subnav">
|
<ul class="subnav">
|
||||||
<li><span>Type System</span></li>
|
<li class="">
|
||||||
|
|
||||||
|
<a class="" href="../">Introduction</a>
|
||||||
|
</li>
|
||||||
|
<li class="">
|
||||||
|
|
||||||
|
<a class="" href="../object-types/">Object Types</a>
|
||||||
|
</li>
|
||||||
|
<li class="">
|
||||||
|
|
||||||
|
<a class="" href="../scalar-types/">Scalar Types</a>
|
||||||
|
</li>
|
||||||
|
<li class="">
|
||||||
|
|
||||||
|
<a class="" href="../enum-types/">Enumeration Types</a>
|
||||||
|
</li>
|
||||||
|
<li class="">
|
||||||
|
|
||||||
|
<a class="" href="../lists-and-nonnulls/">Lists and Non-Null</a>
|
||||||
|
</li>
|
||||||
|
<li class="">
|
||||||
|
|
||||||
|
<a class="" href="../interfaces/">Interfaces</a>
|
||||||
|
</li>
|
||||||
|
<li class="">
|
||||||
|
|
||||||
|
<a class="" href="../unions/">Unions</a>
|
||||||
|
</li>
|
||||||
|
<li class="">
|
||||||
|
|
||||||
|
<a class="" href="../input-types/">Input Types</a>
|
||||||
|
</li>
|
||||||
|
<li class="">
|
||||||
|
|
||||||
|
<a class="" href="../directives/">Directives</a>
|
||||||
|
</li>
|
||||||
|
<li class=" current">
|
||||||
|
|
||||||
|
<a class="current" href="./">Schema</a>
|
||||||
|
<ul class="subnav">
|
||||||
|
|
||||||
|
<li class="toctree-l3"><a href="#schema-definition">Schema Definition</a></li>
|
||||||
|
|
||||||
|
|
||||||
|
<li class="toctree-l3"><a href="#query-and-mutation-types">Query and Mutation types</a></li>
|
||||||
<li class="toctree-l1 ">
|
|
||||||
<a class="" href="../">Introduction</a>
|
|
||||||
|
|
||||||
</li>
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="toctree-l3"><a href="#configuration-options">Configuration Options</a></li>
|
||||||
<li class="toctree-l1 ">
|
|
||||||
<a class="" href="../object-types/">Object Types</a>
|
|
||||||
|
|
||||||
</li>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<li class="toctree-l1 ">
|
|
||||||
<a class="" href="../scalar-types/">Scalar Types</a>
|
|
||||||
|
|
||||||
</li>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<li class="toctree-l1 ">
|
|
||||||
<a class="" href="../enum-types/">Enumeration Types</a>
|
|
||||||
|
|
||||||
</li>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<li class="toctree-l1 ">
|
|
||||||
<a class="" href="../lists-and-nonnulls/">Lists and Non-Null</a>
|
|
||||||
|
|
||||||
</li>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<li class="toctree-l1 ">
|
|
||||||
<a class="" href="../interfaces/">Interfaces</a>
|
|
||||||
|
|
||||||
</li>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<li class="toctree-l1 ">
|
|
||||||
<a class="" href="../unions/">Unions</a>
|
|
||||||
|
|
||||||
</li>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<li class="toctree-l1 ">
|
|
||||||
<a class="" href="../input-types/">Input Types</a>
|
|
||||||
|
|
||||||
</li>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<li class="toctree-l1 ">
|
|
||||||
<a class="" href="../directives/">Directives</a>
|
|
||||||
|
|
||||||
</li>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<li class="toctree-l1 current">
|
|
||||||
<a class="current" href="./">Schema</a>
|
|
||||||
|
|
||||||
<ul>
|
|
||||||
|
|
||||||
<li class="toctree-l3"><a href="#schema-definition">Schema Definition</a></li>
|
|
||||||
|
|
||||||
|
|
||||||
<li class="toctree-l3"><a href="#query-and-mutation-types">Query and Mutation types</a></li>
|
|
||||||
|
|
||||||
|
|
||||||
<li class="toctree-l3"><a href="#configuration-options">Configuration Options</a></li>
|
|
||||||
|
|
||||||
|
|
||||||
</ul>
|
|
||||||
|
|
||||||
</li>
|
|
||||||
|
|
||||||
|
|
||||||
</ul>
|
</ul>
|
||||||
<li>
|
</li>
|
||||||
|
</ul>
|
||||||
|
</li>
|
||||||
|
|
||||||
<li>
|
<li class="toctree-l1">
|
||||||
<li class="toctree-l1 ">
|
|
||||||
<a class="" href="../../executing-queries/">Executing Queries</a>
|
|
||||||
|
|
||||||
</li>
|
<a class="" href="../../executing-queries/">Executing Queries</a>
|
||||||
<li>
|
</li>
|
||||||
|
|
||||||
<li>
|
<li class="toctree-l1">
|
||||||
<li class="toctree-l1 ">
|
|
||||||
<a class="" href="../../data-fetching/">Fetching Data</a>
|
|
||||||
|
|
||||||
</li>
|
<a class="" href="../../data-fetching/">Fetching Data</a>
|
||||||
<li>
|
</li>
|
||||||
|
|
||||||
<li>
|
<li class="toctree-l1">
|
||||||
<li class="toctree-l1 ">
|
|
||||||
<a class="" href="../../error-handling/">Handling Errors</a>
|
|
||||||
|
|
||||||
</li>
|
<a class="" href="../../error-handling/">Handling Errors</a>
|
||||||
<li>
|
</li>
|
||||||
|
|
||||||
<li>
|
<li class="toctree-l1">
|
||||||
<li class="toctree-l1 ">
|
|
||||||
<a class="" href="../../complementary-tools/">Complementary Tools</a>
|
|
||||||
|
|
||||||
</li>
|
<a class="" href="../../complementary-tools/">Complementary Tools</a>
|
||||||
<li>
|
</li>
|
||||||
|
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
@ -363,7 +312,7 @@ with complex input values (see <a href="../input-types/">Input Types</a> for det
|
|||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="rst-versions" role="note" style="cursor: pointer">
|
<div class="rst-versions" role="note" style="cursor: pointer">
|
||||||
<span class="rst-current-version" data-toggle="rst-current-version">
|
<span class="rst-current-version" data-toggle="rst-current-version">
|
||||||
|
|
||||||
|
|
||||||
@ -374,6 +323,7 @@ with complex input values (see <a href="../input-types/">Input Types</a> for det
|
|||||||
|
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
|
<script src="../../js/theme.js"></script>
|
||||||
|
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
@ -7,32 +7,24 @@
|
|||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<title>Unions - graphql-php</title>
|
|
||||||
|
|
||||||
|
|
||||||
<link rel="shortcut icon" href="../../img/favicon.ico">
|
<link rel="shortcut icon" href="../../img/favicon.ico">
|
||||||
|
<title>Unions - graphql-php</title>
|
||||||
|
|
||||||
<link href='https://fonts.googleapis.com/css?family=Lato:400,700|Roboto+Slab:400,700|Inconsolata:400,700' rel='stylesheet' type='text/css'>
|
<link href='https://fonts.googleapis.com/css?family=Lato:400,700|Roboto+Slab:400,700|Inconsolata:400,700' rel='stylesheet' type='text/css'>
|
||||||
|
|
||||||
<link rel="stylesheet" href="../../css/theme.css" type="text/css" />
|
<link rel="stylesheet" href="../../css/theme.css" type="text/css" />
|
||||||
<link rel="stylesheet" href="../../css/theme_extra.css" type="text/css" />
|
<link rel="stylesheet" href="../../css/theme_extra.css" type="text/css" />
|
||||||
<link rel="stylesheet" href="../../css/highlight.css">
|
<link rel="stylesheet" href="../../css/highlight.css">
|
||||||
|
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
// Current page data
|
// Current page data
|
||||||
var mkdocs_page_name = "Unions";
|
var mkdocs_page_name = "Unions";
|
||||||
var mkdocs_page_input_path = "type-system\unions.md";
|
var mkdocs_page_input_path = "type-system\\unions.md";
|
||||||
var mkdocs_page_url = "/type-system/unions/";
|
var mkdocs_page_url = "/type-system/unions/";
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<script src="../../js/jquery-2.1.1.min.js"></script>
|
<script src="../../js/jquery-2.1.1.min.js"></script>
|
||||||
<script src="../../js/modernizr-2.8.3.min.js"></script>
|
<script src="../../js/modernizr-2.8.3.min.js"></script>
|
||||||
<script type="text/javascript" src="../../js/highlight.pack.js"></script>
|
<script type="text/javascript" src="../../js/highlight.pack.js"></script>
|
||||||
<script src="../../js/theme.js"></script>
|
|
||||||
|
|
||||||
|
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
@ -52,137 +44,94 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="wy-menu wy-menu-vertical" data-spy="affix" role="navigation" aria-label="main navigation">
|
<div class="wy-menu wy-menu-vertical" data-spy="affix" role="navigation" aria-label="main navigation">
|
||||||
<ul class="current">
|
<ul class="current">
|
||||||
|
|
||||||
<li>
|
|
||||||
<li class="toctree-l1 ">
|
|
||||||
<a class="" href="../..">About</a>
|
|
||||||
|
|
||||||
</li>
|
<li class="toctree-l1">
|
||||||
<li>
|
|
||||||
|
|
||||||
<li>
|
<a class="" href="../..">About</a>
|
||||||
<li class="toctree-l1 ">
|
</li>
|
||||||
<a class="" href="../../getting-started/">Getting Started</a>
|
|
||||||
|
|
||||||
</li>
|
<li class="toctree-l1">
|
||||||
<li>
|
|
||||||
|
|
||||||
<li>
|
<a class="" href="../../getting-started/">Getting Started</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
<li class="toctree-l1">
|
||||||
|
|
||||||
|
<span class="caption-text">Type System</span>
|
||||||
<ul class="subnav">
|
<ul class="subnav">
|
||||||
<li><span>Type System</span></li>
|
<li class="">
|
||||||
|
|
||||||
|
<a class="" href="../">Introduction</a>
|
||||||
|
</li>
|
||||||
|
<li class="">
|
||||||
|
|
||||||
|
<a class="" href="../object-types/">Object Types</a>
|
||||||
|
</li>
|
||||||
|
<li class="">
|
||||||
|
|
||||||
|
<a class="" href="../scalar-types/">Scalar Types</a>
|
||||||
|
</li>
|
||||||
|
<li class="">
|
||||||
|
|
||||||
|
<a class="" href="../enum-types/">Enumeration Types</a>
|
||||||
|
</li>
|
||||||
|
<li class="">
|
||||||
|
|
||||||
|
<a class="" href="../lists-and-nonnulls/">Lists and Non-Null</a>
|
||||||
|
</li>
|
||||||
|
<li class="">
|
||||||
|
|
||||||
|
<a class="" href="../interfaces/">Interfaces</a>
|
||||||
|
</li>
|
||||||
|
<li class=" current">
|
||||||
|
|
||||||
|
<a class="current" href="./">Unions</a>
|
||||||
|
<ul class="subnav">
|
||||||
|
|
||||||
|
<li class="toctree-l3"><a href="#union-type-definition">Union Type Definition</a></li>
|
||||||
|
|
||||||
|
|
||||||
|
<li class="toctree-l3"><a href="#configuration-options">Configuration options</a></li>
|
||||||
<li class="toctree-l1 ">
|
|
||||||
<a class="" href="../">Introduction</a>
|
|
||||||
|
|
||||||
</li>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<li class="toctree-l1 ">
|
|
||||||
<a class="" href="../object-types/">Object Types</a>
|
|
||||||
|
|
||||||
</li>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<li class="toctree-l1 ">
|
|
||||||
<a class="" href="../scalar-types/">Scalar Types</a>
|
|
||||||
|
|
||||||
</li>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<li class="toctree-l1 ">
|
|
||||||
<a class="" href="../enum-types/">Enumeration Types</a>
|
|
||||||
|
|
||||||
</li>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<li class="toctree-l1 ">
|
|
||||||
<a class="" href="../lists-and-nonnulls/">Lists and Non-Null</a>
|
|
||||||
|
|
||||||
</li>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<li class="toctree-l1 ">
|
|
||||||
<a class="" href="../interfaces/">Interfaces</a>
|
|
||||||
|
|
||||||
</li>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<li class="toctree-l1 current">
|
|
||||||
<a class="current" href="./">Unions</a>
|
|
||||||
|
|
||||||
<ul>
|
|
||||||
|
|
||||||
<li class="toctree-l3"><a href="#union-type-definition">Union Type Definition</a></li>
|
|
||||||
|
|
||||||
|
|
||||||
<li class="toctree-l3"><a href="#configuration-options">Configuration options</a></li>
|
|
||||||
|
|
||||||
|
|
||||||
</ul>
|
|
||||||
|
|
||||||
</li>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<li class="toctree-l1 ">
|
|
||||||
<a class="" href="../input-types/">Input Types</a>
|
|
||||||
|
|
||||||
</li>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<li class="toctree-l1 ">
|
|
||||||
<a class="" href="../directives/">Directives</a>
|
|
||||||
|
|
||||||
</li>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<li class="toctree-l1 ">
|
|
||||||
<a class="" href="../schema/">Schema</a>
|
|
||||||
|
|
||||||
</li>
|
|
||||||
|
|
||||||
|
|
||||||
</ul>
|
</ul>
|
||||||
<li>
|
</li>
|
||||||
|
<li class="">
|
||||||
|
|
||||||
<li>
|
<a class="" href="../input-types/">Input Types</a>
|
||||||
<li class="toctree-l1 ">
|
</li>
|
||||||
<a class="" href="../../executing-queries/">Executing Queries</a>
|
<li class="">
|
||||||
|
|
||||||
</li>
|
<a class="" href="../directives/">Directives</a>
|
||||||
<li>
|
</li>
|
||||||
|
<li class="">
|
||||||
|
|
||||||
<li>
|
<a class="" href="../schema/">Schema</a>
|
||||||
<li class="toctree-l1 ">
|
</li>
|
||||||
<a class="" href="../../data-fetching/">Fetching Data</a>
|
</ul>
|
||||||
|
</li>
|
||||||
|
|
||||||
</li>
|
<li class="toctree-l1">
|
||||||
<li>
|
|
||||||
|
|
||||||
<li>
|
<a class="" href="../../executing-queries/">Executing Queries</a>
|
||||||
<li class="toctree-l1 ">
|
</li>
|
||||||
<a class="" href="../../error-handling/">Handling Errors</a>
|
|
||||||
|
|
||||||
</li>
|
<li class="toctree-l1">
|
||||||
<li>
|
|
||||||
|
|
||||||
<li>
|
<a class="" href="../../data-fetching/">Fetching Data</a>
|
||||||
<li class="toctree-l1 ">
|
</li>
|
||||||
<a class="" href="../../complementary-tools/">Complementary Tools</a>
|
|
||||||
|
|
||||||
</li>
|
<li class="toctree-l1">
|
||||||
<li>
|
|
||||||
|
<a class="" href="../../error-handling/">Handling Errors</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
<li class="toctree-l1">
|
||||||
|
|
||||||
|
<a class="" href="../../complementary-tools/">Complementary Tools</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
@ -308,7 +257,7 @@ Value of Union Type is actually a value of one of included Object Types.</p>
|
|||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="rst-versions" role="note" style="cursor: pointer">
|
<div class="rst-versions" role="note" style="cursor: pointer">
|
||||||
<span class="rst-current-version" data-toggle="rst-current-version">
|
<span class="rst-current-version" data-toggle="rst-current-version">
|
||||||
|
|
||||||
|
|
||||||
@ -319,6 +268,7 @@ Value of Union Type is actually a value of one of included Object Types.</p>
|
|||||||
|
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
|
<script src="../../js/theme.js"></script>
|
||||||
|
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
@ -1,15 +0,0 @@
|
|||||||
<div class="rst-versions" role="note" style="cursor: pointer">
|
|
||||||
<span class="rst-current-version" data-toggle="rst-current-version">
|
|
||||||
{% if repo_name == 'GitHub' %}
|
|
||||||
<a href="{{ repo_url }}" class="icon icon-github" style="float: left; color: #fcfcfc"> GitHub</a>
|
|
||||||
{% elif repo_name == 'Bitbucket' %}
|
|
||||||
<a href="{{ repo_url }}" class="icon icon-bitbucket" style="float: left; color: #fcfcfc"> BitBucket</a>
|
|
||||||
{% endif %}
|
|
||||||
{% if previous_page %}
|
|
||||||
<span><a href="{{ previous_page.url }}" style="color: #fcfcfc;">« Previous</a></span>
|
|
||||||
{% endif %}
|
|
||||||
{% if next_page %}
|
|
||||||
<span style="margin-left: 15px"><a href="{{ next_page.url }}" style="color: #fcfcfc">Next »</a></span>
|
|
||||||
{% endif %}
|
|
||||||
</span>
|
|
||||||
</div>
|
|
Loading…
Reference in New Issue
Block a user