Commit Graph

10 Commits

Author SHA1 Message Date
Adnan Maolood 3e8e0173f8 valid: Add Error function
Add an Error function which is similar to Errorf except that it does not
take a format specifier.
2022-03-14 12:20:44 +01:00
Adnan Maolood d56e2d794b valid: Add NullableString
Add a NullableString method to allow users to differentiate between the
absence of a field and an explicitly provided null value.
2022-02-03 11:32:02 +01:00
Adnan Maolood 75dfa2992b valid: Add Errorf function
Add an Errorf function to create GraphQL errors without a validation
context.
2022-01-26 09:30:25 +01:00
Drew DeVault 21deda8caa valid: add OptionalBool 2021-12-27 10:30:53 +01:00
Drew DeVault 129dc1baaa valid: fix nil values in OptionalString 2021-08-29 09:34:50 +02:00
Drew DeVault 073f26337f valid: add generic optional interface 2021-08-27 09:45:41 +02:00
Drew DeVault ae61e24315 auth: force webhooks to read-only 2021-08-25 11:47:45 +02:00
Drew DeVault cb5aee1b69 valid: accept format strings 2021-08-20 11:08:40 +02:00
Drew DeVault 0abb9c6b08 valid: Fix Sprintf call 2021-08-20 10:14:42 +02:00
Drew DeVault e4d7b5ff58 valid: new module for input validation 2021-08-20 09:39:59 +02:00