v1.5.0
Changelog
11c7746 Merge branch 'master' into cleanup
f1fbba7 Merge branch 'proxy-update' of https://github.com/mvid/graphql-go-tools into mvid-proxy-update
8614eaa Merge pull request #43 from jensneuse/mvid-proxy-update
2ffd759 Merge pull request #45 from jensneuse/cleanup
3ba40ab Merge pull request #46 from jensneuse/parser-accept-comments
b8774f0 Merge pull request #47 from jensneuse/44-scaling-ParseTypeSystemDefinition
f8fc21e Merge pull request #50 from jensneuse/mvid-proxy-update
8b22931 Merge pull request #52 from jensneuse/55-context-middleware-quote-input
d58a6b1 Proxy Update: Contexts
eb214ca add InputValueDefinitions (single linked list iter) struct to document package
0666a77 add SetContextValues to http proxy so that the context middleware works in e2e tests
abf57b9 add big schema benchmark
f46e273 add big schema test data
c5f1d03 add formatting
e1f04a4 add formatting
10a71d4 add formatting
4164c52 add lexer test for comments with hashtag
d5616ef add meaningful error message in case a context value is missing
89fb8b3 add more tests including escaped quotes inside the string
ac62361 add test to parser for comment parsing
01dd657 add tests to ensure string quoting
59cbfa3 change signature for NodeFieldsDefinition from []int to FieldDefinitions iterator
cec16da change signature of EnumValueDefinitions from []int to single linked list iterator
153835b change signature of InputValueDefinitions from []int to InputValueDefinitions struct
c959beb delete deprecated code
733ad03 fix lookup test
c5a2980 fix lookup test
4e8f4f9 fix printer test to correctly report errors
2b86468 fix test to reflect new structure
027d9a5 fix testhelper
f3b29a2 fix tests to reflect structural changes
b2e7ec6 implement EnumValueDefinitions iterator
c511271 implement FieldDefinitions iterator
7a7b078 implement comment with hashtag lexing
88e7c6e make context middleware accept strings or a byte slice as argument value
a25d939 make parser accept comments
3fff84c make parser accepts comments
1587d35 make the quoting aware of having pre or suffixed quotes
fd23772 make walker use ParsedDefinition instead of references on the TypeSystemDefinition which got removed
9c4b7d7 make walker use the new FieldDefinition iterator
2846ebe merge master
546ec4b out comment debug info
7a521d9 proxy updates
2931ee9 refactor arguments definition parsing to use InputValuesDefinitions struct
0a12d0d refactor context middleware to quote string/slice inputs if they weren't already quoted
11457b2 refactor input fields definition parsing
7880b21 refactor input value definitions parsing to return InputValueDefinitions struct
816e26f refactor lookup to implement EnumValueDefinitionGetter
20fbd50 refactor lookup to use InputValueDefinitions
a74cc7f refactor lookup to use the FieldDefinitions iterator
012983c refactor parseFieldDefinitions to return FieldDefinitions instead of []int
d3cdfc7 refactor parseInterfaceTypeDefinition to use FieldDefinitions
2b5f3cd refactor parseObjectTypeDefinition to use FieldDefinitions
b4f88a0 refactor parser to use EnumValueDefinitions iterator
64c18f2 refactor printer to use EnumValueDefinitions iterator
a12e30f refactor printer to use FieldsDefinition iterator
75823b3 refactor readComment: remove the need to peek makes it faster
78058a4 refactor type switching
6dd0fd3 refactor validation to use InputValueDefinitions
482641b refactor walker to use InputValueDefinitions
bcebd0f removal of duploate test
d077686 remove TypeSystemDefinition from Node interface
ffc7c2a remove deprecated code on initTypeSystemDefinition
3f341a6 remove newline at err end
8791038 remove printMemUsage from test
59051fd remove unused code
3ccfe1e rename NewStaticSchemaProvider to NewStaticRequestConfigProvider
84d3cb0 replace []int with FieldDefinitions in InterfaceTypeDefinition
28c0ec5 replace buffered reader with io.copy
f197e82 replace fasthttp proxy in staticProxy cmd with http proxy
e1fe3bf simplify configuration of staticproxy
18d4050 simplify fast static proxy configuration
ebd3c47 simplify type system definition parsing as indexes on typeSystemDefinition struct got removed
32ed4ac update fast static proxy tests
4bc9792 update fixtures to reflect removed code changes
783b19b update parser object cache structure to use EnumValueDefinitions Iterator
686ff3e update parser to use the new structure and implement FieldDefinitionGetter
c287bb8 update printer to use InputValueDefinitions
ca0b71d update staticProxy cmd to reflect changes to the proxy config structure
627e311 update structure of ParsedDefinitions, remove argumentsDefinition/inputFieldsDefinition initializer
eaff368 update tests
67b797c update tests and fixtures
ef3fba7 update tests and fixtures because the field order changed
ac88959 update validation to use the FieldDefinition iterator