All Versions
62
Latest Version
Avg Release Cycle
11 days
Latest Release
582 days ago

Changelog History
Page 4

  • v0.11.2 Changes

    March 05, 2020
    • ๐Ÿš€ 2ccc0aa6 release v0.11.2

    ๐Ÿ”€ 78f3da22 Merge pull request #1050 from technoweenie/executor

    Executor

    • ๐Ÿ‘ท b82ee517 Fix CI badge

    ๐Ÿ”€ 42eff5a9 Merge pull request #1057 from RichardLindhout/master

    โฌ†๏ธ Upgrade to github.com/urfave/cli/v2

    ๐Ÿ”€ bb5cb8a3 Merge pull request #1086 from 99designs/github-actions

    ๐Ÿ‘‰ Use GitHub Actions

    • ๐Ÿšš cd2b53f2 remove os.Exits

    587bc81c Merge pull request #1074 from yudppp/feature/add_contenttype_for_upload

    โž• Add ContentType to graphql.Upload

    • a84d6577 graphql/handler: revive the existing around func types

    • โœ… f9bb017b graphql/executor_test: ensure operation trace is started before every query

    • ๐Ÿšš 57dd8d9c graphql/gqlgen: remove unnecessary convenience method

    • ๐Ÿšš fb86f7b9 graphql/executor: remove the naked return

    • 9ae6bc0b graphql/executor: reinit all extension values on every Use() call

    • f3909a8a graphql/executor: make ext funcs private

    • ๐Ÿ‘ท df9e7ce3 Run CI on push only

    • โšก๏ธ ed76bc92 Update badge

    • ๐Ÿ›  5a1a5446 Coveralls fixes

    • ๐Ÿ 41acc753 Fix windows line endings

    • 390cea4f Replace Appveyor with Github Actions

    • 85be072f Replace CircleCI with Github Actions

    • โœ… 8d540db3 fix: Add Upload.ContentType test

    • ๐Ÿ›  f21832af fix: Fixed Upload type document

    ๐Ÿ”€ b165568c Merge pull request #1071 from kandros/fix-server-path

    ๐Ÿ›  fix server path

    ๐Ÿ”€ 9d7648aa Merge pull request #1072 from wtask/patch-1

    ๐Ÿ›  Fix a typo in sql example

    ๐Ÿ”€ 24400c9b Merge pull request #1079 from sonatard/remove-unused

    โœ‚ Remove unused code

    ๐Ÿ”€ a7c79891 Merge pull request #1081 from sonatard/fix-plugin-test

    ๐Ÿ›  Fix unlink file path in resolvergen test

    ๐Ÿ”€ e7bf7548 Merge pull request #1080 from sonatard/fix-testdata

    ๐Ÿ›  Fix test data

    • โœ… 3a61dc00 Fix unlink file path in resolvergen test

    • โœ… df5ac929 Fix test data

    • ๐Ÿšš b2843f67 Remove unused code

    • cff73f71 Add ContentType to Upload

    f0ebc0df Fix a typo in sql example

    I think todo is referenced to user by user_id field, not by todo.id

    • 22a43d77 fix server path

    ๐Ÿ‘• b788cce5 Merge pull request #1054 from 99designs/golint-free-resolvers

    ๐Ÿ‘• suppress golint messages

    ๐Ÿ”€ c515d403 Merge pull request #1053 from RichardLindhout/patch-3

    โž• Add practical example of getting all the requested fields

    ๐Ÿ”€ e57cd445 Merge pull request #1061 from halvdan/patch-1

    ๐Ÿ›  Fix mismatching documentation of Todo struct

    ๐Ÿ“š 1388fa94 Fix mismatching documentation of Todo struct

    ๐Ÿ“š Mismatch between the code and the getting started documentation.

    • โช 294884ad Rollback go.sum and go.mod as per feedback of @vektah

    • โฌ†๏ธ d8acf165 Upgrade to github.com/urfave/cli/v2

    • ๐Ÿ‘• 81bcbe75 suppress golint messages

    24813079 Add practical example of getting all the requested fields

    ๐Ÿ“š Based on this https://github.com/99designs/gqlgen/issues/954 was tagged as 'need documentation'

    ๐Ÿ”€ a53ce377 Merge pull request #1051 from 99designs/has-operation-context

    โž• Add function to check presense of operation context

    • 95e453bf Add function to check presense of operation context

    • ๐Ÿšš 36365c41 graphql/executor: move setExtensions()

    • 3acc9421 graphql/executor: ensure Executor implements graphql.GraphExecutor.

    • ๐Ÿ”€ f89b973b graphql/executor: merge ExtensionList into Executor

    • c16a77c3 graphql/handler: replace internal executor type

    • 8fa26cec graphql/executor: extract an Executor type from graphql/handler

    • โœ… d5d780c5 Point latest docs to 0.11.1

    • ๐Ÿš€ abaa0a04 v0.11.1 postrelease bump

    <!-- end of Commits --> <!-- end of Else -->

    <!-- end of If NoteGroups -->

  • v0.11.1 Changes

    February 18, 2020
    • ๐Ÿš€ 11af15a1 release v0.11.1

    ๐Ÿ”€ bc07188c Merge pull request #1038 from 99designs/feat-check-len

    check slice length

    • 2c3853c8 fix whitespace in comparison

    ๐Ÿ”€ 07a13861 Merge pull request #1043 from 99designs/ensure-panic-handlers-get-applied

    Ensure panic handlers get applied

    ๐Ÿ”€ 156d306d Merge pull request #1046 from appleboy/patch

    ๐Ÿ“„ docs(gin): missing import playground

    • ๐Ÿ“„ 26ee1aa1 docs(gin): missing import playground

    • โœ… 3abe5b32 add test

    • ๐Ÿ”€ 6ecdb88d Merge branch 'master' into feat-check-len

    • 2340f7a7 Ensure panic handlers get applied

    ๐Ÿ”€ 25d16761 Merge pull request #1039 from VitaliiLakusta/patch-1

    ๐Ÿ›  Fix link to examples directory in Federation docs

    • ๐Ÿ“„ 4c47ad16 Fix link to examples directory in Federation docs

    • 2506dce0 check slice len

    • 1a68df34 fix origin/master reference in switcher

    • ๐Ÿšš 199cfedf remove old docs that no longer run with new layout

    • 556c8484 fix paths

    • ๐Ÿ— 282100c8 use current layout to build old doc content

    • ๐Ÿš€ 4c38b8b4 v0.11.0 postrelease bump

    <!-- end of Commits --> <!-- end of Else -->

    <!-- end of If NoteGroups -->

  • v0.11.0 Changes

    February 17, 2020
    • ๐Ÿš€ 368597aa release v0.11.0

    โšก๏ธ e65d6228 Merge pull request #1036 from 99designs/update-v011-docs

    โšก๏ธ Update 0.11 migration docs

    • โšก๏ธ 11f97936 Update 0.11 migration docs

    ๐Ÿ”€ 2b3eed30 Merge pull request #1034 from 99designs/strip-underscores-from-entity-interfaces

    Trim underscores from around go identifiers

    • โšก๏ธ b2d9bfcb Update stale.yml

    • โšก๏ธ 1ac8b5ae Update stale.yml

    • 4b9dfa61 trim underscores from around go identifiers

    ๐Ÿ”€ 7cac3610 Merge pull request #1027 from sonatard/response-errors

    propagate resolver errors to response error in ResponseMiddleware

    ๐Ÿ”€ 14dccc57 Merge pull request #1022 from 99designs/feat-gqlparser-117

    ๐Ÿ“œ example about apply https://github.com/vektah/gqlparser/pull/117

    • ๐Ÿ“œ cf6f7683 bump to gqlparser v2

    ๐Ÿ”€ 4ece3857 Merge pull request #1028 from abhimanyusinghgaur/master

    ๐Ÿ—„ Respect includeDeprecated for EnumValues

    • 9638ce0f Fix format

    • 51b921fa Fix format

    • ๐Ÿ—„ 07ffcc82 Respect includeDeprecated for EnuValues

    • d58434c9 propagate resolver errors to response error in ResponseMiddleware

    • 59855925 go mod tidy

    • ๐Ÿ“œ e4530da6 apply https://github.com/vektah/gqlparser/pull/117

    ๐Ÿ”€ 30e23757 Merge pull request #1020 from 99designs/handle-interfaces-implementing-interfaces

    ๐Ÿ– Handle interfaces that implement interfaces

    • b7a58a1c Handle interfaces that implement interfaces

    ๐Ÿ”€ ab8d62b6 Merge pull request #1019 from 99designs/remove-source-reprinting

    โœ‚ Remove source reprinting

    • ๐Ÿ‘ 2f0fa0ef handle schema loading error better

    • ๐Ÿšš aacc9b1f Remove source reprinting

    ๐Ÿ”€ e289aaa0 Merge pull request #1018 from 99designs/federation-docs

    ๐Ÿ“„ Federation docs and examples

    • ๐Ÿ“„ 3045b2cf Federation docs and examples

    ๐Ÿ”€ 656a07d1 Merge pull request #1016 from 99designs/federation-entity-type

    Create a non generated federation _Entity type

    • 8850a527 Create a non generated federation _Entity type

    ๐Ÿ”€ 1d41c2eb Merge pull request #1012 from 99designs/federation-config

    ๐Ÿ‘ Allow configuring the federation output file location

    ๐Ÿ”€ afa9a150 Merge pull request #1013 from 99designs/feat-error-dispatch

    propagate errors to response context in DispatchError

    • 652aa2fb propagate errors to response context in DispatchError

    ๐Ÿ”€ 0fe1af8c Merge pull request #1011 from Khan/compound-keys

    ๐Ÿ‘ Compound key support in federation

    • ๐Ÿ”ง ad3c1c81 Allow configuring the federation output file location

    ๐Ÿ”€ b4a00e6c Merge pull request #1010 from Khan/query-exists

    ๐Ÿ‘‰ Make sure there's a Query node before trying to add a field to it.

    โœ… 65401637 Adding type with multiple keys to federation test

    โœ… Summary: The current federation test schema only has types with single keys (or no keys). Adding a type with multiple keys, including one non-String key, to test compound key federation code gen.

    โœ… Test Plan: - go test

    Reviewers: csilvers, miguel

    Differential Revision: https://phabricator.khanacademy.org/D60715

    ๐Ÿ‘ 3f714a46 Extending federation to support compound keys per Apollo spec

    Summary: ๐Ÿ”Œ Compound keys are not yet supported for federation in gqlgen. This diff adds support by modifying the federation plugin to handle a list of key fields on an entity rather than a single top-level key field. It will now look for "findBy..." in the resolver, rather than the original "FindBy". The federation plugin does not yet support more complicated FieldSets in the key, such as nested selections.

    References:

    โšก๏ธ Will update https://phabricator.khanacademy.org/D59469 with multiple key changes.

    โœ… Test Plan:

    • โœ… Tested Go GQL services using both single- and multiple-key federated types (assignments and content-library in webapp/services)
    • Ran gqlgen on non-federated services in webapp to ensure regular generation still works (donations service)
    • ๐Ÿšง WIP: creating unit tests; will submit as separate diff

    Reviewers: briangenisio, dhruv, csilvers, O4 go-vernors

    Reviewed By: dhruv, csilvers, O4 go-vernors

    Differential Revision: https://phabricator.khanacademy.org/D59569

    9f2a624b Make sure there's a Query node before trying to add a field to it.

    Federation adds some queries to the schema. There already existed code to insert a Query node if none existed previously. But that code โšก๏ธ was only put on addEntityToSchema(), and not the other place we update the query, addServiceToSchema().

    Almost always the old code was good enough, since we call โž• addEntityToSchema() before addServiceToSchema(). But there's on โž• addServiceToSchema(), so we need to do the query-existence check there too.

    ๐Ÿ”€ b941b970 Merge pull request #1007 from 99designs/handle-invalid-autoload-path

    ๐Ÿ“ฆ Give an appropriate error message when autoload isnt a valid package

    • 95b10809 bump appveyor go version for consistent behavour

    • 91a9ff97 fix bad copy from template

    • ๐Ÿ“ฆ d5d6f830 Give an appropriate error message when autoload isnt a valid package

    ๐Ÿ”€ f7667e12 Merge pull request #1009 from 99designs/interface-regression

    Interface regression

    • ffc419f3 Fix interfaces used as normal object types

    • โœ… 44cfb926 Test example for interface regression

    ๐Ÿ”€ 0ddb3ef3 Merge pull request #1006 from ravisastryk/entity-directives-lookup

    skip searching directives when entity is found

    • 395e1d73 skip searching directives when entity is found

    • e1f2282e bump to go 1.13 in ci

    ๐Ÿ”€ 34c92eba Merge pull request #1003 from 99designs/fix-chat-example

    ๐Ÿ›  fix chat example

    • 6bf88417 fix chat example

    ๐Ÿ“ฆ 8ed2ec59 Merge pull request #988 from 99designs/package-cache

    ๐Ÿ“ฆ Cache all packages.Load calls in a central object

    • ๐Ÿ“ฆ 9ccd7ed7 Cache all packages.Load calls in a central object

    ๐Ÿ”€ 565619a8 Merge pull request #993 from 99designs/resolver-generator-v2

    Resolver regenerator

    • cf4a3eb4 keep imports when scattering resolvers between files

    • โšก๏ธ da7c1e45 Update getting started docs

    • ๐Ÿ c233876e fix windows test paths

    • โœ… 93713a29 Add tests for code persistence

    • 3e507e0d separate resolver stubs by 1 empty line

    • โœ… 8a208af5 add tests covering ResolverConfig

    • 0๏ธโƒฃ f8e61961 set init to use new resolvers by default

    • dbaf355d copy through any unknown data

    • e7255580 copy old imports through before gofmt prunes

    • 6ec36504 Copy existing resolver bodies when regenerating new resolvers

    • 9e3b399d add resolver layout = follow-schema

    • โšก๏ธ 8a18895e Update to latest golangci-lint

    • ๐Ÿ”€ f7a67722 Merge pull request #985 from Khan/no-key-needed

    fa884991 Correctly generate a federated schema when no entity has a [@key](https://github.com/key).

    Normally, when a service is taking part in graphql federation, it will services can link to (that is, have an edge pointing to) the type that this service provides. The previous federation code assumed that was the case.

    ๐Ÿ‘€ types. It might seem that would mean the service is unreachable, since there is no possibility of edges into the service, but there are and top level Mutation edges. That is, if a service only provides a top-level query or top-level mutation, it might not need to define a

    โšก๏ธ This commit updates the federation code to support that use case.

    ๐Ÿ”€ 36aae4aa Merge pull request #994 from 99designs/feat-cache-ctx

    โž• Add context.Context to graphql.Cache interface's methods

    61e060bd Merge pull request #995 from alexsn/directiveroot_empty_lines

    โœ‚ Remove empty lines on DirectiveRoot generation

    • ๐Ÿšš 30c295c4 Remove empty lines on DirectiveRoot generation

    • 85cfa8a3 Add context.Context to graphql.Cache interface's methods

    ๐Ÿ”€ a6c7aafb Merge pull request #931 from fridolin-koch/master

    ๐Ÿ›  Fix for Panic if only interfaces shall be generated

    ๐Ÿ”€ ec4f6b15 Merge pull request #989 from 99designs/fix-intermittent-test-ka-failure

    ๐Ÿ›  Fix intermittent websocket ka test failure

    • โœ… 76035df5 Fix intermittent websocket ka test failure

    ๐Ÿ”€ aa407b1f Merge pull request #979 from 99designs/capture-read-times

    Capture read times

    • โœ… 4dd10086 fix test race by only stubbing now where we need to

    • 8dbce3cf Capture the time spent reading requests from the client

    ๐Ÿ“ฆ c6b3e2a1 Merge pull request #983 from vikstrous/name-for-package-global

    ๐Ÿ“ฆ single packages.Load for NameForPackage

    ๐Ÿ”€ ae79e75b Merge pull request #978 from 99designs/pluggable-error-code

    ๐Ÿ‘ Allow customizing http and websocket status codes for errors

    • 7f6f1667 bump x/tools for consistent import formatting

    • 842fcc11 review feedback

    • f0bea5ff Allow customizing http and websocket status codes for errors

    • ๐Ÿ“ฆ bd50bbcb single packages.Load for NameForPackage

    ๐Ÿ”€ 28c032d1 Merge pull request #982 from DavidJFelix/patch-1

    ๐Ÿ›  fix: explicitly exclude trailing comma from link

    ac67050a fix: explicitly exclude trailing comma from link

    • this looks dumb, but when the page is rendered, the link resolves with the comma, despite the comma being excluded in github rendering.
    • 4e95b363 fix some version switcher paths

    • 08369dfe add missing trailing slash on paths

    • ea347ca7 fetch all tags

    • 8c1a8f57 fix branch switching

    • 324efc5c add origin if missing

    • ๐Ÿ“„ cfa2907a Generate docs for all tags

    ๐Ÿ”€ 8218c734 Merge pull request #851 from marwan-at-work/federation

    Apollo Federation MVP

    • 48dc29c1 go 1.12 generate, 1.14 failed

    • โšก๏ธ b2e81787 update gqlparse to v1.2.1

    • โšก๏ธ d2a13d33 update go.mod

    ๐Ÿ”€ 0eef2fe2 Merge pull request #970 from spiffyjr/master

    ๐Ÿ›  Fix extra trimspace on nillable Unmarshals

    ๐Ÿ”€ 56b8eef2 Merge pull request #974 from oshalygin/docs/gqlgen-pg-example-repo

    โž• Add Link to Sample Project with GQLGen and Postgres

    f49936eb Add Link to Sample Project with GQLGen and Postgres

    This is a very straightforward project with numerous details in the README and the official ๐Ÿ“š documentation, but questions continue to pop up around how to use this project, organize the files and ultimately make data calls to some persistent layer.

    The https://github.com/oshalygin/gqlgen-pg-todo-example was built in order to show newcomers the following:

    • How to organize their graphql schema, resolvers, dataloaders and models
    • How to create a new dataloader
    • How to resolve with a dataloader and how to avoid some of the pitfalls(inconsistent db query to keys array order)
    • How to map models from a gql schema to structs

    While the examples in this project are helpful, they could benefit from more elaborate explanations in the code as well as the README to help newcomers get started. This PR is not intended to portray any of the examples negatively and should not be interpreted as such. There are many findings/lessons learned from the work that folks put together in those examples.

    README which covers a ton of the details on how to use this project:

    • db499561 force rebuild

    • ๐Ÿšš 0985a78e remove debug comments

    • โœ… 7f648425 add preliminary test_data

    • โœ… c9d6d94b add preliminary tests

    • 2345936e fix integration

    • aae7486d go generate

    • ๐Ÿšš 555a9546 go generate + remove directives nil check

    • 368d546d Apollo Federation MVP

    • 21e0e676 Fix extra trimspace on nillable Unmarshals

    • ๐Ÿšš f869f5a8 remove deprected handler call

    • ๐Ÿ”€ f0b83cb1 fix merge conflict

    • โšก๏ธ cdf96721 update generated code

    • 21356ce3 markdown cleanup

    ๐Ÿ”จ 412a72fe Merge pull request #885 from 99designs/handler-refactor

    ๐Ÿ”จ Refactor handler package

    • bac79c54 force clean git checkout

    • ๐Ÿ“„ dca9e4a5 Add migration docs

    ๐Ÿ”€ 5106480b Merge pull request #947 from 99designs/handler-oc-handling

    always return OperationContext for postpone process

    • 922db1e3 always return OperationContext for postpone process

    • ๐Ÿš€ 8794f03e v0.10.2 postrelease bump

    • ๐Ÿ“ฆ 14dbf1aa use new handler package in new test

    • a339a042 panic if operation context is missing when requested

    • ๐Ÿ“„ a13a0f5f add docs on extension name conventions

    • 458fa0de Add more interface assertions

    • d0836b72 Expose APQ stats

    • cf14cf10 fix: Fix no code generation for only interfaces

    • ๐Ÿ”จ dc76d029 Merge remote-tracking branch 'origin/master' into handler-refactor

    • ๐Ÿ“ฆ 572fb419 remove all references to deprecated handler package

    • dc622346 Tune allocs for benchmarks

    • ๐Ÿ”จ a6f94626 Merge remote-tracking branch 'origin/master' into handler-refactor

    • c3f93810 fix benchmark

    • ๐Ÿšš 631b48a5 remove automatic field stat collection to reduce time calls

    • a77d9fc2 Add generated stanzas back in

    • 0ee185b8 fix duplicate header sends

    • 7cbd75db fix APQ signature

    • 67fa2104 allow extensions to declare their own stats

    • e9502ae0 Make extensions validatable

    • fc727c9c Add a signpost method to handler extension interface

    • ๐Ÿ›  0a39ae20 add fixed complexity limit

    • ๐Ÿ—„ f2ef5ec3 more deprecations and more compat

    • 2898a622 rename ResolverContext to FieldContext

    • 092ed95f collect field timing in generated code

    • ๐Ÿšš 848c627c remove DirectiveMiddleware

    • 0๏ธโƒฃ 40f08868 add NewDefaultServer

    • 1b57bc3e Rename RequestContext to OperationContext

    • ๐Ÿ‘• 3476ac44 fix linting issues

    • โšก๏ธ 479abbef update generated code

    • bc981569 Combine root handlers in ExecutableSchema into a single Exec method

    • ๐Ÿ“ฆ 473a0d25 Implement bc shim for old handler package

    • ๐Ÿšš 631142cf move writer all the way back to the transport

    • ๐Ÿ”€ c7bb03a8 merge executable schema entrypoints

    • ๐Ÿ“ฆ e7e913d9 Remove remains of old handler package

    • ๐Ÿ”Œ 8c5340c1 Add complexity limit plugin

    • 0965420a Add query document caching

    • aede7d1c Add multipart from transport

    • โœ… 64cfc9ad extract shared handler test server stubs

    • a70e93bc consistently name transports

    • 9d1d77e6 split context.go into 3 files

    • 72c47c98 rename result handler to response handler

    • 4a69bcd0 Bring operation middleware inline with other handler interfaces

    • ab5665ad Add result context

    • c3dbcf83 Add apollo tracing

    • ๐Ÿ”ง f00e5fa0 use plugins instead of middleware so multiple hooks can be configured

    • ๐Ÿ— a7c5e660 build middleware graph once at startup

    • ๐Ÿ“œ 2e0c9cab mark validation and parse errors separately to execution errors

    • cb99b42e Add websocket transport

    • ๐Ÿ“ฆ eed1515c Split middlware out of handler package

    • ๐Ÿ“ฆ b5089cac Split transports into subpackage

    • d0f68303 port json post

    • afe241b5 port over tracing

    • 311887d6 convert APQ to middleware

    • da986181 port over the setter request context middleware

    • 249b602d Start drafting new handler interfaces

    <!-- end of Commits --> <!-- end of Else -->

    <!-- end of If NoteGroups -->

  • v0.10.2 Changes

    November 28, 2019
    • ๐Ÿš€ f276a4e6 release v0.10.2

    ๐Ÿ”€ 9e989d94 Merge pull request #929 from nmaquet/check-nil-interface-ptrs

    Don't crash when interface resolver returns a typed nil

    ๐Ÿ”€ 6f20101c Merge pull request #940 from vikstrous/optional-modelgen

    ๐Ÿ‘‰ make model generation optional

    ๐Ÿ”€ 9b9dd562 Merge pull request #942 from vikstrous/disable-validation

    โž• add skip_validation flag

    ๐Ÿ“ฆ f9f2063a Merge pull request #941 from vikstrous/qualify-package-path-faster

    ๐Ÿ“ฆ shortcut QualifyPackagePath in go module mode

    • 4db0e6ec keep function private

    • c06f05b3 add doc

    • bd353b3e add skip_validation flag

    • ๐Ÿ“ฆ b829628d shortcut QualifyPackagePath in go module mode

    • ๐Ÿ“„ 3a05d2dd add mention in the docs

    • c2c2d7de make model generation optional

    ๐Ÿ”€ d3f63844 Merge pull request #939 from mjarkk/patch-1

    ๐Ÿ“„ (docs) graph-gophers now supports Struct Field resolving

    • ๐Ÿ‘ ba3d0189 graph-gophers now supports Struct Field resolvers

    ๐Ÿ”€ e747d923 Merge pull request #938 from lulucas/master

    ๐Ÿ›  modelgen hook docs fixed

    ๐Ÿ”€ 63be1d5e Merge pull request #1 from lulucas/modelgen-hook-patch-1

    ๐Ÿ”Œ modelgen hook docs use plugin poitner

    ๐Ÿ”Œ 33fc16b1 modelgen hook docs use plugin poitner

    ๐Ÿ“ฆ and add modelgen package to ModelBuild type

    • fcfe595e Add a comment

    โœ… 59946087 Add unit test for the interface resolver / typed nil interaction

    This added test shows that the _Dog_species automatically generated resolver will crash unless the extra nil check is added in interface.gotpl.

    • 201768f0 Regenerate examples

    85ca9efe Return graphql.Null in interface resolver when passed a typed nil

    Go's dreaded typed nil strikes again. Nil pointers of struct types aren't equal to nil interface pointers.

    ๐Ÿ‘€ See https://golang.org/doc/faq#nil_error

    ๐Ÿ”€ 15b30588 Merge pull request #894 from 99designs/enum-var-value-coercion

    ๐Ÿ‘Œ Improve enum value (with vars) validation timing

    • 568433a2 fix ci failed

    • ๐Ÿ”€ 0ccfc7e0 Merge branch 'master' into enum-var-value-coercion

    ๐Ÿ”€ 9cfd817e Merge pull request #897 from mskrip/modelgen-hook

    โž• Add possibility to hook into modelgen plugin

    • ๐Ÿ”€ c1e64148 Merge pull request #900 from zannen/master (closes #896)

    • 8a8f0a0f Add autogenerated files (#896)

    • ๐Ÿšš 531729df Move test schema file from example dir into codegen/testserver (#896)

    • 5144775f Add example to check for regression of #896

    • 3b5df4ce Add check for obviously different TypeReferences (#896)

    • โšก๏ธ fb96756a Update generated content (#896)

    โšก๏ธ fd201a8c Update UniquenessKey for when Element is/isn't nullable (#896)

    With a schema: type Query { things1: [Thing] # Note the lack of "!" }

    type Subscription { things2: [Thing!] # Note the "!" }

    the UniquenessKey for the two lists is the same, which causes non-deterministic output.

    • 2a269dd3 Add modelgen hook recipe

    • โœ… 6ceb76b6 Test tag generation only by looking up extected tag strings

    ๐Ÿ”Œ 1f272d1b Add possibility to hook into modelgen plugin (closes #876)

    This change introduces option to implement custom hook for model ๐Ÿ”Œ generation plugin without the need to completly copy the whole modelgen plugin.

    that can be:

    func mutateHook(b *ModelBuild) *ModelBuild {
        for _, model := range b.Models {
            for _, field := range model.Fields {
                field.Tag += ` orm_binding:"` + model.Name + `.`  +  field.Name + `"`
            }
        }
    
        return b
    }
    
    ...
    
    func main() {
        p := modelgen.Plugin {
            MutateHook: mutateHook,
        }
    
        ...
    }
    
    

    ๐Ÿ”€ 99a55da2 Merge pull request #927 from matiasanaya/feature/bind-to-embedded-interface

    Bind to embedded interface

    • 70e860cc Bind to embedded interface method

    • ๐Ÿ›  a745dc78 Fixes #843: Bind to embedded struct method or field

    ๐Ÿ”€ f80cab06 Merge pull request #923 from 99designs/gqlparser-1.2.0

    โšก๏ธ Update to gqlparser-1.2.0

    • โšก๏ธ 7508f4e5 Update to gqlparser-1.2.0

    ๐Ÿ”€ 7653a681 Merge pull request #916 from karthikraobr/patch-1

    3->4 scalars

    ๐Ÿ”€ 8faa0e3a Merge pull request #917 from colelawrence/patch-1

    ๐Ÿ“„ docs: Fix typo in title of "Resolvers"

    • ๐Ÿ”€ f7d888f9 Merge branch 'master' into patch-1

    • โšก๏ธ d722ac66 Update scalars.md

    ๐Ÿ”€ 1172128c Merge pull request #904 from cfilby/fix-config-docs

    ๐Ÿ“š Minor Documentation Tweaks

    • 935f11ed Fix typo in title

    • 026d029c 3->4 scalars

    • 5eb6bef6 Fix weird indending

    • ๐Ÿ”€ 756dcf6b Merge pull request #907 from lian-yue/patch-1 (closes #860)

    • โšก๏ธ 2a943eed Update directive.go (closes #860)

    ๐Ÿ”€ adbceeea Merge pull request #902 from cfilby/fix-int64-marshalling

    โž• Add support for int64 IDs

    • โšก๏ธ 13c3d922 Update id function

    • โœ… 37191779 Add more tests

    • 0968e0cb Fix VSCode Weirdness, validate formatting

    • a20c96d5 More edits

    • e9e88b41 Stop double indending

    • ๐Ÿ›  9f4df68e More minor doc fixes

    • ๐Ÿ“š 7abf0ac3 Fix documentation bug

    • e9730ab9 gofmt

    • ๐Ÿšš c3930f57 Remove redundant paren, add test

    • ๐Ÿ‘ 395fc85e Add support for int64 ids

    ๐Ÿ”€ dbc88428 Merge pull request #889 from thnt/fix-init-with-schema-arg

    ๐Ÿ›  fix init not use custom schema filename

    ๐Ÿ”€ 4c35356c Merge pull request #883 from 99designs/handle-invalid-types

    ๐Ÿ“ฆ Gracefully handle invalid types from invalid go packages

    • ๐Ÿ“ฆ 25b70271 Gracefully handle invalid types from invalid go packages

    ๐Ÿ”€ 046054db Merge pull request #882 from 99designs/testserver-autobind

    โœ… Use autobinding in testserver

    • โœ… 12c963a4 Use autobinding in testserver

    ๐Ÿ”€ 305116a0 Merge pull request #879 from coderste/patch-1

    ๐Ÿ›  Fixed broken GitHub link within the APQ page

    ๐Ÿ›  b4867b3f Fixed broken GitHub link within the APQ page

    ๐Ÿ“š Small documentation change to fix a broken GitHub link.

    • ๐Ÿš€ 9f6b0ee4 v0.10.1 postrelease bump

    <!-- end of Commits --> <!-- end of Else -->

    <!-- end of If NoteGroups -->

  • v0.10.1 Changes

    September 25, 2019
    • ๐Ÿš€ efb6efe0 release v0.10.1

    ๐Ÿ”€ 955f3499 Merge pull request #877 from 99designs/fix-websocket-client

    ๐Ÿ›  Fix websocket connections on test client

    • โœ… ef24a1cc Fix websocket connections on test client

    • ๐Ÿš€ c997ec0c v0.10.0 postrelease bump

    <!-- end of Commits --> <!-- end of Else -->

    <!-- end of If NoteGroups -->

  • v0.10.0 Changes

    September 24, 2019
    • ๐Ÿš€ 75a83752 release v0.10.0

    ๐Ÿ”€ 0bc3cc86 Merge pull request #875 from 99designs/fix-clientwide-opts

    ๐Ÿ›  Fix client global options

    ๐Ÿ”ง b43edf5d Merge pull request #874 from 99designs/configurable-slice-element-pointers

    โž• Add config option to omit pointers to slice elements

    • 921aa9cf Fix client global options

    • d0098e60 Add config option to omit pointers to slice elements

    ๐Ÿ”€ 01893280 Merge pull request #819 from 99designs/fix-directive-interface-nils

    ๐Ÿ›  Fix directives returning nils from optional interfaces

    • 34d10975 Fix directives returning nils from optional interfaces

    ๐Ÿ”€ eea38e55 Merge pull request #862 from qhenkart/fixes-shareable-link-setting

    ๐Ÿ›  fixes shareable link button in playground

    ๐Ÿ”€ b5e78342 Merge pull request #870 from 99designs/ws-init-ctx

    ๐Ÿ‘ Allow changing context in websocket init func

    ๐Ÿ”€ 034aa627 Merge pull request #871 from 99designs/subscription-middleware

    Call middleware and directives for subscriptions

    ๐Ÿ”€ 7b41ca3c Merge pull request #872 from 99designs/autobind-prefix

    ๐Ÿ‘ Allow prefixes when using autobind

    ๐Ÿ”€ de8e559f Merge pull request #854 from wabain/nested-map-interface

    ๐Ÿ›  Fix for nested fields backed by map or interface

    ๐Ÿ”€ cc64f331 Merge pull request #828 from 99designs/feat-rc

    introduce RequestContext#Validate and use it instead of NewRequestContext function

    • ๐Ÿ›  ed2a8536 Allow prefixes when using autobind

    • 819cc71b Call middleware and directives for subscriptions

    • 5a7c5903 Allow changing context in websocket init func

    ๐Ÿ”จ 17f32d28 Merge pull request #861 from 99designs/refactor-test-client

    ๐Ÿ”จ Refactor test client

    โšก๏ธ ed14cf04 Update playground.go

    ๐Ÿ›  fix formatting

    โšก๏ธ ee8d7a17 Update playground.go

    ๐Ÿ›  fix formatting

    • ๐Ÿ›  27389951 fixes shareable link button in playground

    • ๐Ÿ”จ 4162d11e Refactor test client

    • 8ed6ffc7 Fix for nested fields backed by map or interface

    • โšก๏ธ 55b21442 Update stale.yml

    • feebee7d stalebot

    ๐Ÿ”€ 7e643fdc Merge pull request #838 from 99designs/fix-directive-nil

    ๐Ÿ›  fix directives return nil handling

    • ๐Ÿ”€ f33e09e8 Merge branch 'master' into fix-directive-nil

    ๐Ÿ”€ 8590edef Merge pull request #839 from 99designs/fix-nil-directive

    ๐Ÿ”จ refactor unimplemented directive handling

    • ๐Ÿ”จ 1f7ed0d5 refactor unimplemented directive handling

    • 94ad3f2e fix directives return nil handling

    • ๐Ÿš€ 5c644a6f v0.9.3 postrelease bump

    • 82758be8 fix error

    • edde2d03 add OperationName field to RequestContext

    • 830e466e introduce RequestContext#Validate and use it instead of NewRequestContext function

    <!-- end of Commits --> <!-- end of Else -->

    <!-- end of If NoteGroups -->

  • v0.9.3 Changes

    August 16, 2019
    • ๐Ÿš€ a7bc468c release v0.9.3

    ๐Ÿ”€ fc02cfe8 Merge pull request #829 from 99designs/fix-2directives

    ๐Ÿ›  fix go syntax issue when field has 2 directives

    ๐Ÿ”€ 924f620c Merge pull request #831 from yudppp/patch-1

    ๐Ÿ›  Fixed scalar reference documentation

    • ๐Ÿ›  ca4cc732 Fixed scalar documents

    • cc9fe145 fix go syntax issue when field has 2 directives

    • ๐Ÿš€ 6b70be03 v0.9.2 postrelease bump

    <!-- end of Commits --> <!-- end of Else -->

    <!-- end of If NoteGroups -->

  • v0.9.2 Changes

    August 08, 2019
    • ๐Ÿš€ 4eeacc6e release v0.9.2

    ๐Ÿ 5628169d Merge pull request #822 from 99designs/windows-import-path-loop

    ๐Ÿ›  fix for windows infinite loop

    • ๐Ÿ‘• a861aa52 lint fix

    • ๐Ÿ 6348a563 fix for windows infinite loop

    ๐Ÿ”€ 12893fa4 Merge pull request #821 from 99designs/fix-init

    ๐Ÿ›  Fix config loading during gqlgen init

    • 5fafe79c Fix config loading during gqlgen init

    ๐Ÿ”€ 2599f560 Merge pull request #820 from 99designs/keepalive-on-init

    send keepalive on init

    • ๐Ÿ“„ 139e4e8d More directive docs

    • f93df340 send keepalive on init

    ๐Ÿ”€ 8f0d9b48 Merge pull request #816 from nii236/patch-1

    โšก๏ธ Update cors.md to allow CORS for websockets

    • 297e09c4 change origin check

    ๐Ÿ”€ 410d8322 Merge pull request #805 from andrey1s/golangci

    ๐Ÿ‘• enable-all linters on golangci-lint

    • ๐Ÿ‘• 504a96bc set enabled linters

    • ๐Ÿ‘• 91966ef4 add example to lint

    • bcddd7aa fix typo in readme

    • โšก๏ธ cce06f1d update lint in circleci

    ๐Ÿ”€ da1c208e Merge pull request #795 from oshalygin/feature/issue-794-resolve-dead-readme-link

    โšก๏ธ Update GraphQL Reference Link

    ๐Ÿ”€ 8343c32c Merge pull request #784 from y15e/add-missing-header

    โž• Add a missing "Upload" header

    ๐Ÿ”€ 8302463f Merge pull request #797 from muesli/format-fixes

    Format import order using goimports

    ๐Ÿ”€ f2825e09 Merge pull request #801 from Schparky/patch-1

    ๐Ÿ“š Documentation: getting-started edits

    ๐Ÿ”€ 3db5627f Merge pull request #807 from flrossetto/patch-1

    ๐Ÿ›  Fix doc

    • โšก๏ธ ab228f1b Update cors.md to allow CORS for websockets

    c4ac9347 Fix doc

    map[string]{interface} -> map[string]interface{}

    • fbbed5b8 use alias when invalid pkg name

    • ๐Ÿ‘• 2591ea36 fix lint prealloc

    • ๐Ÿ‘• 3b0e44fe fix lint misspell

    • ๐Ÿ‘• 6ff62b61 fix lint gocritic

    • ๐Ÿ‘• cb7f482b fix lint unparam

    • ๐Ÿ‘• 620552be fix lint goimports

    • โšก๏ธ 477e804e update config golangci

    • 5b203bcc clarify where the go:generate line should be added

    • 2a3df24e Replace the -v flag as described below.

    • f3eeb639 Clarify that the schema file will be generated

    • 3ac17960 Missing '*' in Todos resolver example

    • bd598c2c Format import order using goimports

    โšก๏ธ 419f966d Update GraphQL Reference Link (closes #794)

    • โšก๏ธ The link in the readme has been updated to reference a post by Ivรกn Corrales Solera, "Dive into GraphQL". The previous link does not resolve, likely because the personal site is no longer hosted.

    ๐Ÿ”€ 373359de Merge pull request #781 from 99designs/fix-default-directives-init

    0๏ธโƒฃ Set default directives after parsing config

    • ca8b21e3 Add a missing header

    • 0๏ธโƒฃ 8cab5fba Set default directives after parsing config

    ๐Ÿ”€ d2c5bf2a Merge pull request #780 from zdebra/master

    ๐Ÿ›  fixed generating a description to golang comments for enum type

    ๐Ÿ”€ bf2cc90e Merge pull request #768 from 99designs/fix-ptr-from-directive

    ๐Ÿ›  Fix pointer returns from directive

    • ๐Ÿ›  446c3df3 fixed generating a description to golang comments for enum type

    • ๐Ÿ”€ 414a4d34 Merge pull request #771 from sunfmin/master

    • 4d1484b0 Fix doc for how to use @goField directives forceResolver option

    • 6f3d7310 Fix pointer returns from directive

    • ๐Ÿš€ 21b65112 v0.9.1 postrelease bump

    <!-- end of Commits --> <!-- end of Else -->

    <!-- end of If NoteGroups -->

  • v0.9.1 Changes

    June 27, 2019
    • ๐Ÿš€ b128a291 release v0.9.1

    ๐Ÿš€ 1bbc0cd6 Update release process to keep tags on master

    this was affecting the version shown in go modules when using commits

    ๐Ÿ”€ 5ffc2975 Merge pull request #764 from 99designs/fix-field-directives-on-roots

    ๐Ÿ›  fix field schema directives applied to roots

    • ef3830b5 fix field schema directives applied to roots

    ๐Ÿ”€ 17ee40ba Merge pull request #761 from 99designs/autobinding

    Autobind models

    • b716bfac Autobind models

    ๐Ÿ”€ fc3755f1 Merge pull request #732 from 99designs/schemaconfig-plugin

    โž• Add a plugin for configuring gqlgen via directives

    • ๐Ÿ“„ c14f8650 Add docs

    • ๐Ÿ”€ 64aca616 Merge remote-tracking branch 'origin/master' into schemaconfig-plugin

    ๐Ÿ”€ 5e7e94c8 Merge pull request #756 from andrey1s/field

    generate field defenition and execute field directive

    ๐Ÿ”€ ad2ca304 Merge pull request #759 from 99designs/circle-workflows

    CircleCI workflows

    • 0fc822ca CircleCI workflows

    ๐Ÿ”€ 2dc8423b Merge pull request #758 from franxois/patch-1

    โšก๏ธ Update dataloaders.md

    โšก๏ธ d0db28ab Update dataloaders.md

    ๐Ÿ‘‰ Make SQL request use requested IDs

    • โœ… a58ecfe9 add example and test field directive

    • โšก๏ธ 526beecb update generate field

    • 6e9d7dab generate types directive by location

    • dfec7b68 define fieldDefinition template

    • be890ab9 use UnmarshalFunc in args directives implement

    • dd162f04 define implDirectives template

    ๐Ÿ 56f3f92b Merge pull request #755 from 99designs/fix-globbing-windows

    ๐Ÿ›  fix globbing on windows

    • ๐Ÿ a4480fb0 fix globbing on windows

    ๐Ÿ”€ ba176e2e Merge pull request #754 from 99designs/coveralls

    โž• Add coveralls

    • f28ed264 Add coveralls

    ๐Ÿ”€ f4a69ab5 Merge pull request #744 from andrey1s/directive

    โž• add Execute QUERY/MUTATION/SUBSCRIPTION Directives

    • โœ… dbd2cc6e simplify resolver test

    ๐Ÿ”ง 7fed71b6 Merge pull request #728 from fgallina/make-generated-resolver-dependent-types-follow-configured-type

    resolvergen: use the resolver type as base name for dependent types

    ๐Ÿ”€ cb284c56 Merge pull request #734 from DBL-Lee/master

    Automatic Persisted Queries

    ๐Ÿ”€ 726a94f4 Merge pull request #750 from 99designs/ws-connection-param-check

    [websocket] Add a config to reject initial connection

    • ๐Ÿšš 69d7e282 move directive to directives.gotpl

    ๐Ÿ”€ 090f0bd9 Merge pull request #722 from marwan-at-work/deps

    resolve all pkg dependencies

    • โšก๏ธ c397be0c Update websocketInitFunc to return error instead of boolean

    • โœ… be18ae1f Add a test

    • ๐Ÿ”จ a6508b6d Update typing, function name and small code refactor

    • e6d791a9 Add websocketOnConnectFunc as a config that can be used to validate websocket init requests

    c5acbead resolvergen: use the resolver type as base name for dependent types

    The template was outputing invalid code since the resolver type was not used in places like the embedding at {query,mutation}Resolver.

    This change also ensures that objects like {query,mutation}Resolver also use the user provided type name as suffix.

    Here's the resulting diff on the code generation with type: GeneratedResolver in the resolver config:

    diff -u resolver.go resolvernew.go
    --- resolver.go 2019-05-26 20:04:15.361969755 -0300
    +++ resolvernew.go      2019-05-26 20:04:54.170737786 -0300
    @@ -7,20 +7,20 @@
     type GeneratedResolver struct{}
    
     func (r *GeneratedResolver) Mutation() MutationResolver {
    -       return &mutationResolver{r}
    +       return &mutationGeneratedResolver{r}
     }
     func (r *GeneratedResolver) Query() QueryResolver {
    -       return &queryResolver{r}
    +       return &queryGeneratedResolver{r}
     }
    
    -type mutationResolver struct{ *Resolver }
    +type mutationGeneratedResolver struct{ *GeneratedResolver }
    
    -func (r *mutationResolver) CreateTodo(ctx context.Context, input NewTodo) (*Todo, error) {
    +func (r *mutationGeneratedResolver) CreateTodo(ctx context.Context, input NewTodo) (*Todo, error) {
            panic("not implemented")
     }
    
    -type queryResolver struct{ *Resolver }
    +type queryGeneratedResolver struct{ *GeneratedResolver }
    
    -func (r *queryResolver) Todos(ctx context.Context) ([]*Todo, error) {
    +func (r *queryGeneratedResolver) Todos(ctx context.Context) ([]*Todo, error) {
            panic("not implemented")
     }
    
    • โšก๏ธ cfdbc39a update QueryDirectives

    • f32571ee add SUBSCRIPTION Directive

    • โšก๏ธ 32462d0f update example todo add directive with location QUERY and MUTATION

    • 3eec887a add Execute QUERY/MUTATION/SUBSCRIPTION Directives

    • 8fcc1868 format

    ๐Ÿ”€ e0e1e318 Merge pull request #1 from radev/master

    ๐Ÿ‘Œ Support for external APQ cache

    • ๐Ÿ“š 9873d998 Add APQ documentation with example

    • ๐Ÿ‘ 48292c10 Support pluggable APQ cache implementations.

    • 694f90aa Merge pull request #717 from cbelsole/schema_file_globbing (closes #631)

    • 9be5aad0 Don't inject builtins during schema config

    • ๐Ÿ‘ 8dc17b47 support GET for apq

    • ๐Ÿ‘ d36932c5 support automatic persisted query

    • ๐Ÿ”Œ de75743c Add plugin for providing config via schema directives

    • 17a82c37 Provide config to skip generating runtime for a directive

    ๐Ÿ”€ ba7092c5 Merge pull request #724 from saint1991/patch-1

    โž• added a missing close bracket

    • 9c1f8f2a added a missing close bracket

    • 3dd8baf5 resolve all pkg dependencies

    • ๐Ÿ”€ 1617ff28 Merge pull request #718 from hh/fix-docs (closes #714)

    • ๐Ÿ“š 9d332a7d Fixing getting-started documentation

    • โšก๏ธ 39db1477 updated docs

    • e32c82be cleanup

    • ๐Ÿ›  e9389ef8 added schema file globbing fixes #631

    ๐Ÿ”€ 4f163cbc Merge pull request #713 from 99designs/faq

    โž• Add faq section

    • 3a21b369 Add faq section

    <!-- end of Commits --> <!-- end of Else -->

    <!-- end of If NoteGroups -->

  • v0.9.0 Changes

    May 15, 2019
    • ๐Ÿš€ ea4652d2 release v0.9.0

    ๐Ÿ”€ f3c8406d Merge pull request #710 from 99designs/slice-pointers

    ๐Ÿ‘‰ Use pointers to structs inside slices

    • e669d476 fix imports for vendor based projects

    • 315141d9 Use pointers to structs inside slices

    ๐Ÿ”€ 9a6a10ab Merge pull request #706 from 99designs/mapping-primitive

    ๐Ÿ›  Fix mapping object types onto go primitives

    • a5120054 fix binding to primitive non leaf types

    • โœ… b0cd95a1 Test mapping object types onto go string

    ๐ŸŽ eaa61bb5 Merge pull request #707 from 99designs/gomodules-performance

    ๐Ÿ‘‰ make gqlgen generate 10x faster in some projects

    ๐Ÿ”€ ab961ce0 Merge pull request #705 from 99designs/fix-error-race

    ๐Ÿ›  Fix a data race when handling concurrent resolver errors

    • 71cc8554 make gqlgen generate 10x faster in projects with cgo

    • โœ… cab4babe Test mapping object types onto go primitives

    • 962470de Fix a data race when handling concurrent resolver errors

    ๐Ÿ”€ 9ca43ba9 Merge pull request #701 from 99designs/modelgen-pointers

    ๐Ÿ‘‰ Use pointers when embedding structs in generated structs

    • 4f5e9cf0 always use pointers when refering to structs in generated models

    ๐Ÿ”€ e2ac8480 Merge pull request #704 from tul/doc-typo

    ๐Ÿ›  Fix typo

    • 80ebe644 Fix typo

    ๐Ÿ”€ 0bd90809 Merge pull request #700 from 99designs/fix-interface-caseing

    ๐Ÿ›  Fix interface casing

    ๐Ÿ”€ 5586ee2c Merge pull request #702 from 99designs/drop-automatic-zeroisnull

    โฌ‡๏ธ Drop automatic conversion of IsZero to null

    • 75aa99ad Drop automatic conversion of IsZero to null

    • 46c40b74 Fix interface casing (closes #694)

    ๐Ÿ”€ e49d44f7 Merge pull request #689 from tgwizard/enforce-request-content-type

    Enforce content type for POST requests

    • 78f277e9 run go generate

    • ๐Ÿ”€ d4b3de3a Merge remote-tracking branch 'origin/master' into enforce-request-content-type

    ๐Ÿ”€ f8ef6d2e Merge pull request #668 from mbranch/complexity

    ๐Ÿ›  Fix: complexity case selection

    ๐Ÿ”€ c4805049 Merge pull request #655 from hantonelli/file-upload

    File upload

    • 5d1dea0a run go generate

    • ๐Ÿ”€ 8a0c34a4 Merge branch 'master' into file-upload

    ๐Ÿ”€ 4e359aa2 Merge pull request #686 from qhenkart/master

    โž• Adds default custom scalar of interface{}

    • โšก๏ธ aeccbce0 Update test include an example that uses io.Read interface directly

    • ๐Ÿ“š d9dca642 Improve documentation

    • f30f1c31 Fix fmt

    • 54226cdb Add bytesReader to reuse read byte array

    02e9dd8e Fix complexity case selection

    ๐Ÿ‘‰ Use the GraphQL field name rather than the Go field name in the generated Complexity func.

    Before this patch, overloading complexity funcs was ineffective because they were never executed.

    It also ensures that overlapping fields are now generated; mapping all possible field names to the associated complexity func.

    • ๐Ÿšš bf2d07a4 moves naming convention to a non-go standard

    ๐Ÿ”€ d1e8acda Merge pull request #687 from stereosteve/fix-includeDeprecated

    ๐Ÿ›  Fix: omit deprecated fields when includeDeprecated=false

    • f7d0b9c8 Enforce content type for POST requests

    • ๐Ÿ—„ 7d0b8eec Fix: omit deprecated fields when includeDeprecated=false

    • ๐Ÿ“„ 89c87345 fix grammar in docs

    • 85643f5d fix import

    • โšก๏ธ ca96a155 update docs

    • 1de25d0c adds interface scalar type

    • 43fc53f9 Improve variable name

    • ๐Ÿšš b961d34e Remove wrapper that is now not required

    • ๐Ÿ‘• bb023476 Lint code

    • f8484159 Modify graphql.Upload to use io.ReadCloser. Change the way upload files are managed.

    โช 0306783e Revert "Change graphql.Upload File field to FileData."

    โช This reverts commit 7ade7c2

    ๐ŸŽ afe33f73 Merge pull request #680 from asp24/collect-fields-performance

    ๐Ÿ‘ Better CollectFields performance

    • ๐ŸŽ 7ba1b3b2 graphql.CollectFields now accept *RequestContext as first arg It was done because RequestContext is a part of executionContext and can be passed directly without extraction from ctx. This is increasing performance when model depth is high

    • 5dfa2285 Pre-allocate mem for collectFields() method result slice

    • 88cdbdf1 Rename getOrCreateField to getOrCreateAndAppendField to describe behaviour

    • a74abc47 Early return in shouldIncludeNode if directives empty

    • 7ade7c21 Change graphql.Upload File field to FileData.

    • โœ… da52e810 Extend test and don't close form file.

    ๐Ÿ”€ 1c95d42a Merge pull request #678 from jonatasbaldin/gin-context-recipe

    ๐Ÿ›  Fix unset key and comment block at Gin recipe docs

    • 0b39c445 Fix unset key and comment block

    ๐Ÿ”€ 5aa6a20b Merge pull request #673 from marwan-at-work/tpl

    codegen/templates: allow templates to be passed in options instead ofโ€ฆ

    • 37fd067e fix typo

    • ๐Ÿ“ฆ e69b7399 add docs to the templates package

    ๐Ÿ”€ 8cae895b Merge pull request #676 from jonatasbaldin/gin-context-recipe

    โž• Add recipe to use gin.Context

    • โšก๏ธ 40c7b952 update test name

    • 5418a290 Add recipe to use gin.Context

    • โœ… 16f392ee add unit test

    • a0ee7172 codegen/templates: allow templates to be passed in options instead of os files

    • ๐Ÿ“š 2cf7f452 Fix comments (add request size limit, remove useless comments, improve decoding and function signature, improve documentation)

    ๐Ÿ”€ 5ff60925 Merge pull request #665 from ezeql/patch-1

    โšก๏ธ update README.md

    โšก๏ธ b42e1ba6 update README.md

    ๐Ÿ›  fix link

    • โœ… d3770395 Fix tests.

    • ๐Ÿ‘• 2c1f8573 Fix lint errors.

    • 73b3a536 Fmt graphql.go

    • โœ… 83cde4b6 Fix tests. Improve code format.

    • โšก๏ธ 425849a6 Improve fileupload example readme. Update scalars.md. Add file-upload.md

    • ๐Ÿ”ง 849d4b1e Make uploadMaxMemory configurable

    • fc318364 Improve format, inline const.

    • ๐Ÿšš 662dc337 Move Upload to injected if defined in the schema as scalars

    • ๐Ÿ”€ f244442e Fix merge. Remove regexp check.

    ๐Ÿ”€ bf79bc92 Merge branch 'master' into next