web-ridge / gqlgen-sqlboiler

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

Different foreign key than table name #35

Closed RichardLindhout closed 4 years ago

RichardLindhout commented 4 years ago

E.g. it understands if

organization{
   galleryItemId: 
}

galleryItem{
   id:
}

But not

organization{
   logoId: 
}

galleryItem{
   id:
}
RichardLindhout commented 4 years ago

Turns out I did have an old column called "logo": VARCHAR and a logo_id. That is not a valid use-case. Trying again with removed "logo" varchar and only a logo_id.