web-ridge / gqlgen-sqlboiler

This is a plugin for gqlgen to generate converts + filter queries and resolvers for sqlboiler
MIT License
75 stars 13 forks source link

undefined conversion functions #15

Closed troian closed 4 years ago

troian commented 4 years ago

undefined: boilergql.PointerIntToTimeTime

graph/helpers/convert.go:238:14: undefined: boilergql.PgeoNullPointToInt
graph/helpers/convert.go:451:14: undefined: boilergql.NullDotFloat32ToPointerFloat64
graph/helpers/convert.go:452:14: undefined: boilergql.NullDotInt16ToPointerInt
graph/helpers/convert.go:500:19: undefined: boilergql.NullDotFloat32ToPointerFloat64
graph/helpers/convert.go:501:19: undefined: boilergql.NullDotInt16ToPointerInt
graph/helpers/convert.go:502:19: undefined: boilergql.NullDotFloat32ToPointerFloat64
graph/helpers/convert.go:503:19: undefined: boilergql.NullDotInt16ToPointerInt
graph/helpers/convert_input.go:186:3: cannot use boilergql.IDToNullBoiler(boilergql.PointerStringToString(m.MeetingID)) (type null.Uint) as type null.String in field value
graph/helpers/convert_input.go:254:3: cannot use boilergql.IDToNullBoiler(boilergql.PointerStringToString(m.MeetingID)) (type null.Uint) as type null.String in field value
graph/helpers/convert_input.go:256:14: undefined: boilergql.PointerIntToTimeTime
RichardLindhout commented 4 years ago

Please add a PR for these functions they have not been programmed yet. Will look into them tomorrow

RichardLindhout commented 4 years ago

The boilergql.IDToNullBoiler should not be happening since you're using string ids. Are you sure you're on the latest version?

troian commented 4 years ago

Please add a PR for these functions they have not been programmed yet. Will look into them tomorrow

Sure, I'll already have them

RichardLindhout commented 4 years ago

boilergql.IDToNullBoiler errors will be gone after re-generating with latest version! Looking into the time helpers

RichardLindhout commented 4 years ago

Oh nice you send a PR!

RichardLindhout commented 4 years ago

Merged your PR so it should be fixed now! Let me know otherwise :)