Skip to content

Releases: web-ridge/gqlgen-sqlboiler

v2.0.13

20 May 19:36
Compare
Choose a tag to compare

Added support for more packages and custom scalars outside of boilergql.
Bugfix for web-ridge/utils-go#7

*time.Time was parsed as *Time and creating not needed conversions since database type and gqlgen type were the same.

Thanks to @troian for helping reproduce this issue

A side effect of this change will be that some convert function names will change since it includes the package name of the graphql field (excluding internal functions used by boilergql, models and graphql_models.)

TimeTimeToPointerTime is going to change in TimeTimeToPointerTimeTime

v2.0.12

11 May 18:52
Compare
Choose a tag to compare

gqlgen-sqlboiler now supports boolean filters which resolves #22
We're changing the boolean input filter type as of [email protected]

input BooleanFilter {
	isTrue: Boolean
	isFalse: Boolean
	isNull: Boolean
}

To

input BooleanFilter {
	equalTo: Boolean
	notEqualTo: Boolean
}

v2.0.11

11 May 17:56
Compare
Choose a tag to compare

Refactor preloads since it generated too many fields at generate time. #21

It now maps preloads in run-time to database preloads.

You'll need to update github.com/web-ridge/utils-go/boilergql@master too!
You can see changes in generated code here:
web-ridge/gqlgen-sqlboiler-examples@50235be

  • 11,324 lines of code removed in /helpers/preload.go which is more or less what this release is about ;)

v2.0.10

11 May 15:08
Compare
Choose a tag to compare

Fixed #20 + adding preloads everywhere till maximum of 4 levels deep (if you need deeper we could make this configurable :)
Fixed web-ridge/utils-go#3 where pointer was not recognized when using a type from a package.

v2.0.9

11 May 12:56
Compare
Choose a tag to compare
  • Fixed #19 for users with string id's where foreign key filtering resulted in a subquery (5feefe4)
  • Removed an empty append statement (8052605)
    #19

v2.0.8

09 May 18:39
Compare
Choose a tag to compare

Remove some ugly logs when running this plugin: b1cbaf2.

v2.0.7

09 May 10:12
Compare
Choose a tag to compare

Fixes for null.String foreign key's
#15

Fix for filter on string id's
#14
#16

v2.0.6

08 May 17:17
Compare
Choose a tag to compare

Bugfixes for go modules of dependency #11

Bugfix release

07 May 22:23
Compare
Choose a tag to compare

Fixed uint id's which were broken since previous release

Small bugfixes for string ID's

07 May 22:07
Compare
Choose a tag to compare
v2.0.4

Also add plural convert