Age | Commit message (Collapse) | Author |
|
* tests/parse.scm: New file.
|
|
This is a follow-up to commits
464b75248b42986cbf4150d11c9e080d0c99f78c and
0af412019526f679f7e5d690c0598d24d714956c.
* kolam/graphql.scm, kolam/http.scm: Bump copyright year to 2022.
|
|
* kolam/graphql.scm (correct-type?): Allow null values for all types
except non-nullable types.
|
|
* kolam/http.scm (graphql-http-response): Set JSON port encoding to
UTF-8 before reading.
|
|
* README.org (Contributing): New section.
|
|
* README.org (Portability): New section.
|
|
* README.org (What does "kolam" mean?): New section.
|
|
* README.org (License): New section.
* COPYING: New file.
|
|
* kolam/http.scm: Import (srfi srfi-26), (web client), (web
response) and (kolam utils).
(variables->alist, graphql-http-response): New functions.
(graphql-http-get, graphql-http-post): New public functions.
|
|
* kolam/parse.scm: Import (srfi srfi-28) and (kolam utils).
(indent-level, serialize-arguments, serialize-node,
serialize-selection): New functions.
(scm->graphql, scm->graphql-string): New public functions.
|
|
The pairify function will be used in later commits.
* kolam/utils.scm: New file.
|
|
* kolam/http.scm (graphql-handler): Set content-type of response to
application/graphql+json.
|
|
* kolam/graphql.scm (resolvable-type?): New function.
(eval-graphql): Allow leaf nodes to be list types.
|
|
* kolam/graphql.scm (tree->root+alias+args+children): New function.
(eval-graphql): Call tree->root+alias+args+children and use the
returned alias in the response.
|
|
* .dir-locals.el: New file.
|
|
* kolam/http.scm: New file.
|
|
|