Commit Graph
79 Commits
Author SHA1 Message Date
Ben KraftandGitHub 291ce980b3 another idea on query extraction 2021-03-31 10:43:08 -07:00
Ben Kraft fb3c0b3cb4 more TODOs around type naming 2021-03-30 17:56:14 -07:00
Ben Kraft 27ee3c2dbd fixes while integrating into webapp 2021-03-30 17:53:31 -07:00
Ben Kraft b125191f99 fix png 2021-03-30 13:26:43 -07:00
Ben Kraft be8952f11a embed png because fonts 2021-03-30 13:23:16 -07:00
Ben Kraft 9e84417584 kern 2021-03-30 13:17:22 -07:00
Ben Kraft 0c80d0c656 actually fix svg 2021-03-30 13:03:25 -07:00
Ben Kraft 45dd9b5c1d fix svg? 2021-03-30 13:00:13 -07:00
Ben Kraft cf1965160b logo of sorts 2021-03-30 12:59:39 -07:00
Ben Kraft 315617261d silliness 2021-03-30 12:48:35 -07:00
Ben Kraft 470222e118 check some boxes off the README 2021-03-30 12:46:03 -07:00
Ben Kraft cbebeaaed4 rename in code 2021-03-30 12:41:37 -07:00
Ben KraftandGitHub db3ee65854 Rename and do some fun heading nonsense in the README 2021-03-30 12:39:59 -07:00
Ben Kraft 2c52314494 set opname 2021-03-30 11:27:43 -07:00
Ben Kraft e3f6afeb78 more documentation in client.go, simplify unmarshaling slightly 2021-03-25 14:26:25 -07:00
Ben Kraft f136758db4 misc bits of documentation 2021-03-25 14:13:14 -07:00
Ben Kraft 937540d244 make client an interface 2021-03-25 14:08:12 -07:00
Ben Kraft a9054e484f remove a stray printf 2021-03-22 19:17:45 -07:00
Ben Kraft dd85597577 more wiring for configurable context/client, theoretically should be good enough for khan use 2021-03-22 19:17:06 -07:00
Ben Kraft 59ca841a6b start of wiring for configurable context 2021-03-22 19:09:17 -07:00
Ben Kraft 17a95fd4de more TODOs, and especially clarify the situation for input type names 2021-03-22 18:45:52 -07:00
Ben Kraft 088ec53ad5 fix branch name in github actions 2021-03-22 18:14:16 -07:00
Ben Kraft a42c9b8166 clean up various TODOs and comments 2021-03-22 18:11:51 -07:00
Ben Kraft 463e3ed319 remove pointers for optionality -- shockingly easy 2021-03-22 17:39:22 -07:00
Ben Kraft fed38e4f55 redo type naming 2021-03-19 18:40:58 -07:00
Ben Kraft 58f4aff83b more design updates -- clarify what's decided and decide some things 2021-03-19 17:22:23 -07:00
Ben Kraft 5accc088c5 more docs about design and what remains to be done 2021-03-16 19:01:45 -07:00
Ben KraftandGitHub 8d46de3a9b Bit more detail on what we need to use non-fragment queries in prod 2021-03-16 12:42:43 -07:00
Ben KraftandGitHub f3282426f2 TODOs 2020-09-04 17:14:40 -07:00
Ben Kraft 58dc311289 rename selection to field 2020-07-16 13:50:52 -07:00
Ben Kraft 036d39622d move everything into snapshot-based testing; update it a bit 2020-07-16 13:42:58 -07:00
Ben Kraft cf7136ca65 total rewrite to interface handling; not complete but it compiles 2020-07-16 13:28:43 -07:00
Ben Kraft af4a765a32 back out interfaces/unions, in preparation for new approach 2020-07-16 09:53:21 -07:00
Ben Kraft e9b90d861f fix tests 2020-07-15 17:38:47 -07:00
Ben Kraft d2d5c9469d notes on approaches to the interface/fragment problem 2020-07-15 17:36:24 -07:00
Ben Kraft 9473829f81 refactor to make selections make a little more sense 2020-07-15 17:35:47 -07:00
Ben Kraft a023cfb0cf basic support for fragments 2020-07-15 17:35:47 -07:00
Ben Kraft 6f0e5fdf0d unions are easy too, sorta 2020-07-15 17:35:47 -07:00
Ben Kraft d089ab1afb test, and clean up, support for __typename 2020-07-15 17:35:47 -07:00
Ben Kraft cf6f57f5f1 interfaces themselves are actually trivial! 2020-07-15 17:35:47 -07:00
Ben Kraft 279228f9a4 Move tests to snapshots 2020-07-15 17:35:47 -07:00
Ben KraftandGitHub 3b80f09c79 reword TODO 2020-07-10 13:59:35 -07:00
Ben KraftandGitHub 5da8b3203b more TODO from mark 2020-07-10 13:48:09 -07:00
Ben Kraft dc68d99de6 fix tests 2020-05-01 18:50:01 -07:00
Ben Kraft 5042a9a549 allow omitting context 2020-05-01 18:45:39 -07:00
Ben Kraft 1156e6ceae minor cleanup 2020-05-01 18:22:56 -07:00
Ben Kraft 2fb9cd53ba clean up handling of scalars 2020-04-10 18:20:17 -07:00
Ben Kraft 1cde2fe351 slightly better test 2020-04-10 18:17:27 -07:00
Ben Kraft 7ab06dfd30 add support for enums 2020-04-10 18:16:32 -07:00
Ben Kraft 9510470937 add support for non-scalar inputs 2020-04-10 17:02:18 -07:00
Ben Kraft b600df7877 big refactor to put the codegen onto methods of an object 2020-04-10 15:21:23 -07:00
Ben Kraft dfea9bf128 push type-name into types.go 2020-04-10 14:30:56 -07:00
Ben Kraft 4f02619b0b break up typegen a bit better 2020-04-02 19:24:42 -07:00
Ben Kraft 8d87040069 refactor typegen to explicitly handle kinds 2020-04-02 18:35:04 -07:00
Ben Kraft f8545f7e76 refactor typegen to use builder 2020-04-02 18:27:08 -07:00
Ben Kraft d039587b39 pass errors a few more places 2020-04-02 18:22:07 -07:00
Ben Kraft 35f94b3c48 some tests for type-generation 2020-04-02 18:16:40 -07:00
Ben Kraft af5d1bd542 lowercase for arguments 2020-03-27 18:01:56 -07:00
Ben Kraft 9e01efdd88 Actually configure package name 2020-03-27 17:45:29 -07:00
Ben Kraft 01b903b053 Doc comments 2020-03-27 17:44:30 -07:00
Ben Kraft c536227d32 make config file optional 2020-03-27 16:37:48 -07:00
Ben Kraft 6caa3fc6c4 Give up on running example in GitHub Actions for now 2020-03-27 16:27:08 -07:00
Ben Kraft 8df2900607 Try example without viewer 2020-03-27 16:18:23 -07:00
Ben Kraft 654a5c6795 Explicitly pass envvar in github workflow 2020-03-27 16:10:48 -07:00
Ben Kraft 0911fda620 Fix example envvar name 2020-03-27 16:06:23 -07:00
Ben KraftandGitHub 7b03ec7a83 Set up github actions 2020-03-27 16:05:00 -07:00
Ben Kraft 9074926cea Set up a test 2020-03-27 15:57:22 -07:00
Ben Kraft 9ae5f71bce Fix makefile for new cmd path 2020-03-27 15:16:25 -07:00
Ben Kraft 0dcd124c8e fix filenames, set up go generate 2020-02-06 18:52:00 -08:00
Ben Kraft b739b6ab5c note about testing 2020-02-05 12:30:22 -08:00
Ben Kraft 2c3702e282 genql: s/TODO/README/ 2020-01-16 17:22:33 -08:00
Ben Kraft bf5d04939e WIP on config 2020-01-03 11:02:31 -08:00
Ben Kraft 12605986d0 do our own aliasing if the queries aren't right 2020-01-02 19:01:26 -08:00
Ben Kraft 0bce896722 break up Generate 2020-01-02 18:48:29 -08:00
Ben Kraft 463b244e0e genql: update TODO 2020-01-02 18:10:11 -08:00
Ben Kraft 7dfd03738c genql: bits of whitespace 2020-01-02 18:00:23 -08:00
Ben Kraft 9746c818fd genql: quick hack at variables 2020-01-02 17:52:55 -08:00
Ben Kraft 77670363d3 genql: minor cleanups 2020-01-02 16:40:47 -08:00
Ben Kraft a23b0e3756 sketches of generated graphql client 2019-12-21 00:03:19 -05:00