1
Fork 0
mirror of https://github.com/Airsequel/AirGQL.git synced 2025-08-13 18:26:58 +03:00

Fix nullity of fields in update gql query

This commit is contained in:
prescientmoon 2024-11-08 18:34:14 +01:00
commit 3322705709

View file

@ -306,7 +306,7 @@ tableUpdateField accessMode table = do
table.columns <&> \columnEntry -> do
let colName = columnEntry.column_name_gql
let base = columnType columnEntry
Type.inputValue colName $ Type.nonNull base
Type.inputValue colName base
updateRow =
Type.inputObject