-
95609f77a1
If requested, validate binding-types get the right fields (#70)
Ben Kraft
2021-08-30 10:18:52 -07:00
-
fc4aa084ae
[🔥AUDIT🔥] Fix snapshots from changes to __typename error (#72)
Ben Kraft
2021-08-27 18:20:17 -07:00
-
46898ca52c
Return clearer errors when __typename is missing (#68)
Ben Kraft
2021-08-27 18:12:35 -07:00
-
e6b1984d44
Add support for inline fragments (#65)
Ben Kraft
2021-08-27 18:06:30 -07:00
-
e99dced757
Add support for fragments, part 0: design sketch (#59)
Ben Kraft
2021-08-27 18:04:38 -07:00
-
222d6f191a
Document and improve support for binding non-scalars to a specific type (#69)
Ben Kraft
2021-08-27 15:57:10 -07:00
-
bf266d874d
[🔥AUDIT🔥] Mark interfaces as enabled! (#67)
Ben Kraft
2021-08-26 14:35:54 -07:00
-
8f9d1cf792
Add support for interfaces, part 4: getter methods (#57)
Ben Kraft
2021-08-25 12:02:18 -07:00
-
65f9e90f2b
Add support for interfaces, part 3: automatically add __typename (#56)
Ben Kraft
2021-08-25 11:59:45 -07:00
-
1e87553788
Add support for interfaces, part 2: list-of-interface (#54)
Ben Kraft
2021-08-25 11:57:24 -07:00
-
4c38cb7759
Add support for interfaces, part 1: the simplest cases (#52)
Ben Kraft
2021-08-25 11:51:26 -07:00
-
8815d0991c
Big refactor to separate operation-traversal from code-generation (#51)
Ben Kraft
2021-08-25 11:49:30 -07:00
-
4a06e3f28e
Fix typo in README (#58)
Ben Kraft
2021-08-24 10:20:59 -07:00
-
6689d5a009
Use yaml.UnmarshalStrict (#55)
Ben Kraft
2021-08-23 15:52:08 -07:00
-
3746ecd063
Add integration tests against a gqlgen server (#50)
Ben Kraft
2021-08-20 10:54:41 -07:00
-
700392315a
Enable golangci-lint (#49)
Ben Kraft
2021-08-20 10:39:12 -07:00
-
832c0bf855
Correct string zero value in design doc (#53)
Mark Sandstrom
2021-08-19 18:03:35 -07:00
-
dfc9f02efc
Actually build the generated code in tests
Ben Kraft
2021-06-03 15:48:05 -07:00
-
1f442da041
Switch to cupaloy for snapshots
Ben Kraft
2021-06-03 12:08:09 -07:00
-
3c11f07e62
Make test ID type actually exist
Ben Kraft
2021-06-03 11:31:23 -07:00
-
c2e7dc4e5b
Handle omitempty correctly for slices
Ben Kraft
2021-06-01 14:37:33 -07:00
-
589680f323
Notes from meeting about content-library
Ben Kraft
2021-05-11 14:32:11 -07:00
-
caa72dae6a
Remove line numbers from export-operations file, again
Ben Kraft
2021-05-03 11:14:35 -07:00
-
870284271a
Some more ideas on how to allow fragments for code-sharing
Ben Kraft
2021-04-30 16:55:11 -07:00
-
c34c5ff505
Turn on test coverage in Makefile/actions
Ben Kraft
2021-04-23 18:18:07 -07:00
-
6adfe3b237
Remove line numbers from export-operations file
Ben Kraft
2021-04-23 18:14:01 -07:00
-
d449acdda3
Clarify object type documentation
Ben Kraft
2021-04-23 18:08:18 -07:00
-
f1914cd9ef
log response body, not request body, on non-200
Ben Kraft
2021-04-22 10:14:26 -07:00
-
b399e0d740
move TODOs into issues
Ben Kraft
2021-04-21 19:05:38 -07:00
-
748f2cf072
Add documentation to types and fields
Ben Kraft
2021-04-21 18:07:36 -07:00
-
32fea7fae4
fix incorrect enum-value type names for enums used as inputs
Ben Kraft
2021-04-21 17:41:33 -07:00
-
9bc97108ea
fix ExportOperations relative to config file if it's omitted
Ben Kraft
2021-04-21 11:42:19 -07:00
-
76d372919c
make ExportOperations relative to config file
Ben Kraft
2021-04-21 11:34:25 -07:00
-
2272ad8a12
allow map[string]interface{}, and other such things, as scalars
Ben Kraft
2021-04-21 11:32:49 -07:00
-
f97d33e6ae
more design notes on interfaces/fragments
Ben Kraft
2021-04-21 10:23:03 -07:00
-
288657fcb9
TODOs
Ben Kraft
2021-04-16 11:55:35 -07:00
-
93df752ac3
a few more tiny steps in types.go
Ben Kraft
2021-04-15 19:09:44 -07:00
-
be225ba9d0
actually starting to make progress on types.go
Ben Kraft
2021-04-15 19:00:41 -07:00
-
234c683e21
add a test with a pile of nested interfaces
Ben Kraft
2021-04-15 18:46:24 -07:00
-
89fe78e11a
bit more nibbling at types.go
Ben Kraft
2021-04-15 18:00:31 -07:00
-
40fc7fdbc5
handle nested lists correctly
Ben Kraft
2021-04-15 17:49:09 -07:00
-
e82a32f47a
few more attempts at cleaning up types.go
Ben Kraft
2021-04-15 17:46:13 -07:00
-
f72cb9d346
try to clean up types.go a bit, mostly fail
Ben Kraft
2021-04-15 17:36:04 -07:00
-
2c087c7821
big overhaul of error-formatting, to get positions more consistently
Ben Kraft
2021-04-15 17:01:46 -07:00
-
ade01c9280
test for uppercasing aliases
Ben Kraft
2021-04-15 15:50:22 -07:00
-
1bd7f7cb16
put example-test verbose flag in right place
Ben Kraft
2021-04-15 15:43:46 -07:00
-
f8f81dad7b
snapshots for errors
Ben Kraft
2021-04-15 15:42:05 -07:00
-
ddf4b03350
allow interface{} as a scalar
Ben Kraft
2021-04-15 11:50:52 -07:00
-
a5fe0943bd
only print diff in example_test if test.v is set
Ben Kraft
2021-04-15 11:38:39 -07:00
-
136ac7729f
include alias even if we don't need it
Ben Kraft
2021-04-15 11:36:46 -07:00
-
e597cac74c
add option to force using a pointer
Ben Kraft
2021-04-09 18:51:44 -07:00
-
74411faf52
TODO: auto-caching
Ben Kraft
2021-04-09 12:18:09 -07:00
-
16523c1f81
add omitempty
Ben Kraft
2021-04-09 11:51:30 -07:00
-
25a2b45ccc
redo comment parsing to set up for field-level config
Ben Kraft
2021-04-09 09:53:53 -07:00
-
b4e8316c6a
add support for custom scalars -- mainly adding proper import machinery
Ben Kraft
2021-04-08 12:40:53 -07:00
-
e68787ad35
add TODO
Ben Kraft
2021-04-08 11:28:10 -07:00
-
b8f922a41b
err explicitly if there's no operation name
Ben Kraft
2021-04-07 17:17:55 -07:00
-
eae8553c04
couple more TODOs
Ben Kraft
2021-04-06 15:49:52 -07:00
-
a33595b4b3
update & reorganize TODOs
Ben Kraft
2021-04-06 15:44:03 -07:00
-
33f4d9642e
issue templates
Ben Kraft
2021-04-06 14:06:38 -07:00
-
e7d9c7d140
update repo to match official open source guidelines
Ben Kraft
2021-04-06 12:29:28 -07:00
-
574f704ce9
just use the filename, no line number, in source-location
Ben Kraft
2021-04-06 12:19:12 -07:00
-
6404ba0e58
fix error message when a go string-query fails to parse
Ben Kraft
2021-04-05 17:40:04 -07:00
-
d880512499
set content-type header
Ben Kraft
2021-04-05 12:50:30 -07:00
-
77804e3475
naming things
Ben Kraft
2021-04-02 18:13:10 -07:00
-
28dfeb5b46
more notes on testing
Ben Kraft
2021-04-02 18:08:13 -07:00
-
9c8cf02181
proper test wiring for example test in github actions
Ben Kraft
2021-04-02 18:01:12 -07:00
-
efc6549d7e
fix example args in github actions
Ben Kraft
2021-04-02 17:18:37 -07:00
-
5ab592ac18
try example in github actions again
Ben Kraft
2021-04-02 17:17:38 -07:00
-
21954ac62d
general pass of README cleanup
Ben Kraft
2021-04-02 16:52:27 -07:00
-
0432f3f434
miscellaneous test coverage
Ben Kraft
2021-04-02 16:34:15 -07:00
-
4669ea00d0
TODOs
Ben Kraft
2021-04-02 16:26:22 -07:00
-
334c186944
error if you try to use features that aren't done (fragments/interfaces)
Ben Kraft
2021-04-02 16:19:50 -07:00
-
edb12e3e0a
pretty-print JSON in query-export
Ben Kraft
2021-04-02 16:01:52 -07:00
-
4b06c94eed
put config-file-relative paths in exported queries (and error messages)
Ben Kraft
2021-04-01 16:51:00 -07:00
-
9fe8f09e8c
more miscellaneous fixes while integrating into webapp
Ben Kraft
2021-04-01 15:04:36 -07:00
-
fbf00f3bef
add option to export all operations
Ben Kraft
2021-04-01 13:11:23 -07:00
-
de038dc428
shorten enum and input-object type-names
Ben Kraft
2021-04-01 12:40:54 -07:00
-
eae68e43c9
allow globbing, and extract queries from .go files
Ben Kraft
2021-04-01 12:04:26 -07:00
-
ec6681e715
allow multiple queries-files
Ben Kraft
2021-04-01 11:13:56 -07:00
-
10ae5ff5d8
formatting
Ben Kraft
2021-03-31 18:09:50 -07:00
-
19cd9a01f7
formatting
Ben Kraft
2021-03-31 18:09:34 -07:00
-
291ce980b3
another idea on query extraction
Ben Kraft
2021-03-31 10:43:08 -07:00
-
fb3c0b3cb4
more TODOs around type naming
Ben Kraft
2021-03-30 17:56:14 -07:00
-
27ee3c2dbd
fixes while integrating into webapp
Ben Kraft
2021-03-30 17:53:31 -07:00
-
b125191f99
fix png
Ben Kraft
2021-03-30 13:26:43 -07:00
-
be8952f11a
embed png because fonts
Ben Kraft
2021-03-30 13:23:16 -07:00
-
9e84417584
kern
Ben Kraft
2021-03-30 13:17:22 -07:00
-
0c80d0c656
actually fix svg
Ben Kraft
2021-03-30 13:03:25 -07:00
-
45dd9b5c1d
fix svg?
Ben Kraft
2021-03-30 13:00:13 -07:00
-
cf1965160b
logo of sorts
Ben Kraft
2021-03-30 12:59:39 -07:00
-
315617261d
silliness
Ben Kraft
2021-03-30 12:48:35 -07:00
-
470222e118
check some boxes off the README
Ben Kraft
2021-03-30 12:46:03 -07:00
-
cbebeaaed4
rename in code
Ben Kraft
2021-03-30 12:41:37 -07:00
-
db3ee65854
Rename and do some fun heading nonsense in the README
Ben Kraft
2021-03-30 12:39:59 -07:00
-
2c52314494
set opname
Ben Kraft
2021-03-30 11:27:43 -07:00
-
e3f6afeb78
more documentation in client.go, simplify unmarshaling slightly
Ben Kraft
2021-03-25 14:26:25 -07:00
-
f136758db4
misc bits of documentation
Ben Kraft
2021-03-25 14:13:14 -07:00
-
937540d244
make client an interface
Ben Kraft
2021-03-25 13:58:41 -07:00
-
a9054e484f
remove a stray printf
Ben Kraft
2021-03-22 19:17:45 -07:00