We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
serde::Value
default_value
1 parent f407d1a commit 62e4debCopy full SHA for 62e4deb
src/introspection/introspection.rs
@@ -1,7 +1,7 @@
1
use std::io;
2
3
use serde::{Deserialize, Serialize};
4
-use serde_json::Result;
+use serde_json::{Result, Value};
5
6
#[derive(Serialize, Deserialize, Debug)]
7
pub struct IntrospectionQuery {
@@ -21,7 +21,7 @@ pub struct IntrospectionInputValue {
21
pub name: String,
22
pub description: Option<String>,
23
#[serde(rename = "defaultValue")]
24
- pub default_value: Option<String>,
+ pub default_value: Option<Value>,
25
#[serde(rename = "isDeprecated")]
26
pub is_deprecated: Option<bool>,
27
#[serde(rename = "deprecationReason")]
0 commit comments