mirror of
https://github.com/ModernRelay/omnigraph.git
synced 2026-07-12 03:12:11 +02:00
Fix nullable query parameters: accept omission and null for ? params
Parameters declared with `?` (e.g. `$changelogUrl: String?`) now correctly accept omission or explicit null in JSON input instead of requiring empty strings as a workaround. Adds `Literal::Null` variant and threads it through parameter parsing, type-checking, and Arrow array conversion. https://claude.ai/code/session_014oGFKL7EVg1b2cyPgt9Gne
This commit is contained in:
parent
c5a88cacb5
commit
37b7a94eb7
6 changed files with 135 additions and 13 deletions
|
|
@ -160,6 +160,7 @@ impl std::fmt::Display for AggFunc {
|
|||
|
||||
#[derive(Debug, Clone)]
|
||||
pub enum Literal {
|
||||
Null,
|
||||
String(String),
|
||||
Integer(i64),
|
||||
Float(f64),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue