gqlgen-sqlboiler icon indicating copy to clipboard operation
gqlgen-sqlboiler copied to clipboard

Blacklist/Whitelist for sqlboiler models

Open frederikhors opened this issue 4 years ago • 2 comments

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 avatar Dec 03 '20 21:12 frederikhors

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

Example: password column.

frederikhors avatar Dec 03 '20 21:12 frederikhors

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.

RichardLindhout avatar Dec 04 '20 10:12 RichardLindhout