Changelog History
Page 5
-
v0.8.3 Changes
April 03, 2019- ๐ 010a79b6 release v0.8.3
๐ 3623f7fc Merge pull request #650 from andcan/plugin-funcmap
๐ Allow plugins to provide additional template funcs
๐ a2e59362 Merge pull request #652 from andrey1s/extraBuiltins
โ add extra builtins types when no type exists
๐ c93d92ba Merge pull request #654 from sharkyze/fix-introscpetion-doc
doc: fix mistake on introspection doc page
- 93e72b58 doc: fix error on introspection doc page
๐ ef2e51ba Merge pull request #637 from 99designs/fix-is-slice
๐ Fix Mapping Custom Scalar to Slice
e5ff6bc2 add extra builtins types when no type exists
๐ 8225f63a Allow plugins to provide additional template funcs
โก๏ธ 7b533df1 Update ISSUE_TEMPLATE.md
โก๏ธ 055157f9 Update ISSUE_TEMPLATE.md
๐ a148229c Merge pull request #644 from Sauraus/master
๐ Fix Gin installation instruction
52624e53 Fix Gin installation instruction
๐ฆ Current
go get gin
instruction results in an error from Go:package gin: unrecognized import path "gin" (import path does not begin with hostname)
- โ 515f2254 Add test case for custom scalar to slice
2284a3eb Improve IsSlice logic to check GQL def
Currently TypeReference.IsSlice only looks at the Go type to decide. This should also take into account the GraphQL type as well, to cover cases such as a scalar mapping to []byte
<!-- end of Commits --> <!-- end of Else -->
<!-- end of If NoteGroups -->
-
v0.8.2 Changes
March 18, 2019- ๐ ee06517c release v0.8.2
๐ 8ac8a1f8 Merge pull request #635 from 99designs/fix-inject-builtin-scalars
Only Inject Builtin Scalars if Defined in Schema
๐ d10e048e Add docs for built-in scalar implementations
d27e6eb6 Add example case for object type overriding builtin scalar
d567d5c8 Inject non-spec builtin values only if defined
๐ 3e39b57a Merge pull request #634 from 99designs/fallback-to-string
๐ Use graphql.String for types wrapping a basic string
- a2cce0d1 Use graphql.String for types wrapping a basic string
๐ fc05501b Merge pull request #633 from 99designs/fix-union-pointers
๐ Fix Having Pointers to Union Types
- โ f02dabb7 Add test case for union pointer
8257d423 Check Go type rather than GQL type for ptr
This is probably a more correct way to check whether we should wrap the type in a pointer or not, rather than looking at the GrapQL definition. There may be use-cases where a GraphQL interface/union might be mapped to a Go stuct.
๐ 5df0938f Merge pull request #628 from 99designs/fix-ambient-imports
๐ฆ Move ambient imports into cmd package
๐ฆ 8e1590d7 Move ambient imports into cmd package
๐ The getting started docs for dep suggest creating a local gqlgen script, however these ambient import are in the root, so dep misses them.
๐ This was changed in 0.8 but the ambient imports weren't moved.
๐ 58744de9 Merge pull request #622 from 99designs/handle-complexity-root-collisions
๐ Handle colliding fields in complexity root gracefully
- c889b314 Handle colliding fields in complexity root gracefully
๐ 26c395b0 Merge pull request #620 from codyleyhan/cl/error
๐ Allow user to supply path to gqlerror
- 12cf01aa Allow user to supply path to gqlerror
๐ 932322b6 Merge pull request #619 from 99designs/nil-slices
๐ Support returning nulls from slices
- ๐ a48c55b2 Support returning nulls from slices
๐ 2b270e4d Merge pull request #618 from codyleyhan/cl/method
โ Adds way to determine if a resolver is a function call or value
โ af6dc16d Add test for IsMethod in resolver
27e97535 Expose IsMethod to resolver context
โก๏ธ f52726de Update README.md
๐ ac2422e3 Merge pull request #614 from wesovilabs/master
โ Adding entry for workshop
๐ db4f7255 Merge pull request #613 from icco/patch-2
โฌ๏ธ Upgrade graphql-playground to 1.7.20
๐ 163bfc76 Merge pull request #612 from 99designs/maps-changesets
Maps as changesets
- 6aa9dfc6 Adding entry for workshop
โฌ๏ธ 08f936e1 Upgrade graphql-playground to 1.7.20
CSS didn't change but js did.
๐ 8fb1fafd Merge pull request #611 from 99designs/gqlparser-1.1.2
โฌ๏ธ Bump gqlparser to 1.1.2
๐ 37983a5f remove some invalid test schema
๐ 765ff738 Add some docs on maps
๐ 0a92ca46 Support map[string]interface{} in return types
๐ ac56112b Merge pull request #610 from tgwizard/dynamic-complexity
๐ Allow configuring the complexity limit dynamically per request
๐ a89050aa Bump gqlparser to 1.1.2
๐ง dd288145 Allow configuring the complexity limit dynamically per request
๐ 485ddf30 Merge pull request #605 from 99designs/fix-default-scalars
๐ Fix default scalars
๐ 3ca2599a Merge pull request #606 from jonatasbaldin/add-gin-recipe
โ Add Gin recipe
- 386eede9 Add Gin recipe
๐ 22be59d1 Merge pull request #604 from cevou/arg-scalar
๐ Fix directives on args with custom type
โ d02736dc Added test for fix directives on args with custom type
0๏ธโฃ 30d235bc Fix default scalars
๐ d7b5dc28 Merge pull request #591 from 99designs/fix-577
๐ Fix mixed case name handling in ToGo, ToGoPrivate
bef6c0a9 Fix directives on args with custom type
bc386d79 Fix mixed case name handling in ToGo, ToGoPrivate
<!-- end of Commits --> <!-- end of Else -->
<!-- end of If NoteGroups -->
-
v0.8.1 Changes
March 06, 2019- ๐ 229185e4 release v0.8.1
๐ d872af63 Merge pull request #582 from demdxx/master
0๏ธโฃ Load the playground sources from HTTPS by default
๐ 8e66832f Merge pull request #589 from 99designs/fix-autocasing-modelgen-bugs
๐ Fix autocasing modelgen bugs
- de3b7cb8 Fix autocasing modelgen bugs
๐ 8e00703e Merge pull request #588 from 99designs/fix-default-scalar-implementation-regression
๐ Fix default scalar implementation regression
- 0๏ธโฃ b27139ed Fix default scalar implementation regression
๐ 737a59a3 Merge pull request #579 from 99designs/fix-camelcase
Take care about commonInitialisms in ToGo
52838cca fix ci
๐จ 2c3783f1 some refactoring
eb453674 address comment
๐ dcd208d9 Merge pull request #584 from 99designs/fix-deprecated-directive
๐ 5ba8c8ea Add builtin flag for build directives
These have an internal implementation and should be excluded from the ๐ DirectiveRoot. In the future this may be a func that plugins could use to add custom implementations.
0๏ธโฃ b8526698 Load the playground sources from HTTPS by default
0๏ธโฃ For some browsers on non-secure domains resources from CDN doesn't loads, so I made all cdn.jsdelivr.net resources of the playground by HTTPS by default
- 6ea48ff6 Take care about commonInitialisms in ToCamel
๐ 1968a7bc Merge pull request #576 from jflam/patch-1
โก๏ธ Update README.md
โก๏ธ 44becbbe Update README.md
๐ Fixed typo in MD link ttps -> https
<!-- end of Commits --> <!-- end of Else -->
<!-- end of If NoteGroups -->
-
v0.8.0 Changes
March 04, 2019- ๐ f24e79d0 release v0.8.0
๐ 55df9b8d Merge pull request #574 from 99designs/next
v0.8.0
๐ aedcc68a Merge pull request #573 from 99designs/plugin-docs
๐ Very rough first pass at plugin docs
- ๐ 8f91cf56 Very rough first pass at plugin docs
๐ฆ 3d9ad75e Merge pull request #572 from 99designs/handle-nonexistant-directories-when-genreating-packagenames
๐ฆ Handle non-existant directories when generating default package names
- ๐ฆ 08923334 Handle non-existant directories when generating default package names
๐ 2ef4b443 Merge pull request #571 from 99designs/automatically-bind-to-int32-int64
Automatically bind to int32 and int64
๐ฆ 2888e96c Merge pull request #570 from 99designs/vendor-packages-workaround
๐ฆ Workaround for using packages with vendored code
- fb87dc39 Automatically bind to int32 and int64
๐ f2d9c3f7 Merge pull request #569 from 99designs/improve-introduction
Introduction Improvements
๐ฆ 1e7aab63 Workaround for using packages with vendored code
5c692e29 User README as canonical introduction
25bdf3d6 Consolidate Introduction documents
d81670d8 Add initial contributing guidelines
d9a9a532 playground: secure CDN resources with Subresource Integrity
๐ cb38b4be Merge pull request #568 from MichaelMure/secured-playground
playground: secure CDN resources with Subresource Integrity
๐ 0258e1a2 Merge pull request #565 from steebchen/next
๐ Fix cli config getters
๐ 6ad1d97e Move feature comparison
37cbbd6d playground: secure CDN resources with Subresource Integrity
da12fd11 Fix cli config getters
๐ 51266b8f Merge pull request #554 from 99designs/fix-missing-recover
Recover from panics in unlikly places
- 67795c95 Recover from panics in unlikly places
๐ 56163b45 Merge pull request #553 from 99designs/getting-started-0.8
โก๏ธ Update Getting Started for 0.8 and Go Modules
โก๏ธ 0bd120b5 Update dep code as well
โก๏ธ 6c576032 Update getting started with 0.8 generated code
๐ฆ ba761dcf Reintroduce main package in root
โก๏ธ cdc575a2 Update getting started with Go Modules support
๐ง 378510e5 Move Getting Started above Configuration
d261b3fb Fix navigation font weights
๐ 327a1a34 Merge pull request #551 from 99designs/improved-collect-fields-api
๐ Improved Collect Fields API and Documentation
๐ 6439f197 Merge pull request #552 from 99designs/always-return-struct-pointers
Always return *Thing from resolvers for structs
318639bb Always return *Thing from resolvers for structs
๐ e61b3e0b Add Field Collection docs
๐ ef0223cf Merge pull request #541 from 99designs/fix-underscore-only-fields
๐ Allow underscore only fields and naming collisions to be aliased explicitly
58b2c74f drive by config fix
โ f6c52666 Add a test for aliasing different cases (closes #376)
8c2d15ee Fix underscore only fields (closes #473)
๐ 0eb8b5c1 Merge remote-tracking branch 'origin/master' into HEAD
๐ 015d02eb Merge pull request #542 from Elgarni/add-more-validation-checks-on-yml-config-file
โ Add more validation checks on .yml config file
๐ 647c62a5 Merge pull request #550 from 99designs/fix-unstable-marshaler-func
๐ Fix unstable external marshaler funcs with same name as type
โ 3a8bf33f Add CollectAllFields test cases
9ebe7717 Fix unstable external marshaler funcs with same name as type
๐ a1195843 Merge pull request #544 from enjoylife/fix-directive
๐ Fix directives on fields with custom scalars
โ dc925c46 Added a test for config checking
๐จ b56cb659 Refactored config check so that it runs after being normalized
dc6a7a36 Add CollectAllFields helper method
a2e61b3d Added a model and used directive on an input field within the integration schema
โ Added to the integration schema such that the build will catch the directive bug in question.
0b0e4a91 Fix directives on fields with custom scalars
๐ 8ac0f6e4 Removed redundant semicolons
3645cd3e Add more validation checks on .yml config file
1b8b1ea1 Fix typo in README
๐ Fix typo in README in selection example directory to point to the selection example, not the todo example.
๐ 66120d8f Merge pull request #535 from awiede/master
๐ Fix typo in README
- ๐ fcacf200 Merge remote-tracking branch 'origin/master' into HEAD
๐ b9819b21 Merge pull request #540 from 99designs/check-is-zero
Automatically convert IsZero to null
๐ 03a655dc Merge pull request #526 from 99designs/union-fragment-bug
Union Fragment Bug Fix
- 99e9f41f Use Implements for type Implementors in codegen
ccca823f Separate out conditionals in collect fields
These conditions are not really related, and I missed the second conditional when reading through the first time.
โ efe8b026 Add reproducable test cases
306da15f Automatically convert IsZero to null
๐ f81c61d3 Merge pull request #539 from 99designs/test-nullable-interface-pointers (closes #484)
๐ f5200c80 Merge pull request #498 from vilterp/playground-content-type
โ add
content-type: text/html
header to playground handlerโ de148d13 Test for #484
๐ 9a48a007 Merge pull request #538 from 99designs/test-input-marshalling (closes #487)
โ 7a82ab43 Test for #487
๐ 48a7e07f Merge pull request #537 from 99designs/stub-generation
Stub generation
โ 787b38d8 Break testserver tests down into smaller files using stubs
๐ c5e3dd44 add stub generation plugin
๐ 43db679a Merge pull request #534 from 99designs/multiple-bind-types
Multiple bind types
- ๐ b26b915e Move input validation into gqlparser see https://github.com/vektah/gqlparser/pull/96
7d394222 Fix typo in README
๐ Fix typo in README in selection example directory to point to the selection example, not the todo example.
๐ 42131868 Linting fixes
956d0306 Arg type binding
6af3d85d Allow multiple field bind types
3015624b Regen dataloader with correct version
50f7d9c8 Add input field directives back in
8047b82a Fix nullability checks in new marshalling
b3f139c9 Cleanup field/method bind code
๐ cf94d3ba Removed named types
๐ 82ded321 Merge pull request #532 from 99designs/fix-missing-json-content-type
๐ Fix set header to JSON earlier in GraphQL response
โก๏ธ Update the GraphQL handler to set the Response Header to JSON earlier for error messages to be returned as JSON and not text/html.
-
v0.7.2 Changes
February 05, 2019- ๐ da1e07f5 release v0.7.2
๐ 8c0562c1 Merge pull request #530 from 99designs/websocket-keepalive-master
โ Add websocket keepalive support
- ๐ 43fdb7da Suppress staticcheck lint check on circleci
9c4b877a Use constant tick rate for websocket keepalive
Some clients (e.g. apollographql/subscriptions-transport-ws) expect a constant tick rate for the keepalive, not just a keepalive after x duration of inactivity.
- ๐ d36d3dc5 Add websocket keepalive support
๐ 39216361 Merge pull request #476 from svanburen/patch-1
โก๏ธ Update config.md
โก๏ธ 9f6f2bb8 Update config.md
โ Add a missed word and add an apostrophe
c033f5fc Fix edit link positioning
b3f163d8 Add not about relative generate path
โก๏ธ 675ba773 Update errors.md
๐ 5c870a48 Merge pull request #461 from ryota548/patch-1
โก๏ธ Update getting-started.md
โก๏ธ 9bcd27c1 Update getting-started.md
modify
graph/graph.go
toresolver.go
<!-- end of Commits --> <!-- end of Else -->
<!-- end of If NoteGroups -->
-
v0.7.1 Changes
November 28, 2018๐ 3a7f37c7 Merge pull request #455 from 99designs/fix-deprecated-fields
๐ Fix deprecated fields
๐ b365333b Fix graphiql deprecating all fields
99610be9 Get chat example up to date
<!-- end of Commits --> <!-- end of Else -->
<!-- end of If NoteGroups -->
-
v0.7.0 Changes
November 28, 2018- ๐ a81fe503 release v0.7.0
๐ 4bfc82d7 Merge pull request #453 from 99designs/deprecate-binary
โ Add Deprecation Warning to Binary
โก๏ธ 8dd29b85 Merge pull request #454 from 99designs/update-gqlparser
โก๏ธ Update gqlparser to latest
- โก๏ธ 747c3f9c Update gqlparser to latest
๐ d6d9885f Merge pull request #416 from 99designs/improved-getting-started
๐ Improve Getting Started Documentation โ No Binary Approach
๐ d22f03c6 Add deprecation warning
๐ 878f3945 Minor fixes to getting started code examples
๐ 6a02657c Merge pull request #447 from 99designs/disable-introspection
โ Add config option to disable introspection
b9fbb642 Mention recursive-ness of generate ./...
๐ e236d8f3 Remove generate command from resolver.go
04a72430 Re-add final touches section to getting started
3a7a5062 Add handler import to root cmd
9dba96d5 Fix GraphQL capitalisation
โก๏ธ 1dfaf637 Minor updates to getting started from feedback
๐ 94b95d97 Some CSS fixes
โก๏ธ a36fffd2 Updated getting started with new no-binary approach
๐ 601354b3 Add blockquote breakout style
๐ 6bea1d88 Merge remote-tracking branch 'origin/master' into disable-introspection
Regenerate
๐ e4bad0e6 Merge pull request #449 from 99designs/increase-float-precision
Increase float precision
๐จ c5589792 Merge pull request #450 from 99designs/import-refactor
๐จ Refactor import handling
- ๐ 62f0d085 Edit copy for introspection docs
๐ 63fc2753 Merge pull request #452 from cemremengu/patch-1
๐ Fix typo in directives.md
โก๏ธ da31e8ed Update directives.md
๐ Fix small typo
๐ 83e33c13 Remove a debug print
6c575914 fix doc indentation
f03b32d3 Use new import handling code
c45546e5 Increase float precision
77f2e284 Start moving import management to templates
c114346d Decouple loader creation from schema
โก๏ธ 9d636e78 Merge pull request #448 from 99designs/update-gqlparser
โก๏ธ Update to latest gqlparser
โก๏ธ d6ce42df Update to latest gqlparser
b0acd078 Add config option to disable introspection
๐ f9c880b6 Merge pull request #446 from 99designs/fix-flakey-test
๐ Fix flakey goroutine test
๐ 5461e967 Merge pull request #445 from 99designs/remove-graphqlgen
โ Remove graphqlgen link
- โ 8a5039d8 Fix flakey goroutine test
๐ 4b082518 Merge pull request #439 from snormore/pointer-slice
๐ Fix type binding validation for slices of pointers like []*foo
- ๐ 293b9eaf Remove graphqlgen link
๐ 77b27884 Merge pull request #443 from mgutz/patch-1
๐ fix generate stubs sentence
ae1c7732 fix generate stubs sentence
827dac5e Fix type binding validation for slices of pointers like []*foo
โก๏ธ f7932b40 Merge pull request #435 from matiasanaya/update-readme
โก๏ธ Update README.md comparison with graph-gophers
- โก๏ธ a816208b Update README.md comparison with graph-gophers
๐ d25e3b4b Merge pull request #422 from gracenoah/model-method-context
accept an optional ctx parameter on model methods
๐ 0ac6fa57 Merge pull request #434 from urakozz/patch-1
๐ Tracer: fixed nil pointer issue
- โก๏ธ d4f7c954 Update context.go
โก๏ธ 4c4ccf47 Update context.go
โ Right now code generated with latest master fails since there are usages of Trace but there is no any single write to this variable
5faf3a2b re-generate
๐ 6fed8947 rebase fixes
4c10ba55 fix generated code
โ 8066edb7 add tests
๐ 9862c30f mention contexts on model methods in docs
602a83d6 make ctx method resolvers concurrent
49755120 accept an optional ctx parameter on model methods
๐จ 02a19352 Merge pull request #429 from 99designs/refactor-gofmt
apply go fmt ./...
โ 6a77af13 apply gofmt on ./.circleci/test.sh
c656dc31 apply go fmt ./...
๐ 3f598bdc Merge pull request #427 from anurag/patch-1
๐ Fix docs typo
- ๐ cac61bb2 Fix docs typo
๐ 9f4afe3a Merge pull request #425 from 99designs/render
๐ Switch to hosting docs on render.com
๐ 9875e74b Switch to hosting docs on render.com
๐ Render.com has offered to host our static site for free, and have ๐ a pretty simple setup for rebuilding on merge to master. I've โก๏ธ switched the DNS records and updated the docs.
๐ 981fd10a Merge pull request #419 from 99designs/fix-capture-ctx
๐ fix unexpected ctx variable capture on Tracing
027803d2 address comment
2b090de9 address comment
d3238d54 chore
๐จ a2c33f13 write ctx behavior test & refactoring tracer test
5c28d011 fix unexpected ctx variable capture on Tracing
๐ 4bda3bc1 Merge pull request #411 from 99designs/feat-geterrors
โ add GetErrors to RequestContext
- โ a4eaa400 add tests for RequestContext#GetErrors
๐ 53f33f77 Merge pull request #410 from 99designs/move-tracing-to-contrib
๐ Move tracing to contrib
19403832 add GetErrors to RequestContext
๐ f0dbce5a Move tracing to contrib
๐ a3a92775 Merge pull request #409 from 99designs/graphql-playground-1.7.8
โฌ๏ธ Bump to the latest version of graphql-playground
๐ d2648580 Merge pull request #402 from 99designs/feat-opencensus
โ add Tracer for OpenCensus
7286e244 fix shadowing
โ af38cc5a Bump to the latest version of graphql-playground
โ 8bbb5eb7 fix some tests
256e741f add complexityLimit and operationComplexity to StartOperationExecution
๐ 4e7e6a1c Merge branch 'master' into feat-opencensus
๐ 926ad17a Merge pull request #403 from 99designs/feat-complexity
copy complexity to RequestContext
๐ 2d3026cb Merge branch 'master' into feat-complexity
๐ 59ef91ad merge master
๐ c9368904 Merge branch 'master' into feat-opencensus
๐ b26ee6b4 Merge pull request #404 from 99designs/feat-apollo-tracing
โ add apollo-tracing support
fd4f5587 fix timing issue
91e3e88d address comment
๐ a905efa8 fix lint warning
b2ba5f86 address comment
561be1c0 add Apollo Tracing sample implementation
๐ 83c7b2cb add Start/EndOperationParsing & Start/EndOperationValidation methods to Tracer
b5305d75 address comment
784dc01f oops...
a027ac21 copy complexity to RequestContext
ececa23c add Tracer for OpenCensus
๐ 0d5c65b6 Merge pull request #400 from 99designs/fix-ci
๐ fix Circle CI test
00d11794 add mutex to logger
884d35c6 fix race condition
๐ท f70cedc2 fix Circle CI test
๐ 1b17b5a2 Merge pull request #392 from 99designs/feat-tracer
โ Add Tracer layer
๐ 184e48cb Merge pull request #396 from 99designs/remove-ci-exclusion
โ Run generate ./... and test ./... in circle
๐ fd5d9eca Merge pull request #395 from 99designs/feat-extension-example
โ add Type System Extension syntax example
โ 686c71a4 Run generate ./... and test ./... in circle
304d3495 fix https://github.com/99designs/gqlgen
85322586 address comment
๐ท 195f952b fix CI failed
๐ท AppVeyor handle this test, But Circle CI is not
b5b767c4 address comment
d723844b add Type System Extension syntax example
df685ef7 change timing of EndFieldExecution calling
๐จ 94b7ab02 refactor Tracer interface signature that fit to apollo-tracing specs
โช 8eb2675a Revert "change field marshaler return process that make it easy to insert other processing"
โช This reverts commit 583f98047f5d1b6604d87e7b8d6f8fd38082d459.
c8af48cd rename Tracer method name
๐จ a3060e80 refactor Tracer signature
๐ d319afe6 add support request level tracer
๐ 1c5aedde add support field level tracer
583f9804 change field marshaler return process that make it easy to insert other processing
โก๏ธ ab4752c2 Update README.md
๐ 3447dd2d Merge pull request #389 from 99designs/multiple-schemas
๐ Support multiple schemas
- ๐ a230eb04 Support multiple schemas
๐ 20a5b6c7 Merge pull request #369 from vetcher/master
reverse errors and data order in response
- โ f1f043b9 reverse 'data' and 'error' fields order in failure tests
๐ 3eab22a3 Merge pull request #370 from rodrigo-brito/fix-underscore
Underscore on field name finder
0ad3d3ce fix on struct name finder
42e11045 reverse errors and data order in response
<!-- end of Commits --> <!-- end of Else -->
<!-- end of If NoteGroups -->
-
v0.6.0 Changes
October 03, 2018- ๐ 6f486bde release v0.6.0
๐ 7833d0cb Merge pull request #365 from 99designs/dont-guess-imports
Don't let goimports guess import paths
- 732be395 Don't let goimports guess import paths
๐ 926eb9d8 Merge pull request #364 from 99designs/query-cache-test
โ Add a stress test on query cache
- โ bab70df5 Add a stress test on query cache
๐ 84481761 Merge pull request #362 from 99designs/fix-error-docs
๐ fix error docs
- ๐ 23b58f6d fix error docs
๐ 8f0ef777 Merge pull request #361 from 99designs/revert-360-revert-335-typed-interfaces
โช Revert "Revert "Generate typed interfaces for gql interfaces & unions""
- โช 77257d1e Revert "Revert "Generate typed interfaces for gql interfaces & unions""
๐ 1cae19bb Merge pull request #359 from 99designs/fix-null-arg-error
๐ Fix Issue With Argument Pointer Type
๐ ee862717 Merge pull request #360 from 99designs/revert-335-typed-interfaces
โช Revert "Generate typed interfaces for gql interfaces & unions"
- โช 02658647 Revert "Generate typed interfaces for gql interfaces & unions"
๐ bc35d730 Merge pull request #335 from 99designs/typed-interfaces
Generate typed interfaces for gql interfaces & unions
๐ 48724dea Removed redundant file
โ 2432ab3c Fix other tests with pointer change
โ 20add126 Fix test case
0๏ธโฃ f5c03401 Do not strip ptr for args with defaults
This fails if a client still sends a null value. If an arg is nullable 0๏ธโฃ but has a default, then null is still a valid value to send through.
- โ 0c399270 Add test case
๐ b836a976 Merge pull request #358 from 99designs/fix-embedded-pointer
๐ Fix Embedded Pointer
โ d3e27553 Bump gqlparser to latest master
b8af0c81 Use types.Implements to check if an interface implementor accepts value recievers
๐ 2ab05daf Merge pull request #353 from 99designs/resolver-ctx-parenting
Parent middleware generated contexts
faf0416b Parent resolver generated contexts
caa474c6 Check for embedded pointer when finding field on struct
โ f302b408 Added reproduce test case
๐ 14cf46bc Merge pull request #348 from gissleh/feat-websocket-initpayload
โ Added parsing of the websocket init message payload
โก๏ธ 3147d914 Updated example in docs to use handler.GetInitPayload instead of graphql.GetInitPayload
โก๏ธ 32f0b843 Moved InitPayload from graphql to handler package, updated test to import it from there.
๐ 01923de6 Moved initPayload to wsConnection member, changed wsConnection.init to return false on invalid payload
25268ef9 Added information about it under recipes/authentication doc
๐ฐ 575f28e0 Fixed graphql.GetInitPayload panic if payload is nil.
๐ฐ 380828fa Added parsing of the websocket init message payload, and making it available via the context passed to resolvers.
- โ Added GetInitPayload(ctx) function to graphql
- โ Added WithInitPayload(ctx) function to graphql
- โ Added WebsocketWithPayload method to client.Client (Websocket calls it with a nil payload for backwards compability)
- โ Added tests for these changes in codegen/testserver/generated_test
๐ 2bd1cc2e Merge pull request #334 from 99designs/support-response-extensions
๐ Support Extensions in Response
โ 8fdf4fbb Add test case for extension response
60196b87 Add extensions to response struct
cbde0ea9 Generate typed interfaces for gql interfaces & unions
<!-- end of Commits --> <!-- end of Else -->
<!-- end of If NoteGroups -->
-
v0.5.1 Changes
September 13, 2018๐ 636435b6 release v0.5.1
โก๏ธ bfb48f2f Update README.md
๐ 869215a7 Merge pull request #339 from 99designs/fix-subscription-goroutine-leak
๐ Fix gouroutine leak when using subscriptions
๐ 535dd24b Merge pull request #338 from codyleyhan/cl/docs
โ Adds docs for how resolvers are bound
- baa99fc5 cleaned up resolver doc
๐ 647fbbc9 Merge pull request #340 from chris-ramon/patch-1
โก๏ธ README.md: Updates
graphql-go/graphql
features.โก๏ธ 729e09c8 README.md: Updates
graphql-go/graphql
features.- ๐ Subscription support: https://github.com/graphql-go/graphql/issues/49#issuecomment-404909227
- ๐ Concurrency support: https://github.com/graphql-go/graphql/issues/389
- ๐ Dataloading support: https://github.com/graphql-go/graphql/pull/388
229a81be Fix gouroutine leak when using subscriptions
๐ c15a70ff Adds docs for how resolvers are bound
35c15c94 Add link to talk by Christopher Biscardi
๐จ 72edf98a Merge pull request #331 from edsrzf/arg-refactor
๐จ Refactor arg codegen
31505ff4 Use arg function for generated Complexity method
ebdbeba0 Just realized "if not" is allow in templates
861a805c Regenerate code
๐จ 639727b6 Refactor arg codegen
Now a function is generated for each field and directive that has arguments. This function can be used by both field methods as well as the
Complexity
method.The
args.gotpl
template now generates the code for this function, so its purpose is a little different than it used to be.๐ 8026e63b Merge pull request #330 from edsrzf/string-compare
๐ Use built-in less than operator instead of strings.Compare
- c770b4e7 Use built-in less than operator instead of strings.Compare
<!-- end of Commits --> <!-- end of Else -->
<!-- end of If NoteGroups -->
-
v0.5.0 Changes
August 31, 2018- ๐ 5bc4665f release v0.5.0
๐ b48c6b92 Merge pull request #326 from 99designs/version
โ Add version const
- 14587a5f Add version const
๐ 7d44dd6b Merge pull request #315 from edsrzf/query-complexity
Query complexity calculation and limits
๐ 2ab857ee Merge branch 'master' into query-complexity
6e408d5d Interfaces take max complexity of implementors
๐ d08b9c4a Merge pull request #325 from edsrzf/no-get-mutations
Only allow query operations on GET requests
82a28b57 Only allow query operations on GET requests (closes #317)
This mitigates the risk of CSRF attacks.
239b1d22 Don't emit complexity fields for reserved objects
8da5d61b Generate complexity for all fields. Fix bugs. Re-generate examples.
๐ 40943c6d Merge pull request #322 from 99designs/drop-old-flags
โฌ๏ธ Drop old cli flags
๐ 8c17eea9 Merge pull request #320 from andrioid/master
Description added to generated Model code
๐ 988b367a Merge pull request #316 from 99designs/feat-concurrent-each-element
๐ use goroutine about processing each array elements
e5265ac2 Fix complexity template bug
7c040045 now with field values
๐ 08ab33be starting to look better
๐ e834f6b9 Query complexity docs
a0158a4e Drop old cli flags
bb78d2fa go generate ./..
๐ 2488e1b3 Merge branch 'master' of https://github.com/99designs/gqlgen
๐ f6a733ae Merge pull request #308 from codyleyhan/tags
๐ง Finds fields by configurable struct tag
๐ f7aeb88a Merge pull request #321 from 99designs/remove-typemap
โ Remove support for the old json typemap
๐ d63449b9 Remove support for the old json typemap
fce4c722 address comment
๐ 8c3aed7d Merge branch 'master' into query-complexity
๐ฆ cecd84c6 Add complexity package tests
๐ Also some small behavior fixes to complexity calculations.
๐ 002ea476 Merge pull request #318 from edsrzf/query-cache
โ Add query cache
- fcd700b6 Panic on lru cache creation error
78c57079 Add query cache
๐ง This commit adds a query cache with a configurable maximum size. Past this size, queries are evicted from the cache on an LRU basis.
0๏ธโฃ The default cache size is 1000, chosen fairly arbitrarily. If the size ๐ง is configured with a non-positive value, then the cache is disabled.
๐ Also ran
dep ensure
to add the new dependency toGopkg.lock
.๐ 076f9eac removed dirt
6ae82383 trying to get description with generated models
๐ 7d6f8ed4 fixes case where embeded structs would cause no field to be found
02873495 use goroutine about processing each array elements
๐ 40f904a6 Merge branch 'master' of github.com:99designs/gqlgen into tags
โ 56768d6b adds tests for findField
556b93ac Run go generate ./...
๐ 2dcb2dd8 Merge pull request #314 from 99designs/directive-obj
โ Add obj to Directives
๐ 0e2aaa9e Merge branch 'master' of github.com:99designs/gqlgen into tags
๐ 7cfd9772 fixes field selection priority
๐ 238a7e2f Add complexity support to codegen, handler
๐ฆ 95ed529b New complexity package
1fda3ede Add obj to Directives
๐ 9b247102 Merge pull request #301 from 99designs/feat-directive-parent
โ add Result field to ResolverContext
๐ 9ec385d1 Merge branch 'tags' of github.com:codyleyhan/gqlgen into tags
c5849929 adds binding by passed tag
๐จ 6ef2035b refactor set Result timing
๐จ 568a72e9 add some refactor
๐ 50588a8a Merge pull request #299 from 99designs/test-init-on-windows
๐ Test gqlgen init on windows
๐ 9148adfc Test gqlgen init on windows
๐ c7fd8416 Merge branch 'master' into feat-directive-parent
๐ 3f8a601b Merge pull request #312 from 99designs/validate-gopath
Validate gopath when running gqlgen
๐ 77e69552 Merge pull request #310 from 99designs/sitemap-404s
โ Remove 404s from sitemap
๐ 0b6cedfb Merge pull request #311 from jekaspekas/fix-mapstructure-err
๐ fix mapstructure unit test error
- b07736ef Validate gopath when running gqlgen
โ b082227d fix mapstructure unit test error
๐ fix unit test error "mapstructure: result must be a pointer". It appears instead of resolver returned error.
- ๐ 25b12cb6 Remove 404s from sitemap
๐ 4a6f505d Merge pull request #309 from 99designs/pr-template
โ Add a PR template
64f3518e run generate
a81147df Add a PR template
๐ 15d8d4ad Merge branch 'introspection-directive-args' into HEAD
โ 12efa2d5 add tests
95b6f323 finds fields by json struct tag
07ee49f3 Added args to introspection scheme directives.
๐จ e57464fe refactor ResolverContext#indicies and suppress lint error
09e4bf8c add Result field instead of ParentObject field
๐ b8695fb5 Merge pull request #304 from 99designs/newline-for-init-response
Put newline at end of
gqlgen init
output๐ fabc6f8f Merge branch 'master' into feat-directive-parent
๐ e53d224e Merge branch 'master' into feat-directive-parent
๐ de750645 Merge pull request #298 from 99designs/handle-response-nulls
Nulls in required fields should cause errors and bubble
c8552729 Put newline at end of gqlgen init output
072363c7 add ParentObject field to ResolverContext
๐ e15d7890 Merge pull request #300 from 99designs/fix-starwars-connection-example
๐ fix connection example
d6acec16 fix connection example
7d1cdaca Nulls in required fields should cause errors and bubble
๐ 2c4e6cbf Merge pull request #294 from 99designs/simplfy-concurrent-resolvers
Simplfy concurrent resolver logic
- 7926c688 Simplfy concurrent resolver logic
<!-- end of Commits --> <!-- end of Else -->
<!-- end of If NoteGroups -->