aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2022-01-03tests: Add tests.Arun Isaac
* tests/parse.scm: New file.
2022-01-02kolam: Bump copyright year to 2022.Arun Isaac
This is a follow-up to commits 464b75248b42986cbf4150d11c9e080d0c99f78c and 0af412019526f679f7e5d690c0598d24d714956c. * kolam/graphql.scm, kolam/http.scm: Bump copyright year to 2022.
2022-01-02kolam: Allow null value for types.Arun Isaac
* kolam/graphql.scm (correct-type?): Allow null values for all types except non-nullable types.
2022-01-02kolam: Read JSON using UTF-8 encoding.Arun Isaac
* kolam/http.scm (graphql-http-response): Set JSON port encoding to UTF-8 before reading.
2022-01-02README: Request feedback and contributions.Arun Isaac
* README.org (Contributing): New section.
2022-01-02README: Mention portability.Arun Isaac
* README.org (Portability): New section.
2022-01-02README: Describe meaning of "kolam".Arun Isaac
* README.org (What does "kolam" mean?): New section.
2022-01-02Add license.Arun Isaac
* README.org (License): New section. * COPYING: New file.
2021-12-30kolam: Implement HTTP client.Arun Isaac
* 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.
2021-12-30kolam: Implement GraphQL document serializer.Arun Isaac
* 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.
2021-12-30kolam: Implement pairify function.Arun Isaac
The pairify function will be used in later commits. * kolam/utils.scm: New file.
2021-12-30kolam: Set content-type of response to application/graphql+json.Arun Isaac
* kolam/http.scm (graphql-handler): Set content-type of response to application/graphql+json.
2021-12-30kolam: Allow leaf nodes to be list types.Arun Isaac
* kolam/graphql.scm (resolvable-type?): New function. (eval-graphql): Allow leaf nodes to be list types.
2021-12-30kolam: Support field alias.Arun Isaac
* 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.
2021-12-30dir-locals: Add Emacs directory local variables.Arun Isaac
* .dir-locals.el: New file.
2021-12-30kolam: Implement HTTP server.Arun Isaac
* kolam/http.scm: New file.
2021-12-28Initial commitArun Isaac