fasibio/autogql

Unable to update boolean entities

fasibio opened this issue · 1 comments

Update{{Typename}} with set of a boolean not working...

Core code points :

db = db.Model(&obj).Where(sql, arguments...)
db = db.Updates(*update)

example Mutation:

updateCat(input: {filter: {id: {eq: 1}}, set: {name: "the value", alive:false}})

Values are correct :

update has an Object of structs with only name and alive
where clauses ist also corret
but only name will be updated
interest:
Activate Gorm debug will not show any sql log after db.Updates
... strange...