# HG changeset patch # User Theodor Thornhill # Date 1638918540 -3600 # Wed Dec 08 00:09:00 2021 +0100 # Node ID 2fe755ddd5c4f4f26f437a05af44fda17da0b1b4 # Parent be1b9181528ae4790cae8f926917be21bb72c73c Move wiki files around diff --git a/index.md b/index.md --- a/index.md +++ b/index.md @@ -15,14 +15,10 @@ Descriptions for how we implement the [language](wiki/language.md) -# How the [fuck](wiki/how.md) - -do I do anything here? - # Tutorials -1. [exampleapp1](wiki/example1.md) -1. [exampleapp2](wiki/example2.md) +1. [exampleapp1](wiki/examples/example1.md) +1. [exampleapp2](wiki/examples/example2.md) # api diff --git a/wiki/example1.md b/wiki/examples/example1.md rename from wiki/example1.md rename to wiki/examples/example1.md diff --git a/wiki/example2.md b/wiki/examples/example2.md rename from wiki/example2.md rename to wiki/examples/example2.md diff --git a/wiki/how.md b/wiki/how.md deleted file mode 100644 --- a/wiki/how.md +++ /dev/null @@ -1,30 +0,0 @@ -# How - -Yes, just how does this tie together? - -Right now there are very few options, but the general idea is actually working! - -First, for good measure just quickload the project, tests and run them to check -that not _everything_ is broken. - -```lisp -(progn - (ql:quickload :gql) - (ql:quickload :gql-tests) - (asdf:test-system :gql-tests)) -``` - -Now, from inside of the `gql` package you can run - -```lisp -(with-schema (build-schema (asdf:system-relative-pathname 'gql-tests #p"t/test-files/validation-schema.graphql")) - (execute-request (build-schema "query { dog { name owner { name } } }") - "Query" - (make-hash-table) - nil)) -``` - -And make an actual query against an actual schema. There are no resolvers or -any fanciness, and many variants of the queries will crash in mysterious ways. - -Still, it's a start!