forked from bjornbytes/graphql-lua
-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Description
coerceInt, coerceLong, coerceFloat, coerceBoolean, coerceString - silenly returns nil
if coesion failed:
Line 263 in 58b64a6
if not isInt(value) then return end |
Line 302 in 58b64a6
if not isLong(value) then return end |
Line 346 in 58b64a6
if not isFloat(value) then return end |
Seems it wiil better to raise an error if coercion failed (to be discussed)
Metadata
Metadata
Assignees
Labels
No labels