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

Blacklist/Whitelist for sqlboiler models #44

Open frederikhors opened 3 years ago

frederikhors commented 3 years ago

I think it should be possible to have a blacklist/whitelist for the models I want to convert from sqlboiler ones.

Is it already possible today?

frederikhors commented 3 years ago

I think we need a blacklist for the individual columns too.

Example: password column.

RichardLindhout commented 3 years ago

For now you need to remove it from your schema.graphql and it won't create converts. I want to add hooks to the SchemaWrite function later on which can filter out fields before so the user can mass filter out fields or only in one model.