Commit Graph

  • 65d934a705 Add some more tests for config validation, and fix some gaps (#274) main Ben Kraft 2023-05-07 17:52:08 -07:00
  • ff790e1c06 Add an option to handle enums with ugly casing (#270) Ben Kraft 2023-05-07 12:15:13 -07:00
  • 9b2f16c088 Add some better tests for use_struct_references (#273) Ben Kraft 2023-05-06 14:12:00 -07:00
  • d09d25ef9d Documentation tweaks relating to releases (#271) Ben Kraft 2023-05-06 11:59:00 -07:00
  • c61d7acaa5 Add "generic" option to the "optional" configuration for handling nullable types (#252) Dylan R. Johnston 2023-05-07 01:40:03 +08:00
  • 94b6a71403 Release v0.6.0 (#269) Ben Kraft 2023-05-06 10:33:37 -07:00
  • 15f507b8de fix: premarshal structs get generated with omitempty tag (#267) Kevin Chen 2023-05-05 12:05:20 -04:00
  • 4073a49614 Update gqlgen to latest (#268) Steve Coffman 2023-05-05 11:55:38 -04:00
  • 677fa94d30 Bump minimum Go version to 1.18 (#262) Ben Kraft 2023-04-08 16:48:34 -07:00
  • ff44aa07c1 Bump golang.org/x/sys from 0.0.0-20220319134239-a9b59b0215f8 to 0.1.0 (#259) dependabot[bot] 2023-02-25 12:44:17 -05:00
  • a42359b435 Fix minor mistake in code sample in README (#253) Omar Kohl 2023-02-14 18:10:55 +01:00
  • 596c33f0b0 PR 239 update: Adding more logging for the initial generate setup (#246) Steve Coffman 2022-12-22 11:36:08 -05:00
  • b1adeca6da Automatically update generated files if UPDATE_SNAPSHOTS=1 (#243) Ben Kraft 2022-12-21 23:19:20 -08:00
  • e3227388fe Rename the query constant to have an underscore in it. (#241) Craig Silverstein 2022-11-22 14:12:38 -08:00
  • 587f77046b Expose the graphql operation as a constant in the generated genqlient file (#238) Craig Silverstein 2022-11-21 08:35:09 -08:00
  • 00f27609f0 fixed "for" directive documentation (#235) Matúš Bafrnec 2022-11-18 00:19:35 +01:00
  • 80687e7336 Support package-names with dashes in them (#232) Ben Kraft 2022-11-09 09:43:04 -08:00
  • 1d71fffcb6 Fix documentation for optional: value (#229) Ben Kraft 2022-10-23 21:20:10 -07:00
  • 85e2e8dffd Move changelog entry to the right version (#217) Ben Kraft 2022-08-15 15:08:26 -07:00
  • 16a17f2eef Give a better error if package_bindings is a file (#221) Ben Kraft 2022-08-15 15:08:15 -07:00
  • f600b6e5d3 Bump golangci-lint and (max) Go versions (#219) Ben Kraft 2022-08-15 15:05:36 -07:00
  • c0510ff54a Fix incorrectly formatted error string (#213) Lucas Bremgartner 2022-08-04 23:57:45 +02:00
  • 046f531314 Add more information about updating snapshots (#211) Ben Kraft 2022-07-28 16:31:55 -07:00
  • 2ae8ea42e5 Make output deterministic for graphql interfaces (#209) Viktor Stanchev 2022-07-28 19:19:53 -04:00
  • 03b6b6b5d1 Mention how to update the snapshot tests (#210) Ben Kraft 2022-07-28 12:52:16 -07:00
  • 093054ef32 Add new package bindings option (#169) NuVivo314 2022-06-17 20:42:49 +02:00
  • 1f44dc6db3 Release v0.5.0 (#208) Ben Kraft 2022-06-16 16:22:12 -07:00
  • e38a212de2 Be more precise in deciding whether to add the schema prelude (#205) Ben Kraft 2022-06-06 16:50:16 -07:00
  • 520532eb65 Add tests to check that genqlient handles covariance (#203) Ben Kraft 2022-06-03 22:53:44 -07:00
  • 37fa3d6e7c Add support for mapping all nullable types as pointers (#198) Chris Connelly 2022-05-24 20:24:06 +01:00
  • 3685f3f66b Validate against a case gqlparser doesn't catch (#197) Ben Kraft 2022-05-18 15:21:30 -05:00
  • d4ec64fef1 Simplify errors tests a bit so they don't all have to write a schema (#196) Ben Kraft 2022-05-15 14:20:18 -05:00
  • 39cd158d33 Reject operation or argument names that are Go keywords (#195) Ben Kraft 2022-05-12 17:00:55 -05:00
  • 482a59b802 Allow absolute paths in schema files. (#192) Craig Silverstein 2022-05-12 14:04:04 -07:00
  • c8cbe805eb Add mention of tools.go to FAQ (#189) Ben Kraft 2022-04-29 13:26:32 -07:00
  • 39a980ab4e Add support for client that uses GET as transport mechanism (#186) salman-rb 2022-04-13 16:16:27 -07:00
  • b2422452a1 Add GraphQL Extensions (#184) Jan-Hendrik Boll 2022-03-30 22:48:01 +02:00
  • e81d19c8be Upgrade golangci-lint (#182) Ben Kraft 2022-03-22 12:25:47 -07:00
  • 000f311254 Remove ioutil (#181) Ben Kraft 2022-03-22 12:10:24 -07:00
  • 36e86cf97f Embed data files in the binary (#180) Ben Kraft 2022-03-22 12:00:56 -07:00
  • 13094c3e58 Update tested Go versions (and deps) (#179) Ben Kraft 2022-03-22 11:36:26 -07:00
  • 8e8a632c21 Release v0.4.0 (#174) Ben Kraft 2022-02-10 16:17:36 -07:00
  • 49a26aff9b Reject a glob that matches no files (#173) Ben Kraft 2022-02-09 17:55:20 -07:00
  • 67f2575cae Reject the use of both typename and bind (#172) Ben Kraft 2022-02-09 17:54:31 -07:00
  • 8aa56aacf1 Add a PR template (#171) Ben Kraft 2022-02-09 14:00:28 -07:00
  • 6bedb6660a Update gqlparser to v2.3.1 (#166) Steve Coffman 2022-01-27 18:31:46 -05:00
  • 9fbb6b87aa Avoid capitalized error strings in generated code (#162) Adam Babik 2022-01-13 20:01:33 +01:00
  • f0c2ac17a9 Move 'Code generated by' disclaimer up (#161) Adam Babik 2021-12-20 16:04:13 +01:00
  • f80df6d4f1 Sort operations to guarantee a stable order (#156) Nikolay Edigaryev 2021-11-26 23:32:03 +03:00
  • 2fdbb629be Add "struct_references" configuration (#155) Nathan Stitt 2021-11-12 21:53:19 -06:00
  • 5401a62dcb TYPO: Fixed variable name and position in interface definition. (#154) Hasibul Hasan 2021-11-05 22:21:45 +06:00
  • e0accbded1 Allow compatibility when using introspection derived client schema's (#145) Florian Suess 2021-10-28 11:27:37 +13:00
  • a4aa6d9bb0 Update dependencies to latest (#144) Steve Coffman 2021-10-22 18:40:26 -04:00
  • 3657ce129a docs: fix go generate directive (#143) Tarrence van As 2021-10-22 09:26:48 -07:00
  • 10dc388016 Walk parent directories to find config file (#141) John Maguire 2021-10-21 21:43:34 -04:00
  • 9ecc62e285 Fix error handling during config init (#142) John Maguire 2021-10-21 14:46:01 -04:00
  • 5c5c94b8a9 Fix link to genqlient.yaml from FAQ.md (#140) John Maguire 2021-10-21 09:41:23 -04:00
  • 22019287da Align support for multiple operation-files and multiple schema-files (#137) Ben Kraft 2021-10-05 12:52:48 -07:00
  • a52e55632f Allow creating aliases for builtin types, using typename. (#133) Craig Silverstein 2021-10-05 08:49:50 -07:00
  • 59b6df6aab ️ Accept array of string as valid input schema path. (#134) Hasibul Hasan 2021-10-05 02:33:21 +06:00
  • 5e3c4d1be8 Add CODEOWNERS so community PR reviews are auto-assigned (#135) Steve Coffman 2021-10-04 14:24:15 -04:00
  • 3a5bf46da4 Add getter methods to all fields, not just where needed (#126) Ben Kraft 2021-10-01 15:02:07 -07:00
  • 9906a7b5f7 [🔥AUDIT🔥] Release v0.3.0 (#125) Ben Kraft 2021-10-01 12:17:32 -07:00
  • dd719deb4e Add a mechanism to specify options on input-type fields (#124) Ben Kraft 2021-10-01 11:28:29 -07:00
  • 9ef76361e7 [🔥AUDIT🔥] Add white background for social preview image (#122) Ben Kraft 2021-09-30 09:36:33 -07:00
  • c6d087c29b Add support for "flattening" fragment-spreads (#121) Ben Kraft 2021-09-29 17:52:06 -07:00
  • f4c981031e Allow genqlient types to be marshaled safely (#120) Ben Kraft 2021-09-29 10:30:43 -07:00
  • 1f65445127 [🔥AUDIT🔥] Release v0.2.0 (#119) Ben Kraft 2021-09-28 21:14:11 -07:00
  • b84dda2612 Add clearer error text a few places (#117) Ben Kraft 2021-09-28 14:56:49 -07:00
  • 65c3e20ee6 Fix bugs relating to optional fields with custom (un)marshalers (#116) Ben Kraft 2021-09-27 20:35:39 -07:00
  • 47e9cea72e Let the Doer Do it (#115) Steve Coffman 2021-09-27 13:48:57 -04:00
  • 59303a4710 [🔥AUDIT🔥] Remove security issue template (#114) Ben Kraft 2021-09-24 17:51:45 -07:00
  • 7dcfa55128 [🔥AUDIT🔥] Fix tests after merge (#112) Ben Kraft 2021-09-24 11:24:07 -07:00
  • 6e2b1a5811 Fix broken behavior for several options on the same node (#105) Ben Kraft 2021-09-24 11:16:46 -07:00
  • 8de55d352e Add support for binding with a custom marshal/unmarshal function (#104) Ben Kraft 2021-09-24 11:16:01 -07:00
  • 5995653583 Refactor argument-handling to use a struct (#103) Ben Kraft 2021-09-22 17:16:36 -07:00
  • ab1aaed845 Fix a bug in type-name collapsing introduced by #71 (#110) Ben Kraft 2021-09-22 17:00:27 -07:00
  • f72933fa0e Refactor import-loading to simplify the type-generation code (#101) Ben Kraft 2021-09-16 18:09:32 -07:00
  • f7c81e9997 Actually mark genqlient as ready to use! (#102) Ben Kraft 2021-09-16 12:39:09 -07:00
  • 1d6e728181 Add open-source boilerplate (#96) Ben Kraft 2021-09-16 12:05:16 -07:00
  • 50b2f56a4e [🔥AUDIT🔥] Typo fix (#100) Ben Kraft 2021-09-16 09:11:00 -07:00
  • c399be2792 Autofix lint when we can (#99) Ben Kraft 2021-09-16 09:06:14 -07:00
  • fcae8dd1d7 Add support for specifying type-names, and conflict-detection (#94) Ben Kraft 2021-09-15 18:06:43 -07:00
  • 5211442843 Add a new option to treat an interface like an object (#97) Ben Kraft 2021-09-15 18:00:22 -07:00
  • 463cffdede Lint against fmt.Println except in main.go (#98) Ben Kraft 2021-09-15 17:57:52 -07:00
  • ce079a7e16 Clean up example a little (#89) Ben Kraft 2021-09-15 10:48:50 -07:00
  • 4d2058c617 Add a bunch more documentation (and rewrite README) (#86) Ben Kraft 2021-09-14 11:05:11 -07:00
  • 673840e495 Picking some nits that my IDE complained about (#91) Steve Coffman 2021-09-14 13:42:47 -04:00
  • 639b46df32 Avoid putting incorrect extensions on error snapshot files (#92) Ben Kraft 2021-09-14 10:30:33 -07:00
  • 9804d42e2f Make README logo work in dark mode (#87) Ben Kraft 2021-09-10 17:33:01 -07:00
  • 2eba9a2c30 Reorganize documentation to make room to grow (#84) Ben Kraft 2021-09-10 16:03:30 -07:00
  • d41cf636af Clean up godoc (#82) Ben Kraft 2021-09-10 15:54:34 -07:00
  • dc38360d9d Add a flag --init to write a default config (#81) Ben Kraft 2021-09-10 15:49:54 -07:00
  • 9e1c98488e Add tests for behavior on error (#83) Ben Kraft 2021-09-10 15:45:34 -07:00
  • e88305ecbd Add support for abstract-typed named fragments (#79) Ben Kraft 2021-09-09 09:48:18 -07:00
  • f99c10d6fd Add support for concrete-typed named fragments (#75) Ben Kraft 2021-09-09 09:39:30 -07:00
  • 1c061b153a Create a separate module for our golangci-lint version (#80) Ben Kraft 2021-09-09 09:23:00 -07:00
  • 6c86eed770 Clean up, test, and document ContextType and ClientGetter options (#77) Ben Kraft 2021-09-07 09:58:49 -07:00
  • f3e601353c Add IDEs to gitignore and default config file name (#74) Steve Coffman 2021-09-02 21:00:29 -04:00
  • 6fdb170b99 Fix type-naming in the presence of interfaces, and refactor it a lot (#71) Ben Kraft 2021-08-30 10:50:11 -07:00