diff --git a/.ghjk/lock.json b/.ghjk/lock.json index 4bcc3c572a..68ef0d8fd8 100644 --- a/.ghjk/lock.json +++ b/.ghjk/lock.json @@ -792,8 +792,8 @@ "releaseTag": "20240814", "specifiedVersion": true }, - "bciqef6pcivthu6ra2liydilk2afeip3lxwaqnvkv5l6dls3rzk2hvvq": { - "version": "v24.4", + "bciqfoh6rcv3bhze6nzb3edufogn5usavol623q7hw6lfuq3du3fe3ry": { + "version": "v28.2", "buildDepConfigs": {}, "portRef": "protoc_ghrel@0.1.0", "specifiedVersion": true @@ -821,7 +821,7 @@ }, "ghjkEnvProvInstSet____rust": { "installs": [ - "bciqecz522d7oento2kjvwx3waohx4mjhjjerefepetwyal6hxxs57wa", + "bciqfjvqemdy7d6axvwkywcm6v66wogddvk7k6e6rps4e6zidkjvm4fy", "bciqlubbahrp4pxohyffmn5yj52atjgmn5nxepmkdev6wtmvpbx7kr7y", "bciqirg723pselb4g77l6ssuytptohd3rvin4ybnwncidus52tfpu6ty" ], @@ -838,7 +838,7 @@ "bciqmvgsg7h3ohj3m7das4bznahgt6tyq7mamta3n2vorulqvml7mywq", "bciqicdqw36v63cbrscwsgtu2htrmwmgtfoxexv4rx5d2y24vytxbuma", "bciqe33uhsuaesrjk6luzxrbbimwg5ydt6x2lrieelwbr7aft4g2qwsy", - "bciqecz522d7oento2kjvwx3waohx4mjhjjerefepetwyal6hxxs57wa", + "bciqfjvqemdy7d6axvwkywcm6v66wogddvk7k6e6rps4e6zidkjvm4fy", "bciqlubbahrp4pxohyffmn5yj52atjgmn5nxepmkdev6wtmvpbx7kr7y", "bciqirg723pselb4g77l6ssuytptohd3rvin4ybnwncidus52tfpu6ty", "bciqfpjzi6gguk7dafyicfjpzpwtybgyc2dsnxg2zxkcmyinzy7abpla", @@ -857,7 +857,7 @@ "ghjkEnvProvInstSet___oci": { "installs": [ "bciqbx637744bfiyvprs77xdnvdt7uuwmtlntfjpwmkda672gklkbpmi", - "bciqecz522d7oento2kjvwx3waohx4mjhjjerefepetwyal6hxxs57wa", + "bciqfjvqemdy7d6axvwkywcm6v66wogddvk7k6e6rps4e6zidkjvm4fy", "bciqlubbahrp4pxohyffmn5yj52atjgmn5nxepmkdev6wtmvpbx7kr7y", "bciqirg723pselb4g77l6ssuytptohd3rvin4ybnwncidus52tfpu6ty", "bciqojan3zglnfctnmqyxvnxaha46yrnlhj77j3kw4mxadvauqepqdba", @@ -901,7 +901,7 @@ "bciqmvgsg7h3ohj3m7das4bznahgt6tyq7mamta3n2vorulqvml7mywq", "bciqicdqw36v63cbrscwsgtu2htrmwmgtfoxexv4rx5d2y24vytxbuma", "bciqe33uhsuaesrjk6luzxrbbimwg5ydt6x2lrieelwbr7aft4g2qwsy", - "bciqecz522d7oento2kjvwx3waohx4mjhjjerefepetwyal6hxxs57wa", + "bciqfjvqemdy7d6axvwkywcm6v66wogddvk7k6e6rps4e6zidkjvm4fy", "bciqlubbahrp4pxohyffmn5yj52atjgmn5nxepmkdev6wtmvpbx7kr7y", "bciqirg723pselb4g77l6ssuytptohd3rvin4ybnwncidus52tfpu6ty", "bciqfpjzi6gguk7dafyicfjpzpwtybgyc2dsnxg2zxkcmyinzy7abpla", @@ -939,7 +939,7 @@ }, "ghjkEnvProvInstSet_______task_env_test-rust": { "installs": [ - "bciqecz522d7oento2kjvwx3waohx4mjhjjerefepetwyal6hxxs57wa", + "bciqfjvqemdy7d6axvwkywcm6v66wogddvk7k6e6rps4e6zidkjvm4fy", "bciqlubbahrp4pxohyffmn5yj52atjgmn5nxepmkdev6wtmvpbx7kr7y", "bciqirg723pselb4g77l6ssuytptohd3rvin4ybnwncidus52tfpu6ty", "bciqezep4ufkgwesldlm5etyfkgdsiickfudx7cosydcz6xtgeorn2hy", @@ -953,7 +953,7 @@ }, "ghjkEnvProvInstSet_______task_env_dev-eg-tgraphs": { "installs": [ - "bciqecz522d7oento2kjvwx3waohx4mjhjjerefepetwyal6hxxs57wa", + "bciqfjvqemdy7d6axvwkywcm6v66wogddvk7k6e6rps4e6zidkjvm4fy", "bciqlubbahrp4pxohyffmn5yj52atjgmn5nxepmkdev6wtmvpbx7kr7y", "bciqirg723pselb4g77l6ssuytptohd3rvin4ybnwncidus52tfpu6ty", "bciqezep4ufkgwesldlm5etyfkgdsiickfudx7cosydcz6xtgeorn2hy", @@ -967,7 +967,7 @@ }, "ghjkEnvProvInstSet_______task_env_build-tgraph-core": { "installs": [ - "bciqecz522d7oento2kjvwx3waohx4mjhjjerefepetwyal6hxxs57wa", + "bciqfjvqemdy7d6axvwkywcm6v66wogddvk7k6e6rps4e6zidkjvm4fy", "bciqlubbahrp4pxohyffmn5yj52atjgmn5nxepmkdev6wtmvpbx7kr7y", "bciqirg723pselb4g77l6ssuytptohd3rvin4ybnwncidus52tfpu6ty", "bciqojan3zglnfctnmqyxvnxaha46yrnlhj77j3kw4mxadvauqepqdba", @@ -979,7 +979,7 @@ }, "ghjkEnvProvInstSet_______task_env_build-tgraph-py": { "installs": [ - "bciqecz522d7oento2kjvwx3waohx4mjhjjerefepetwyal6hxxs57wa", + "bciqfjvqemdy7d6axvwkywcm6v66wogddvk7k6e6rps4e6zidkjvm4fy", "bciqlubbahrp4pxohyffmn5yj52atjgmn5nxepmkdev6wtmvpbx7kr7y", "bciqirg723pselb4g77l6ssuytptohd3rvin4ybnwncidus52tfpu6ty", "bciqojan3zglnfctnmqyxvnxaha46yrnlhj77j3kw4mxadvauqepqdba", @@ -994,7 +994,7 @@ }, "ghjkEnvProvInstSet_______task_env_build-tgraph-ts": { "installs": [ - "bciqecz522d7oento2kjvwx3waohx4mjhjjerefepetwyal6hxxs57wa", + "bciqfjvqemdy7d6axvwkywcm6v66wogddvk7k6e6rps4e6zidkjvm4fy", "bciqlubbahrp4pxohyffmn5yj52atjgmn5nxepmkdev6wtmvpbx7kr7y", "bciqirg723pselb4g77l6ssuytptohd3rvin4ybnwncidus52tfpu6ty", "bciqojan3zglnfctnmqyxvnxaha46yrnlhj77j3kw4mxadvauqepqdba", @@ -1009,7 +1009,7 @@ }, "ghjkEnvProvInstSet_______task_env_build-sys-tgraphs": { "installs": [ - "bciqecz522d7oento2kjvwx3waohx4mjhjjerefepetwyal6hxxs57wa", + "bciqfjvqemdy7d6axvwkywcm6v66wogddvk7k6e6rps4e6zidkjvm4fy", "bciqlubbahrp4pxohyffmn5yj52atjgmn5nxepmkdev6wtmvpbx7kr7y", "bciqirg723pselb4g77l6ssuytptohd3rvin4ybnwncidus52tfpu6ty", "bciqfpjzi6gguk7dafyicfjpzpwtybgyc2dsnxg2zxkcmyinzy7abpla", @@ -1025,6 +1025,11 @@ "id": "tasks", "config": { "tasks": { + "b": { + "ty": "denoFile@v1", + "key": "b", + "envKey": "bciqk7aif25pqtsyncbnbdapte4lixsodypfxvmkepsuey74vgr4zb5q" + }, "version-bump": { "ty": "denoFile@v1", "key": "version-bump", @@ -1236,6 +1241,7 @@ } }, "tasksNamed": [ + "b", "version-bump", "version-print", "test-lsp", @@ -2396,8 +2402,8 @@ "cpy_bs_ghrel": "bciqfjhy4uuhkcogsnxxs5fv4ml7m5ykvfm4my45npfyoap2efbfsmby", "node_org": "bciqexpmyf75pimfmu3czcedptwynipi6pztai4ixm6kdj6wwlymesby" }, - "bciqecz522d7oento2kjvwx3waohx4mjhjjerefepetwyal6hxxs57wa": { - "version": "v24.4", + "bciqfjvqemdy7d6axvwkywcm6v66wogddvk7k6e6rps4e6zidkjvm4fy": { + "version": "v28.2", "port": { "ty": "denoWorker@v1", "name": "protoc_ghrel", diff --git a/Cargo.lock b/Cargo.lock index 819619ea1c..c0288103f1 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1143,9 +1143,9 @@ checksum = "1fd0f2584146f6f2ef48085050886acf353beff7305ebd1ae69500e27c67f64b" [[package]] name = "bytes" -version = "1.7.1" +version = "1.7.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8318a53db07bb3f8dca91a600466bdb3f2eaadeedfdbcf02e1accbad9271ba50" +checksum = "428d9aa8fbc0670b7b8d6030a7fadd0f86151cae55e4dbbece15f3780a3dfaf3" [[package]] name = "bzip2" @@ -8783,7 +8783,7 @@ dependencies = [ [[package]] name = "proto-parser" version = "0.1.0" -source = "git+https://github.com/metatypedev/proto-parser?branch=main#aa47da5a8eb16f07d28f7aeece77953401cce3a2" +source = "git+https://github.com/metatypedev/proto-parser?branch=main#091c87f819dfeda5785becf8c5ca64b7d8e1469d" dependencies = [ "anyhow", "indexmap 2.4.0", diff --git a/deno.lock b/deno.lock index bc13d44a60..e7995599bc 100644 --- a/deno.lock +++ b/deno.lock @@ -54,6 +54,7 @@ "npm:@types/node": "npm:@types/node@18.16.19", "npm:chance@1.1.11": "npm:chance@1.1.11", "npm:graphql@16.8.1": "npm:graphql@16.8.1", + "npm:json-schema-faker@0.5.3": "npm:json-schema-faker@0.5.3", "npm:lodash@4.17.21": "npm:lodash@4.17.21", "npm:mathjs@11.11.1": "npm:mathjs@11.11.1", "npm:multiformats@13.1.0": "npm:multiformats@13.1.0", @@ -347,6 +348,16 @@ "debug": "debug@4.3.6" } }, + "argparse@1.0.10": { + "integrity": "sha512-o5Roy6tNG4SL/FOkCAN6RzjiakZS25RLYFrcMttJqbdd8BWrnA+fGz57iN5Pb06pvBGvl5gQ0B48dJlslXvoTg==", + "dependencies": { + "sprintf-js": "sprintf-js@1.0.3" + } + }, + "call-me-maybe@1.0.2": { + "integrity": "sha512-HpX65o1Hnr9HH25ojC1YGs7HCQLq0GCOibSaWER0eNpgJ/Z1MZv2mTc7+xh6WOPxbRVcmgbv4hGU+uSQ/2xFZQ==", + "dependencies": {} + }, "chance@1.1.11": { "integrity": "sha512-kqTg3WWywappJPqtgrdvbA380VoXO2eu9VCV895JgbyHsaErXdyHK9LOZ911OvAk6L0obK7kDk9CGs8+oBawVA==", "dependencies": {} @@ -373,6 +384,14 @@ "integrity": "sha512-nV5aVWW1K0wEiUIEdZ4erkGGH8mDxGyxSeqPzRNtWP7ataw+/olFObw7hujFWlVjNsaDFw5VZ5NzVSIqRgfTiw==", "dependencies": {} }, + "esprima@4.0.1": { + "integrity": "sha512-eGuFFw7Upda+g4p+QHvnW0RyTX/SVeJBDM/gCtMARO0cLuT2HcEKnTPvhjV6aGeqrCB/sbNop0Kszm0jsaWU4A==", + "dependencies": {} + }, + "format-util@1.0.5": { + "integrity": "sha512-varLbTj0e0yVyRpqQhuWV+8hlePAgaoFRhNFj50BNjEIrw1/DphHSObtqwskVCPWNgzwPoQrZAbfa/SBiicNeg==", + "dependencies": {} + }, "fraction.js@4.3.4": { "integrity": "sha512-pwiTgt0Q7t+GHZA4yaLjObx4vXmmdcS0iSJ19o8d/goUGgItX9UZWKWNnLHehxviD8wU2IWRsnR8cD5+yOJP2Q==", "dependencies": {} @@ -392,6 +411,32 @@ "integrity": "sha512-nO6jcEfZWQXDhOiBtG2KvKyEptz7RVbpGP4vTD2hLBdmNQSsCiicO2Ioinv6UI4y9ukqnBpy+XZ9H6uLNgJTlw==", "dependencies": {} }, + "js-yaml@3.14.1": { + "integrity": "sha512-okMH7OXXJ7YrN9Ok3/SXrnu4iX9yOk+25nqX4imS2npuvTYDmo/QEZoqwZkYaIDk3jVvBOTOIEgEhaLOynBS9g==", + "dependencies": { + "argparse": "argparse@1.0.10", + "esprima": "esprima@4.0.1" + } + }, + "json-schema-faker@0.5.3": { + "integrity": "sha512-BeIrR0+YSrTbAR9dOMnjbFl1MvHyXnq+Wpdw1FpWZDHWKLzK229hZ5huyPcmzFUfVq1ODwf40WdGVoE266UBUg==", + "dependencies": { + "json-schema-ref-parser": "json-schema-ref-parser@6.1.0", + "jsonpath-plus": "jsonpath-plus@7.2.0" + } + }, + "json-schema-ref-parser@6.1.0": { + "integrity": "sha512-pXe9H1m6IgIpXmE5JSb8epilNTGsmTb2iPohAXpOdhqGFbQjNeHHsZxU+C8w6T81GZxSPFLeUoqDJmzxx5IGuw==", + "dependencies": { + "call-me-maybe": "call-me-maybe@1.0.2", + "js-yaml": "js-yaml@3.14.1", + "ono": "ono@4.0.11" + } + }, + "jsonpath-plus@7.2.0": { + "integrity": "sha512-zBfiUPM5nD0YZSBT/o/fbCUlCcepMIdP0CJZxM1+KgA4f2T206f6VAg9e7mX35+KlMaIc5qXW34f3BnwJ3w+RA==", + "dependencies": {} + }, "lodash@4.17.21": { "integrity": "sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==", "dependencies": {} @@ -422,6 +467,12 @@ "integrity": "sha512-HzdtdBwxsIkzpeXzhQ5mAhhuxcHbjEHH+JQoxt7hG/2HGFjjwyolLo7hbaexcnhoEuV4e0TNJ8kkpMjiEYY4VQ==", "dependencies": {} }, + "ono@4.0.11": { + "integrity": "sha512-jQ31cORBFE6td25deYeD80wxKBMj+zBmHTrVxnc6CKhx8gho6ipmWM5zj/oeoqioZ99yqBls9Z/9Nss7J26G2g==", + "dependencies": { + "format-util": "format-util@1.0.5" + } + }, "pg-cloudflare@1.1.1": { "integrity": "sha512-xWPagP/4B6BgFO+EKz3JONXv3YDgvkbVrGw2mTo3D6tVDQRh1e7cqVGvyR3BE+eQgAvx1XhW/iEASj4/jCWl3Q==", "dependencies": {} @@ -501,6 +552,10 @@ "integrity": "sha512-UcjcJOWknrNkF6PLX83qcHM6KHgVKNkV62Y8a5uYDVv9ydGQVwAHMKqHdJje1VTWpljG0WYpCDhrCdAOYH4TWg==", "dependencies": {} }, + "sprintf-js@1.0.3": { + "integrity": "sha512-D9cPgkvLlV3t3IzL0D0YLvGA9Ahk4PcvVwUbN0dSGr1aP0Nrt4AEnTUbuGvquEC0mA64Gqt1fzirlRs5ibXx8g==", + "dependencies": {} + }, "tiny-emitter@2.1.0": { "integrity": "sha512-NB6Dk1A9xgQPMoGqC5CVXn123gWyte215ONT5Pp5a0yt4nlEoO1ZWeCwpncaekPHXO60i47ihFnZPiRPjRMq4Q==", "dependencies": {} diff --git a/examples/typegraphs/metagen/rs/fdk.rs b/examples/typegraphs/metagen/rs/fdk.rs index 81d857ab0f..1b3fe48436 100644 --- a/examples/typegraphs/metagen/rs/fdk.rs +++ b/examples/typegraphs/metagen/rs/fdk.rs @@ -219,16 +219,17 @@ macro_rules! init_mat { // gen-static-end use types::*; pub mod types { - pub type StringDateTime4 = String; - pub type StringUri5 = String; + pub type Idv3TitleString = String; + pub type Idv3ReleaseTimeStringDatetime = String; + pub type Idv3Mp3UrlStringUri = String; #[derive(Debug, serde::Serialize, serde::Deserialize)] pub struct Idv3 { - pub title: String, - pub artist: String, + pub title: Idv3TitleString, + pub artist: Idv3TitleString, #[serde(rename = "releaseTime")] - pub release_time: StringDateTime4, + pub release_time: Idv3ReleaseTimeStringDatetime, #[serde(rename = "mp3Url")] - pub mp3_url: StringUri5, + pub mp3_url: Idv3Mp3UrlStringUri, } } pub mod stubs { diff --git a/ghjk.ts b/ghjk.ts index 44246399b3..ee7c297127 100644 --- a/ghjk.ts +++ b/ghjk.ts @@ -30,7 +30,7 @@ env("main") env("_rust").install( // use rustup for the actual toolchain - ports.protoc({ version: "v24.4" }), + ports.protoc({ version: "v28.2" }), ports.cmake()[0], ); @@ -159,3 +159,11 @@ task("version-bump", async ($) => { }); await $`ghjk x lock-sed`; }); + +task("b", async ($) => { + await $`cargo b --target wasm32-unknown-unknown --package typegraph-ng`; + await $`wasm-tools component new "target/wasm32-unknown-unknown/debug/typegraph_ng.wasm" + -o ./target/ng.wasm + `; + // --adapt wasi_snapshot_preview1=./tmp/wasi_snapshot_preview1.reactor.wasm +}, { inherit: "_wasm" }); diff --git a/src/common/src/typegraph/mod.rs b/src/common/src/typegraph/mod.rs index 51931c5741..a85846d4c8 100644 --- a/src/common/src/typegraph/mod.rs +++ b/src/common/src/typegraph/mod.rs @@ -189,4 +189,15 @@ impl Typegraph { _ => bail!("typegraph is invalid: root node is not object"), } } + /* + pub fn idx_of(&self, id: &str) -> Option { + self.name_map.get(id).map(|&idx| idx) + } + + pub fn get(&self, id: &str) -> Option<&TypeNode> { + let Some(&idx) = self.name_map.get(id) else { + return None; + }; + Some(&self.types[idx as usize]) + } */ } diff --git a/src/common/src/typegraph/types.rs b/src/common/src/typegraph/types.rs index 354a5d4d30..565224abfc 100644 --- a/src/common/src/typegraph/types.rs +++ b/src/common/src/typegraph/types.rs @@ -10,6 +10,10 @@ use std::hash::Hash; use super::{parameter_transform::FunctionParameterTransform, EffectType, PolicyIndices}; +// TODO: consider exploring interning +pub type TypeName = String; +pub type TypeId = u32; + #[derive(Serialize, Deserialize, Clone, Debug, Hash)] pub struct SingleValue { pub value: T, @@ -68,8 +72,8 @@ pub struct TypeNodeBase { #[skip_serializing_none] #[derive(Serialize, Deserialize, Clone, Debug)] -pub struct OptionalTypeData { - pub item: u32, +pub struct OptionalTypeData { + pub item: Id, #[serialize_always] pub default_value: Option, } @@ -149,8 +153,8 @@ pub struct FileTypeData { #[skip_serializing_none] #[derive(Serialize, Deserialize, Clone, Debug)] -pub struct ObjectTypeData { - pub properties: IndexMap, +pub struct ObjectTypeData { + pub properties: IndexMap, #[serde(default)] pub required: Vec, } @@ -158,8 +162,8 @@ pub struct ObjectTypeData { #[skip_serializing_none] #[derive(Serialize, Deserialize, Clone, Debug)] #[serde(rename_all = "camelCase")] -pub struct ListTypeData { - pub items: u32, +pub struct ListTypeData { + pub items: Id, pub max_items: Option, pub min_items: Option, pub unique_items: Option, @@ -167,11 +171,11 @@ pub struct ListTypeData { #[skip_serializing_none] #[derive(Serialize, Deserialize, Clone, Debug)] -pub struct FunctionTypeData { - pub input: u32, +pub struct FunctionTypeData { + pub input: Id, #[serde(rename = "parameterTransform")] pub parameter_transform: Option, - pub output: u32, + pub output: Id, pub materializer: u32, #[serialize_always] pub rate_weight: Option, @@ -181,30 +185,30 @@ pub struct FunctionTypeData { #[skip_serializing_none] #[derive(Serialize, Deserialize, Clone, Debug)] #[serde(rename_all = "camelCase")] -pub struct UnionTypeData { +pub struct UnionTypeData { /// Array of indexes of the nodes that are used as subschemes in the /// anyOf field of JSON Schema. - pub any_of: Vec, + pub any_of: Vec, } #[skip_serializing_none] #[derive(Serialize, Deserialize, Clone, Debug)] #[serde(rename_all = "camelCase")] -pub struct EitherTypeData { +pub struct EitherTypeData { /// Array of indexes of the nodes that are used as subschemes in the /// oneOf field of JSON Schema. - pub one_of: Vec, + pub one_of: Vec, } #[skip_serializing_none] #[derive(Serialize, Deserialize, Clone, Debug)] #[serde(tag = "type", rename_all = "lowercase")] -pub enum TypeNode { +pub enum TypeNode { Optional { #[serde(flatten)] base: TypeNodeBase, #[serde(flatten)] - data: OptionalTypeData, + data: OptionalTypeData, }, Boolean { #[serde(flatten)] @@ -238,32 +242,32 @@ pub enum TypeNode { #[serde(flatten)] base: TypeNodeBase, #[serde(flatten)] - data: ObjectTypeData, + data: ObjectTypeData, }, List { #[serde(flatten)] base: TypeNodeBase, #[serde(flatten)] - data: ListTypeData, + data: ListTypeData, }, Function { #[serde(flatten)] base: TypeNodeBase, #[serde(flatten)] - data: FunctionTypeData, + data: FunctionTypeData, }, Union { #[serde(flatten)] base: TypeNodeBase, #[serde(flatten)] - data: UnionTypeData, + data: UnionTypeData, }, #[serde(rename_all = "camelCase")] Either { #[serde(flatten)] base: TypeNodeBase, #[serde(flatten)] - data: EitherTypeData, + data: EitherTypeData, }, Any { #[serde(flatten)] diff --git a/src/metagen/fixtures/client_rs/main.rs b/src/metagen/fixtures/client_rs/main.rs index 3ee213c9cf..dbd988eeb1 100644 --- a/src/metagen/fixtures/client_rs/main.rs +++ b/src/metagen/fixtures/client_rs/main.rs @@ -5,7 +5,6 @@ #[rustfmt::skip] pub mod client; -use client::types::*; use client::*; fn main() -> Result<(), BoxErr> { @@ -15,12 +14,32 @@ fn main() -> Result<(), BoxErr> { let (res2, res3) = { // blocking reqwest uses tokio under the hood let gql_sync = api1.graphql_sync(); + let res3 = gql_sync.query(( + api1.get_user().select_aliased(UserSelections { + posts: alias([ + ( + "post1", + select(PostSelections { + id: get(), + slug: get(), + title: get(), + }), + ), + ("post2", select(PostSelections { id: get(), ..all() })), + ]), + ..all() + })?, + api1.get_posts().select(all())?, + api1.scalar_no_args(), + ))?; let prepared_m = gql_sync.prepare_mutation(|args| { Ok(( - api1.scalar_args(args.get("post", |val: PostPartial| val)), + api1.scalar_args(args.get("post", |val: types::PostPartial| val)), api1.composite_no_args().select(all())?, - api1.composite_args(args.get("id", |id: String| Object21Partial { id: Some(id) })) - .select(all())?, + api1.composite_args(args.get("id", |id: String| { + types::RootCompositeArgsFnInputPartial { id: Some(id) } + })) + .select(all())?, )) })?; @@ -28,7 +47,7 @@ fn main() -> Result<(), BoxErr> { let res2 = prepared_clone.perform([ ( "post", - serde_json::json!(PostPartial { + serde_json::json!(types::PostPartial { id: Some("94be5420-8c4a-4e67-b4f4-e1b2b54832a2".into()), slug: Some("".into()), title: Some("".into()), @@ -39,24 +58,6 @@ fn main() -> Result<(), BoxErr> { serde_json::json!("94be5420-8c4a-4e67-b4f4-e1b2b54832a2"), ), ])?; - let res3 = gql_sync.query(( - api1.get_user().select_aliased(UserSelections { - posts: alias([ - ( - "post1", - select(PostSelections { - id: get(), - slug: get(), - title: get(), - }), - ), - ("post2", select(PostSelections { id: get(), ..all() })), - ]), - ..all() - })?, - api1.get_posts().select(all())?, - api1.scalar_no_args(), - ))?; (res2, res3) }; tokio::runtime::Builder::new_multi_thread() @@ -90,18 +91,50 @@ fn main() -> Result<(), BoxErr> { let res4 = gql .mutation(( - api1.scalar_args(PostPartial { + api1.scalar_args(types::PostPartial { id: Some("94be5420-8c4a-4e67-b4f4-e1b2b54832a2".into()), slug: Some("".into()), title: Some("".into()), }), api1.composite_no_args().select(all())?, - api1.composite_args(Object21Partial { + api1.composite_args(types::RootCompositeArgsFnInputPartial { id: Some("94be5420-8c4a-4e67-b4f4-e1b2b54832a2".into()), }) .select(all())?, )) .await?; + + /* let res5 = gql + .query(( + api1.scalar_union(types::Object28Partial { + id: Some("94be5420-8c4a-4e67-b4f4-e1b2b54832a2".into()), + }), + // allows ignoring some members + api1.composite_union(types::Object28Partial { + id: Some("94be5420-8c4a-4e67-b4f4-e1b2b54832a2".into()), + }) + .select(Union9Selections { + post: select(all()), + ..default() + })?, + // returns empty if returned type wasn't selected + // in union member + api1.composite_union(types::Object28Partial { + id: Some("94be5420-8c4a-4e67-b4f4-e1b2b54832a2".into()), + }) + .select(Union9Selections { + user: select(all()), + ..default() + })?, + api1.mixed_union(types::Object28Partial { + id: Some("94be5420-8c4a-4e67-b4f4-e1b2b54832a2".into()), + }) + .select(Union15Selections { + post: select(all()), + user: select(all()), + })?, + )) + .await?; */ println!( "{}", serde_json::to_string_pretty(&serde_json::json!([ @@ -129,7 +162,13 @@ fn main() -> Result<(), BoxErr> { "scalarArgs": res4.0, "compositeNoArgs": res4.1, "compositeArgs": res4.2, - } + }, + /* { + "scalarUnion": res5.0, + "compositeUnion1": res5.1, + "compositeUnion2": res5.2, + "mixedUnion": res5.3 + } */ ]))? ); Ok(()) diff --git a/src/metagen/src/lib.rs b/src/metagen/src/lib.rs index 8b972bcf4e..ea7ba1f074 100644 --- a/src/metagen/src/lib.rs +++ b/src/metagen/src/lib.rs @@ -28,7 +28,8 @@ mod interlude { mod config; mod macros; -mod shared; +// used by the NamingPostProcessor +pub mod shared; mod fdk_python; mod fdk_rust; diff --git a/src/typegraph/core/src/conversion/types.rs b/src/typegraph/core/src/conversion/types.rs index 8922576db3..fbe1ec5db5 100644 --- a/src/typegraph/core/src/conversion/types.rs +++ b/src/typegraph/core/src/conversion/types.rs @@ -50,9 +50,10 @@ impl<'a, 'b> BaseBuilderInit<'a, 'b> { pub fn init_builder(self) -> Result> { let policies = self.ctx.register_policy_chain(self.policies)?; - let name = self - .name - .unwrap_or_else(|| format!("{}_{}", self.base_name, self.type_id.0)); + let name = match self.name { + Some(name) => name, + None => format!("{}_{}_placeholder", self.base_name, self.type_id.0), + }; let runtime_config = self.runtime_config.map(|c| { c.iter() diff --git a/src/typegraph/core/src/global_store.rs b/src/typegraph/core/src/global_store.rs index 3403f8ec57..c5aa08aa43 100644 --- a/src/typegraph/core/src/global_store.rs +++ b/src/typegraph/core/src/global_store.rs @@ -40,7 +40,9 @@ pub struct SavedState { #[derive(Default)] pub struct Store { pub types: Vec, - pub type_by_names: IndexMap, + // the bool indicates weather the name was from + // user or generated placeholder (false) + pub type_by_names: IndexMap, pub runtimes: Vec, pub materializers: Vec, @@ -151,7 +153,7 @@ impl Store { } pub fn get_type_by_name(name: &str) -> Option { - with_store(|s| s.type_by_names.get(name).copied()) + with_store(|s| s.type_by_names.get(name).map(|id| id.0)) } pub fn register_type_ref(name: String, attributes: Vec<(String, String)>) -> Result { @@ -172,11 +174,30 @@ impl Store { ) -> Result { // this works since the store is thread local let id = with_store(|s| s.types.len()) as u32; - let type_def = build(id.into()); + let mut type_def = build(id.into()); + // very hacky solution where we keep track of + // explicitly named types in user_named_types + // we generate names for everything else to + // allow the ref system to work if name_registration.0 { if let Some(name) = type_def.base().name.clone() { - Self::register_type_name(name, id.into())?; + Self::register_type_name(name, id.into(), true)?; + } else { + // we only need to assign temporary non-user named + // types for lists and optionals. other refs + // will need explicit names by the user + match type_def { + TypeDef::List(_) | TypeDef::Optional(_) => { + let varaint = type_def.variant_name(); + let placeholder_name = format!("{varaint}_{id}"); + Self::register_type_name(&placeholder_name, id.into(), false)?; + let mut base = type_def.base().clone(); + base.name = Some(placeholder_name); + type_def = type_def.with_base(id.into(), base); + } + _ => {} + } } } @@ -187,17 +208,24 @@ impl Store { Ok(id.into()) } - pub fn register_type_name(name: impl Into, id: TypeId) -> Result<()> { + pub fn register_type_name(name: impl Into, id: TypeId, user_named: bool) -> Result<()> { let name = name.into(); with_store_mut(move |s| -> Result<()> { if s.type_by_names.contains_key(&name) { return Err(format!("type with name {:?} already exists", name).into()); } - s.type_by_names.insert(name, id); + s.type_by_names.insert(name, (id, user_named)); Ok(()) }) } + pub fn is_user_named(name: &str) -> Option { + with_store(|s| { + let (_id, user_named) = s.type_by_names.get(name)?; + Some(*user_named) + }) + } + pub fn generate_alias() -> String { with_store_mut(|s| { s.latest_alias_no += 1; @@ -211,7 +239,7 @@ impl Store { if s.type_by_names.contains_key(&name) { return Err(format!("type with name {:?} already exists", name).into()); } - s.type_by_names.insert(name, id); + s.type_by_names.insert(name, (id, true)); Ok(()) }) } diff --git a/src/typegraph/core/src/lib.rs b/src/typegraph/core/src/lib.rs index 90063e2f61..b7f0cdbf66 100644 --- a/src/typegraph/core/src/lib.rs +++ b/src/typegraph/core/src/lib.rs @@ -167,11 +167,11 @@ impl wit::core::Guest for Lib { } Ok(Store::register_type_def( |id| { - // TODO why?? + /* // TODO why?? let base = TypeBase { name: Some(format!("_{}_file", id.0)), ..base - }; + }; */ TypeDef::File( File { id, @@ -193,19 +193,8 @@ impl wit::core::Guest for Lib { return Err(errors::invalid_max_value()); } } - let inner_name = match base.name { - Some(_) => None, - None => TypeId(data.of).name()?, - }; Ok(Store::register_type_def( |id| { - let base = match inner_name { - Some(n) => TypeBase { - name: Some(format!("_{}_{}[]", id.0, n)), - ..base - }, - None => base, - }; TypeDef::List( List { id, @@ -222,19 +211,19 @@ impl wit::core::Guest for Lib { } fn optionalb(data: TypeOptional, base: TypeBase) -> Result { - let inner_name = match base.name { + /* let inner_name = match base.name { Some(_) => None, None => TypeId(data.of).name()?, - }; + }; */ Ok(Store::register_type_def( |id| { - let base = match inner_name { + /* let base = match inner_name { Some(n) => TypeBase { name: Some(format!("_{}_{}?", id.0, n)), ..base }, None => base, - }; + }; */ TypeDef::Optional( Optional { id, diff --git a/src/typegraph/core/src/runtimes/prisma/type_generation/snapshots/typegraph_core__runtimes__prisma__type_generation__query_where_expr__tests__Post__QueryWhereExpr.snap b/src/typegraph/core/src/runtimes/prisma/type_generation/snapshots/typegraph_core__runtimes__prisma__type_generation__query_where_expr__tests__Post__QueryWhereExpr.snap index eac647918c..5af39ed024 100644 --- a/src/typegraph/core/src/runtimes/prisma/type_generation/snapshots/typegraph_core__runtimes__prisma__type_generation__query_where_expr__tests__Post__QueryWhereExpr.snap +++ b/src/typegraph/core/src/runtimes/prisma/type_generation/snapshots/typegraph_core__runtimes__prisma__type_generation__query_where_expr__tests__Post__QueryWhereExpr.snap @@ -1,19 +1,19 @@ --- -source: typegraph/core/src/runtimes/prisma/type_generation/query_where_expr.rs +source: src/typegraph/core/src/runtimes/prisma/type_generation/query_where_expr.rs expression: "tree::print(post_where_expr)" --- root: struct 'QueryPostWhereInput' #78 -├── [AND]: optional '_76__75_QueryPostWhereInput[]?' #76 -│ └── item: list '_75_QueryPostWhereInput[]' #75 +├── [AND]: optional 'optional_76' #76 +│ └── item: list 'list_75' #75 │ └── item: &QueryPostWhereInput #74 -├── [NOT]: optional '_77_QueryPostWhereInput?' #77 +├── [NOT]: optional 'optional_77' #77 │ └── item: &QueryPostWhereInput #74 -├── [OR]: optional '_76__75_QueryPostWhereInput[]?' #76 -│ └── item: list '_75_QueryPostWhereInput[]' #75 +├── [OR]: optional 'optional_76' #76 +│ └── item: list 'list_75' #75 │ └── item: &QueryPostWhereInput #74 -├── [author]: optional '_72_UserWhere__skip_8_PostWhere?' #72 +├── [author]: optional 'optional_72' #72 │ └── item: struct 'UserWhere__skip_8_PostWhere' #71 -│ ├── [id]: optional '_60__integer_filter_c?' #60 +│ ├── [id]: optional 'optional_60' #60 │ │ └── item: optional '_integer_filter_c' #20 │ │ └── item: union #19 │ │ ├── variant_0: either '_integer_filter' #17 @@ -23,19 +23,19 @@ root: struct 'QueryPostWhereInput' #78 │ │ │ ├── variant_2: struct #13 │ │ │ │ └── [not]: integer #9 │ │ │ ├── variant_3: struct #14 -│ │ │ │ ├── [gt]: optional #10 +│ │ │ │ ├── [gt]: optional 'optional_10' #10 │ │ │ │ │ └── item: integer #9 -│ │ │ │ ├── [gte]: optional #10 +│ │ │ │ ├── [gte]: optional 'optional_10' #10 │ │ │ │ │ └── item: integer #9 -│ │ │ │ ├── [lt]: optional #10 +│ │ │ │ ├── [lt]: optional 'optional_10' #10 │ │ │ │ │ └── item: integer #9 -│ │ │ │ └── [lte]: optional #10 +│ │ │ │ └── [lte]: optional 'optional_10' #10 │ │ │ │ └── item: integer #9 │ │ │ ├── variant_4: struct #15 -│ │ │ │ └── [in]: list #11 +│ │ │ │ └── [in]: list 'list_11' #11 │ │ │ │ └── item: integer #9 │ │ │ └── variant_5: struct #16 -│ │ │ └── [notIn]: list #11 +│ │ │ └── [notIn]: list 'list_11' #11 │ │ │ └── item: integer #9 │ │ └── variant_1: struct #18 │ │ └── [not]: either '_integer_filter' #17 @@ -45,21 +45,21 @@ root: struct 'QueryPostWhereInput' #78 │ │ ├── variant_2: struct #13 │ │ │ └── [not]: integer #9 │ │ ├── variant_3: struct #14 -│ │ │ ├── [gt]: optional #10 +│ │ │ ├── [gt]: optional 'optional_10' #10 │ │ │ │ └── item: integer #9 -│ │ │ ├── [gte]: optional #10 +│ │ │ ├── [gte]: optional 'optional_10' #10 │ │ │ │ └── item: integer #9 -│ │ │ ├── [lt]: optional #10 +│ │ │ ├── [lt]: optional 'optional_10' #10 │ │ │ │ └── item: integer #9 -│ │ │ └── [lte]: optional #10 +│ │ │ └── [lte]: optional 'optional_10' #10 │ │ │ └── item: integer #9 │ │ ├── variant_4: struct #15 -│ │ │ └── [in]: list #11 +│ │ │ └── [in]: list 'list_11' #11 │ │ │ └── item: integer #9 │ │ └── variant_5: struct #16 -│ │ └── [notIn]: list #11 +│ │ └── [notIn]: list 'list_11' #11 │ │ └── item: integer #9 -│ ├── [name]: optional '_61__string_filter_c?' #61 +│ ├── [name]: optional 'optional_61' #61 │ │ └── item: optional '_string_filter_c' #37 │ │ └── item: union #36 │ │ ├── variant_0: union '_string_filter' #34 @@ -69,21 +69,21 @@ root: struct 'QueryPostWhereInput' #78 │ │ │ ├── variant_2: struct #26 │ │ │ │ └── [not]: string #22 │ │ │ ├── variant_3: struct #27 -│ │ │ │ └── [in]: list #24 +│ │ │ │ └── [in]: list 'list_24' #24 │ │ │ │ └── item: string #22 │ │ │ ├── variant_4: struct #28 -│ │ │ │ └── [notIn]: list #24 +│ │ │ │ └── [notIn]: list 'list_24' #24 │ │ │ │ └── item: string #22 │ │ │ ├── variant_5: struct #31 │ │ │ │ ├── [contains]: string #22 -│ │ │ │ └── [mode]: optional #30 +│ │ │ │ └── [mode]: optional 'optional_30' #30 │ │ │ │ └── item: string #29 enum{ '"insensitive"' } │ │ │ ├── variant_6: struct #32 │ │ │ │ └── [search]: string #22 │ │ │ └── variant_7: struct #33 -│ │ │ ├── [endsWith]: optional #23 +│ │ │ ├── [endsWith]: optional 'optional_23' #23 │ │ │ │ └── item: string #22 -│ │ │ └── [startsWith]: optional #23 +│ │ │ └── [startsWith]: optional 'optional_23' #23 │ │ │ └── item: string #22 │ │ └── variant_1: struct #35 │ │ └── [not]: union '_string_filter' #34 @@ -93,34 +93,34 @@ root: struct 'QueryPostWhereInput' #78 │ │ ├── variant_2: struct #26 │ │ │ └── [not]: string #22 │ │ ├── variant_3: struct #27 -│ │ │ └── [in]: list #24 +│ │ │ └── [in]: list 'list_24' #24 │ │ │ └── item: string #22 │ │ ├── variant_4: struct #28 -│ │ │ └── [notIn]: list #24 +│ │ │ └── [notIn]: list 'list_24' #24 │ │ │ └── item: string #22 │ │ ├── variant_5: struct #31 │ │ │ ├── [contains]: string #22 -│ │ │ └── [mode]: optional #30 +│ │ │ └── [mode]: optional 'optional_30' #30 │ │ │ └── item: string #29 enum{ '"insensitive"' } │ │ ├── variant_6: struct #32 │ │ │ └── [search]: string #22 │ │ └── variant_7: struct #33 -│ │ ├── [endsWith]: optional #23 +│ │ ├── [endsWith]: optional 'optional_23' #23 │ │ │ └── item: string #22 -│ │ └── [startsWith]: optional #23 +│ │ └── [startsWith]: optional 'optional_23' #23 │ │ └── item: string #22 -│ └── [posts]: optional #70 +│ └── [posts]: optional 'optional_70' #70 │ └── item: union #69 │ ├── variant_0: struct #64 -│ │ └── [every]: optional '_63_PostWhere?' #63 +│ │ └── [every]: optional 'optional_63' #63 │ │ └── item: &PostWhere #62 │ ├── variant_1: struct #66 -│ │ └── [some]: optional '_65_PostWhere?' #65 +│ │ └── [some]: optional 'optional_65' #65 │ │ └── item: &PostWhere #62 │ └── variant_2: struct #68 -│ └── [none]: optional '_67_PostWhere?' #67 +│ └── [none]: optional 'optional_67' #67 │ └── item: &PostWhere #62 -├── [id]: optional '_58__integer_filter_c?' #58 +├── [id]: optional 'optional_58' #58 │ └── item: optional '_integer_filter_c' #20 │ └── item: union #19 │ ├── variant_0: either '_integer_filter' #17 @@ -130,19 +130,19 @@ root: struct 'QueryPostWhereInput' #78 │ │ ├── variant_2: struct #13 │ │ │ └── [not]: integer #9 │ │ ├── variant_3: struct #14 -│ │ │ ├── [gt]: optional #10 +│ │ │ ├── [gt]: optional 'optional_10' #10 │ │ │ │ └── item: integer #9 -│ │ │ ├── [gte]: optional #10 +│ │ │ ├── [gte]: optional 'optional_10' #10 │ │ │ │ └── item: integer #9 -│ │ │ ├── [lt]: optional #10 +│ │ │ ├── [lt]: optional 'optional_10' #10 │ │ │ │ └── item: integer #9 -│ │ │ └── [lte]: optional #10 +│ │ │ └── [lte]: optional 'optional_10' #10 │ │ │ └── item: integer #9 │ │ ├── variant_4: struct #15 -│ │ │ └── [in]: list #11 +│ │ │ └── [in]: list 'list_11' #11 │ │ │ └── item: integer #9 │ │ └── variant_5: struct #16 -│ │ └── [notIn]: list #11 +│ │ └── [notIn]: list 'list_11' #11 │ │ └── item: integer #9 │ └── variant_1: struct #18 │ └── [not]: either '_integer_filter' #17 @@ -152,21 +152,21 @@ root: struct 'QueryPostWhereInput' #78 │ ├── variant_2: struct #13 │ │ └── [not]: integer #9 │ ├── variant_3: struct #14 -│ │ ├── [gt]: optional #10 +│ │ ├── [gt]: optional 'optional_10' #10 │ │ │ └── item: integer #9 -│ │ ├── [gte]: optional #10 +│ │ ├── [gte]: optional 'optional_10' #10 │ │ │ └── item: integer #9 -│ │ ├── [lt]: optional #10 +│ │ ├── [lt]: optional 'optional_10' #10 │ │ │ └── item: integer #9 -│ │ └── [lte]: optional #10 +│ │ └── [lte]: optional 'optional_10' #10 │ │ └── item: integer #9 │ ├── variant_4: struct #15 -│ │ └── [in]: list #11 +│ │ └── [in]: list 'list_11' #11 │ │ └── item: integer #9 │ └── variant_5: struct #16 -│ └── [notIn]: list #11 +│ └── [notIn]: list 'list_11' #11 │ └── item: integer #9 -└── [title]: optional '_59__string_filter_c?' #59 +└── [title]: optional 'optional_59' #59 └── item: optional '_string_filter_c' #37 └── item: union #36 ├── variant_0: union '_string_filter' #34 @@ -176,21 +176,21 @@ root: struct 'QueryPostWhereInput' #78 │ ├── variant_2: struct #26 │ │ └── [not]: string #22 │ ├── variant_3: struct #27 - │ │ └── [in]: list #24 + │ │ └── [in]: list 'list_24' #24 │ │ └── item: string #22 │ ├── variant_4: struct #28 - │ │ └── [notIn]: list #24 + │ │ └── [notIn]: list 'list_24' #24 │ │ └── item: string #22 │ ├── variant_5: struct #31 │ │ ├── [contains]: string #22 - │ │ └── [mode]: optional #30 + │ │ └── [mode]: optional 'optional_30' #30 │ │ └── item: string #29 enum{ '"insensitive"' } │ ├── variant_6: struct #32 │ │ └── [search]: string #22 │ └── variant_7: struct #33 - │ ├── [endsWith]: optional #23 + │ ├── [endsWith]: optional 'optional_23' #23 │ │ └── item: string #22 - │ └── [startsWith]: optional #23 + │ └── [startsWith]: optional 'optional_23' #23 │ └── item: string #22 └── variant_1: struct #35 └── [not]: union '_string_filter' #34 @@ -200,20 +200,19 @@ root: struct 'QueryPostWhereInput' #78 ├── variant_2: struct #26 │ └── [not]: string #22 ├── variant_3: struct #27 - │ └── [in]: list #24 + │ └── [in]: list 'list_24' #24 │ └── item: string #22 ├── variant_4: struct #28 - │ └── [notIn]: list #24 + │ └── [notIn]: list 'list_24' #24 │ └── item: string #22 ├── variant_5: struct #31 │ ├── [contains]: string #22 - │ └── [mode]: optional #30 + │ └── [mode]: optional 'optional_30' #30 │ └── item: string #29 enum{ '"insensitive"' } ├── variant_6: struct #32 │ └── [search]: string #22 └── variant_7: struct #33 - ├── [endsWith]: optional #23 + ├── [endsWith]: optional 'optional_23' #23 │ └── item: string #22 - └── [startsWith]: optional #23 + └── [startsWith]: optional 'optional_23' #23 └── item: string #22 - diff --git a/src/typegraph/core/src/runtimes/prisma/type_generation/snapshots/typegraph_core__runtimes__prisma__type_generation__query_where_expr__tests__User__QueryWhereExpr.snap b/src/typegraph/core/src/runtimes/prisma/type_generation/snapshots/typegraph_core__runtimes__prisma__type_generation__query_where_expr__tests__User__QueryWhereExpr.snap index 8f3d5a6fd5..0a73bdd4f6 100644 --- a/src/typegraph/core/src/runtimes/prisma/type_generation/snapshots/typegraph_core__runtimes__prisma__type_generation__query_where_expr__tests__User__QueryWhereExpr.snap +++ b/src/typegraph/core/src/runtimes/prisma/type_generation/snapshots/typegraph_core__runtimes__prisma__type_generation__query_where_expr__tests__User__QueryWhereExpr.snap @@ -1,17 +1,17 @@ --- -source: typegraph/core/src/runtimes/prisma/type_generation/query_where_expr.rs +source: src/typegraph/core/src/runtimes/prisma/type_generation/query_where_expr.rs expression: "tree::print(user_where_expr)" --- root: struct 'QueryUserWhereInput' #57 -├── [AND]: optional '_55__54_QueryUserWhereInput[]?' #55 -│ └── item: list '_54_QueryUserWhereInput[]' #54 +├── [AND]: optional 'optional_55' #55 +│ └── item: list 'list_54' #54 │ └── item: &QueryUserWhereInput #53 -├── [NOT]: optional '_56_QueryUserWhereInput?' #56 +├── [NOT]: optional 'optional_56' #56 │ └── item: &QueryUserWhereInput #53 -├── [OR]: optional '_55__54_QueryUserWhereInput[]?' #55 -│ └── item: list '_54_QueryUserWhereInput[]' #54 +├── [OR]: optional 'optional_55' #55 +│ └── item: list 'list_54' #54 │ └── item: &QueryUserWhereInput #53 -├── [id]: optional '_21__integer_filter_c?' #21 +├── [id]: optional 'optional_21' #21 │ └── item: optional '_integer_filter_c' #20 │ └── item: union #19 │ ├── variant_0: either '_integer_filter' #17 @@ -21,19 +21,19 @@ root: struct 'QueryUserWhereInput' #57 │ │ ├── variant_2: struct #13 │ │ │ └── [not]: integer #9 │ │ ├── variant_3: struct #14 -│ │ │ ├── [gt]: optional #10 +│ │ │ ├── [gt]: optional 'optional_10' #10 │ │ │ │ └── item: integer #9 -│ │ │ ├── [gte]: optional #10 +│ │ │ ├── [gte]: optional 'optional_10' #10 │ │ │ │ └── item: integer #9 -│ │ │ ├── [lt]: optional #10 +│ │ │ ├── [lt]: optional 'optional_10' #10 │ │ │ │ └── item: integer #9 -│ │ │ └── [lte]: optional #10 +│ │ │ └── [lte]: optional 'optional_10' #10 │ │ │ └── item: integer #9 │ │ ├── variant_4: struct #15 -│ │ │ └── [in]: list #11 +│ │ │ └── [in]: list 'list_11' #11 │ │ │ └── item: integer #9 │ │ └── variant_5: struct #16 -│ │ └── [notIn]: list #11 +│ │ └── [notIn]: list 'list_11' #11 │ │ └── item: integer #9 │ └── variant_1: struct #18 │ └── [not]: either '_integer_filter' #17 @@ -43,21 +43,21 @@ root: struct 'QueryUserWhereInput' #57 │ ├── variant_2: struct #13 │ │ └── [not]: integer #9 │ ├── variant_3: struct #14 -│ │ ├── [gt]: optional #10 +│ │ ├── [gt]: optional 'optional_10' #10 │ │ │ └── item: integer #9 -│ │ ├── [gte]: optional #10 +│ │ ├── [gte]: optional 'optional_10' #10 │ │ │ └── item: integer #9 -│ │ ├── [lt]: optional #10 +│ │ ├── [lt]: optional 'optional_10' #10 │ │ │ └── item: integer #9 -│ │ └── [lte]: optional #10 +│ │ └── [lte]: optional 'optional_10' #10 │ │ └── item: integer #9 │ ├── variant_4: struct #15 -│ │ └── [in]: list #11 +│ │ └── [in]: list 'list_11' #11 │ │ └── item: integer #9 │ └── variant_5: struct #16 -│ └── [notIn]: list #11 +│ └── [notIn]: list 'list_11' #11 │ └── item: integer #9 -├── [name]: optional '_38__string_filter_c?' #38 +├── [name]: optional 'optional_38' #38 │ └── item: optional '_string_filter_c' #37 │ └── item: union #36 │ ├── variant_0: union '_string_filter' #34 @@ -67,21 +67,21 @@ root: struct 'QueryUserWhereInput' #57 │ │ ├── variant_2: struct #26 │ │ │ └── [not]: string #22 │ │ ├── variant_3: struct #27 -│ │ │ └── [in]: list #24 +│ │ │ └── [in]: list 'list_24' #24 │ │ │ └── item: string #22 │ │ ├── variant_4: struct #28 -│ │ │ └── [notIn]: list #24 +│ │ │ └── [notIn]: list 'list_24' #24 │ │ │ └── item: string #22 │ │ ├── variant_5: struct #31 │ │ │ ├── [contains]: string #22 -│ │ │ └── [mode]: optional #30 +│ │ │ └── [mode]: optional 'optional_30' #30 │ │ │ └── item: string #29 enum{ '"insensitive"' } │ │ ├── variant_6: struct #32 │ │ │ └── [search]: string #22 │ │ └── variant_7: struct #33 -│ │ ├── [endsWith]: optional #23 +│ │ ├── [endsWith]: optional 'optional_23' #23 │ │ │ └── item: string #22 -│ │ └── [startsWith]: optional #23 +│ │ └── [startsWith]: optional 'optional_23' #23 │ │ └── item: string #22 │ └── variant_1: struct #35 │ └── [not]: union '_string_filter' #34 @@ -91,30 +91,30 @@ root: struct 'QueryUserWhereInput' #57 │ ├── variant_2: struct #26 │ │ └── [not]: string #22 │ ├── variant_3: struct #27 -│ │ └── [in]: list #24 +│ │ └── [in]: list 'list_24' #24 │ │ └── item: string #22 │ ├── variant_4: struct #28 -│ │ └── [notIn]: list #24 +│ │ └── [notIn]: list 'list_24' #24 │ │ └── item: string #22 │ ├── variant_5: struct #31 │ │ ├── [contains]: string #22 -│ │ └── [mode]: optional #30 +│ │ └── [mode]: optional 'optional_30' #30 │ │ └── item: string #29 enum{ '"insensitive"' } │ ├── variant_6: struct #32 │ │ └── [search]: string #22 │ └── variant_7: struct #33 -│ ├── [endsWith]: optional #23 +│ ├── [endsWith]: optional 'optional_23' #23 │ │ └── item: string #22 -│ └── [startsWith]: optional #23 +│ └── [startsWith]: optional 'optional_23' #23 │ └── item: string #22 -└── [posts]: optional #51 +└── [posts]: optional 'optional_51' #51 └── item: union #50 ├── variant_0: struct #45 - │ └── [every]: optional '_44_PostWhere__skip_4_UserWhere?' #44 + │ └── [every]: optional 'optional_44' #44 │ └── item: struct 'PostWhere__skip_4_UserWhere' #43 - │ ├── [author]: optional '_42_UserWhere?' #42 + │ ├── [author]: optional 'optional_42' #42 │ │ └── item: &UserWhere #41 - │ ├── [id]: optional '_39__integer_filter_c?' #39 + │ ├── [id]: optional 'optional_39' #39 │ │ └── item: optional '_integer_filter_c' #20 │ │ └── item: union #19 │ │ ├── variant_0: either '_integer_filter' #17 @@ -124,19 +124,19 @@ root: struct 'QueryUserWhereInput' #57 │ │ │ ├── variant_2: struct #13 │ │ │ │ └── [not]: integer #9 │ │ │ ├── variant_3: struct #14 - │ │ │ │ ├── [gt]: optional #10 + │ │ │ │ ├── [gt]: optional 'optional_10' #10 │ │ │ │ │ └── item: integer #9 - │ │ │ │ ├── [gte]: optional #10 + │ │ │ │ ├── [gte]: optional 'optional_10' #10 │ │ │ │ │ └── item: integer #9 - │ │ │ │ ├── [lt]: optional #10 + │ │ │ │ ├── [lt]: optional 'optional_10' #10 │ │ │ │ │ └── item: integer #9 - │ │ │ │ └── [lte]: optional #10 + │ │ │ │ └── [lte]: optional 'optional_10' #10 │ │ │ │ └── item: integer #9 │ │ │ ├── variant_4: struct #15 - │ │ │ │ └── [in]: list #11 + │ │ │ │ └── [in]: list 'list_11' #11 │ │ │ │ └── item: integer #9 │ │ │ └── variant_5: struct #16 - │ │ │ └── [notIn]: list #11 + │ │ │ └── [notIn]: list 'list_11' #11 │ │ │ └── item: integer #9 │ │ └── variant_1: struct #18 │ │ └── [not]: either '_integer_filter' #17 @@ -146,21 +146,21 @@ root: struct 'QueryUserWhereInput' #57 │ │ ├── variant_2: struct #13 │ │ │ └── [not]: integer #9 │ │ ├── variant_3: struct #14 - │ │ │ ├── [gt]: optional #10 + │ │ │ ├── [gt]: optional 'optional_10' #10 │ │ │ │ └── item: integer #9 - │ │ │ ├── [gte]: optional #10 + │ │ │ ├── [gte]: optional 'optional_10' #10 │ │ │ │ └── item: integer #9 - │ │ │ ├── [lt]: optional #10 + │ │ │ ├── [lt]: optional 'optional_10' #10 │ │ │ │ └── item: integer #9 - │ │ │ └── [lte]: optional #10 + │ │ │ └── [lte]: optional 'optional_10' #10 │ │ │ └── item: integer #9 │ │ ├── variant_4: struct #15 - │ │ │ └── [in]: list #11 + │ │ │ └── [in]: list 'list_11' #11 │ │ │ └── item: integer #9 │ │ └── variant_5: struct #16 - │ │ └── [notIn]: list #11 + │ │ └── [notIn]: list 'list_11' #11 │ │ └── item: integer #9 - │ └── [title]: optional '_40__string_filter_c?' #40 + │ └── [title]: optional 'optional_40' #40 │ └── item: optional '_string_filter_c' #37 │ └── item: union #36 │ ├── variant_0: union '_string_filter' #34 @@ -170,21 +170,21 @@ root: struct 'QueryUserWhereInput' #57 │ │ ├── variant_2: struct #26 │ │ │ └── [not]: string #22 │ │ ├── variant_3: struct #27 - │ │ │ └── [in]: list #24 + │ │ │ └── [in]: list 'list_24' #24 │ │ │ └── item: string #22 │ │ ├── variant_4: struct #28 - │ │ │ └── [notIn]: list #24 + │ │ │ └── [notIn]: list 'list_24' #24 │ │ │ └── item: string #22 │ │ ├── variant_5: struct #31 │ │ │ ├── [contains]: string #22 - │ │ │ └── [mode]: optional #30 + │ │ │ └── [mode]: optional 'optional_30' #30 │ │ │ └── item: string #29 enum{ '"insensitive"' } │ │ ├── variant_6: struct #32 │ │ │ └── [search]: string #22 │ │ └── variant_7: struct #33 - │ │ ├── [endsWith]: optional #23 + │ │ ├── [endsWith]: optional 'optional_23' #23 │ │ │ └── item: string #22 - │ │ └── [startsWith]: optional #23 + │ │ └── [startsWith]: optional 'optional_23' #23 │ │ └── item: string #22 │ └── variant_1: struct #35 │ └── [not]: union '_string_filter' #34 @@ -194,28 +194,28 @@ root: struct 'QueryUserWhereInput' #57 │ ├── variant_2: struct #26 │ │ └── [not]: string #22 │ ├── variant_3: struct #27 - │ │ └── [in]: list #24 + │ │ └── [in]: list 'list_24' #24 │ │ └── item: string #22 │ ├── variant_4: struct #28 - │ │ └── [notIn]: list #24 + │ │ └── [notIn]: list 'list_24' #24 │ │ └── item: string #22 │ ├── variant_5: struct #31 │ │ ├── [contains]: string #22 - │ │ └── [mode]: optional #30 + │ │ └── [mode]: optional 'optional_30' #30 │ │ └── item: string #29 enum{ '"insensitive"' } │ ├── variant_6: struct #32 │ │ └── [search]: string #22 │ └── variant_7: struct #33 - │ ├── [endsWith]: optional #23 + │ ├── [endsWith]: optional 'optional_23' #23 │ │ └── item: string #22 - │ └── [startsWith]: optional #23 + │ └── [startsWith]: optional 'optional_23' #23 │ └── item: string #22 ├── variant_1: struct #47 - │ └── [some]: optional '_46_PostWhere__skip_4_UserWhere?' #46 + │ └── [some]: optional 'optional_46' #46 │ └── item: struct 'PostWhere__skip_4_UserWhere' #43 - │ ├── [author]: optional '_42_UserWhere?' #42 + │ ├── [author]: optional 'optional_42' #42 │ │ └── item: &UserWhere #41 - │ ├── [id]: optional '_39__integer_filter_c?' #39 + │ ├── [id]: optional 'optional_39' #39 │ │ └── item: optional '_integer_filter_c' #20 │ │ └── item: union #19 │ │ ├── variant_0: either '_integer_filter' #17 @@ -225,19 +225,19 @@ root: struct 'QueryUserWhereInput' #57 │ │ │ ├── variant_2: struct #13 │ │ │ │ └── [not]: integer #9 │ │ │ ├── variant_3: struct #14 - │ │ │ │ ├── [gt]: optional #10 + │ │ │ │ ├── [gt]: optional 'optional_10' #10 │ │ │ │ │ └── item: integer #9 - │ │ │ │ ├── [gte]: optional #10 + │ │ │ │ ├── [gte]: optional 'optional_10' #10 │ │ │ │ │ └── item: integer #9 - │ │ │ │ ├── [lt]: optional #10 + │ │ │ │ ├── [lt]: optional 'optional_10' #10 │ │ │ │ │ └── item: integer #9 - │ │ │ │ └── [lte]: optional #10 + │ │ │ │ └── [lte]: optional 'optional_10' #10 │ │ │ │ └── item: integer #9 │ │ │ ├── variant_4: struct #15 - │ │ │ │ └── [in]: list #11 + │ │ │ │ └── [in]: list 'list_11' #11 │ │ │ │ └── item: integer #9 │ │ │ └── variant_5: struct #16 - │ │ │ └── [notIn]: list #11 + │ │ │ └── [notIn]: list 'list_11' #11 │ │ │ └── item: integer #9 │ │ └── variant_1: struct #18 │ │ └── [not]: either '_integer_filter' #17 @@ -247,21 +247,21 @@ root: struct 'QueryUserWhereInput' #57 │ │ ├── variant_2: struct #13 │ │ │ └── [not]: integer #9 │ │ ├── variant_3: struct #14 - │ │ │ ├── [gt]: optional #10 + │ │ │ ├── [gt]: optional 'optional_10' #10 │ │ │ │ └── item: integer #9 - │ │ │ ├── [gte]: optional #10 + │ │ │ ├── [gte]: optional 'optional_10' #10 │ │ │ │ └── item: integer #9 - │ │ │ ├── [lt]: optional #10 + │ │ │ ├── [lt]: optional 'optional_10' #10 │ │ │ │ └── item: integer #9 - │ │ │ └── [lte]: optional #10 + │ │ │ └── [lte]: optional 'optional_10' #10 │ │ │ └── item: integer #9 │ │ ├── variant_4: struct #15 - │ │ │ └── [in]: list #11 + │ │ │ └── [in]: list 'list_11' #11 │ │ │ └── item: integer #9 │ │ └── variant_5: struct #16 - │ │ └── [notIn]: list #11 + │ │ └── [notIn]: list 'list_11' #11 │ │ └── item: integer #9 - │ └── [title]: optional '_40__string_filter_c?' #40 + │ └── [title]: optional 'optional_40' #40 │ └── item: optional '_string_filter_c' #37 │ └── item: union #36 │ ├── variant_0: union '_string_filter' #34 @@ -271,21 +271,21 @@ root: struct 'QueryUserWhereInput' #57 │ │ ├── variant_2: struct #26 │ │ │ └── [not]: string #22 │ │ ├── variant_3: struct #27 - │ │ │ └── [in]: list #24 + │ │ │ └── [in]: list 'list_24' #24 │ │ │ └── item: string #22 │ │ ├── variant_4: struct #28 - │ │ │ └── [notIn]: list #24 + │ │ │ └── [notIn]: list 'list_24' #24 │ │ │ └── item: string #22 │ │ ├── variant_5: struct #31 │ │ │ ├── [contains]: string #22 - │ │ │ └── [mode]: optional #30 + │ │ │ └── [mode]: optional 'optional_30' #30 │ │ │ └── item: string #29 enum{ '"insensitive"' } │ │ ├── variant_6: struct #32 │ │ │ └── [search]: string #22 │ │ └── variant_7: struct #33 - │ │ ├── [endsWith]: optional #23 + │ │ ├── [endsWith]: optional 'optional_23' #23 │ │ │ └── item: string #22 - │ │ └── [startsWith]: optional #23 + │ │ └── [startsWith]: optional 'optional_23' #23 │ │ └── item: string #22 │ └── variant_1: struct #35 │ └── [not]: union '_string_filter' #34 @@ -295,28 +295,28 @@ root: struct 'QueryUserWhereInput' #57 │ ├── variant_2: struct #26 │ │ └── [not]: string #22 │ ├── variant_3: struct #27 - │ │ └── [in]: list #24 + │ │ └── [in]: list 'list_24' #24 │ │ └── item: string #22 │ ├── variant_4: struct #28 - │ │ └── [notIn]: list #24 + │ │ └── [notIn]: list 'list_24' #24 │ │ └── item: string #22 │ ├── variant_5: struct #31 │ │ ├── [contains]: string #22 - │ │ └── [mode]: optional #30 + │ │ └── [mode]: optional 'optional_30' #30 │ │ └── item: string #29 enum{ '"insensitive"' } │ ├── variant_6: struct #32 │ │ └── [search]: string #22 │ └── variant_7: struct #33 - │ ├── [endsWith]: optional #23 + │ ├── [endsWith]: optional 'optional_23' #23 │ │ └── item: string #22 - │ └── [startsWith]: optional #23 + │ └── [startsWith]: optional 'optional_23' #23 │ └── item: string #22 └── variant_2: struct #49 - └── [none]: optional '_48_PostWhere__skip_4_UserWhere?' #48 + └── [none]: optional 'optional_48' #48 └── item: struct 'PostWhere__skip_4_UserWhere' #43 - ├── [author]: optional '_42_UserWhere?' #42 + ├── [author]: optional 'optional_42' #42 │ └── item: &UserWhere #41 - ├── [id]: optional '_39__integer_filter_c?' #39 + ├── [id]: optional 'optional_39' #39 │ └── item: optional '_integer_filter_c' #20 │ └── item: union #19 │ ├── variant_0: either '_integer_filter' #17 @@ -326,19 +326,19 @@ root: struct 'QueryUserWhereInput' #57 │ │ ├── variant_2: struct #13 │ │ │ └── [not]: integer #9 │ │ ├── variant_3: struct #14 - │ │ │ ├── [gt]: optional #10 + │ │ │ ├── [gt]: optional 'optional_10' #10 │ │ │ │ └── item: integer #9 - │ │ │ ├── [gte]: optional #10 + │ │ │ ├── [gte]: optional 'optional_10' #10 │ │ │ │ └── item: integer #9 - │ │ │ ├── [lt]: optional #10 + │ │ │ ├── [lt]: optional 'optional_10' #10 │ │ │ │ └── item: integer #9 - │ │ │ └── [lte]: optional #10 + │ │ │ └── [lte]: optional 'optional_10' #10 │ │ │ └── item: integer #9 │ │ ├── variant_4: struct #15 - │ │ │ └── [in]: list #11 + │ │ │ └── [in]: list 'list_11' #11 │ │ │ └── item: integer #9 │ │ └── variant_5: struct #16 - │ │ └── [notIn]: list #11 + │ │ └── [notIn]: list 'list_11' #11 │ │ └── item: integer #9 │ └── variant_1: struct #18 │ └── [not]: either '_integer_filter' #17 @@ -348,21 +348,21 @@ root: struct 'QueryUserWhereInput' #57 │ ├── variant_2: struct #13 │ │ └── [not]: integer #9 │ ├── variant_3: struct #14 - │ │ ├── [gt]: optional #10 + │ │ ├── [gt]: optional 'optional_10' #10 │ │ │ └── item: integer #9 - │ │ ├── [gte]: optional #10 + │ │ ├── [gte]: optional 'optional_10' #10 │ │ │ └── item: integer #9 - │ │ ├── [lt]: optional #10 + │ │ ├── [lt]: optional 'optional_10' #10 │ │ │ └── item: integer #9 - │ │ └── [lte]: optional #10 + │ │ └── [lte]: optional 'optional_10' #10 │ │ └── item: integer #9 │ ├── variant_4: struct #15 - │ │ └── [in]: list #11 + │ │ └── [in]: list 'list_11' #11 │ │ └── item: integer #9 │ └── variant_5: struct #16 - │ └── [notIn]: list #11 + │ └── [notIn]: list 'list_11' #11 │ └── item: integer #9 - └── [title]: optional '_40__string_filter_c?' #40 + └── [title]: optional 'optional_40' #40 └── item: optional '_string_filter_c' #37 └── item: union #36 ├── variant_0: union '_string_filter' #34 @@ -372,21 +372,21 @@ root: struct 'QueryUserWhereInput' #57 │ ├── variant_2: struct #26 │ │ └── [not]: string #22 │ ├── variant_3: struct #27 - │ │ └── [in]: list #24 + │ │ └── [in]: list 'list_24' #24 │ │ └── item: string #22 │ ├── variant_4: struct #28 - │ │ └── [notIn]: list #24 + │ │ └── [notIn]: list 'list_24' #24 │ │ └── item: string #22 │ ├── variant_5: struct #31 │ │ ├── [contains]: string #22 - │ │ └── [mode]: optional #30 + │ │ └── [mode]: optional 'optional_30' #30 │ │ └── item: string #29 enum{ '"insensitive"' } │ ├── variant_6: struct #32 │ │ └── [search]: string #22 │ └── variant_7: struct #33 - │ ├── [endsWith]: optional #23 + │ ├── [endsWith]: optional 'optional_23' #23 │ │ └── item: string #22 - │ └── [startsWith]: optional #23 + │ └── [startsWith]: optional 'optional_23' #23 │ └── item: string #22 └── variant_1: struct #35 └── [not]: union '_string_filter' #34 @@ -396,20 +396,19 @@ root: struct 'QueryUserWhereInput' #57 ├── variant_2: struct #26 │ └── [not]: string #22 ├── variant_3: struct #27 - │ └── [in]: list #24 + │ └── [in]: list 'list_24' #24 │ └── item: string #22 ├── variant_4: struct #28 - │ └── [notIn]: list #24 + │ └── [notIn]: list 'list_24' #24 │ └── item: string #22 ├── variant_5: struct #31 │ ├── [contains]: string #22 - │ └── [mode]: optional #30 + │ └── [mode]: optional 'optional_30' #30 │ └── item: string #29 enum{ '"insensitive"' } ├── variant_6: struct #32 │ └── [search]: string #22 └── variant_7: struct #33 - ├── [endsWith]: optional #23 + ├── [endsWith]: optional 'optional_23' #23 │ └── item: string #22 - └── [startsWith]: optional #23 + └── [startsWith]: optional 'optional_23' #23 └── item: string #22 - diff --git a/src/typegraph/core/src/runtimes/prisma/type_generation/snapshots/typegraph_core__runtimes__prisma__type_generation__test__aggregate Post out.snap b/src/typegraph/core/src/runtimes/prisma/type_generation/snapshots/typegraph_core__runtimes__prisma__type_generation__test__aggregate Post out.snap index 949df93292..7b5d5a4202 100644 --- a/src/typegraph/core/src/runtimes/prisma/type_generation/snapshots/typegraph_core__runtimes__prisma__type_generation__test__aggregate Post out.snap +++ b/src/typegraph/core/src/runtimes/prisma/type_generation/snapshots/typegraph_core__runtimes__prisma__type_generation__test__aggregate Post out.snap @@ -1,27 +1,26 @@ --- -source: typegraph/core/src/runtimes/prisma/type_generation/mod.rs +source: src/typegraph/core/src/runtimes/prisma/type_generation/mod.rs expression: tp.print(out) --- root: struct #51 ├─ [_avg]: struct '_Post_NumberAgg_avg' #45 -│ └─ [id]: optional #44 +│ └─ [id]: optional 'optional_44' #44 │ └─ item: float #43 ├─ [_count]: struct '_Post_AggrCount' #42 -│ ├─ [_all]: optional #41 +│ ├─ [_all]: optional 'optional_41' #41 │ │ └─ item: integer #40 -│ ├─ [author]: optional #41 +│ ├─ [author]: optional 'optional_41' #41 │ │ └─ item: integer #40 -│ ├─ [id]: optional #41 +│ ├─ [id]: optional 'optional_41' #41 │ │ └─ item: integer #40 -│ └─ [title]: optional #41 +│ └─ [title]: optional 'optional_41' #41 │ └─ item: integer #40 ├─ [_max]: struct '_Post_NumberAgg' #50 -│ └─ [id]: optional #49 +│ └─ [id]: optional 'optional_49' #49 │ └─ item: integer #48 ├─ [_min]: struct '_Post_NumberAgg' #50 -│ └─ [id]: optional #49 +│ └─ [id]: optional 'optional_49' #49 │ └─ item: integer #48 └─ [_sum]: struct '_Post_NumberAgg' #50 - └─ [id]: optional #49 + └─ [id]: optional 'optional_49' #49 └─ item: integer #48 - diff --git a/src/typegraph/core/src/runtimes/prisma/type_generation/snapshots/typegraph_core__runtimes__prisma__type_generation__test__aggregate Record out.snap b/src/typegraph/core/src/runtimes/prisma/type_generation/snapshots/typegraph_core__runtimes__prisma__type_generation__test__aggregate Record out.snap index 931b620d68..19bec041c3 100644 --- a/src/typegraph/core/src/runtimes/prisma/type_generation/snapshots/typegraph_core__runtimes__prisma__type_generation__test__aggregate Record out.snap +++ b/src/typegraph/core/src/runtimes/prisma/type_generation/snapshots/typegraph_core__runtimes__prisma__type_generation__test__aggregate Record out.snap @@ -1,29 +1,28 @@ --- -source: typegraph/core/src/runtimes/prisma/type_generation/mod.rs +source: src/typegraph/core/src/runtimes/prisma/type_generation/mod.rs expression: tp.print(out) --- root: struct #18 ├─ [_avg]: struct '_Record_NumberAgg_avg' #12 -│ └─ [age]: optional #11 +│ └─ [age]: optional 'optional_11' #11 │ └─ item: float #10 ├─ [_count]: struct '_Record_AggrCount' #9 -│ ├─ [_all]: optional #8 +│ ├─ [_all]: optional 'optional_8' #8 │ │ └─ item: integer #7 -│ ├─ [age]: optional #8 +│ ├─ [age]: optional 'optional_8' #8 │ │ └─ item: integer #7 -│ ├─ [created_at]: optional #8 +│ ├─ [created_at]: optional 'optional_8' #8 │ │ └─ item: integer #7 -│ ├─ [id]: optional #8 +│ ├─ [id]: optional 'optional_8' #8 │ │ └─ item: integer #7 -│ └─ [name]: optional #8 +│ └─ [name]: optional 'optional_8' #8 │ └─ item: integer #7 ├─ [_max]: struct '_Record_NumberAgg' #17 -│ └─ [age]: optional #16 +│ └─ [age]: optional 'optional_16' #16 │ └─ item: integer #15 ├─ [_min]: struct '_Record_NumberAgg' #17 -│ └─ [age]: optional #16 +│ └─ [age]: optional 'optional_16' #16 │ └─ item: integer #15 └─ [_sum]: struct '_Record_NumberAgg' #17 - └─ [age]: optional #16 + └─ [age]: optional 'optional_16' #16 └─ item: integer #15 - diff --git a/src/typegraph/core/src/runtimes/prisma/type_generation/snapshots/typegraph_core__runtimes__prisma__type_generation__test__aggregate User out.snap b/src/typegraph/core/src/runtimes/prisma/type_generation/snapshots/typegraph_core__runtimes__prisma__type_generation__test__aggregate User out.snap index 0f4fd164b7..600cf3a34a 100644 --- a/src/typegraph/core/src/runtimes/prisma/type_generation/snapshots/typegraph_core__runtimes__prisma__type_generation__test__aggregate User out.snap +++ b/src/typegraph/core/src/runtimes/prisma/type_generation/snapshots/typegraph_core__runtimes__prisma__type_generation__test__aggregate User out.snap @@ -1,27 +1,26 @@ --- -source: typegraph/core/src/runtimes/prisma/type_generation/mod.rs +source: src/typegraph/core/src/runtimes/prisma/type_generation/mod.rs expression: tp.print(out) --- root: struct #39 ├─ [_avg]: struct '_User_NumberAgg_avg' #33 -│ └─ [id]: optional #32 +│ └─ [id]: optional 'optional_32' #32 │ └─ item: float #31 ├─ [_count]: struct '_User_AggrCount' #30 -│ ├─ [_all]: optional #29 +│ ├─ [_all]: optional 'optional_29' #29 │ │ └─ item: integer #28 -│ ├─ [id]: optional #29 +│ ├─ [id]: optional 'optional_29' #29 │ │ └─ item: integer #28 -│ ├─ [name]: optional #29 +│ ├─ [name]: optional 'optional_29' #29 │ │ └─ item: integer #28 -│ └─ [posts]: optional #29 +│ └─ [posts]: optional 'optional_29' #29 │ └─ item: integer #28 ├─ [_max]: struct '_User_NumberAgg' #38 -│ └─ [id]: optional #37 +│ └─ [id]: optional 'optional_37' #37 │ └─ item: integer #36 ├─ [_min]: struct '_User_NumberAgg' #38 -│ └─ [id]: optional #37 +│ └─ [id]: optional 'optional_37' #37 │ └─ item: integer #36 └─ [_sum]: struct '_User_NumberAgg' #38 - └─ [id]: optional #37 + └─ [id]: optional 'optional_37' #37 └─ item: integer #36 - diff --git a/src/typegraph/core/src/runtimes/prisma/type_generation/snapshots/typegraph_core__runtimes__prisma__type_generation__test__create_many Post inp.snap b/src/typegraph/core/src/runtimes/prisma/type_generation/snapshots/typegraph_core__runtimes__prisma__type_generation__test__create_many Post inp.snap index 14137e3259..dbea5ab439 100644 --- a/src/typegraph/core/src/runtimes/prisma/type_generation/snapshots/typegraph_core__runtimes__prisma__type_generation__test__create_many Post inp.snap +++ b/src/typegraph/core/src/runtimes/prisma/type_generation/snapshots/typegraph_core__runtimes__prisma__type_generation__test__create_many Post inp.snap @@ -1,9 +1,9 @@ --- -source: typegraph/core/src/runtimes/prisma/type_generation/mod.rs +source: src/typegraph/core/src/runtimes/prisma/type_generation/mod.rs expression: tp.print(inp) --- root: struct #112 -└─ [data]: list '_111__Post_CreateInput[]' #111 +└─ [data]: list 'list_111' #111 └─ item: struct '_Post_CreateInput' #110 ├─ [author]: union #109 │ ├─ variant_0: struct #106 @@ -12,7 +12,7 @@ root: struct #112 │ │ └─ [name]: string #14 │ ├─ variant_1: struct #107 │ │ └─ [connect]: struct 'UserWhere' #104 - │ │ ├─ [id]: optional '_89__integer_filter_c?' #89 + │ │ ├─ [id]: optional 'optional_89' #89 │ │ │ └─ item: optional '_integer_filter_c' #37 │ │ │ └─ item: union #36 │ │ │ ├─ variant_0: either '_integer_filter' #34 @@ -22,19 +22,19 @@ root: struct #112 │ │ │ │ ├─ variant_2: struct #30 │ │ │ │ │ └─ [not]: integer #26 │ │ │ │ ├─ variant_3: struct #31 - │ │ │ │ │ ├─ [gt]: optional #27 + │ │ │ │ │ ├─ [gt]: optional 'optional_27' #27 │ │ │ │ │ │ └─ item: integer #26 - │ │ │ │ │ ├─ [gte]: optional #27 + │ │ │ │ │ ├─ [gte]: optional 'optional_27' #27 │ │ │ │ │ │ └─ item: integer #26 - │ │ │ │ │ ├─ [lt]: optional #27 + │ │ │ │ │ ├─ [lt]: optional 'optional_27' #27 │ │ │ │ │ │ └─ item: integer #26 - │ │ │ │ │ └─ [lte]: optional #27 + │ │ │ │ │ └─ [lte]: optional 'optional_27' #27 │ │ │ │ │ └─ item: integer #26 │ │ │ │ ├─ variant_4: struct #32 - │ │ │ │ │ └─ [in]: list #28 + │ │ │ │ │ └─ [in]: list 'list_28' #28 │ │ │ │ │ └─ item: integer #26 │ │ │ │ └─ variant_5: struct #33 - │ │ │ │ └─ [notIn]: list #28 + │ │ │ │ └─ [notIn]: list 'list_28' #28 │ │ │ │ └─ item: integer #26 │ │ │ └─ variant_1: struct #35 │ │ │ └─ [not]: either '_integer_filter' #34 @@ -44,21 +44,21 @@ root: struct #112 │ │ │ ├─ variant_2: struct #30 │ │ │ │ └─ [not]: integer #26 │ │ │ ├─ variant_3: struct #31 - │ │ │ │ ├─ [gt]: optional #27 + │ │ │ │ ├─ [gt]: optional 'optional_27' #27 │ │ │ │ │ └─ item: integer #26 - │ │ │ │ ├─ [gte]: optional #27 + │ │ │ │ ├─ [gte]: optional 'optional_27' #27 │ │ │ │ │ └─ item: integer #26 - │ │ │ │ ├─ [lt]: optional #27 + │ │ │ │ ├─ [lt]: optional 'optional_27' #27 │ │ │ │ │ └─ item: integer #26 - │ │ │ │ └─ [lte]: optional #27 + │ │ │ │ └─ [lte]: optional 'optional_27' #27 │ │ │ │ └─ item: integer #26 │ │ │ ├─ variant_4: struct #32 - │ │ │ │ └─ [in]: list #28 + │ │ │ │ └─ [in]: list 'list_28' #28 │ │ │ │ └─ item: integer #26 │ │ │ └─ variant_5: struct #33 - │ │ │ └─ [notIn]: list #28 + │ │ │ └─ [notIn]: list 'list_28' #28 │ │ │ └─ item: integer #26 - │ │ ├─ [name]: optional '_90__string_filter_c?' #90 + │ │ ├─ [name]: optional 'optional_90' #90 │ │ │ └─ item: optional '_string_filter_c' #54 │ │ │ └─ item: union #53 │ │ │ ├─ variant_0: union '_string_filter' #51 @@ -68,21 +68,21 @@ root: struct #112 │ │ │ │ ├─ variant_2: struct #43 │ │ │ │ │ └─ [not]: string #39 │ │ │ │ ├─ variant_3: struct #44 - │ │ │ │ │ └─ [in]: list #41 + │ │ │ │ │ └─ [in]: list 'list_41' #41 │ │ │ │ │ └─ item: string #39 │ │ │ │ ├─ variant_4: struct #45 - │ │ │ │ │ └─ [notIn]: list #41 + │ │ │ │ │ └─ [notIn]: list 'list_41' #41 │ │ │ │ │ └─ item: string #39 │ │ │ │ ├─ variant_5: struct #48 │ │ │ │ │ ├─ [contains]: string #39 - │ │ │ │ │ └─ [mode]: optional #47 + │ │ │ │ │ └─ [mode]: optional 'optional_47' #47 │ │ │ │ │ └─ item: string #46 enum{ '"insensitive"' } │ │ │ │ ├─ variant_6: struct #49 │ │ │ │ │ └─ [search]: string #39 │ │ │ │ └─ variant_7: struct #50 - │ │ │ │ ├─ [endsWith]: optional #40 + │ │ │ │ ├─ [endsWith]: optional 'optional_40' #40 │ │ │ │ │ └─ item: string #39 - │ │ │ │ └─ [startsWith]: optional #40 + │ │ │ │ └─ [startsWith]: optional 'optional_40' #40 │ │ │ │ └─ item: string #39 │ │ │ └─ variant_1: struct #52 │ │ │ └─ [not]: union '_string_filter' #51 @@ -92,30 +92,30 @@ root: struct #112 │ │ │ ├─ variant_2: struct #43 │ │ │ │ └─ [not]: string #39 │ │ │ ├─ variant_3: struct #44 - │ │ │ │ └─ [in]: list #41 + │ │ │ │ └─ [in]: list 'list_41' #41 │ │ │ │ └─ item: string #39 │ │ │ ├─ variant_4: struct #45 - │ │ │ │ └─ [notIn]: list #41 + │ │ │ │ └─ [notIn]: list 'list_41' #41 │ │ │ │ └─ item: string #39 │ │ │ ├─ variant_5: struct #48 │ │ │ │ ├─ [contains]: string #39 - │ │ │ │ └─ [mode]: optional #47 + │ │ │ │ └─ [mode]: optional 'optional_47' #47 │ │ │ │ └─ item: string #46 enum{ '"insensitive"' } │ │ │ ├─ variant_6: struct #49 │ │ │ │ └─ [search]: string #39 │ │ │ └─ variant_7: struct #50 - │ │ │ ├─ [endsWith]: optional #40 + │ │ │ ├─ [endsWith]: optional 'optional_40' #40 │ │ │ │ └─ item: string #39 - │ │ │ └─ [startsWith]: optional #40 + │ │ │ └─ [startsWith]: optional 'optional_40' #40 │ │ │ └─ item: string #39 - │ │ └─ [posts]: optional #103 + │ │ └─ [posts]: optional 'optional_103' #103 │ │ └─ item: union #102 │ │ ├─ variant_0: struct #97 - │ │ │ └─ [every]: optional '_96_PostWhere__skip_17_UserWhere?' #96 + │ │ │ └─ [every]: optional 'optional_96' #96 │ │ │ └─ item: struct 'PostWhere__skip_17_UserWhere' #95 - │ │ │ ├─ [author]: optional '_94_UserWhere?' #94 + │ │ │ ├─ [author]: optional 'optional_94' #94 │ │ │ │ └─ item: &UserWhere #93 - │ │ │ ├─ [id]: optional '_91__integer_filter_c?' #91 + │ │ │ ├─ [id]: optional 'optional_91' #91 │ │ │ │ └─ item: optional '_integer_filter_c' #37 │ │ │ │ └─ item: union #36 │ │ │ │ ├─ variant_0: either '_integer_filter' #34 @@ -125,19 +125,19 @@ root: struct #112 │ │ │ │ │ ├─ variant_2: struct #30 │ │ │ │ │ │ └─ [not]: integer #26 │ │ │ │ │ ├─ variant_3: struct #31 - │ │ │ │ │ │ ├─ [gt]: optional #27 + │ │ │ │ │ │ ├─ [gt]: optional 'optional_27' #27 │ │ │ │ │ │ │ └─ item: integer #26 - │ │ │ │ │ │ ├─ [gte]: optional #27 + │ │ │ │ │ │ ├─ [gte]: optional 'optional_27' #27 │ │ │ │ │ │ │ └─ item: integer #26 - │ │ │ │ │ │ ├─ [lt]: optional #27 + │ │ │ │ │ │ ├─ [lt]: optional 'optional_27' #27 │ │ │ │ │ │ │ └─ item: integer #26 - │ │ │ │ │ │ └─ [lte]: optional #27 + │ │ │ │ │ │ └─ [lte]: optional 'optional_27' #27 │ │ │ │ │ │ └─ item: integer #26 │ │ │ │ │ ├─ variant_4: struct #32 - │ │ │ │ │ │ └─ [in]: list #28 + │ │ │ │ │ │ └─ [in]: list 'list_28' #28 │ │ │ │ │ │ └─ item: integer #26 │ │ │ │ │ └─ variant_5: struct #33 - │ │ │ │ │ └─ [notIn]: list #28 + │ │ │ │ │ └─ [notIn]: list 'list_28' #28 │ │ │ │ │ └─ item: integer #26 │ │ │ │ └─ variant_1: struct #35 │ │ │ │ └─ [not]: either '_integer_filter' #34 @@ -147,21 +147,21 @@ root: struct #112 │ │ │ │ ├─ variant_2: struct #30 │ │ │ │ │ └─ [not]: integer #26 │ │ │ │ ├─ variant_3: struct #31 - │ │ │ │ │ ├─ [gt]: optional #27 + │ │ │ │ │ ├─ [gt]: optional 'optional_27' #27 │ │ │ │ │ │ └─ item: integer #26 - │ │ │ │ │ ├─ [gte]: optional #27 + │ │ │ │ │ ├─ [gte]: optional 'optional_27' #27 │ │ │ │ │ │ └─ item: integer #26 - │ │ │ │ │ ├─ [lt]: optional #27 + │ │ │ │ │ ├─ [lt]: optional 'optional_27' #27 │ │ │ │ │ │ └─ item: integer #26 - │ │ │ │ │ └─ [lte]: optional #27 + │ │ │ │ │ └─ [lte]: optional 'optional_27' #27 │ │ │ │ │ └─ item: integer #26 │ │ │ │ ├─ variant_4: struct #32 - │ │ │ │ │ └─ [in]: list #28 + │ │ │ │ │ └─ [in]: list 'list_28' #28 │ │ │ │ │ └─ item: integer #26 │ │ │ │ └─ variant_5: struct #33 - │ │ │ │ └─ [notIn]: list #28 + │ │ │ │ └─ [notIn]: list 'list_28' #28 │ │ │ │ └─ item: integer #26 - │ │ │ └─ [title]: optional '_92__string_filter_c?' #92 + │ │ │ └─ [title]: optional 'optional_92' #92 │ │ │ └─ item: optional '_string_filter_c' #54 │ │ │ └─ item: union #53 │ │ │ ├─ variant_0: union '_string_filter' #51 @@ -171,21 +171,21 @@ root: struct #112 │ │ │ │ ├─ variant_2: struct #43 │ │ │ │ │ └─ [not]: string #39 │ │ │ │ ├─ variant_3: struct #44 - │ │ │ │ │ └─ [in]: list #41 + │ │ │ │ │ └─ [in]: list 'list_41' #41 │ │ │ │ │ └─ item: string #39 │ │ │ │ ├─ variant_4: struct #45 - │ │ │ │ │ └─ [notIn]: list #41 + │ │ │ │ │ └─ [notIn]: list 'list_41' #41 │ │ │ │ │ └─ item: string #39 │ │ │ │ ├─ variant_5: struct #48 │ │ │ │ │ ├─ [contains]: string #39 - │ │ │ │ │ └─ [mode]: optional #47 + │ │ │ │ │ └─ [mode]: optional 'optional_47' #47 │ │ │ │ │ └─ item: string #46 enum{ '"insensitive"' } │ │ │ │ ├─ variant_6: struct #49 │ │ │ │ │ └─ [search]: string #39 │ │ │ │ └─ variant_7: struct #50 - │ │ │ │ ├─ [endsWith]: optional #40 + │ │ │ │ ├─ [endsWith]: optional 'optional_40' #40 │ │ │ │ │ └─ item: string #39 - │ │ │ │ └─ [startsWith]: optional #40 + │ │ │ │ └─ [startsWith]: optional 'optional_40' #40 │ │ │ │ └─ item: string #39 │ │ │ └─ variant_1: struct #52 │ │ │ └─ [not]: union '_string_filter' #51 @@ -195,28 +195,28 @@ root: struct #112 │ │ │ ├─ variant_2: struct #43 │ │ │ │ └─ [not]: string #39 │ │ │ ├─ variant_3: struct #44 - │ │ │ │ └─ [in]: list #41 + │ │ │ │ └─ [in]: list 'list_41' #41 │ │ │ │ └─ item: string #39 │ │ │ ├─ variant_4: struct #45 - │ │ │ │ └─ [notIn]: list #41 + │ │ │ │ └─ [notIn]: list 'list_41' #41 │ │ │ │ └─ item: string #39 │ │ │ ├─ variant_5: struct #48 │ │ │ │ ├─ [contains]: string #39 - │ │ │ │ └─ [mode]: optional #47 + │ │ │ │ └─ [mode]: optional 'optional_47' #47 │ │ │ │ └─ item: string #46 enum{ '"insensitive"' } │ │ │ ├─ variant_6: struct #49 │ │ │ │ └─ [search]: string #39 │ │ │ └─ variant_7: struct #50 - │ │ │ ├─ [endsWith]: optional #40 + │ │ │ ├─ [endsWith]: optional 'optional_40' #40 │ │ │ │ └─ item: string #39 - │ │ │ └─ [startsWith]: optional #40 + │ │ │ └─ [startsWith]: optional 'optional_40' #40 │ │ │ └─ item: string #39 │ │ ├─ variant_1: struct #99 - │ │ │ └─ [some]: optional '_98_PostWhere__skip_17_UserWhere?' #98 + │ │ │ └─ [some]: optional 'optional_98' #98 │ │ │ └─ item: struct 'PostWhere__skip_17_UserWhere' #95 - │ │ │ ├─ [author]: optional '_94_UserWhere?' #94 + │ │ │ ├─ [author]: optional 'optional_94' #94 │ │ │ │ └─ item: &UserWhere #93 - │ │ │ ├─ [id]: optional '_91__integer_filter_c?' #91 + │ │ │ ├─ [id]: optional 'optional_91' #91 │ │ │ │ └─ item: optional '_integer_filter_c' #37 │ │ │ │ └─ item: union #36 │ │ │ │ ├─ variant_0: either '_integer_filter' #34 @@ -226,19 +226,19 @@ root: struct #112 │ │ │ │ │ ├─ variant_2: struct #30 │ │ │ │ │ │ └─ [not]: integer #26 │ │ │ │ │ ├─ variant_3: struct #31 - │ │ │ │ │ │ ├─ [gt]: optional #27 + │ │ │ │ │ │ ├─ [gt]: optional 'optional_27' #27 │ │ │ │ │ │ │ └─ item: integer #26 - │ │ │ │ │ │ ├─ [gte]: optional #27 + │ │ │ │ │ │ ├─ [gte]: optional 'optional_27' #27 │ │ │ │ │ │ │ └─ item: integer #26 - │ │ │ │ │ │ ├─ [lt]: optional #27 + │ │ │ │ │ │ ├─ [lt]: optional 'optional_27' #27 │ │ │ │ │ │ │ └─ item: integer #26 - │ │ │ │ │ │ └─ [lte]: optional #27 + │ │ │ │ │ │ └─ [lte]: optional 'optional_27' #27 │ │ │ │ │ │ └─ item: integer #26 │ │ │ │ │ ├─ variant_4: struct #32 - │ │ │ │ │ │ └─ [in]: list #28 + │ │ │ │ │ │ └─ [in]: list 'list_28' #28 │ │ │ │ │ │ └─ item: integer #26 │ │ │ │ │ └─ variant_5: struct #33 - │ │ │ │ │ └─ [notIn]: list #28 + │ │ │ │ │ └─ [notIn]: list 'list_28' #28 │ │ │ │ │ └─ item: integer #26 │ │ │ │ └─ variant_1: struct #35 │ │ │ │ └─ [not]: either '_integer_filter' #34 @@ -248,21 +248,21 @@ root: struct #112 │ │ │ │ ├─ variant_2: struct #30 │ │ │ │ │ └─ [not]: integer #26 │ │ │ │ ├─ variant_3: struct #31 - │ │ │ │ │ ├─ [gt]: optional #27 + │ │ │ │ │ ├─ [gt]: optional 'optional_27' #27 │ │ │ │ │ │ └─ item: integer #26 - │ │ │ │ │ ├─ [gte]: optional #27 + │ │ │ │ │ ├─ [gte]: optional 'optional_27' #27 │ │ │ │ │ │ └─ item: integer #26 - │ │ │ │ │ ├─ [lt]: optional #27 + │ │ │ │ │ ├─ [lt]: optional 'optional_27' #27 │ │ │ │ │ │ └─ item: integer #26 - │ │ │ │ │ └─ [lte]: optional #27 + │ │ │ │ │ └─ [lte]: optional 'optional_27' #27 │ │ │ │ │ └─ item: integer #26 │ │ │ │ ├─ variant_4: struct #32 - │ │ │ │ │ └─ [in]: list #28 + │ │ │ │ │ └─ [in]: list 'list_28' #28 │ │ │ │ │ └─ item: integer #26 │ │ │ │ └─ variant_5: struct #33 - │ │ │ │ └─ [notIn]: list #28 + │ │ │ │ └─ [notIn]: list 'list_28' #28 │ │ │ │ └─ item: integer #26 - │ │ │ └─ [title]: optional '_92__string_filter_c?' #92 + │ │ │ └─ [title]: optional 'optional_92' #92 │ │ │ └─ item: optional '_string_filter_c' #54 │ │ │ └─ item: union #53 │ │ │ ├─ variant_0: union '_string_filter' #51 @@ -272,21 +272,21 @@ root: struct #112 │ │ │ │ ├─ variant_2: struct #43 │ │ │ │ │ └─ [not]: string #39 │ │ │ │ ├─ variant_3: struct #44 - │ │ │ │ │ └─ [in]: list #41 + │ │ │ │ │ └─ [in]: list 'list_41' #41 │ │ │ │ │ └─ item: string #39 │ │ │ │ ├─ variant_4: struct #45 - │ │ │ │ │ └─ [notIn]: list #41 + │ │ │ │ │ └─ [notIn]: list 'list_41' #41 │ │ │ │ │ └─ item: string #39 │ │ │ │ ├─ variant_5: struct #48 │ │ │ │ │ ├─ [contains]: string #39 - │ │ │ │ │ └─ [mode]: optional #47 + │ │ │ │ │ └─ [mode]: optional 'optional_47' #47 │ │ │ │ │ └─ item: string #46 enum{ '"insensitive"' } │ │ │ │ ├─ variant_6: struct #49 │ │ │ │ │ └─ [search]: string #39 │ │ │ │ └─ variant_7: struct #50 - │ │ │ │ ├─ [endsWith]: optional #40 + │ │ │ │ ├─ [endsWith]: optional 'optional_40' #40 │ │ │ │ │ └─ item: string #39 - │ │ │ │ └─ [startsWith]: optional #40 + │ │ │ │ └─ [startsWith]: optional 'optional_40' #40 │ │ │ │ └─ item: string #39 │ │ │ └─ variant_1: struct #52 │ │ │ └─ [not]: union '_string_filter' #51 @@ -296,28 +296,28 @@ root: struct #112 │ │ │ ├─ variant_2: struct #43 │ │ │ │ └─ [not]: string #39 │ │ │ ├─ variant_3: struct #44 - │ │ │ │ └─ [in]: list #41 + │ │ │ │ └─ [in]: list 'list_41' #41 │ │ │ │ └─ item: string #39 │ │ │ ├─ variant_4: struct #45 - │ │ │ │ └─ [notIn]: list #41 + │ │ │ │ └─ [notIn]: list 'list_41' #41 │ │ │ │ └─ item: string #39 │ │ │ ├─ variant_5: struct #48 │ │ │ │ ├─ [contains]: string #39 - │ │ │ │ └─ [mode]: optional #47 + │ │ │ │ └─ [mode]: optional 'optional_47' #47 │ │ │ │ └─ item: string #46 enum{ '"insensitive"' } │ │ │ ├─ variant_6: struct #49 │ │ │ │ └─ [search]: string #39 │ │ │ └─ variant_7: struct #50 - │ │ │ ├─ [endsWith]: optional #40 + │ │ │ ├─ [endsWith]: optional 'optional_40' #40 │ │ │ │ └─ item: string #39 - │ │ │ └─ [startsWith]: optional #40 + │ │ │ └─ [startsWith]: optional 'optional_40' #40 │ │ │ └─ item: string #39 │ │ └─ variant_2: struct #101 - │ │ └─ [none]: optional '_100_PostWhere__skip_17_UserWhere?' #100 + │ │ └─ [none]: optional 'optional_100' #100 │ │ └─ item: struct 'PostWhere__skip_17_UserWhere' #95 - │ │ ├─ [author]: optional '_94_UserWhere?' #94 + │ │ ├─ [author]: optional 'optional_94' #94 │ │ │ └─ item: &UserWhere #93 - │ │ ├─ [id]: optional '_91__integer_filter_c?' #91 + │ │ ├─ [id]: optional 'optional_91' #91 │ │ │ └─ item: optional '_integer_filter_c' #37 │ │ │ └─ item: union #36 │ │ │ ├─ variant_0: either '_integer_filter' #34 @@ -327,19 +327,19 @@ root: struct #112 │ │ │ │ ├─ variant_2: struct #30 │ │ │ │ │ └─ [not]: integer #26 │ │ │ │ ├─ variant_3: struct #31 - │ │ │ │ │ ├─ [gt]: optional #27 + │ │ │ │ │ ├─ [gt]: optional 'optional_27' #27 │ │ │ │ │ │ └─ item: integer #26 - │ │ │ │ │ ├─ [gte]: optional #27 + │ │ │ │ │ ├─ [gte]: optional 'optional_27' #27 │ │ │ │ │ │ └─ item: integer #26 - │ │ │ │ │ ├─ [lt]: optional #27 + │ │ │ │ │ ├─ [lt]: optional 'optional_27' #27 │ │ │ │ │ │ └─ item: integer #26 - │ │ │ │ │ └─ [lte]: optional #27 + │ │ │ │ │ └─ [lte]: optional 'optional_27' #27 │ │ │ │ │ └─ item: integer #26 │ │ │ │ ├─ variant_4: struct #32 - │ │ │ │ │ └─ [in]: list #28 + │ │ │ │ │ └─ [in]: list 'list_28' #28 │ │ │ │ │ └─ item: integer #26 │ │ │ │ └─ variant_5: struct #33 - │ │ │ │ └─ [notIn]: list #28 + │ │ │ │ └─ [notIn]: list 'list_28' #28 │ │ │ │ └─ item: integer #26 │ │ │ └─ variant_1: struct #35 │ │ │ └─ [not]: either '_integer_filter' #34 @@ -349,21 +349,21 @@ root: struct #112 │ │ │ ├─ variant_2: struct #30 │ │ │ │ └─ [not]: integer #26 │ │ │ ├─ variant_3: struct #31 - │ │ │ │ ├─ [gt]: optional #27 + │ │ │ │ ├─ [gt]: optional 'optional_27' #27 │ │ │ │ │ └─ item: integer #26 - │ │ │ │ ├─ [gte]: optional #27 + │ │ │ │ ├─ [gte]: optional 'optional_27' #27 │ │ │ │ │ └─ item: integer #26 - │ │ │ │ ├─ [lt]: optional #27 + │ │ │ │ ├─ [lt]: optional 'optional_27' #27 │ │ │ │ │ └─ item: integer #26 - │ │ │ │ └─ [lte]: optional #27 + │ │ │ │ └─ [lte]: optional 'optional_27' #27 │ │ │ │ └─ item: integer #26 │ │ │ ├─ variant_4: struct #32 - │ │ │ │ └─ [in]: list #28 + │ │ │ │ └─ [in]: list 'list_28' #28 │ │ │ │ └─ item: integer #26 │ │ │ └─ variant_5: struct #33 - │ │ │ └─ [notIn]: list #28 + │ │ │ └─ [notIn]: list 'list_28' #28 │ │ │ └─ item: integer #26 - │ │ └─ [title]: optional '_92__string_filter_c?' #92 + │ │ └─ [title]: optional 'optional_92' #92 │ │ └─ item: optional '_string_filter_c' #54 │ │ └─ item: union #53 │ │ ├─ variant_0: union '_string_filter' #51 @@ -373,21 +373,21 @@ root: struct #112 │ │ │ ├─ variant_2: struct #43 │ │ │ │ └─ [not]: string #39 │ │ │ ├─ variant_3: struct #44 - │ │ │ │ └─ [in]: list #41 + │ │ │ │ └─ [in]: list 'list_41' #41 │ │ │ │ └─ item: string #39 │ │ │ ├─ variant_4: struct #45 - │ │ │ │ └─ [notIn]: list #41 + │ │ │ │ └─ [notIn]: list 'list_41' #41 │ │ │ │ └─ item: string #39 │ │ │ ├─ variant_5: struct #48 │ │ │ │ ├─ [contains]: string #39 - │ │ │ │ └─ [mode]: optional #47 + │ │ │ │ └─ [mode]: optional 'optional_47' #47 │ │ │ │ └─ item: string #46 enum{ '"insensitive"' } │ │ │ ├─ variant_6: struct #49 │ │ │ │ └─ [search]: string #39 │ │ │ └─ variant_7: struct #50 - │ │ │ ├─ [endsWith]: optional #40 + │ │ │ ├─ [endsWith]: optional 'optional_40' #40 │ │ │ │ └─ item: string #39 - │ │ │ └─ [startsWith]: optional #40 + │ │ │ └─ [startsWith]: optional 'optional_40' #40 │ │ │ └─ item: string #39 │ │ └─ variant_1: struct #52 │ │ └─ [not]: union '_string_filter' #51 @@ -397,21 +397,21 @@ root: struct #112 │ │ ├─ variant_2: struct #43 │ │ │ └─ [not]: string #39 │ │ ├─ variant_3: struct #44 - │ │ │ └─ [in]: list #41 + │ │ │ └─ [in]: list 'list_41' #41 │ │ │ └─ item: string #39 │ │ ├─ variant_4: struct #45 - │ │ │ └─ [notIn]: list #41 + │ │ │ └─ [notIn]: list 'list_41' #41 │ │ │ └─ item: string #39 │ │ ├─ variant_5: struct #48 │ │ │ ├─ [contains]: string #39 - │ │ │ └─ [mode]: optional #47 + │ │ │ └─ [mode]: optional 'optional_47' #47 │ │ │ └─ item: string #46 enum{ '"insensitive"' } │ │ ├─ variant_6: struct #49 │ │ │ └─ [search]: string #39 │ │ └─ variant_7: struct #50 - │ │ ├─ [endsWith]: optional #40 + │ │ ├─ [endsWith]: optional 'optional_40' #40 │ │ │ └─ item: string #39 - │ │ └─ [startsWith]: optional #40 + │ │ └─ [startsWith]: optional 'optional_40' #40 │ │ └─ item: string #39 │ └─ variant_2: struct #108 │ └─ [connectOrCreate]: struct #105 @@ -419,7 +419,7 @@ root: struct #112 │ │ ├─ [id]: integer #13 │ │ └─ [name]: string #14 │ └─ [where]: struct 'UserWhere' #104 - │ ├─ [id]: optional '_89__integer_filter_c?' #89 + │ ├─ [id]: optional 'optional_89' #89 │ │ └─ item: optional '_integer_filter_c' #37 │ │ └─ item: union #36 │ │ ├─ variant_0: either '_integer_filter' #34 @@ -429,19 +429,19 @@ root: struct #112 │ │ │ ├─ variant_2: struct #30 │ │ │ │ └─ [not]: integer #26 │ │ │ ├─ variant_3: struct #31 - │ │ │ │ ├─ [gt]: optional #27 + │ │ │ │ ├─ [gt]: optional 'optional_27' #27 │ │ │ │ │ └─ item: integer #26 - │ │ │ │ ├─ [gte]: optional #27 + │ │ │ │ ├─ [gte]: optional 'optional_27' #27 │ │ │ │ │ └─ item: integer #26 - │ │ │ │ ├─ [lt]: optional #27 + │ │ │ │ ├─ [lt]: optional 'optional_27' #27 │ │ │ │ │ └─ item: integer #26 - │ │ │ │ └─ [lte]: optional #27 + │ │ │ │ └─ [lte]: optional 'optional_27' #27 │ │ │ │ └─ item: integer #26 │ │ │ ├─ variant_4: struct #32 - │ │ │ │ └─ [in]: list #28 + │ │ │ │ └─ [in]: list 'list_28' #28 │ │ │ │ └─ item: integer #26 │ │ │ └─ variant_5: struct #33 - │ │ │ └─ [notIn]: list #28 + │ │ │ └─ [notIn]: list 'list_28' #28 │ │ │ └─ item: integer #26 │ │ └─ variant_1: struct #35 │ │ └─ [not]: either '_integer_filter' #34 @@ -451,21 +451,21 @@ root: struct #112 │ │ ├─ variant_2: struct #30 │ │ │ └─ [not]: integer #26 │ │ ├─ variant_3: struct #31 - │ │ │ ├─ [gt]: optional #27 + │ │ │ ├─ [gt]: optional 'optional_27' #27 │ │ │ │ └─ item: integer #26 - │ │ │ ├─ [gte]: optional #27 + │ │ │ ├─ [gte]: optional 'optional_27' #27 │ │ │ │ └─ item: integer #26 - │ │ │ ├─ [lt]: optional #27 + │ │ │ ├─ [lt]: optional 'optional_27' #27 │ │ │ │ └─ item: integer #26 - │ │ │ └─ [lte]: optional #27 + │ │ │ └─ [lte]: optional 'optional_27' #27 │ │ │ └─ item: integer #26 │ │ ├─ variant_4: struct #32 - │ │ │ └─ [in]: list #28 + │ │ │ └─ [in]: list 'list_28' #28 │ │ │ └─ item: integer #26 │ │ └─ variant_5: struct #33 - │ │ └─ [notIn]: list #28 + │ │ └─ [notIn]: list 'list_28' #28 │ │ └─ item: integer #26 - │ ├─ [name]: optional '_90__string_filter_c?' #90 + │ ├─ [name]: optional 'optional_90' #90 │ │ └─ item: optional '_string_filter_c' #54 │ │ └─ item: union #53 │ │ ├─ variant_0: union '_string_filter' #51 @@ -475,21 +475,21 @@ root: struct #112 │ │ │ ├─ variant_2: struct #43 │ │ │ │ └─ [not]: string #39 │ │ │ ├─ variant_3: struct #44 - │ │ │ │ └─ [in]: list #41 + │ │ │ │ └─ [in]: list 'list_41' #41 │ │ │ │ └─ item: string #39 │ │ │ ├─ variant_4: struct #45 - │ │ │ │ └─ [notIn]: list #41 + │ │ │ │ └─ [notIn]: list 'list_41' #41 │ │ │ │ └─ item: string #39 │ │ │ ├─ variant_5: struct #48 │ │ │ │ ├─ [contains]: string #39 - │ │ │ │ └─ [mode]: optional #47 + │ │ │ │ └─ [mode]: optional 'optional_47' #47 │ │ │ │ └─ item: string #46 enum{ '"insensitive"' } │ │ │ ├─ variant_6: struct #49 │ │ │ │ └─ [search]: string #39 │ │ │ └─ variant_7: struct #50 - │ │ │ ├─ [endsWith]: optional #40 + │ │ │ ├─ [endsWith]: optional 'optional_40' #40 │ │ │ │ └─ item: string #39 - │ │ │ └─ [startsWith]: optional #40 + │ │ │ └─ [startsWith]: optional 'optional_40' #40 │ │ │ └─ item: string #39 │ │ └─ variant_1: struct #52 │ │ └─ [not]: union '_string_filter' #51 @@ -499,30 +499,30 @@ root: struct #112 │ │ ├─ variant_2: struct #43 │ │ │ └─ [not]: string #39 │ │ ├─ variant_3: struct #44 - │ │ │ └─ [in]: list #41 + │ │ │ └─ [in]: list 'list_41' #41 │ │ │ └─ item: string #39 │ │ ├─ variant_4: struct #45 - │ │ │ └─ [notIn]: list #41 + │ │ │ └─ [notIn]: list 'list_41' #41 │ │ │ └─ item: string #39 │ │ ├─ variant_5: struct #48 │ │ │ ├─ [contains]: string #39 - │ │ │ └─ [mode]: optional #47 + │ │ │ └─ [mode]: optional 'optional_47' #47 │ │ │ └─ item: string #46 enum{ '"insensitive"' } │ │ ├─ variant_6: struct #49 │ │ │ └─ [search]: string #39 │ │ └─ variant_7: struct #50 - │ │ ├─ [endsWith]: optional #40 + │ │ ├─ [endsWith]: optional 'optional_40' #40 │ │ │ └─ item: string #39 - │ │ └─ [startsWith]: optional #40 + │ │ └─ [startsWith]: optional 'optional_40' #40 │ │ └─ item: string #39 - │ └─ [posts]: optional #103 + │ └─ [posts]: optional 'optional_103' #103 │ └─ item: union #102 │ ├─ variant_0: struct #97 - │ │ └─ [every]: optional '_96_PostWhere__skip_17_UserWhere?' #96 + │ │ └─ [every]: optional 'optional_96' #96 │ │ └─ item: struct 'PostWhere__skip_17_UserWhere' #95 - │ │ ├─ [author]: optional '_94_UserWhere?' #94 + │ │ ├─ [author]: optional 'optional_94' #94 │ │ │ └─ item: &UserWhere #93 - │ │ ├─ [id]: optional '_91__integer_filter_c?' #91 + │ │ ├─ [id]: optional 'optional_91' #91 │ │ │ └─ item: optional '_integer_filter_c' #37 │ │ │ └─ item: union #36 │ │ │ ├─ variant_0: either '_integer_filter' #34 @@ -532,19 +532,19 @@ root: struct #112 │ │ │ │ ├─ variant_2: struct #30 │ │ │ │ │ └─ [not]: integer #26 │ │ │ │ ├─ variant_3: struct #31 - │ │ │ │ │ ├─ [gt]: optional #27 + │ │ │ │ │ ├─ [gt]: optional 'optional_27' #27 │ │ │ │ │ │ └─ item: integer #26 - │ │ │ │ │ ├─ [gte]: optional #27 + │ │ │ │ │ ├─ [gte]: optional 'optional_27' #27 │ │ │ │ │ │ └─ item: integer #26 - │ │ │ │ │ ├─ [lt]: optional #27 + │ │ │ │ │ ├─ [lt]: optional 'optional_27' #27 │ │ │ │ │ │ └─ item: integer #26 - │ │ │ │ │ └─ [lte]: optional #27 + │ │ │ │ │ └─ [lte]: optional 'optional_27' #27 │ │ │ │ │ └─ item: integer #26 │ │ │ │ ├─ variant_4: struct #32 - │ │ │ │ │ └─ [in]: list #28 + │ │ │ │ │ └─ [in]: list 'list_28' #28 │ │ │ │ │ └─ item: integer #26 │ │ │ │ └─ variant_5: struct #33 - │ │ │ │ └─ [notIn]: list #28 + │ │ │ │ └─ [notIn]: list 'list_28' #28 │ │ │ │ └─ item: integer #26 │ │ │ └─ variant_1: struct #35 │ │ │ └─ [not]: either '_integer_filter' #34 @@ -554,21 +554,21 @@ root: struct #112 │ │ │ ├─ variant_2: struct #30 │ │ │ │ └─ [not]: integer #26 │ │ │ ├─ variant_3: struct #31 - │ │ │ │ ├─ [gt]: optional #27 + │ │ │ │ ├─ [gt]: optional 'optional_27' #27 │ │ │ │ │ └─ item: integer #26 - │ │ │ │ ├─ [gte]: optional #27 + │ │ │ │ ├─ [gte]: optional 'optional_27' #27 │ │ │ │ │ └─ item: integer #26 - │ │ │ │ ├─ [lt]: optional #27 + │ │ │ │ ├─ [lt]: optional 'optional_27' #27 │ │ │ │ │ └─ item: integer #26 - │ │ │ │ └─ [lte]: optional #27 + │ │ │ │ └─ [lte]: optional 'optional_27' #27 │ │ │ │ └─ item: integer #26 │ │ │ ├─ variant_4: struct #32 - │ │ │ │ └─ [in]: list #28 + │ │ │ │ └─ [in]: list 'list_28' #28 │ │ │ │ └─ item: integer #26 │ │ │ └─ variant_5: struct #33 - │ │ │ └─ [notIn]: list #28 + │ │ │ └─ [notIn]: list 'list_28' #28 │ │ │ └─ item: integer #26 - │ │ └─ [title]: optional '_92__string_filter_c?' #92 + │ │ └─ [title]: optional 'optional_92' #92 │ │ └─ item: optional '_string_filter_c' #54 │ │ └─ item: union #53 │ │ ├─ variant_0: union '_string_filter' #51 @@ -578,21 +578,21 @@ root: struct #112 │ │ │ ├─ variant_2: struct #43 │ │ │ │ └─ [not]: string #39 │ │ │ ├─ variant_3: struct #44 - │ │ │ │ └─ [in]: list #41 + │ │ │ │ └─ [in]: list 'list_41' #41 │ │ │ │ └─ item: string #39 │ │ │ ├─ variant_4: struct #45 - │ │ │ │ └─ [notIn]: list #41 + │ │ │ │ └─ [notIn]: list 'list_41' #41 │ │ │ │ └─ item: string #39 │ │ │ ├─ variant_5: struct #48 │ │ │ │ ├─ [contains]: string #39 - │ │ │ │ └─ [mode]: optional #47 + │ │ │ │ └─ [mode]: optional 'optional_47' #47 │ │ │ │ └─ item: string #46 enum{ '"insensitive"' } │ │ │ ├─ variant_6: struct #49 │ │ │ │ └─ [search]: string #39 │ │ │ └─ variant_7: struct #50 - │ │ │ ├─ [endsWith]: optional #40 + │ │ │ ├─ [endsWith]: optional 'optional_40' #40 │ │ │ │ └─ item: string #39 - │ │ │ └─ [startsWith]: optional #40 + │ │ │ └─ [startsWith]: optional 'optional_40' #40 │ │ │ └─ item: string #39 │ │ └─ variant_1: struct #52 │ │ └─ [not]: union '_string_filter' #51 @@ -602,28 +602,28 @@ root: struct #112 │ │ ├─ variant_2: struct #43 │ │ │ └─ [not]: string #39 │ │ ├─ variant_3: struct #44 - │ │ │ └─ [in]: list #41 + │ │ │ └─ [in]: list 'list_41' #41 │ │ │ └─ item: string #39 │ │ ├─ variant_4: struct #45 - │ │ │ └─ [notIn]: list #41 + │ │ │ └─ [notIn]: list 'list_41' #41 │ │ │ └─ item: string #39 │ │ ├─ variant_5: struct #48 │ │ │ ├─ [contains]: string #39 - │ │ │ └─ [mode]: optional #47 + │ │ │ └─ [mode]: optional 'optional_47' #47 │ │ │ └─ item: string #46 enum{ '"insensitive"' } │ │ ├─ variant_6: struct #49 │ │ │ └─ [search]: string #39 │ │ └─ variant_7: struct #50 - │ │ ├─ [endsWith]: optional #40 + │ │ ├─ [endsWith]: optional 'optional_40' #40 │ │ │ └─ item: string #39 - │ │ └─ [startsWith]: optional #40 + │ │ └─ [startsWith]: optional 'optional_40' #40 │ │ └─ item: string #39 │ ├─ variant_1: struct #99 - │ │ └─ [some]: optional '_98_PostWhere__skip_17_UserWhere?' #98 + │ │ └─ [some]: optional 'optional_98' #98 │ │ └─ item: struct 'PostWhere__skip_17_UserWhere' #95 - │ │ ├─ [author]: optional '_94_UserWhere?' #94 + │ │ ├─ [author]: optional 'optional_94' #94 │ │ │ └─ item: &UserWhere #93 - │ │ ├─ [id]: optional '_91__integer_filter_c?' #91 + │ │ ├─ [id]: optional 'optional_91' #91 │ │ │ └─ item: optional '_integer_filter_c' #37 │ │ │ └─ item: union #36 │ │ │ ├─ variant_0: either '_integer_filter' #34 @@ -633,19 +633,19 @@ root: struct #112 │ │ │ │ ├─ variant_2: struct #30 │ │ │ │ │ └─ [not]: integer #26 │ │ │ │ ├─ variant_3: struct #31 - │ │ │ │ │ ├─ [gt]: optional #27 + │ │ │ │ │ ├─ [gt]: optional 'optional_27' #27 │ │ │ │ │ │ └─ item: integer #26 - │ │ │ │ │ ├─ [gte]: optional #27 + │ │ │ │ │ ├─ [gte]: optional 'optional_27' #27 │ │ │ │ │ │ └─ item: integer #26 - │ │ │ │ │ ├─ [lt]: optional #27 + │ │ │ │ │ ├─ [lt]: optional 'optional_27' #27 │ │ │ │ │ │ └─ item: integer #26 - │ │ │ │ │ └─ [lte]: optional #27 + │ │ │ │ │ └─ [lte]: optional 'optional_27' #27 │ │ │ │ │ └─ item: integer #26 │ │ │ │ ├─ variant_4: struct #32 - │ │ │ │ │ └─ [in]: list #28 + │ │ │ │ │ └─ [in]: list 'list_28' #28 │ │ │ │ │ └─ item: integer #26 │ │ │ │ └─ variant_5: struct #33 - │ │ │ │ └─ [notIn]: list #28 + │ │ │ │ └─ [notIn]: list 'list_28' #28 │ │ │ │ └─ item: integer #26 │ │ │ └─ variant_1: struct #35 │ │ │ └─ [not]: either '_integer_filter' #34 @@ -655,21 +655,21 @@ root: struct #112 │ │ │ ├─ variant_2: struct #30 │ │ │ │ └─ [not]: integer #26 │ │ │ ├─ variant_3: struct #31 - │ │ │ │ ├─ [gt]: optional #27 + │ │ │ │ ├─ [gt]: optional 'optional_27' #27 │ │ │ │ │ └─ item: integer #26 - │ │ │ │ ├─ [gte]: optional #27 + │ │ │ │ ├─ [gte]: optional 'optional_27' #27 │ │ │ │ │ └─ item: integer #26 - │ │ │ │ ├─ [lt]: optional #27 + │ │ │ │ ├─ [lt]: optional 'optional_27' #27 │ │ │ │ │ └─ item: integer #26 - │ │ │ │ └─ [lte]: optional #27 + │ │ │ │ └─ [lte]: optional 'optional_27' #27 │ │ │ │ └─ item: integer #26 │ │ │ ├─ variant_4: struct #32 - │ │ │ │ └─ [in]: list #28 + │ │ │ │ └─ [in]: list 'list_28' #28 │ │ │ │ └─ item: integer #26 │ │ │ └─ variant_5: struct #33 - │ │ │ └─ [notIn]: list #28 + │ │ │ └─ [notIn]: list 'list_28' #28 │ │ │ └─ item: integer #26 - │ │ └─ [title]: optional '_92__string_filter_c?' #92 + │ │ └─ [title]: optional 'optional_92' #92 │ │ └─ item: optional '_string_filter_c' #54 │ │ └─ item: union #53 │ │ ├─ variant_0: union '_string_filter' #51 @@ -679,21 +679,21 @@ root: struct #112 │ │ │ ├─ variant_2: struct #43 │ │ │ │ └─ [not]: string #39 │ │ │ ├─ variant_3: struct #44 - │ │ │ │ └─ [in]: list #41 + │ │ │ │ └─ [in]: list 'list_41' #41 │ │ │ │ └─ item: string #39 │ │ │ ├─ variant_4: struct #45 - │ │ │ │ └─ [notIn]: list #41 + │ │ │ │ └─ [notIn]: list 'list_41' #41 │ │ │ │ └─ item: string #39 │ │ │ ├─ variant_5: struct #48 │ │ │ │ ├─ [contains]: string #39 - │ │ │ │ └─ [mode]: optional #47 + │ │ │ │ └─ [mode]: optional 'optional_47' #47 │ │ │ │ └─ item: string #46 enum{ '"insensitive"' } │ │ │ ├─ variant_6: struct #49 │ │ │ │ └─ [search]: string #39 │ │ │ └─ variant_7: struct #50 - │ │ │ ├─ [endsWith]: optional #40 + │ │ │ ├─ [endsWith]: optional 'optional_40' #40 │ │ │ │ └─ item: string #39 - │ │ │ └─ [startsWith]: optional #40 + │ │ │ └─ [startsWith]: optional 'optional_40' #40 │ │ │ └─ item: string #39 │ │ └─ variant_1: struct #52 │ │ └─ [not]: union '_string_filter' #51 @@ -703,28 +703,28 @@ root: struct #112 │ │ ├─ variant_2: struct #43 │ │ │ └─ [not]: string #39 │ │ ├─ variant_3: struct #44 - │ │ │ └─ [in]: list #41 + │ │ │ └─ [in]: list 'list_41' #41 │ │ │ └─ item: string #39 │ │ ├─ variant_4: struct #45 - │ │ │ └─ [notIn]: list #41 + │ │ │ └─ [notIn]: list 'list_41' #41 │ │ │ └─ item: string #39 │ │ ├─ variant_5: struct #48 │ │ │ ├─ [contains]: string #39 - │ │ │ └─ [mode]: optional #47 + │ │ │ └─ [mode]: optional 'optional_47' #47 │ │ │ └─ item: string #46 enum{ '"insensitive"' } │ │ ├─ variant_6: struct #49 │ │ │ └─ [search]: string #39 │ │ └─ variant_7: struct #50 - │ │ ├─ [endsWith]: optional #40 + │ │ ├─ [endsWith]: optional 'optional_40' #40 │ │ │ └─ item: string #39 - │ │ └─ [startsWith]: optional #40 + │ │ └─ [startsWith]: optional 'optional_40' #40 │ │ └─ item: string #39 │ └─ variant_2: struct #101 - │ └─ [none]: optional '_100_PostWhere__skip_17_UserWhere?' #100 + │ └─ [none]: optional 'optional_100' #100 │ └─ item: struct 'PostWhere__skip_17_UserWhere' #95 - │ ├─ [author]: optional '_94_UserWhere?' #94 + │ ├─ [author]: optional 'optional_94' #94 │ │ └─ item: &UserWhere #93 - │ ├─ [id]: optional '_91__integer_filter_c?' #91 + │ ├─ [id]: optional 'optional_91' #91 │ │ └─ item: optional '_integer_filter_c' #37 │ │ └─ item: union #36 │ │ ├─ variant_0: either '_integer_filter' #34 @@ -734,19 +734,19 @@ root: struct #112 │ │ │ ├─ variant_2: struct #30 │ │ │ │ └─ [not]: integer #26 │ │ │ ├─ variant_3: struct #31 - │ │ │ │ ├─ [gt]: optional #27 + │ │ │ │ ├─ [gt]: optional 'optional_27' #27 │ │ │ │ │ └─ item: integer #26 - │ │ │ │ ├─ [gte]: optional #27 + │ │ │ │ ├─ [gte]: optional 'optional_27' #27 │ │ │ │ │ └─ item: integer #26 - │ │ │ │ ├─ [lt]: optional #27 + │ │ │ │ ├─ [lt]: optional 'optional_27' #27 │ │ │ │ │ └─ item: integer #26 - │ │ │ │ └─ [lte]: optional #27 + │ │ │ │ └─ [lte]: optional 'optional_27' #27 │ │ │ │ └─ item: integer #26 │ │ │ ├─ variant_4: struct #32 - │ │ │ │ └─ [in]: list #28 + │ │ │ │ └─ [in]: list 'list_28' #28 │ │ │ │ └─ item: integer #26 │ │ │ └─ variant_5: struct #33 - │ │ │ └─ [notIn]: list #28 + │ │ │ └─ [notIn]: list 'list_28' #28 │ │ │ └─ item: integer #26 │ │ └─ variant_1: struct #35 │ │ └─ [not]: either '_integer_filter' #34 @@ -756,21 +756,21 @@ root: struct #112 │ │ ├─ variant_2: struct #30 │ │ │ └─ [not]: integer #26 │ │ ├─ variant_3: struct #31 - │ │ │ ├─ [gt]: optional #27 + │ │ │ ├─ [gt]: optional 'optional_27' #27 │ │ │ │ └─ item: integer #26 - │ │ │ ├─ [gte]: optional #27 + │ │ │ ├─ [gte]: optional 'optional_27' #27 │ │ │ │ └─ item: integer #26 - │ │ │ ├─ [lt]: optional #27 + │ │ │ ├─ [lt]: optional 'optional_27' #27 │ │ │ │ └─ item: integer #26 - │ │ │ └─ [lte]: optional #27 + │ │ │ └─ [lte]: optional 'optional_27' #27 │ │ │ └─ item: integer #26 │ │ ├─ variant_4: struct #32 - │ │ │ └─ [in]: list #28 + │ │ │ └─ [in]: list 'list_28' #28 │ │ │ └─ item: integer #26 │ │ └─ variant_5: struct #33 - │ │ └─ [notIn]: list #28 + │ │ └─ [notIn]: list 'list_28' #28 │ │ └─ item: integer #26 - │ └─ [title]: optional '_92__string_filter_c?' #92 + │ └─ [title]: optional 'optional_92' #92 │ └─ item: optional '_string_filter_c' #54 │ └─ item: union #53 │ ├─ variant_0: union '_string_filter' #51 @@ -780,21 +780,21 @@ root: struct #112 │ │ ├─ variant_2: struct #43 │ │ │ └─ [not]: string #39 │ │ ├─ variant_3: struct #44 - │ │ │ └─ [in]: list #41 + │ │ │ └─ [in]: list 'list_41' #41 │ │ │ └─ item: string #39 │ │ ├─ variant_4: struct #45 - │ │ │ └─ [notIn]: list #41 + │ │ │ └─ [notIn]: list 'list_41' #41 │ │ │ └─ item: string #39 │ │ ├─ variant_5: struct #48 │ │ │ ├─ [contains]: string #39 - │ │ │ └─ [mode]: optional #47 + │ │ │ └─ [mode]: optional 'optional_47' #47 │ │ │ └─ item: string #46 enum{ '"insensitive"' } │ │ ├─ variant_6: struct #49 │ │ │ └─ [search]: string #39 │ │ └─ variant_7: struct #50 - │ │ ├─ [endsWith]: optional #40 + │ │ ├─ [endsWith]: optional 'optional_40' #40 │ │ │ └─ item: string #39 - │ │ └─ [startsWith]: optional #40 + │ │ └─ [startsWith]: optional 'optional_40' #40 │ │ └─ item: string #39 │ └─ variant_1: struct #52 │ └─ [not]: union '_string_filter' #51 @@ -804,23 +804,22 @@ root: struct #112 │ ├─ variant_2: struct #43 │ │ └─ [not]: string #39 │ ├─ variant_3: struct #44 - │ │ └─ [in]: list #41 + │ │ └─ [in]: list 'list_41' #41 │ │ └─ item: string #39 │ ├─ variant_4: struct #45 - │ │ └─ [notIn]: list #41 + │ │ └─ [notIn]: list 'list_41' #41 │ │ └─ item: string #39 │ ├─ variant_5: struct #48 │ │ ├─ [contains]: string #39 - │ │ └─ [mode]: optional #47 + │ │ └─ [mode]: optional 'optional_47' #47 │ │ └─ item: string #46 enum{ '"insensitive"' } │ ├─ variant_6: struct #49 │ │ └─ [search]: string #39 │ └─ variant_7: struct #50 - │ ├─ [endsWith]: optional #40 + │ ├─ [endsWith]: optional 'optional_40' #40 │ │ └─ item: string #39 - │ └─ [startsWith]: optional #40 + │ └─ [startsWith]: optional 'optional_40' #40 │ └─ item: string #39 - ├─ [id]: optional #87 + ├─ [id]: optional 'optional_87' #87 │ └─ item: integer #18 └─ [title]: string #19 - diff --git a/src/typegraph/core/src/runtimes/prisma/type_generation/snapshots/typegraph_core__runtimes__prisma__type_generation__test__create_many Post out.snap b/src/typegraph/core/src/runtimes/prisma/type_generation/snapshots/typegraph_core__runtimes__prisma__type_generation__test__create_many Post out.snap index dc736dc16c..2a63d71407 100644 --- a/src/typegraph/core/src/runtimes/prisma/type_generation/snapshots/typegraph_core__runtimes__prisma__type_generation__test__create_many Post out.snap +++ b/src/typegraph/core/src/runtimes/prisma/type_generation/snapshots/typegraph_core__runtimes__prisma__type_generation__test__create_many Post out.snap @@ -1,7 +1,6 @@ --- -source: typegraph/core/src/runtimes/prisma/type_generation/mod.rs +source: src/typegraph/core/src/runtimes/prisma/type_generation/mod.rs expression: tp.print(out) --- root: struct #114 └─ [count]: integer #113 - diff --git a/src/typegraph/core/src/runtimes/prisma/type_generation/snapshots/typegraph_core__runtimes__prisma__type_generation__test__create_many Record inp.snap b/src/typegraph/core/src/runtimes/prisma/type_generation/snapshots/typegraph_core__runtimes__prisma__type_generation__test__create_many Record inp.snap index 8f45327f3e..a39b676a3a 100644 --- a/src/typegraph/core/src/runtimes/prisma/type_generation/snapshots/typegraph_core__runtimes__prisma__type_generation__test__create_many Record inp.snap +++ b/src/typegraph/core/src/runtimes/prisma/type_generation/snapshots/typegraph_core__runtimes__prisma__type_generation__test__create_many Record inp.snap @@ -1,14 +1,13 @@ --- -source: typegraph/core/src/runtimes/prisma/type_generation/mod.rs +source: src/typegraph/core/src/runtimes/prisma/type_generation/mod.rs expression: tp.print(inp) --- root: struct #10 -└─ [data]: list '_9__Record_CreateInput[]' #9 +└─ [data]: list 'list_9' #9 └─ item: struct '_Record_CreateInput' #8 - ├─ [age]: optional #5 + ├─ [age]: optional 'optional_5' #5 │ └─ item: integer #4 ├─ [created_at]: string #1 - ├─ [id]: optional #7 + ├─ [id]: optional 'optional_7' #7 │ └─ item: string #2 └─ [name]: string #3 - diff --git a/src/typegraph/core/src/runtimes/prisma/type_generation/snapshots/typegraph_core__runtimes__prisma__type_generation__test__create_many Record out.snap b/src/typegraph/core/src/runtimes/prisma/type_generation/snapshots/typegraph_core__runtimes__prisma__type_generation__test__create_many Record out.snap index bcc17ef9c6..3c4bd1adef 100644 --- a/src/typegraph/core/src/runtimes/prisma/type_generation/snapshots/typegraph_core__runtimes__prisma__type_generation__test__create_many Record out.snap +++ b/src/typegraph/core/src/runtimes/prisma/type_generation/snapshots/typegraph_core__runtimes__prisma__type_generation__test__create_many Record out.snap @@ -1,7 +1,6 @@ --- -source: typegraph/core/src/runtimes/prisma/type_generation/mod.rs +source: src/typegraph/core/src/runtimes/prisma/type_generation/mod.rs expression: tp.print(out) --- root: struct #12 └─ [count]: integer #11 - diff --git a/src/typegraph/core/src/runtimes/prisma/type_generation/snapshots/typegraph_core__runtimes__prisma__type_generation__test__create_many User inp.snap b/src/typegraph/core/src/runtimes/prisma/type_generation/snapshots/typegraph_core__runtimes__prisma__type_generation__test__create_many User inp.snap index c4d4fd0697..6c14183762 100644 --- a/src/typegraph/core/src/runtimes/prisma/type_generation/snapshots/typegraph_core__runtimes__prisma__type_generation__test__create_many User inp.snap +++ b/src/typegraph/core/src/runtimes/prisma/type_generation/snapshots/typegraph_core__runtimes__prisma__type_generation__test__create_many User inp.snap @@ -1,31 +1,31 @@ --- -source: typegraph/core/src/runtimes/prisma/type_generation/mod.rs +source: src/typegraph/core/src/runtimes/prisma/type_generation/mod.rs expression: tp.print(inp) --- root: struct #84 -└─ [data]: list '_83__User_CreateInput[]' #83 +└─ [data]: list 'list_83' #83 └─ item: struct '_User_CreateInput' #82 ├─ [id]: integer #13 ├─ [name]: string #14 - └─ [posts]: optional #81 + └─ [posts]: optional 'optional_81' #81 └─ item: union #80 ├─ variant_0: struct #73 │ └─ [create]: union #25 │ ├─ variant_0: struct '_Post_CreateInput_excluding___rel_Post_User_1' #23 - │ │ ├─ [id]: optional #22 + │ │ ├─ [id]: optional 'optional_22' #22 │ │ │ └─ item: integer #18 │ │ └─ [title]: string #19 - │ └─ variant_1: list '_24__Post_CreateInput_excluding___rel_Post_User_1[]' #24 + │ └─ variant_1: list 'list_24' #24 │ └─ item: struct '_Post_CreateInput_excluding___rel_Post_User_1' #23 - │ ├─ [id]: optional #22 + │ ├─ [id]: optional 'optional_22' #22 │ │ └─ item: integer #18 │ └─ [title]: string #19 ├─ variant_1: struct #74 │ └─ [connect]: union #71 │ ├─ variant_0: struct 'PostWhere' #69 - │ │ ├─ [author]: optional '_68_UserWhere__skip_21_PostWhere?' #68 + │ │ ├─ [author]: optional 'optional_68' #68 │ │ │ └─ item: struct 'UserWhere__skip_21_PostWhere' #67 - │ │ │ ├─ [id]: optional '_56__integer_filter_c?' #56 + │ │ │ ├─ [id]: optional 'optional_56' #56 │ │ │ │ └─ item: optional '_integer_filter_c' #37 │ │ │ │ └─ item: union #36 │ │ │ │ ├─ variant_0: either '_integer_filter' #34 @@ -35,19 +35,19 @@ root: struct #84 │ │ │ │ │ ├─ variant_2: struct #30 │ │ │ │ │ │ └─ [not]: integer #26 │ │ │ │ │ ├─ variant_3: struct #31 - │ │ │ │ │ │ ├─ [gt]: optional #27 + │ │ │ │ │ │ ├─ [gt]: optional 'optional_27' #27 │ │ │ │ │ │ │ └─ item: integer #26 - │ │ │ │ │ │ ├─ [gte]: optional #27 + │ │ │ │ │ │ ├─ [gte]: optional 'optional_27' #27 │ │ │ │ │ │ │ └─ item: integer #26 - │ │ │ │ │ │ ├─ [lt]: optional #27 + │ │ │ │ │ │ ├─ [lt]: optional 'optional_27' #27 │ │ │ │ │ │ │ └─ item: integer #26 - │ │ │ │ │ │ └─ [lte]: optional #27 + │ │ │ │ │ │ └─ [lte]: optional 'optional_27' #27 │ │ │ │ │ │ └─ item: integer #26 │ │ │ │ │ ├─ variant_4: struct #32 - │ │ │ │ │ │ └─ [in]: list #28 + │ │ │ │ │ │ └─ [in]: list 'list_28' #28 │ │ │ │ │ │ └─ item: integer #26 │ │ │ │ │ └─ variant_5: struct #33 - │ │ │ │ │ └─ [notIn]: list #28 + │ │ │ │ │ └─ [notIn]: list 'list_28' #28 │ │ │ │ │ └─ item: integer #26 │ │ │ │ └─ variant_1: struct #35 │ │ │ │ └─ [not]: either '_integer_filter' #34 @@ -57,21 +57,21 @@ root: struct #84 │ │ │ │ ├─ variant_2: struct #30 │ │ │ │ │ └─ [not]: integer #26 │ │ │ │ ├─ variant_3: struct #31 - │ │ │ │ │ ├─ [gt]: optional #27 + │ │ │ │ │ ├─ [gt]: optional 'optional_27' #27 │ │ │ │ │ │ └─ item: integer #26 - │ │ │ │ │ ├─ [gte]: optional #27 + │ │ │ │ │ ├─ [gte]: optional 'optional_27' #27 │ │ │ │ │ │ └─ item: integer #26 - │ │ │ │ │ ├─ [lt]: optional #27 + │ │ │ │ │ ├─ [lt]: optional 'optional_27' #27 │ │ │ │ │ │ └─ item: integer #26 - │ │ │ │ │ └─ [lte]: optional #27 + │ │ │ │ │ └─ [lte]: optional 'optional_27' #27 │ │ │ │ │ └─ item: integer #26 │ │ │ │ ├─ variant_4: struct #32 - │ │ │ │ │ └─ [in]: list #28 + │ │ │ │ │ └─ [in]: list 'list_28' #28 │ │ │ │ │ └─ item: integer #26 │ │ │ │ └─ variant_5: struct #33 - │ │ │ │ └─ [notIn]: list #28 + │ │ │ │ └─ [notIn]: list 'list_28' #28 │ │ │ │ └─ item: integer #26 - │ │ │ ├─ [name]: optional '_57__string_filter_c?' #57 + │ │ │ ├─ [name]: optional 'optional_57' #57 │ │ │ │ └─ item: optional '_string_filter_c' #54 │ │ │ │ └─ item: union #53 │ │ │ │ ├─ variant_0: union '_string_filter' #51 @@ -81,21 +81,21 @@ root: struct #84 │ │ │ │ │ ├─ variant_2: struct #43 │ │ │ │ │ │ └─ [not]: string #39 │ │ │ │ │ ├─ variant_3: struct #44 - │ │ │ │ │ │ └─ [in]: list #41 + │ │ │ │ │ │ └─ [in]: list 'list_41' #41 │ │ │ │ │ │ └─ item: string #39 │ │ │ │ │ ├─ variant_4: struct #45 - │ │ │ │ │ │ └─ [notIn]: list #41 + │ │ │ │ │ │ └─ [notIn]: list 'list_41' #41 │ │ │ │ │ │ └─ item: string #39 │ │ │ │ │ ├─ variant_5: struct #48 │ │ │ │ │ │ ├─ [contains]: string #39 - │ │ │ │ │ │ └─ [mode]: optional #47 + │ │ │ │ │ │ └─ [mode]: optional 'optional_47' #47 │ │ │ │ │ │ └─ item: string #46 enum{ '"insensitive"' } │ │ │ │ │ ├─ variant_6: struct #49 │ │ │ │ │ │ └─ [search]: string #39 │ │ │ │ │ └─ variant_7: struct #50 - │ │ │ │ │ ├─ [endsWith]: optional #40 + │ │ │ │ │ ├─ [endsWith]: optional 'optional_40' #40 │ │ │ │ │ │ └─ item: string #39 - │ │ │ │ │ └─ [startsWith]: optional #40 + │ │ │ │ │ └─ [startsWith]: optional 'optional_40' #40 │ │ │ │ │ └─ item: string #39 │ │ │ │ └─ variant_1: struct #52 │ │ │ │ └─ [not]: union '_string_filter' #51 @@ -105,34 +105,34 @@ root: struct #84 │ │ │ │ ├─ variant_2: struct #43 │ │ │ │ │ └─ [not]: string #39 │ │ │ │ ├─ variant_3: struct #44 - │ │ │ │ │ └─ [in]: list #41 + │ │ │ │ │ └─ [in]: list 'list_41' #41 │ │ │ │ │ └─ item: string #39 │ │ │ │ ├─ variant_4: struct #45 - │ │ │ │ │ └─ [notIn]: list #41 + │ │ │ │ │ └─ [notIn]: list 'list_41' #41 │ │ │ │ │ └─ item: string #39 │ │ │ │ ├─ variant_5: struct #48 │ │ │ │ │ ├─ [contains]: string #39 - │ │ │ │ │ └─ [mode]: optional #47 + │ │ │ │ │ └─ [mode]: optional 'optional_47' #47 │ │ │ │ │ └─ item: string #46 enum{ '"insensitive"' } │ │ │ │ ├─ variant_6: struct #49 │ │ │ │ │ └─ [search]: string #39 │ │ │ │ └─ variant_7: struct #50 - │ │ │ │ ├─ [endsWith]: optional #40 + │ │ │ │ ├─ [endsWith]: optional 'optional_40' #40 │ │ │ │ │ └─ item: string #39 - │ │ │ │ └─ [startsWith]: optional #40 + │ │ │ │ └─ [startsWith]: optional 'optional_40' #40 │ │ │ │ └─ item: string #39 - │ │ │ └─ [posts]: optional #66 + │ │ │ └─ [posts]: optional 'optional_66' #66 │ │ │ └─ item: union #65 │ │ │ ├─ variant_0: struct #60 - │ │ │ │ └─ [every]: optional '_59_PostWhere?' #59 + │ │ │ │ └─ [every]: optional 'optional_59' #59 │ │ │ │ └─ item: &PostWhere #58 │ │ │ ├─ variant_1: struct #62 - │ │ │ │ └─ [some]: optional '_61_PostWhere?' #61 + │ │ │ │ └─ [some]: optional 'optional_61' #61 │ │ │ │ └─ item: &PostWhere #58 │ │ │ └─ variant_2: struct #64 - │ │ │ └─ [none]: optional '_63_PostWhere?' #63 + │ │ │ └─ [none]: optional 'optional_63' #63 │ │ │ └─ item: &PostWhere #58 - │ │ ├─ [id]: optional '_38__integer_filter_c?' #38 + │ │ ├─ [id]: optional 'optional_38' #38 │ │ │ └─ item: optional '_integer_filter_c' #37 │ │ │ └─ item: union #36 │ │ │ ├─ variant_0: either '_integer_filter' #34 @@ -142,19 +142,19 @@ root: struct #84 │ │ │ │ ├─ variant_2: struct #30 │ │ │ │ │ └─ [not]: integer #26 │ │ │ │ ├─ variant_3: struct #31 - │ │ │ │ │ ├─ [gt]: optional #27 + │ │ │ │ │ ├─ [gt]: optional 'optional_27' #27 │ │ │ │ │ │ └─ item: integer #26 - │ │ │ │ │ ├─ [gte]: optional #27 + │ │ │ │ │ ├─ [gte]: optional 'optional_27' #27 │ │ │ │ │ │ └─ item: integer #26 - │ │ │ │ │ ├─ [lt]: optional #27 + │ │ │ │ │ ├─ [lt]: optional 'optional_27' #27 │ │ │ │ │ │ └─ item: integer #26 - │ │ │ │ │ └─ [lte]: optional #27 + │ │ │ │ │ └─ [lte]: optional 'optional_27' #27 │ │ │ │ │ └─ item: integer #26 │ │ │ │ ├─ variant_4: struct #32 - │ │ │ │ │ └─ [in]: list #28 + │ │ │ │ │ └─ [in]: list 'list_28' #28 │ │ │ │ │ └─ item: integer #26 │ │ │ │ └─ variant_5: struct #33 - │ │ │ │ └─ [notIn]: list #28 + │ │ │ │ └─ [notIn]: list 'list_28' #28 │ │ │ │ └─ item: integer #26 │ │ │ └─ variant_1: struct #35 │ │ │ └─ [not]: either '_integer_filter' #34 @@ -164,21 +164,21 @@ root: struct #84 │ │ │ ├─ variant_2: struct #30 │ │ │ │ └─ [not]: integer #26 │ │ │ ├─ variant_3: struct #31 - │ │ │ │ ├─ [gt]: optional #27 + │ │ │ │ ├─ [gt]: optional 'optional_27' #27 │ │ │ │ │ └─ item: integer #26 - │ │ │ │ ├─ [gte]: optional #27 + │ │ │ │ ├─ [gte]: optional 'optional_27' #27 │ │ │ │ │ └─ item: integer #26 - │ │ │ │ ├─ [lt]: optional #27 + │ │ │ │ ├─ [lt]: optional 'optional_27' #27 │ │ │ │ │ └─ item: integer #26 - │ │ │ │ └─ [lte]: optional #27 + │ │ │ │ └─ [lte]: optional 'optional_27' #27 │ │ │ │ └─ item: integer #26 │ │ │ ├─ variant_4: struct #32 - │ │ │ │ └─ [in]: list #28 + │ │ │ │ └─ [in]: list 'list_28' #28 │ │ │ │ └─ item: integer #26 │ │ │ └─ variant_5: struct #33 - │ │ │ └─ [notIn]: list #28 + │ │ │ └─ [notIn]: list 'list_28' #28 │ │ │ └─ item: integer #26 - │ │ └─ [title]: optional '_55__string_filter_c?' #55 + │ │ └─ [title]: optional 'optional_55' #55 │ │ └─ item: optional '_string_filter_c' #54 │ │ └─ item: union #53 │ │ ├─ variant_0: union '_string_filter' #51 @@ -188,21 +188,21 @@ root: struct #84 │ │ │ ├─ variant_2: struct #43 │ │ │ │ └─ [not]: string #39 │ │ │ ├─ variant_3: struct #44 - │ │ │ │ └─ [in]: list #41 + │ │ │ │ └─ [in]: list 'list_41' #41 │ │ │ │ └─ item: string #39 │ │ │ ├─ variant_4: struct #45 - │ │ │ │ └─ [notIn]: list #41 + │ │ │ │ └─ [notIn]: list 'list_41' #41 │ │ │ │ └─ item: string #39 │ │ │ ├─ variant_5: struct #48 │ │ │ │ ├─ [contains]: string #39 - │ │ │ │ └─ [mode]: optional #47 + │ │ │ │ └─ [mode]: optional 'optional_47' #47 │ │ │ │ └─ item: string #46 enum{ '"insensitive"' } │ │ │ ├─ variant_6: struct #49 │ │ │ │ └─ [search]: string #39 │ │ │ └─ variant_7: struct #50 - │ │ │ ├─ [endsWith]: optional #40 + │ │ │ ├─ [endsWith]: optional 'optional_40' #40 │ │ │ │ └─ item: string #39 - │ │ │ └─ [startsWith]: optional #40 + │ │ │ └─ [startsWith]: optional 'optional_40' #40 │ │ │ └─ item: string #39 │ │ └─ variant_1: struct #52 │ │ └─ [not]: union '_string_filter' #51 @@ -212,27 +212,27 @@ root: struct #84 │ │ ├─ variant_2: struct #43 │ │ │ └─ [not]: string #39 │ │ ├─ variant_3: struct #44 - │ │ │ └─ [in]: list #41 + │ │ │ └─ [in]: list 'list_41' #41 │ │ │ └─ item: string #39 │ │ ├─ variant_4: struct #45 - │ │ │ └─ [notIn]: list #41 + │ │ │ └─ [notIn]: list 'list_41' #41 │ │ │ └─ item: string #39 │ │ ├─ variant_5: struct #48 │ │ │ ├─ [contains]: string #39 - │ │ │ └─ [mode]: optional #47 + │ │ │ └─ [mode]: optional 'optional_47' #47 │ │ │ └─ item: string #46 enum{ '"insensitive"' } │ │ ├─ variant_6: struct #49 │ │ │ └─ [search]: string #39 │ │ └─ variant_7: struct #50 - │ │ ├─ [endsWith]: optional #40 + │ │ ├─ [endsWith]: optional 'optional_40' #40 │ │ │ └─ item: string #39 - │ │ └─ [startsWith]: optional #40 + │ │ └─ [startsWith]: optional 'optional_40' #40 │ │ └─ item: string #39 - │ └─ variant_1: list '_70_PostWhere[]' #70 + │ └─ variant_1: list 'list_70' #70 │ └─ item: struct 'PostWhere' #69 - │ ├─ [author]: optional '_68_UserWhere__skip_21_PostWhere?' #68 + │ ├─ [author]: optional 'optional_68' #68 │ │ └─ item: struct 'UserWhere__skip_21_PostWhere' #67 - │ │ ├─ [id]: optional '_56__integer_filter_c?' #56 + │ │ ├─ [id]: optional 'optional_56' #56 │ │ │ └─ item: optional '_integer_filter_c' #37 │ │ │ └─ item: union #36 │ │ │ ├─ variant_0: either '_integer_filter' #34 @@ -242,19 +242,19 @@ root: struct #84 │ │ │ │ ├─ variant_2: struct #30 │ │ │ │ │ └─ [not]: integer #26 │ │ │ │ ├─ variant_3: struct #31 - │ │ │ │ │ ├─ [gt]: optional #27 + │ │ │ │ │ ├─ [gt]: optional 'optional_27' #27 │ │ │ │ │ │ └─ item: integer #26 - │ │ │ │ │ ├─ [gte]: optional #27 + │ │ │ │ │ ├─ [gte]: optional 'optional_27' #27 │ │ │ │ │ │ └─ item: integer #26 - │ │ │ │ │ ├─ [lt]: optional #27 + │ │ │ │ │ ├─ [lt]: optional 'optional_27' #27 │ │ │ │ │ │ └─ item: integer #26 - │ │ │ │ │ └─ [lte]: optional #27 + │ │ │ │ │ └─ [lte]: optional 'optional_27' #27 │ │ │ │ │ └─ item: integer #26 │ │ │ │ ├─ variant_4: struct #32 - │ │ │ │ │ └─ [in]: list #28 + │ │ │ │ │ └─ [in]: list 'list_28' #28 │ │ │ │ │ └─ item: integer #26 │ │ │ │ └─ variant_5: struct #33 - │ │ │ │ └─ [notIn]: list #28 + │ │ │ │ └─ [notIn]: list 'list_28' #28 │ │ │ │ └─ item: integer #26 │ │ │ └─ variant_1: struct #35 │ │ │ └─ [not]: either '_integer_filter' #34 @@ -264,21 +264,21 @@ root: struct #84 │ │ │ ├─ variant_2: struct #30 │ │ │ │ └─ [not]: integer #26 │ │ │ ├─ variant_3: struct #31 - │ │ │ │ ├─ [gt]: optional #27 + │ │ │ │ ├─ [gt]: optional 'optional_27' #27 │ │ │ │ │ └─ item: integer #26 - │ │ │ │ ├─ [gte]: optional #27 + │ │ │ │ ├─ [gte]: optional 'optional_27' #27 │ │ │ │ │ └─ item: integer #26 - │ │ │ │ ├─ [lt]: optional #27 + │ │ │ │ ├─ [lt]: optional 'optional_27' #27 │ │ │ │ │ └─ item: integer #26 - │ │ │ │ └─ [lte]: optional #27 + │ │ │ │ └─ [lte]: optional 'optional_27' #27 │ │ │ │ └─ item: integer #26 │ │ │ ├─ variant_4: struct #32 - │ │ │ │ └─ [in]: list #28 + │ │ │ │ └─ [in]: list 'list_28' #28 │ │ │ │ └─ item: integer #26 │ │ │ └─ variant_5: struct #33 - │ │ │ └─ [notIn]: list #28 + │ │ │ └─ [notIn]: list 'list_28' #28 │ │ │ └─ item: integer #26 - │ │ ├─ [name]: optional '_57__string_filter_c?' #57 + │ │ ├─ [name]: optional 'optional_57' #57 │ │ │ └─ item: optional '_string_filter_c' #54 │ │ │ └─ item: union #53 │ │ │ ├─ variant_0: union '_string_filter' #51 @@ -288,21 +288,21 @@ root: struct #84 │ │ │ │ ├─ variant_2: struct #43 │ │ │ │ │ └─ [not]: string #39 │ │ │ │ ├─ variant_3: struct #44 - │ │ │ │ │ └─ [in]: list #41 + │ │ │ │ │ └─ [in]: list 'list_41' #41 │ │ │ │ │ └─ item: string #39 │ │ │ │ ├─ variant_4: struct #45 - │ │ │ │ │ └─ [notIn]: list #41 + │ │ │ │ │ └─ [notIn]: list 'list_41' #41 │ │ │ │ │ └─ item: string #39 │ │ │ │ ├─ variant_5: struct #48 │ │ │ │ │ ├─ [contains]: string #39 - │ │ │ │ │ └─ [mode]: optional #47 + │ │ │ │ │ └─ [mode]: optional 'optional_47' #47 │ │ │ │ │ └─ item: string #46 enum{ '"insensitive"' } │ │ │ │ ├─ variant_6: struct #49 │ │ │ │ │ └─ [search]: string #39 │ │ │ │ └─ variant_7: struct #50 - │ │ │ │ ├─ [endsWith]: optional #40 + │ │ │ │ ├─ [endsWith]: optional 'optional_40' #40 │ │ │ │ │ └─ item: string #39 - │ │ │ │ └─ [startsWith]: optional #40 + │ │ │ │ └─ [startsWith]: optional 'optional_40' #40 │ │ │ │ └─ item: string #39 │ │ │ └─ variant_1: struct #52 │ │ │ └─ [not]: union '_string_filter' #51 @@ -312,34 +312,34 @@ root: struct #84 │ │ │ ├─ variant_2: struct #43 │ │ │ │ └─ [not]: string #39 │ │ │ ├─ variant_3: struct #44 - │ │ │ │ └─ [in]: list #41 + │ │ │ │ └─ [in]: list 'list_41' #41 │ │ │ │ └─ item: string #39 │ │ │ ├─ variant_4: struct #45 - │ │ │ │ └─ [notIn]: list #41 + │ │ │ │ └─ [notIn]: list 'list_41' #41 │ │ │ │ └─ item: string #39 │ │ │ ├─ variant_5: struct #48 │ │ │ │ ├─ [contains]: string #39 - │ │ │ │ └─ [mode]: optional #47 + │ │ │ │ └─ [mode]: optional 'optional_47' #47 │ │ │ │ └─ item: string #46 enum{ '"insensitive"' } │ │ │ ├─ variant_6: struct #49 │ │ │ │ └─ [search]: string #39 │ │ │ └─ variant_7: struct #50 - │ │ │ ├─ [endsWith]: optional #40 + │ │ │ ├─ [endsWith]: optional 'optional_40' #40 │ │ │ │ └─ item: string #39 - │ │ │ └─ [startsWith]: optional #40 + │ │ │ └─ [startsWith]: optional 'optional_40' #40 │ │ │ └─ item: string #39 - │ │ └─ [posts]: optional #66 + │ │ └─ [posts]: optional 'optional_66' #66 │ │ └─ item: union #65 │ │ ├─ variant_0: struct #60 - │ │ │ └─ [every]: optional '_59_PostWhere?' #59 + │ │ │ └─ [every]: optional 'optional_59' #59 │ │ │ └─ item: &PostWhere #58 │ │ ├─ variant_1: struct #62 - │ │ │ └─ [some]: optional '_61_PostWhere?' #61 + │ │ │ └─ [some]: optional 'optional_61' #61 │ │ │ └─ item: &PostWhere #58 │ │ └─ variant_2: struct #64 - │ │ └─ [none]: optional '_63_PostWhere?' #63 + │ │ └─ [none]: optional 'optional_63' #63 │ │ └─ item: &PostWhere #58 - │ ├─ [id]: optional '_38__integer_filter_c?' #38 + │ ├─ [id]: optional 'optional_38' #38 │ │ └─ item: optional '_integer_filter_c' #37 │ │ └─ item: union #36 │ │ ├─ variant_0: either '_integer_filter' #34 @@ -349,19 +349,19 @@ root: struct #84 │ │ │ ├─ variant_2: struct #30 │ │ │ │ └─ [not]: integer #26 │ │ │ ├─ variant_3: struct #31 - │ │ │ │ ├─ [gt]: optional #27 + │ │ │ │ ├─ [gt]: optional 'optional_27' #27 │ │ │ │ │ └─ item: integer #26 - │ │ │ │ ├─ [gte]: optional #27 + │ │ │ │ ├─ [gte]: optional 'optional_27' #27 │ │ │ │ │ └─ item: integer #26 - │ │ │ │ ├─ [lt]: optional #27 + │ │ │ │ ├─ [lt]: optional 'optional_27' #27 │ │ │ │ │ └─ item: integer #26 - │ │ │ │ └─ [lte]: optional #27 + │ │ │ │ └─ [lte]: optional 'optional_27' #27 │ │ │ │ └─ item: integer #26 │ │ │ ├─ variant_4: struct #32 - │ │ │ │ └─ [in]: list #28 + │ │ │ │ └─ [in]: list 'list_28' #28 │ │ │ │ └─ item: integer #26 │ │ │ └─ variant_5: struct #33 - │ │ │ └─ [notIn]: list #28 + │ │ │ └─ [notIn]: list 'list_28' #28 │ │ │ └─ item: integer #26 │ │ └─ variant_1: struct #35 │ │ └─ [not]: either '_integer_filter' #34 @@ -371,21 +371,21 @@ root: struct #84 │ │ ├─ variant_2: struct #30 │ │ │ └─ [not]: integer #26 │ │ ├─ variant_3: struct #31 - │ │ │ ├─ [gt]: optional #27 + │ │ │ ├─ [gt]: optional 'optional_27' #27 │ │ │ │ └─ item: integer #26 - │ │ │ ├─ [gte]: optional #27 + │ │ │ ├─ [gte]: optional 'optional_27' #27 │ │ │ │ └─ item: integer #26 - │ │ │ ├─ [lt]: optional #27 + │ │ │ ├─ [lt]: optional 'optional_27' #27 │ │ │ │ └─ item: integer #26 - │ │ │ └─ [lte]: optional #27 + │ │ │ └─ [lte]: optional 'optional_27' #27 │ │ │ └─ item: integer #26 │ │ ├─ variant_4: struct #32 - │ │ │ └─ [in]: list #28 + │ │ │ └─ [in]: list 'list_28' #28 │ │ │ └─ item: integer #26 │ │ └─ variant_5: struct #33 - │ │ └─ [notIn]: list #28 + │ │ └─ [notIn]: list 'list_28' #28 │ │ └─ item: integer #26 - │ └─ [title]: optional '_55__string_filter_c?' #55 + │ └─ [title]: optional 'optional_55' #55 │ └─ item: optional '_string_filter_c' #54 │ └─ item: union #53 │ ├─ variant_0: union '_string_filter' #51 @@ -395,21 +395,21 @@ root: struct #84 │ │ ├─ variant_2: struct #43 │ │ │ └─ [not]: string #39 │ │ ├─ variant_3: struct #44 - │ │ │ └─ [in]: list #41 + │ │ │ └─ [in]: list 'list_41' #41 │ │ │ └─ item: string #39 │ │ ├─ variant_4: struct #45 - │ │ │ └─ [notIn]: list #41 + │ │ │ └─ [notIn]: list 'list_41' #41 │ │ │ └─ item: string #39 │ │ ├─ variant_5: struct #48 │ │ │ ├─ [contains]: string #39 - │ │ │ └─ [mode]: optional #47 + │ │ │ └─ [mode]: optional 'optional_47' #47 │ │ │ └─ item: string #46 enum{ '"insensitive"' } │ │ ├─ variant_6: struct #49 │ │ │ └─ [search]: string #39 │ │ └─ variant_7: struct #50 - │ │ ├─ [endsWith]: optional #40 + │ │ ├─ [endsWith]: optional 'optional_40' #40 │ │ │ └─ item: string #39 - │ │ └─ [startsWith]: optional #40 + │ │ └─ [startsWith]: optional 'optional_40' #40 │ │ └─ item: string #39 │ └─ variant_1: struct #52 │ └─ [not]: union '_string_filter' #51 @@ -419,39 +419,39 @@ root: struct #84 │ ├─ variant_2: struct #43 │ │ └─ [not]: string #39 │ ├─ variant_3: struct #44 - │ │ └─ [in]: list #41 + │ │ └─ [in]: list 'list_41' #41 │ │ └─ item: string #39 │ ├─ variant_4: struct #45 - │ │ └─ [notIn]: list #41 + │ │ └─ [notIn]: list 'list_41' #41 │ │ └─ item: string #39 │ ├─ variant_5: struct #48 │ │ ├─ [contains]: string #39 - │ │ └─ [mode]: optional #47 + │ │ └─ [mode]: optional 'optional_47' #47 │ │ └─ item: string #46 enum{ '"insensitive"' } │ ├─ variant_6: struct #49 │ │ └─ [search]: string #39 │ └─ variant_7: struct #50 - │ ├─ [endsWith]: optional #40 + │ ├─ [endsWith]: optional 'optional_40' #40 │ │ └─ item: string #39 - │ └─ [startsWith]: optional #40 + │ └─ [startsWith]: optional 'optional_40' #40 │ └─ item: string #39 ├─ variant_2: struct #75 │ └─ [connectOrCreate]: struct #72 │ ├─ [create]: union #25 │ │ ├─ variant_0: struct '_Post_CreateInput_excluding___rel_Post_User_1' #23 - │ │ │ ├─ [id]: optional #22 + │ │ │ ├─ [id]: optional 'optional_22' #22 │ │ │ │ └─ item: integer #18 │ │ │ └─ [title]: string #19 - │ │ └─ variant_1: list '_24__Post_CreateInput_excluding___rel_Post_User_1[]' #24 + │ │ └─ variant_1: list 'list_24' #24 │ │ └─ item: struct '_Post_CreateInput_excluding___rel_Post_User_1' #23 - │ │ ├─ [id]: optional #22 + │ │ ├─ [id]: optional 'optional_22' #22 │ │ │ └─ item: integer #18 │ │ └─ [title]: string #19 │ └─ [where]: union #71 │ ├─ variant_0: struct 'PostWhere' #69 - │ │ ├─ [author]: optional '_68_UserWhere__skip_21_PostWhere?' #68 + │ │ ├─ [author]: optional 'optional_68' #68 │ │ │ └─ item: struct 'UserWhere__skip_21_PostWhere' #67 - │ │ │ ├─ [id]: optional '_56__integer_filter_c?' #56 + │ │ │ ├─ [id]: optional 'optional_56' #56 │ │ │ │ └─ item: optional '_integer_filter_c' #37 │ │ │ │ └─ item: union #36 │ │ │ │ ├─ variant_0: either '_integer_filter' #34 @@ -461,19 +461,19 @@ root: struct #84 │ │ │ │ │ ├─ variant_2: struct #30 │ │ │ │ │ │ └─ [not]: integer #26 │ │ │ │ │ ├─ variant_3: struct #31 - │ │ │ │ │ │ ├─ [gt]: optional #27 + │ │ │ │ │ │ ├─ [gt]: optional 'optional_27' #27 │ │ │ │ │ │ │ └─ item: integer #26 - │ │ │ │ │ │ ├─ [gte]: optional #27 + │ │ │ │ │ │ ├─ [gte]: optional 'optional_27' #27 │ │ │ │ │ │ │ └─ item: integer #26 - │ │ │ │ │ │ ├─ [lt]: optional #27 + │ │ │ │ │ │ ├─ [lt]: optional 'optional_27' #27 │ │ │ │ │ │ │ └─ item: integer #26 - │ │ │ │ │ │ └─ [lte]: optional #27 + │ │ │ │ │ │ └─ [lte]: optional 'optional_27' #27 │ │ │ │ │ │ └─ item: integer #26 │ │ │ │ │ ├─ variant_4: struct #32 - │ │ │ │ │ │ └─ [in]: list #28 + │ │ │ │ │ │ └─ [in]: list 'list_28' #28 │ │ │ │ │ │ └─ item: integer #26 │ │ │ │ │ └─ variant_5: struct #33 - │ │ │ │ │ └─ [notIn]: list #28 + │ │ │ │ │ └─ [notIn]: list 'list_28' #28 │ │ │ │ │ └─ item: integer #26 │ │ │ │ └─ variant_1: struct #35 │ │ │ │ └─ [not]: either '_integer_filter' #34 @@ -483,21 +483,21 @@ root: struct #84 │ │ │ │ ├─ variant_2: struct #30 │ │ │ │ │ └─ [not]: integer #26 │ │ │ │ ├─ variant_3: struct #31 - │ │ │ │ │ ├─ [gt]: optional #27 + │ │ │ │ │ ├─ [gt]: optional 'optional_27' #27 │ │ │ │ │ │ └─ item: integer #26 - │ │ │ │ │ ├─ [gte]: optional #27 + │ │ │ │ │ ├─ [gte]: optional 'optional_27' #27 │ │ │ │ │ │ └─ item: integer #26 - │ │ │ │ │ ├─ [lt]: optional #27 + │ │ │ │ │ ├─ [lt]: optional 'optional_27' #27 │ │ │ │ │ │ └─ item: integer #26 - │ │ │ │ │ └─ [lte]: optional #27 + │ │ │ │ │ └─ [lte]: optional 'optional_27' #27 │ │ │ │ │ └─ item: integer #26 │ │ │ │ ├─ variant_4: struct #32 - │ │ │ │ │ └─ [in]: list #28 + │ │ │ │ │ └─ [in]: list 'list_28' #28 │ │ │ │ │ └─ item: integer #26 │ │ │ │ └─ variant_5: struct #33 - │ │ │ │ └─ [notIn]: list #28 + │ │ │ │ └─ [notIn]: list 'list_28' #28 │ │ │ │ └─ item: integer #26 - │ │ │ ├─ [name]: optional '_57__string_filter_c?' #57 + │ │ │ ├─ [name]: optional 'optional_57' #57 │ │ │ │ └─ item: optional '_string_filter_c' #54 │ │ │ │ └─ item: union #53 │ │ │ │ ├─ variant_0: union '_string_filter' #51 @@ -507,21 +507,21 @@ root: struct #84 │ │ │ │ │ ├─ variant_2: struct #43 │ │ │ │ │ │ └─ [not]: string #39 │ │ │ │ │ ├─ variant_3: struct #44 - │ │ │ │ │ │ └─ [in]: list #41 + │ │ │ │ │ │ └─ [in]: list 'list_41' #41 │ │ │ │ │ │ └─ item: string #39 │ │ │ │ │ ├─ variant_4: struct #45 - │ │ │ │ │ │ └─ [notIn]: list #41 + │ │ │ │ │ │ └─ [notIn]: list 'list_41' #41 │ │ │ │ │ │ └─ item: string #39 │ │ │ │ │ ├─ variant_5: struct #48 │ │ │ │ │ │ ├─ [contains]: string #39 - │ │ │ │ │ │ └─ [mode]: optional #47 + │ │ │ │ │ │ └─ [mode]: optional 'optional_47' #47 │ │ │ │ │ │ └─ item: string #46 enum{ '"insensitive"' } │ │ │ │ │ ├─ variant_6: struct #49 │ │ │ │ │ │ └─ [search]: string #39 │ │ │ │ │ └─ variant_7: struct #50 - │ │ │ │ │ ├─ [endsWith]: optional #40 + │ │ │ │ │ ├─ [endsWith]: optional 'optional_40' #40 │ │ │ │ │ │ └─ item: string #39 - │ │ │ │ │ └─ [startsWith]: optional #40 + │ │ │ │ │ └─ [startsWith]: optional 'optional_40' #40 │ │ │ │ │ └─ item: string #39 │ │ │ │ └─ variant_1: struct #52 │ │ │ │ └─ [not]: union '_string_filter' #51 @@ -531,34 +531,34 @@ root: struct #84 │ │ │ │ ├─ variant_2: struct #43 │ │ │ │ │ └─ [not]: string #39 │ │ │ │ ├─ variant_3: struct #44 - │ │ │ │ │ └─ [in]: list #41 + │ │ │ │ │ └─ [in]: list 'list_41' #41 │ │ │ │ │ └─ item: string #39 │ │ │ │ ├─ variant_4: struct #45 - │ │ │ │ │ └─ [notIn]: list #41 + │ │ │ │ │ └─ [notIn]: list 'list_41' #41 │ │ │ │ │ └─ item: string #39 │ │ │ │ ├─ variant_5: struct #48 │ │ │ │ │ ├─ [contains]: string #39 - │ │ │ │ │ └─ [mode]: optional #47 + │ │ │ │ │ └─ [mode]: optional 'optional_47' #47 │ │ │ │ │ └─ item: string #46 enum{ '"insensitive"' } │ │ │ │ ├─ variant_6: struct #49 │ │ │ │ │ └─ [search]: string #39 │ │ │ │ └─ variant_7: struct #50 - │ │ │ │ ├─ [endsWith]: optional #40 + │ │ │ │ ├─ [endsWith]: optional 'optional_40' #40 │ │ │ │ │ └─ item: string #39 - │ │ │ │ └─ [startsWith]: optional #40 + │ │ │ │ └─ [startsWith]: optional 'optional_40' #40 │ │ │ │ └─ item: string #39 - │ │ │ └─ [posts]: optional #66 + │ │ │ └─ [posts]: optional 'optional_66' #66 │ │ │ └─ item: union #65 │ │ │ ├─ variant_0: struct #60 - │ │ │ │ └─ [every]: optional '_59_PostWhere?' #59 + │ │ │ │ └─ [every]: optional 'optional_59' #59 │ │ │ │ └─ item: &PostWhere #58 │ │ │ ├─ variant_1: struct #62 - │ │ │ │ └─ [some]: optional '_61_PostWhere?' #61 + │ │ │ │ └─ [some]: optional 'optional_61' #61 │ │ │ │ └─ item: &PostWhere #58 │ │ │ └─ variant_2: struct #64 - │ │ │ └─ [none]: optional '_63_PostWhere?' #63 + │ │ │ └─ [none]: optional 'optional_63' #63 │ │ │ └─ item: &PostWhere #58 - │ │ ├─ [id]: optional '_38__integer_filter_c?' #38 + │ │ ├─ [id]: optional 'optional_38' #38 │ │ │ └─ item: optional '_integer_filter_c' #37 │ │ │ └─ item: union #36 │ │ │ ├─ variant_0: either '_integer_filter' #34 @@ -568,19 +568,19 @@ root: struct #84 │ │ │ │ ├─ variant_2: struct #30 │ │ │ │ │ └─ [not]: integer #26 │ │ │ │ ├─ variant_3: struct #31 - │ │ │ │ │ ├─ [gt]: optional #27 + │ │ │ │ │ ├─ [gt]: optional 'optional_27' #27 │ │ │ │ │ │ └─ item: integer #26 - │ │ │ │ │ ├─ [gte]: optional #27 + │ │ │ │ │ ├─ [gte]: optional 'optional_27' #27 │ │ │ │ │ │ └─ item: integer #26 - │ │ │ │ │ ├─ [lt]: optional #27 + │ │ │ │ │ ├─ [lt]: optional 'optional_27' #27 │ │ │ │ │ │ └─ item: integer #26 - │ │ │ │ │ └─ [lte]: optional #27 + │ │ │ │ │ └─ [lte]: optional 'optional_27' #27 │ │ │ │ │ └─ item: integer #26 │ │ │ │ ├─ variant_4: struct #32 - │ │ │ │ │ └─ [in]: list #28 + │ │ │ │ │ └─ [in]: list 'list_28' #28 │ │ │ │ │ └─ item: integer #26 │ │ │ │ └─ variant_5: struct #33 - │ │ │ │ └─ [notIn]: list #28 + │ │ │ │ └─ [notIn]: list 'list_28' #28 │ │ │ │ └─ item: integer #26 │ │ │ └─ variant_1: struct #35 │ │ │ └─ [not]: either '_integer_filter' #34 @@ -590,21 +590,21 @@ root: struct #84 │ │ │ ├─ variant_2: struct #30 │ │ │ │ └─ [not]: integer #26 │ │ │ ├─ variant_3: struct #31 - │ │ │ │ ├─ [gt]: optional #27 + │ │ │ │ ├─ [gt]: optional 'optional_27' #27 │ │ │ │ │ └─ item: integer #26 - │ │ │ │ ├─ [gte]: optional #27 + │ │ │ │ ├─ [gte]: optional 'optional_27' #27 │ │ │ │ │ └─ item: integer #26 - │ │ │ │ ├─ [lt]: optional #27 + │ │ │ │ ├─ [lt]: optional 'optional_27' #27 │ │ │ │ │ └─ item: integer #26 - │ │ │ │ └─ [lte]: optional #27 + │ │ │ │ └─ [lte]: optional 'optional_27' #27 │ │ │ │ └─ item: integer #26 │ │ │ ├─ variant_4: struct #32 - │ │ │ │ └─ [in]: list #28 + │ │ │ │ └─ [in]: list 'list_28' #28 │ │ │ │ └─ item: integer #26 │ │ │ └─ variant_5: struct #33 - │ │ │ └─ [notIn]: list #28 + │ │ │ └─ [notIn]: list 'list_28' #28 │ │ │ └─ item: integer #26 - │ │ └─ [title]: optional '_55__string_filter_c?' #55 + │ │ └─ [title]: optional 'optional_55' #55 │ │ └─ item: optional '_string_filter_c' #54 │ │ └─ item: union #53 │ │ ├─ variant_0: union '_string_filter' #51 @@ -614,21 +614,21 @@ root: struct #84 │ │ │ ├─ variant_2: struct #43 │ │ │ │ └─ [not]: string #39 │ │ │ ├─ variant_3: struct #44 - │ │ │ │ └─ [in]: list #41 + │ │ │ │ └─ [in]: list 'list_41' #41 │ │ │ │ └─ item: string #39 │ │ │ ├─ variant_4: struct #45 - │ │ │ │ └─ [notIn]: list #41 + │ │ │ │ └─ [notIn]: list 'list_41' #41 │ │ │ │ └─ item: string #39 │ │ │ ├─ variant_5: struct #48 │ │ │ │ ├─ [contains]: string #39 - │ │ │ │ └─ [mode]: optional #47 + │ │ │ │ └─ [mode]: optional 'optional_47' #47 │ │ │ │ └─ item: string #46 enum{ '"insensitive"' } │ │ │ ├─ variant_6: struct #49 │ │ │ │ └─ [search]: string #39 │ │ │ └─ variant_7: struct #50 - │ │ │ ├─ [endsWith]: optional #40 + │ │ │ ├─ [endsWith]: optional 'optional_40' #40 │ │ │ │ └─ item: string #39 - │ │ │ └─ [startsWith]: optional #40 + │ │ │ └─ [startsWith]: optional 'optional_40' #40 │ │ │ └─ item: string #39 │ │ └─ variant_1: struct #52 │ │ └─ [not]: union '_string_filter' #51 @@ -638,27 +638,27 @@ root: struct #84 │ │ ├─ variant_2: struct #43 │ │ │ └─ [not]: string #39 │ │ ├─ variant_3: struct #44 - │ │ │ └─ [in]: list #41 + │ │ │ └─ [in]: list 'list_41' #41 │ │ │ └─ item: string #39 │ │ ├─ variant_4: struct #45 - │ │ │ └─ [notIn]: list #41 + │ │ │ └─ [notIn]: list 'list_41' #41 │ │ │ └─ item: string #39 │ │ ├─ variant_5: struct #48 │ │ │ ├─ [contains]: string #39 - │ │ │ └─ [mode]: optional #47 + │ │ │ └─ [mode]: optional 'optional_47' #47 │ │ │ └─ item: string #46 enum{ '"insensitive"' } │ │ ├─ variant_6: struct #49 │ │ │ └─ [search]: string #39 │ │ └─ variant_7: struct #50 - │ │ ├─ [endsWith]: optional #40 + │ │ ├─ [endsWith]: optional 'optional_40' #40 │ │ │ └─ item: string #39 - │ │ └─ [startsWith]: optional #40 + │ │ └─ [startsWith]: optional 'optional_40' #40 │ │ └─ item: string #39 - │ └─ variant_1: list '_70_PostWhere[]' #70 + │ └─ variant_1: list 'list_70' #70 │ └─ item: struct 'PostWhere' #69 - │ ├─ [author]: optional '_68_UserWhere__skip_21_PostWhere?' #68 + │ ├─ [author]: optional 'optional_68' #68 │ │ └─ item: struct 'UserWhere__skip_21_PostWhere' #67 - │ │ ├─ [id]: optional '_56__integer_filter_c?' #56 + │ │ ├─ [id]: optional 'optional_56' #56 │ │ │ └─ item: optional '_integer_filter_c' #37 │ │ │ └─ item: union #36 │ │ │ ├─ variant_0: either '_integer_filter' #34 @@ -668,19 +668,19 @@ root: struct #84 │ │ │ │ ├─ variant_2: struct #30 │ │ │ │ │ └─ [not]: integer #26 │ │ │ │ ├─ variant_3: struct #31 - │ │ │ │ │ ├─ [gt]: optional #27 + │ │ │ │ │ ├─ [gt]: optional 'optional_27' #27 │ │ │ │ │ │ └─ item: integer #26 - │ │ │ │ │ ├─ [gte]: optional #27 + │ │ │ │ │ ├─ [gte]: optional 'optional_27' #27 │ │ │ │ │ │ └─ item: integer #26 - │ │ │ │ │ ├─ [lt]: optional #27 + │ │ │ │ │ ├─ [lt]: optional 'optional_27' #27 │ │ │ │ │ │ └─ item: integer #26 - │ │ │ │ │ └─ [lte]: optional #27 + │ │ │ │ │ └─ [lte]: optional 'optional_27' #27 │ │ │ │ │ └─ item: integer #26 │ │ │ │ ├─ variant_4: struct #32 - │ │ │ │ │ └─ [in]: list #28 + │ │ │ │ │ └─ [in]: list 'list_28' #28 │ │ │ │ │ └─ item: integer #26 │ │ │ │ └─ variant_5: struct #33 - │ │ │ │ └─ [notIn]: list #28 + │ │ │ │ └─ [notIn]: list 'list_28' #28 │ │ │ │ └─ item: integer #26 │ │ │ └─ variant_1: struct #35 │ │ │ └─ [not]: either '_integer_filter' #34 @@ -690,21 +690,21 @@ root: struct #84 │ │ │ ├─ variant_2: struct #30 │ │ │ │ └─ [not]: integer #26 │ │ │ ├─ variant_3: struct #31 - │ │ │ │ ├─ [gt]: optional #27 + │ │ │ │ ├─ [gt]: optional 'optional_27' #27 │ │ │ │ │ └─ item: integer #26 - │ │ │ │ ├─ [gte]: optional #27 + │ │ │ │ ├─ [gte]: optional 'optional_27' #27 │ │ │ │ │ └─ item: integer #26 - │ │ │ │ ├─ [lt]: optional #27 + │ │ │ │ ├─ [lt]: optional 'optional_27' #27 │ │ │ │ │ └─ item: integer #26 - │ │ │ │ └─ [lte]: optional #27 + │ │ │ │ └─ [lte]: optional 'optional_27' #27 │ │ │ │ └─ item: integer #26 │ │ │ ├─ variant_4: struct #32 - │ │ │ │ └─ [in]: list #28 + │ │ │ │ └─ [in]: list 'list_28' #28 │ │ │ │ └─ item: integer #26 │ │ │ └─ variant_5: struct #33 - │ │ │ └─ [notIn]: list #28 + │ │ │ └─ [notIn]: list 'list_28' #28 │ │ │ └─ item: integer #26 - │ │ ├─ [name]: optional '_57__string_filter_c?' #57 + │ │ ├─ [name]: optional 'optional_57' #57 │ │ │ └─ item: optional '_string_filter_c' #54 │ │ │ └─ item: union #53 │ │ │ ├─ variant_0: union '_string_filter' #51 @@ -714,21 +714,21 @@ root: struct #84 │ │ │ │ ├─ variant_2: struct #43 │ │ │ │ │ └─ [not]: string #39 │ │ │ │ ├─ variant_3: struct #44 - │ │ │ │ │ └─ [in]: list #41 + │ │ │ │ │ └─ [in]: list 'list_41' #41 │ │ │ │ │ └─ item: string #39 │ │ │ │ ├─ variant_4: struct #45 - │ │ │ │ │ └─ [notIn]: list #41 + │ │ │ │ │ └─ [notIn]: list 'list_41' #41 │ │ │ │ │ └─ item: string #39 │ │ │ │ ├─ variant_5: struct #48 │ │ │ │ │ ├─ [contains]: string #39 - │ │ │ │ │ └─ [mode]: optional #47 + │ │ │ │ │ └─ [mode]: optional 'optional_47' #47 │ │ │ │ │ └─ item: string #46 enum{ '"insensitive"' } │ │ │ │ ├─ variant_6: struct #49 │ │ │ │ │ └─ [search]: string #39 │ │ │ │ └─ variant_7: struct #50 - │ │ │ │ ├─ [endsWith]: optional #40 + │ │ │ │ ├─ [endsWith]: optional 'optional_40' #40 │ │ │ │ │ └─ item: string #39 - │ │ │ │ └─ [startsWith]: optional #40 + │ │ │ │ └─ [startsWith]: optional 'optional_40' #40 │ │ │ │ └─ item: string #39 │ │ │ └─ variant_1: struct #52 │ │ │ └─ [not]: union '_string_filter' #51 @@ -738,34 +738,34 @@ root: struct #84 │ │ │ ├─ variant_2: struct #43 │ │ │ │ └─ [not]: string #39 │ │ │ ├─ variant_3: struct #44 - │ │ │ │ └─ [in]: list #41 + │ │ │ │ └─ [in]: list 'list_41' #41 │ │ │ │ └─ item: string #39 │ │ │ ├─ variant_4: struct #45 - │ │ │ │ └─ [notIn]: list #41 + │ │ │ │ └─ [notIn]: list 'list_41' #41 │ │ │ │ └─ item: string #39 │ │ │ ├─ variant_5: struct #48 │ │ │ │ ├─ [contains]: string #39 - │ │ │ │ └─ [mode]: optional #47 + │ │ │ │ └─ [mode]: optional 'optional_47' #47 │ │ │ │ └─ item: string #46 enum{ '"insensitive"' } │ │ │ ├─ variant_6: struct #49 │ │ │ │ └─ [search]: string #39 │ │ │ └─ variant_7: struct #50 - │ │ │ ├─ [endsWith]: optional #40 + │ │ │ ├─ [endsWith]: optional 'optional_40' #40 │ │ │ │ └─ item: string #39 - │ │ │ └─ [startsWith]: optional #40 + │ │ │ └─ [startsWith]: optional 'optional_40' #40 │ │ │ └─ item: string #39 - │ │ └─ [posts]: optional #66 + │ │ └─ [posts]: optional 'optional_66' #66 │ │ └─ item: union #65 │ │ ├─ variant_0: struct #60 - │ │ │ └─ [every]: optional '_59_PostWhere?' #59 + │ │ │ └─ [every]: optional 'optional_59' #59 │ │ │ └─ item: &PostWhere #58 │ │ ├─ variant_1: struct #62 - │ │ │ └─ [some]: optional '_61_PostWhere?' #61 + │ │ │ └─ [some]: optional 'optional_61' #61 │ │ │ └─ item: &PostWhere #58 │ │ └─ variant_2: struct #64 - │ │ └─ [none]: optional '_63_PostWhere?' #63 + │ │ └─ [none]: optional 'optional_63' #63 │ │ └─ item: &PostWhere #58 - │ ├─ [id]: optional '_38__integer_filter_c?' #38 + │ ├─ [id]: optional 'optional_38' #38 │ │ └─ item: optional '_integer_filter_c' #37 │ │ └─ item: union #36 │ │ ├─ variant_0: either '_integer_filter' #34 @@ -775,19 +775,19 @@ root: struct #84 │ │ │ ├─ variant_2: struct #30 │ │ │ │ └─ [not]: integer #26 │ │ │ ├─ variant_3: struct #31 - │ │ │ │ ├─ [gt]: optional #27 + │ │ │ │ ├─ [gt]: optional 'optional_27' #27 │ │ │ │ │ └─ item: integer #26 - │ │ │ │ ├─ [gte]: optional #27 + │ │ │ │ ├─ [gte]: optional 'optional_27' #27 │ │ │ │ │ └─ item: integer #26 - │ │ │ │ ├─ [lt]: optional #27 + │ │ │ │ ├─ [lt]: optional 'optional_27' #27 │ │ │ │ │ └─ item: integer #26 - │ │ │ │ └─ [lte]: optional #27 + │ │ │ │ └─ [lte]: optional 'optional_27' #27 │ │ │ │ └─ item: integer #26 │ │ │ ├─ variant_4: struct #32 - │ │ │ │ └─ [in]: list #28 + │ │ │ │ └─ [in]: list 'list_28' #28 │ │ │ │ └─ item: integer #26 │ │ │ └─ variant_5: struct #33 - │ │ │ └─ [notIn]: list #28 + │ │ │ └─ [notIn]: list 'list_28' #28 │ │ │ └─ item: integer #26 │ │ └─ variant_1: struct #35 │ │ └─ [not]: either '_integer_filter' #34 @@ -797,21 +797,21 @@ root: struct #84 │ │ ├─ variant_2: struct #30 │ │ │ └─ [not]: integer #26 │ │ ├─ variant_3: struct #31 - │ │ │ ├─ [gt]: optional #27 + │ │ │ ├─ [gt]: optional 'optional_27' #27 │ │ │ │ └─ item: integer #26 - │ │ │ ├─ [gte]: optional #27 + │ │ │ ├─ [gte]: optional 'optional_27' #27 │ │ │ │ └─ item: integer #26 - │ │ │ ├─ [lt]: optional #27 + │ │ │ ├─ [lt]: optional 'optional_27' #27 │ │ │ │ └─ item: integer #26 - │ │ │ └─ [lte]: optional #27 + │ │ │ └─ [lte]: optional 'optional_27' #27 │ │ │ └─ item: integer #26 │ │ ├─ variant_4: struct #32 - │ │ │ └─ [in]: list #28 + │ │ │ └─ [in]: list 'list_28' #28 │ │ │ └─ item: integer #26 │ │ └─ variant_5: struct #33 - │ │ └─ [notIn]: list #28 + │ │ └─ [notIn]: list 'list_28' #28 │ │ └─ item: integer #26 - │ └─ [title]: optional '_55__string_filter_c?' #55 + │ └─ [title]: optional 'optional_55' #55 │ └─ item: optional '_string_filter_c' #54 │ └─ item: union #53 │ ├─ variant_0: union '_string_filter' #51 @@ -821,21 +821,21 @@ root: struct #84 │ │ ├─ variant_2: struct #43 │ │ │ └─ [not]: string #39 │ │ ├─ variant_3: struct #44 - │ │ │ └─ [in]: list #41 + │ │ │ └─ [in]: list 'list_41' #41 │ │ │ └─ item: string #39 │ │ ├─ variant_4: struct #45 - │ │ │ └─ [notIn]: list #41 + │ │ │ └─ [notIn]: list 'list_41' #41 │ │ │ └─ item: string #39 │ │ ├─ variant_5: struct #48 │ │ │ ├─ [contains]: string #39 - │ │ │ └─ [mode]: optional #47 + │ │ │ └─ [mode]: optional 'optional_47' #47 │ │ │ └─ item: string #46 enum{ '"insensitive"' } │ │ ├─ variant_6: struct #49 │ │ │ └─ [search]: string #39 │ │ └─ variant_7: struct #50 - │ │ ├─ [endsWith]: optional #40 + │ │ ├─ [endsWith]: optional 'optional_40' #40 │ │ │ └─ item: string #39 - │ │ └─ [startsWith]: optional #40 + │ │ └─ [startsWith]: optional 'optional_40' #40 │ │ └─ item: string #39 │ └─ variant_1: struct #52 │ └─ [not]: union '_string_filter' #51 @@ -845,34 +845,33 @@ root: struct #84 │ ├─ variant_2: struct #43 │ │ └─ [not]: string #39 │ ├─ variant_3: struct #44 - │ │ └─ [in]: list #41 + │ │ └─ [in]: list 'list_41' #41 │ │ └─ item: string #39 │ ├─ variant_4: struct #45 - │ │ └─ [notIn]: list #41 + │ │ └─ [notIn]: list 'list_41' #41 │ │ └─ item: string #39 │ ├─ variant_5: struct #48 │ │ ├─ [contains]: string #39 - │ │ └─ [mode]: optional #47 + │ │ └─ [mode]: optional 'optional_47' #47 │ │ └─ item: string #46 enum{ '"insensitive"' } │ ├─ variant_6: struct #49 │ │ └─ [search]: string #39 │ └─ variant_7: struct #50 - │ ├─ [endsWith]: optional #40 + │ ├─ [endsWith]: optional 'optional_40' #40 │ │ └─ item: string #39 - │ └─ [startsWith]: optional #40 + │ └─ [startsWith]: optional 'optional_40' #40 │ └─ item: string #39 └─ variant_3: struct #79 - └─ [createMany]: optional #78 + └─ [createMany]: optional 'optional_78' #78 └─ item: struct #77 - └─ [data]: list #76 + └─ [data]: list 'list_76' #76 └─ item: union #25 ├─ variant_0: struct '_Post_CreateInput_excluding___rel_Post_User_1' #23 - │ ├─ [id]: optional #22 + │ ├─ [id]: optional 'optional_22' #22 │ │ └─ item: integer #18 │ └─ [title]: string #19 - └─ variant_1: list '_24__Post_CreateInput_excluding___rel_Post_User_1[]' #24 + └─ variant_1: list 'list_24' #24 └─ item: struct '_Post_CreateInput_excluding___rel_Post_User_1' #23 - ├─ [id]: optional #22 + ├─ [id]: optional 'optional_22' #22 │ └─ item: integer #18 └─ [title]: string #19 - diff --git a/src/typegraph/core/src/runtimes/prisma/type_generation/snapshots/typegraph_core__runtimes__prisma__type_generation__test__create_many User out.snap b/src/typegraph/core/src/runtimes/prisma/type_generation/snapshots/typegraph_core__runtimes__prisma__type_generation__test__create_many User out.snap index e07bc50066..3b2f704c5b 100644 --- a/src/typegraph/core/src/runtimes/prisma/type_generation/snapshots/typegraph_core__runtimes__prisma__type_generation__test__create_many User out.snap +++ b/src/typegraph/core/src/runtimes/prisma/type_generation/snapshots/typegraph_core__runtimes__prisma__type_generation__test__create_many User out.snap @@ -1,7 +1,6 @@ --- -source: typegraph/core/src/runtimes/prisma/type_generation/mod.rs +source: src/typegraph/core/src/runtimes/prisma/type_generation/mod.rs expression: tp.print(out) --- root: struct #86 └─ [count]: integer #85 - diff --git a/src/typegraph/core/src/runtimes/prisma/type_generation/snapshots/typegraph_core__runtimes__prisma__type_generation__test__create_one Post inp.snap b/src/typegraph/core/src/runtimes/prisma/type_generation/snapshots/typegraph_core__runtimes__prisma__type_generation__test__create_one Post inp.snap index fe8674b55c..666447039c 100644 --- a/src/typegraph/core/src/runtimes/prisma/type_generation/snapshots/typegraph_core__runtimes__prisma__type_generation__test__create_one Post inp.snap +++ b/src/typegraph/core/src/runtimes/prisma/type_generation/snapshots/typegraph_core__runtimes__prisma__type_generation__test__create_one Post inp.snap @@ -1,5 +1,5 @@ --- -source: typegraph/core/src/runtimes/prisma/type_generation/mod.rs +source: src/typegraph/core/src/runtimes/prisma/type_generation/mod.rs expression: tp.print(inp) --- root: struct #105 @@ -11,7 +11,7 @@ root: struct #105 │ │ └─ [name]: string #11 │ ├─ variant_1: struct #101 │ │ └─ [connect]: struct 'UserWhere' #98 - │ │ ├─ [id]: optional '_83__integer_filter_c?' #83 + │ │ ├─ [id]: optional 'optional_83' #83 │ │ │ └─ item: optional '_integer_filter_c' #34 │ │ │ └─ item: union #33 │ │ │ ├─ variant_0: either '_integer_filter' #31 @@ -21,19 +21,19 @@ root: struct #105 │ │ │ │ ├─ variant_2: struct #27 │ │ │ │ │ └─ [not]: integer #23 │ │ │ │ ├─ variant_3: struct #28 - │ │ │ │ │ ├─ [gt]: optional #24 + │ │ │ │ │ ├─ [gt]: optional 'optional_24' #24 │ │ │ │ │ │ └─ item: integer #23 - │ │ │ │ │ ├─ [gte]: optional #24 + │ │ │ │ │ ├─ [gte]: optional 'optional_24' #24 │ │ │ │ │ │ └─ item: integer #23 - │ │ │ │ │ ├─ [lt]: optional #24 + │ │ │ │ │ ├─ [lt]: optional 'optional_24' #24 │ │ │ │ │ │ └─ item: integer #23 - │ │ │ │ │ └─ [lte]: optional #24 + │ │ │ │ │ └─ [lte]: optional 'optional_24' #24 │ │ │ │ │ └─ item: integer #23 │ │ │ │ ├─ variant_4: struct #29 - │ │ │ │ │ └─ [in]: list #25 + │ │ │ │ │ └─ [in]: list 'list_25' #25 │ │ │ │ │ └─ item: integer #23 │ │ │ │ └─ variant_5: struct #30 - │ │ │ │ └─ [notIn]: list #25 + │ │ │ │ └─ [notIn]: list 'list_25' #25 │ │ │ │ └─ item: integer #23 │ │ │ └─ variant_1: struct #32 │ │ │ └─ [not]: either '_integer_filter' #31 @@ -43,21 +43,21 @@ root: struct #105 │ │ │ ├─ variant_2: struct #27 │ │ │ │ └─ [not]: integer #23 │ │ │ ├─ variant_3: struct #28 - │ │ │ │ ├─ [gt]: optional #24 + │ │ │ │ ├─ [gt]: optional 'optional_24' #24 │ │ │ │ │ └─ item: integer #23 - │ │ │ │ ├─ [gte]: optional #24 + │ │ │ │ ├─ [gte]: optional 'optional_24' #24 │ │ │ │ │ └─ item: integer #23 - │ │ │ │ ├─ [lt]: optional #24 + │ │ │ │ ├─ [lt]: optional 'optional_24' #24 │ │ │ │ │ └─ item: integer #23 - │ │ │ │ └─ [lte]: optional #24 + │ │ │ │ └─ [lte]: optional 'optional_24' #24 │ │ │ │ └─ item: integer #23 │ │ │ ├─ variant_4: struct #29 - │ │ │ │ └─ [in]: list #25 + │ │ │ │ └─ [in]: list 'list_25' #25 │ │ │ │ └─ item: integer #23 │ │ │ └─ variant_5: struct #30 - │ │ │ └─ [notIn]: list #25 + │ │ │ └─ [notIn]: list 'list_25' #25 │ │ │ └─ item: integer #23 - │ │ ├─ [name]: optional '_84__string_filter_c?' #84 + │ │ ├─ [name]: optional 'optional_84' #84 │ │ │ └─ item: optional '_string_filter_c' #51 │ │ │ └─ item: union #50 │ │ │ ├─ variant_0: union '_string_filter' #48 @@ -67,21 +67,21 @@ root: struct #105 │ │ │ │ ├─ variant_2: struct #40 │ │ │ │ │ └─ [not]: string #36 │ │ │ │ ├─ variant_3: struct #41 - │ │ │ │ │ └─ [in]: list #38 + │ │ │ │ │ └─ [in]: list 'list_38' #38 │ │ │ │ │ └─ item: string #36 │ │ │ │ ├─ variant_4: struct #42 - │ │ │ │ │ └─ [notIn]: list #38 + │ │ │ │ │ └─ [notIn]: list 'list_38' #38 │ │ │ │ │ └─ item: string #36 │ │ │ │ ├─ variant_5: struct #45 │ │ │ │ │ ├─ [contains]: string #36 - │ │ │ │ │ └─ [mode]: optional #44 + │ │ │ │ │ └─ [mode]: optional 'optional_44' #44 │ │ │ │ │ └─ item: string #43 enum{ '"insensitive"' } │ │ │ │ ├─ variant_6: struct #46 │ │ │ │ │ └─ [search]: string #36 │ │ │ │ └─ variant_7: struct #47 - │ │ │ │ ├─ [endsWith]: optional #37 + │ │ │ │ ├─ [endsWith]: optional 'optional_37' #37 │ │ │ │ │ └─ item: string #36 - │ │ │ │ └─ [startsWith]: optional #37 + │ │ │ │ └─ [startsWith]: optional 'optional_37' #37 │ │ │ │ └─ item: string #36 │ │ │ └─ variant_1: struct #49 │ │ │ └─ [not]: union '_string_filter' #48 @@ -91,30 +91,30 @@ root: struct #105 │ │ │ ├─ variant_2: struct #40 │ │ │ │ └─ [not]: string #36 │ │ │ ├─ variant_3: struct #41 - │ │ │ │ └─ [in]: list #38 + │ │ │ │ └─ [in]: list 'list_38' #38 │ │ │ │ └─ item: string #36 │ │ │ ├─ variant_4: struct #42 - │ │ │ │ └─ [notIn]: list #38 + │ │ │ │ └─ [notIn]: list 'list_38' #38 │ │ │ │ └─ item: string #36 │ │ │ ├─ variant_5: struct #45 │ │ │ │ ├─ [contains]: string #36 - │ │ │ │ └─ [mode]: optional #44 + │ │ │ │ └─ [mode]: optional 'optional_44' #44 │ │ │ │ └─ item: string #43 enum{ '"insensitive"' } │ │ │ ├─ variant_6: struct #46 │ │ │ │ └─ [search]: string #36 │ │ │ └─ variant_7: struct #47 - │ │ │ ├─ [endsWith]: optional #37 + │ │ │ ├─ [endsWith]: optional 'optional_37' #37 │ │ │ │ └─ item: string #36 - │ │ │ └─ [startsWith]: optional #37 + │ │ │ └─ [startsWith]: optional 'optional_37' #37 │ │ │ └─ item: string #36 - │ │ └─ [posts]: optional #97 + │ │ └─ [posts]: optional 'optional_97' #97 │ │ └─ item: union #96 │ │ ├─ variant_0: struct #91 - │ │ │ └─ [every]: optional '_90_PostWhere__skip_14_UserWhere?' #90 + │ │ │ └─ [every]: optional 'optional_90' #90 │ │ │ └─ item: struct 'PostWhere__skip_14_UserWhere' #89 - │ │ │ ├─ [author]: optional '_88_UserWhere?' #88 + │ │ │ ├─ [author]: optional 'optional_88' #88 │ │ │ │ └─ item: &UserWhere #87 - │ │ │ ├─ [id]: optional '_85__integer_filter_c?' #85 + │ │ │ ├─ [id]: optional 'optional_85' #85 │ │ │ │ └─ item: optional '_integer_filter_c' #34 │ │ │ │ └─ item: union #33 │ │ │ │ ├─ variant_0: either '_integer_filter' #31 @@ -124,19 +124,19 @@ root: struct #105 │ │ │ │ │ ├─ variant_2: struct #27 │ │ │ │ │ │ └─ [not]: integer #23 │ │ │ │ │ ├─ variant_3: struct #28 - │ │ │ │ │ │ ├─ [gt]: optional #24 + │ │ │ │ │ │ ├─ [gt]: optional 'optional_24' #24 │ │ │ │ │ │ │ └─ item: integer #23 - │ │ │ │ │ │ ├─ [gte]: optional #24 + │ │ │ │ │ │ ├─ [gte]: optional 'optional_24' #24 │ │ │ │ │ │ │ └─ item: integer #23 - │ │ │ │ │ │ ├─ [lt]: optional #24 + │ │ │ │ │ │ ├─ [lt]: optional 'optional_24' #24 │ │ │ │ │ │ │ └─ item: integer #23 - │ │ │ │ │ │ └─ [lte]: optional #24 + │ │ │ │ │ │ └─ [lte]: optional 'optional_24' #24 │ │ │ │ │ │ └─ item: integer #23 │ │ │ │ │ ├─ variant_4: struct #29 - │ │ │ │ │ │ └─ [in]: list #25 + │ │ │ │ │ │ └─ [in]: list 'list_25' #25 │ │ │ │ │ │ └─ item: integer #23 │ │ │ │ │ └─ variant_5: struct #30 - │ │ │ │ │ └─ [notIn]: list #25 + │ │ │ │ │ └─ [notIn]: list 'list_25' #25 │ │ │ │ │ └─ item: integer #23 │ │ │ │ └─ variant_1: struct #32 │ │ │ │ └─ [not]: either '_integer_filter' #31 @@ -146,21 +146,21 @@ root: struct #105 │ │ │ │ ├─ variant_2: struct #27 │ │ │ │ │ └─ [not]: integer #23 │ │ │ │ ├─ variant_3: struct #28 - │ │ │ │ │ ├─ [gt]: optional #24 + │ │ │ │ │ ├─ [gt]: optional 'optional_24' #24 │ │ │ │ │ │ └─ item: integer #23 - │ │ │ │ │ ├─ [gte]: optional #24 + │ │ │ │ │ ├─ [gte]: optional 'optional_24' #24 │ │ │ │ │ │ └─ item: integer #23 - │ │ │ │ │ ├─ [lt]: optional #24 + │ │ │ │ │ ├─ [lt]: optional 'optional_24' #24 │ │ │ │ │ │ └─ item: integer #23 - │ │ │ │ │ └─ [lte]: optional #24 + │ │ │ │ │ └─ [lte]: optional 'optional_24' #24 │ │ │ │ │ └─ item: integer #23 │ │ │ │ ├─ variant_4: struct #29 - │ │ │ │ │ └─ [in]: list #25 + │ │ │ │ │ └─ [in]: list 'list_25' #25 │ │ │ │ │ └─ item: integer #23 │ │ │ │ └─ variant_5: struct #30 - │ │ │ │ └─ [notIn]: list #25 + │ │ │ │ └─ [notIn]: list 'list_25' #25 │ │ │ │ └─ item: integer #23 - │ │ │ └─ [title]: optional '_86__string_filter_c?' #86 + │ │ │ └─ [title]: optional 'optional_86' #86 │ │ │ └─ item: optional '_string_filter_c' #51 │ │ │ └─ item: union #50 │ │ │ ├─ variant_0: union '_string_filter' #48 @@ -170,21 +170,21 @@ root: struct #105 │ │ │ │ ├─ variant_2: struct #40 │ │ │ │ │ └─ [not]: string #36 │ │ │ │ ├─ variant_3: struct #41 - │ │ │ │ │ └─ [in]: list #38 + │ │ │ │ │ └─ [in]: list 'list_38' #38 │ │ │ │ │ └─ item: string #36 │ │ │ │ ├─ variant_4: struct #42 - │ │ │ │ │ └─ [notIn]: list #38 + │ │ │ │ │ └─ [notIn]: list 'list_38' #38 │ │ │ │ │ └─ item: string #36 │ │ │ │ ├─ variant_5: struct #45 │ │ │ │ │ ├─ [contains]: string #36 - │ │ │ │ │ └─ [mode]: optional #44 + │ │ │ │ │ └─ [mode]: optional 'optional_44' #44 │ │ │ │ │ └─ item: string #43 enum{ '"insensitive"' } │ │ │ │ ├─ variant_6: struct #46 │ │ │ │ │ └─ [search]: string #36 │ │ │ │ └─ variant_7: struct #47 - │ │ │ │ ├─ [endsWith]: optional #37 + │ │ │ │ ├─ [endsWith]: optional 'optional_37' #37 │ │ │ │ │ └─ item: string #36 - │ │ │ │ └─ [startsWith]: optional #37 + │ │ │ │ └─ [startsWith]: optional 'optional_37' #37 │ │ │ │ └─ item: string #36 │ │ │ └─ variant_1: struct #49 │ │ │ └─ [not]: union '_string_filter' #48 @@ -194,28 +194,28 @@ root: struct #105 │ │ │ ├─ variant_2: struct #40 │ │ │ │ └─ [not]: string #36 │ │ │ ├─ variant_3: struct #41 - │ │ │ │ └─ [in]: list #38 + │ │ │ │ └─ [in]: list 'list_38' #38 │ │ │ │ └─ item: string #36 │ │ │ ├─ variant_4: struct #42 - │ │ │ │ └─ [notIn]: list #38 + │ │ │ │ └─ [notIn]: list 'list_38' #38 │ │ │ │ └─ item: string #36 │ │ │ ├─ variant_5: struct #45 │ │ │ │ ├─ [contains]: string #36 - │ │ │ │ └─ [mode]: optional #44 + │ │ │ │ └─ [mode]: optional 'optional_44' #44 │ │ │ │ └─ item: string #43 enum{ '"insensitive"' } │ │ │ ├─ variant_6: struct #46 │ │ │ │ └─ [search]: string #36 │ │ │ └─ variant_7: struct #47 - │ │ │ ├─ [endsWith]: optional #37 + │ │ │ ├─ [endsWith]: optional 'optional_37' #37 │ │ │ │ └─ item: string #36 - │ │ │ └─ [startsWith]: optional #37 + │ │ │ └─ [startsWith]: optional 'optional_37' #37 │ │ │ └─ item: string #36 │ │ ├─ variant_1: struct #93 - │ │ │ └─ [some]: optional '_92_PostWhere__skip_14_UserWhere?' #92 + │ │ │ └─ [some]: optional 'optional_92' #92 │ │ │ └─ item: struct 'PostWhere__skip_14_UserWhere' #89 - │ │ │ ├─ [author]: optional '_88_UserWhere?' #88 + │ │ │ ├─ [author]: optional 'optional_88' #88 │ │ │ │ └─ item: &UserWhere #87 - │ │ │ ├─ [id]: optional '_85__integer_filter_c?' #85 + │ │ │ ├─ [id]: optional 'optional_85' #85 │ │ │ │ └─ item: optional '_integer_filter_c' #34 │ │ │ │ └─ item: union #33 │ │ │ │ ├─ variant_0: either '_integer_filter' #31 @@ -225,19 +225,19 @@ root: struct #105 │ │ │ │ │ ├─ variant_2: struct #27 │ │ │ │ │ │ └─ [not]: integer #23 │ │ │ │ │ ├─ variant_3: struct #28 - │ │ │ │ │ │ ├─ [gt]: optional #24 + │ │ │ │ │ │ ├─ [gt]: optional 'optional_24' #24 │ │ │ │ │ │ │ └─ item: integer #23 - │ │ │ │ │ │ ├─ [gte]: optional #24 + │ │ │ │ │ │ ├─ [gte]: optional 'optional_24' #24 │ │ │ │ │ │ │ └─ item: integer #23 - │ │ │ │ │ │ ├─ [lt]: optional #24 + │ │ │ │ │ │ ├─ [lt]: optional 'optional_24' #24 │ │ │ │ │ │ │ └─ item: integer #23 - │ │ │ │ │ │ └─ [lte]: optional #24 + │ │ │ │ │ │ └─ [lte]: optional 'optional_24' #24 │ │ │ │ │ │ └─ item: integer #23 │ │ │ │ │ ├─ variant_4: struct #29 - │ │ │ │ │ │ └─ [in]: list #25 + │ │ │ │ │ │ └─ [in]: list 'list_25' #25 │ │ │ │ │ │ └─ item: integer #23 │ │ │ │ │ └─ variant_5: struct #30 - │ │ │ │ │ └─ [notIn]: list #25 + │ │ │ │ │ └─ [notIn]: list 'list_25' #25 │ │ │ │ │ └─ item: integer #23 │ │ │ │ └─ variant_1: struct #32 │ │ │ │ └─ [not]: either '_integer_filter' #31 @@ -247,21 +247,21 @@ root: struct #105 │ │ │ │ ├─ variant_2: struct #27 │ │ │ │ │ └─ [not]: integer #23 │ │ │ │ ├─ variant_3: struct #28 - │ │ │ │ │ ├─ [gt]: optional #24 + │ │ │ │ │ ├─ [gt]: optional 'optional_24' #24 │ │ │ │ │ │ └─ item: integer #23 - │ │ │ │ │ ├─ [gte]: optional #24 + │ │ │ │ │ ├─ [gte]: optional 'optional_24' #24 │ │ │ │ │ │ └─ item: integer #23 - │ │ │ │ │ ├─ [lt]: optional #24 + │ │ │ │ │ ├─ [lt]: optional 'optional_24' #24 │ │ │ │ │ │ └─ item: integer #23 - │ │ │ │ │ └─ [lte]: optional #24 + │ │ │ │ │ └─ [lte]: optional 'optional_24' #24 │ │ │ │ │ └─ item: integer #23 │ │ │ │ ├─ variant_4: struct #29 - │ │ │ │ │ └─ [in]: list #25 + │ │ │ │ │ └─ [in]: list 'list_25' #25 │ │ │ │ │ └─ item: integer #23 │ │ │ │ └─ variant_5: struct #30 - │ │ │ │ └─ [notIn]: list #25 + │ │ │ │ └─ [notIn]: list 'list_25' #25 │ │ │ │ └─ item: integer #23 - │ │ │ └─ [title]: optional '_86__string_filter_c?' #86 + │ │ │ └─ [title]: optional 'optional_86' #86 │ │ │ └─ item: optional '_string_filter_c' #51 │ │ │ └─ item: union #50 │ │ │ ├─ variant_0: union '_string_filter' #48 @@ -271,21 +271,21 @@ root: struct #105 │ │ │ │ ├─ variant_2: struct #40 │ │ │ │ │ └─ [not]: string #36 │ │ │ │ ├─ variant_3: struct #41 - │ │ │ │ │ └─ [in]: list #38 + │ │ │ │ │ └─ [in]: list 'list_38' #38 │ │ │ │ │ └─ item: string #36 │ │ │ │ ├─ variant_4: struct #42 - │ │ │ │ │ └─ [notIn]: list #38 + │ │ │ │ │ └─ [notIn]: list 'list_38' #38 │ │ │ │ │ └─ item: string #36 │ │ │ │ ├─ variant_5: struct #45 │ │ │ │ │ ├─ [contains]: string #36 - │ │ │ │ │ └─ [mode]: optional #44 + │ │ │ │ │ └─ [mode]: optional 'optional_44' #44 │ │ │ │ │ └─ item: string #43 enum{ '"insensitive"' } │ │ │ │ ├─ variant_6: struct #46 │ │ │ │ │ └─ [search]: string #36 │ │ │ │ └─ variant_7: struct #47 - │ │ │ │ ├─ [endsWith]: optional #37 + │ │ │ │ ├─ [endsWith]: optional 'optional_37' #37 │ │ │ │ │ └─ item: string #36 - │ │ │ │ └─ [startsWith]: optional #37 + │ │ │ │ └─ [startsWith]: optional 'optional_37' #37 │ │ │ │ └─ item: string #36 │ │ │ └─ variant_1: struct #49 │ │ │ └─ [not]: union '_string_filter' #48 @@ -295,28 +295,28 @@ root: struct #105 │ │ │ ├─ variant_2: struct #40 │ │ │ │ └─ [not]: string #36 │ │ │ ├─ variant_3: struct #41 - │ │ │ │ └─ [in]: list #38 + │ │ │ │ └─ [in]: list 'list_38' #38 │ │ │ │ └─ item: string #36 │ │ │ ├─ variant_4: struct #42 - │ │ │ │ └─ [notIn]: list #38 + │ │ │ │ └─ [notIn]: list 'list_38' #38 │ │ │ │ └─ item: string #36 │ │ │ ├─ variant_5: struct #45 │ │ │ │ ├─ [contains]: string #36 - │ │ │ │ └─ [mode]: optional #44 + │ │ │ │ └─ [mode]: optional 'optional_44' #44 │ │ │ │ └─ item: string #43 enum{ '"insensitive"' } │ │ │ ├─ variant_6: struct #46 │ │ │ │ └─ [search]: string #36 │ │ │ └─ variant_7: struct #47 - │ │ │ ├─ [endsWith]: optional #37 + │ │ │ ├─ [endsWith]: optional 'optional_37' #37 │ │ │ │ └─ item: string #36 - │ │ │ └─ [startsWith]: optional #37 + │ │ │ └─ [startsWith]: optional 'optional_37' #37 │ │ │ └─ item: string #36 │ │ └─ variant_2: struct #95 - │ │ └─ [none]: optional '_94_PostWhere__skip_14_UserWhere?' #94 + │ │ └─ [none]: optional 'optional_94' #94 │ │ └─ item: struct 'PostWhere__skip_14_UserWhere' #89 - │ │ ├─ [author]: optional '_88_UserWhere?' #88 + │ │ ├─ [author]: optional 'optional_88' #88 │ │ │ └─ item: &UserWhere #87 - │ │ ├─ [id]: optional '_85__integer_filter_c?' #85 + │ │ ├─ [id]: optional 'optional_85' #85 │ │ │ └─ item: optional '_integer_filter_c' #34 │ │ │ └─ item: union #33 │ │ │ ├─ variant_0: either '_integer_filter' #31 @@ -326,19 +326,19 @@ root: struct #105 │ │ │ │ ├─ variant_2: struct #27 │ │ │ │ │ └─ [not]: integer #23 │ │ │ │ ├─ variant_3: struct #28 - │ │ │ │ │ ├─ [gt]: optional #24 + │ │ │ │ │ ├─ [gt]: optional 'optional_24' #24 │ │ │ │ │ │ └─ item: integer #23 - │ │ │ │ │ ├─ [gte]: optional #24 + │ │ │ │ │ ├─ [gte]: optional 'optional_24' #24 │ │ │ │ │ │ └─ item: integer #23 - │ │ │ │ │ ├─ [lt]: optional #24 + │ │ │ │ │ ├─ [lt]: optional 'optional_24' #24 │ │ │ │ │ │ └─ item: integer #23 - │ │ │ │ │ └─ [lte]: optional #24 + │ │ │ │ │ └─ [lte]: optional 'optional_24' #24 │ │ │ │ │ └─ item: integer #23 │ │ │ │ ├─ variant_4: struct #29 - │ │ │ │ │ └─ [in]: list #25 + │ │ │ │ │ └─ [in]: list 'list_25' #25 │ │ │ │ │ └─ item: integer #23 │ │ │ │ └─ variant_5: struct #30 - │ │ │ │ └─ [notIn]: list #25 + │ │ │ │ └─ [notIn]: list 'list_25' #25 │ │ │ │ └─ item: integer #23 │ │ │ └─ variant_1: struct #32 │ │ │ └─ [not]: either '_integer_filter' #31 @@ -348,21 +348,21 @@ root: struct #105 │ │ │ ├─ variant_2: struct #27 │ │ │ │ └─ [not]: integer #23 │ │ │ ├─ variant_3: struct #28 - │ │ │ │ ├─ [gt]: optional #24 + │ │ │ │ ├─ [gt]: optional 'optional_24' #24 │ │ │ │ │ └─ item: integer #23 - │ │ │ │ ├─ [gte]: optional #24 + │ │ │ │ ├─ [gte]: optional 'optional_24' #24 │ │ │ │ │ └─ item: integer #23 - │ │ │ │ ├─ [lt]: optional #24 + │ │ │ │ ├─ [lt]: optional 'optional_24' #24 │ │ │ │ │ └─ item: integer #23 - │ │ │ │ └─ [lte]: optional #24 + │ │ │ │ └─ [lte]: optional 'optional_24' #24 │ │ │ │ └─ item: integer #23 │ │ │ ├─ variant_4: struct #29 - │ │ │ │ └─ [in]: list #25 + │ │ │ │ └─ [in]: list 'list_25' #25 │ │ │ │ └─ item: integer #23 │ │ │ └─ variant_5: struct #30 - │ │ │ └─ [notIn]: list #25 + │ │ │ └─ [notIn]: list 'list_25' #25 │ │ │ └─ item: integer #23 - │ │ └─ [title]: optional '_86__string_filter_c?' #86 + │ │ └─ [title]: optional 'optional_86' #86 │ │ └─ item: optional '_string_filter_c' #51 │ │ └─ item: union #50 │ │ ├─ variant_0: union '_string_filter' #48 @@ -372,21 +372,21 @@ root: struct #105 │ │ │ ├─ variant_2: struct #40 │ │ │ │ └─ [not]: string #36 │ │ │ ├─ variant_3: struct #41 - │ │ │ │ └─ [in]: list #38 + │ │ │ │ └─ [in]: list 'list_38' #38 │ │ │ │ └─ item: string #36 │ │ │ ├─ variant_4: struct #42 - │ │ │ │ └─ [notIn]: list #38 + │ │ │ │ └─ [notIn]: list 'list_38' #38 │ │ │ │ └─ item: string #36 │ │ │ ├─ variant_5: struct #45 │ │ │ │ ├─ [contains]: string #36 - │ │ │ │ └─ [mode]: optional #44 + │ │ │ │ └─ [mode]: optional 'optional_44' #44 │ │ │ │ └─ item: string #43 enum{ '"insensitive"' } │ │ │ ├─ variant_6: struct #46 │ │ │ │ └─ [search]: string #36 │ │ │ └─ variant_7: struct #47 - │ │ │ ├─ [endsWith]: optional #37 + │ │ │ ├─ [endsWith]: optional 'optional_37' #37 │ │ │ │ └─ item: string #36 - │ │ │ └─ [startsWith]: optional #37 + │ │ │ └─ [startsWith]: optional 'optional_37' #37 │ │ │ └─ item: string #36 │ │ └─ variant_1: struct #49 │ │ └─ [not]: union '_string_filter' #48 @@ -396,21 +396,21 @@ root: struct #105 │ │ ├─ variant_2: struct #40 │ │ │ └─ [not]: string #36 │ │ ├─ variant_3: struct #41 - │ │ │ └─ [in]: list #38 + │ │ │ └─ [in]: list 'list_38' #38 │ │ │ └─ item: string #36 │ │ ├─ variant_4: struct #42 - │ │ │ └─ [notIn]: list #38 + │ │ │ └─ [notIn]: list 'list_38' #38 │ │ │ └─ item: string #36 │ │ ├─ variant_5: struct #45 │ │ │ ├─ [contains]: string #36 - │ │ │ └─ [mode]: optional #44 + │ │ │ └─ [mode]: optional 'optional_44' #44 │ │ │ └─ item: string #43 enum{ '"insensitive"' } │ │ ├─ variant_6: struct #46 │ │ │ └─ [search]: string #36 │ │ └─ variant_7: struct #47 - │ │ ├─ [endsWith]: optional #37 + │ │ ├─ [endsWith]: optional 'optional_37' #37 │ │ │ └─ item: string #36 - │ │ └─ [startsWith]: optional #37 + │ │ └─ [startsWith]: optional 'optional_37' #37 │ │ └─ item: string #36 │ └─ variant_2: struct #102 │ └─ [connectOrCreate]: struct #99 @@ -418,7 +418,7 @@ root: struct #105 │ │ ├─ [id]: integer #10 │ │ └─ [name]: string #11 │ └─ [where]: struct 'UserWhere' #98 - │ ├─ [id]: optional '_83__integer_filter_c?' #83 + │ ├─ [id]: optional 'optional_83' #83 │ │ └─ item: optional '_integer_filter_c' #34 │ │ └─ item: union #33 │ │ ├─ variant_0: either '_integer_filter' #31 @@ -428,19 +428,19 @@ root: struct #105 │ │ │ ├─ variant_2: struct #27 │ │ │ │ └─ [not]: integer #23 │ │ │ ├─ variant_3: struct #28 - │ │ │ │ ├─ [gt]: optional #24 + │ │ │ │ ├─ [gt]: optional 'optional_24' #24 │ │ │ │ │ └─ item: integer #23 - │ │ │ │ ├─ [gte]: optional #24 + │ │ │ │ ├─ [gte]: optional 'optional_24' #24 │ │ │ │ │ └─ item: integer #23 - │ │ │ │ ├─ [lt]: optional #24 + │ │ │ │ ├─ [lt]: optional 'optional_24' #24 │ │ │ │ │ └─ item: integer #23 - │ │ │ │ └─ [lte]: optional #24 + │ │ │ │ └─ [lte]: optional 'optional_24' #24 │ │ │ │ └─ item: integer #23 │ │ │ ├─ variant_4: struct #29 - │ │ │ │ └─ [in]: list #25 + │ │ │ │ └─ [in]: list 'list_25' #25 │ │ │ │ └─ item: integer #23 │ │ │ └─ variant_5: struct #30 - │ │ │ └─ [notIn]: list #25 + │ │ │ └─ [notIn]: list 'list_25' #25 │ │ │ └─ item: integer #23 │ │ └─ variant_1: struct #32 │ │ └─ [not]: either '_integer_filter' #31 @@ -450,21 +450,21 @@ root: struct #105 │ │ ├─ variant_2: struct #27 │ │ │ └─ [not]: integer #23 │ │ ├─ variant_3: struct #28 - │ │ │ ├─ [gt]: optional #24 + │ │ │ ├─ [gt]: optional 'optional_24' #24 │ │ │ │ └─ item: integer #23 - │ │ │ ├─ [gte]: optional #24 + │ │ │ ├─ [gte]: optional 'optional_24' #24 │ │ │ │ └─ item: integer #23 - │ │ │ ├─ [lt]: optional #24 + │ │ │ ├─ [lt]: optional 'optional_24' #24 │ │ │ │ └─ item: integer #23 - │ │ │ └─ [lte]: optional #24 + │ │ │ └─ [lte]: optional 'optional_24' #24 │ │ │ └─ item: integer #23 │ │ ├─ variant_4: struct #29 - │ │ │ └─ [in]: list #25 + │ │ │ └─ [in]: list 'list_25' #25 │ │ │ └─ item: integer #23 │ │ └─ variant_5: struct #30 - │ │ └─ [notIn]: list #25 + │ │ └─ [notIn]: list 'list_25' #25 │ │ └─ item: integer #23 - │ ├─ [name]: optional '_84__string_filter_c?' #84 + │ ├─ [name]: optional 'optional_84' #84 │ │ └─ item: optional '_string_filter_c' #51 │ │ └─ item: union #50 │ │ ├─ variant_0: union '_string_filter' #48 @@ -474,21 +474,21 @@ root: struct #105 │ │ │ ├─ variant_2: struct #40 │ │ │ │ └─ [not]: string #36 │ │ │ ├─ variant_3: struct #41 - │ │ │ │ └─ [in]: list #38 + │ │ │ │ └─ [in]: list 'list_38' #38 │ │ │ │ └─ item: string #36 │ │ │ ├─ variant_4: struct #42 - │ │ │ │ └─ [notIn]: list #38 + │ │ │ │ └─ [notIn]: list 'list_38' #38 │ │ │ │ └─ item: string #36 │ │ │ ├─ variant_5: struct #45 │ │ │ │ ├─ [contains]: string #36 - │ │ │ │ └─ [mode]: optional #44 + │ │ │ │ └─ [mode]: optional 'optional_44' #44 │ │ │ │ └─ item: string #43 enum{ '"insensitive"' } │ │ │ ├─ variant_6: struct #46 │ │ │ │ └─ [search]: string #36 │ │ │ └─ variant_7: struct #47 - │ │ │ ├─ [endsWith]: optional #37 + │ │ │ ├─ [endsWith]: optional 'optional_37' #37 │ │ │ │ └─ item: string #36 - │ │ │ └─ [startsWith]: optional #37 + │ │ │ └─ [startsWith]: optional 'optional_37' #37 │ │ │ └─ item: string #36 │ │ └─ variant_1: struct #49 │ │ └─ [not]: union '_string_filter' #48 @@ -498,30 +498,30 @@ root: struct #105 │ │ ├─ variant_2: struct #40 │ │ │ └─ [not]: string #36 │ │ ├─ variant_3: struct #41 - │ │ │ └─ [in]: list #38 + │ │ │ └─ [in]: list 'list_38' #38 │ │ │ └─ item: string #36 │ │ ├─ variant_4: struct #42 - │ │ │ └─ [notIn]: list #38 + │ │ │ └─ [notIn]: list 'list_38' #38 │ │ │ └─ item: string #36 │ │ ├─ variant_5: struct #45 │ │ │ ├─ [contains]: string #36 - │ │ │ └─ [mode]: optional #44 + │ │ │ └─ [mode]: optional 'optional_44' #44 │ │ │ └─ item: string #43 enum{ '"insensitive"' } │ │ ├─ variant_6: struct #46 │ │ │ └─ [search]: string #36 │ │ └─ variant_7: struct #47 - │ │ ├─ [endsWith]: optional #37 + │ │ ├─ [endsWith]: optional 'optional_37' #37 │ │ │ └─ item: string #36 - │ │ └─ [startsWith]: optional #37 + │ │ └─ [startsWith]: optional 'optional_37' #37 │ │ └─ item: string #36 - │ └─ [posts]: optional #97 + │ └─ [posts]: optional 'optional_97' #97 │ └─ item: union #96 │ ├─ variant_0: struct #91 - │ │ └─ [every]: optional '_90_PostWhere__skip_14_UserWhere?' #90 + │ │ └─ [every]: optional 'optional_90' #90 │ │ └─ item: struct 'PostWhere__skip_14_UserWhere' #89 - │ │ ├─ [author]: optional '_88_UserWhere?' #88 + │ │ ├─ [author]: optional 'optional_88' #88 │ │ │ └─ item: &UserWhere #87 - │ │ ├─ [id]: optional '_85__integer_filter_c?' #85 + │ │ ├─ [id]: optional 'optional_85' #85 │ │ │ └─ item: optional '_integer_filter_c' #34 │ │ │ └─ item: union #33 │ │ │ ├─ variant_0: either '_integer_filter' #31 @@ -531,19 +531,19 @@ root: struct #105 │ │ │ │ ├─ variant_2: struct #27 │ │ │ │ │ └─ [not]: integer #23 │ │ │ │ ├─ variant_3: struct #28 - │ │ │ │ │ ├─ [gt]: optional #24 + │ │ │ │ │ ├─ [gt]: optional 'optional_24' #24 │ │ │ │ │ │ └─ item: integer #23 - │ │ │ │ │ ├─ [gte]: optional #24 + │ │ │ │ │ ├─ [gte]: optional 'optional_24' #24 │ │ │ │ │ │ └─ item: integer #23 - │ │ │ │ │ ├─ [lt]: optional #24 + │ │ │ │ │ ├─ [lt]: optional 'optional_24' #24 │ │ │ │ │ │ └─ item: integer #23 - │ │ │ │ │ └─ [lte]: optional #24 + │ │ │ │ │ └─ [lte]: optional 'optional_24' #24 │ │ │ │ │ └─ item: integer #23 │ │ │ │ ├─ variant_4: struct #29 - │ │ │ │ │ └─ [in]: list #25 + │ │ │ │ │ └─ [in]: list 'list_25' #25 │ │ │ │ │ └─ item: integer #23 │ │ │ │ └─ variant_5: struct #30 - │ │ │ │ └─ [notIn]: list #25 + │ │ │ │ └─ [notIn]: list 'list_25' #25 │ │ │ │ └─ item: integer #23 │ │ │ └─ variant_1: struct #32 │ │ │ └─ [not]: either '_integer_filter' #31 @@ -553,21 +553,21 @@ root: struct #105 │ │ │ ├─ variant_2: struct #27 │ │ │ │ └─ [not]: integer #23 │ │ │ ├─ variant_3: struct #28 - │ │ │ │ ├─ [gt]: optional #24 + │ │ │ │ ├─ [gt]: optional 'optional_24' #24 │ │ │ │ │ └─ item: integer #23 - │ │ │ │ ├─ [gte]: optional #24 + │ │ │ │ ├─ [gte]: optional 'optional_24' #24 │ │ │ │ │ └─ item: integer #23 - │ │ │ │ ├─ [lt]: optional #24 + │ │ │ │ ├─ [lt]: optional 'optional_24' #24 │ │ │ │ │ └─ item: integer #23 - │ │ │ │ └─ [lte]: optional #24 + │ │ │ │ └─ [lte]: optional 'optional_24' #24 │ │ │ │ └─ item: integer #23 │ │ │ ├─ variant_4: struct #29 - │ │ │ │ └─ [in]: list #25 + │ │ │ │ └─ [in]: list 'list_25' #25 │ │ │ │ └─ item: integer #23 │ │ │ └─ variant_5: struct #30 - │ │ │ └─ [notIn]: list #25 + │ │ │ └─ [notIn]: list 'list_25' #25 │ │ │ └─ item: integer #23 - │ │ └─ [title]: optional '_86__string_filter_c?' #86 + │ │ └─ [title]: optional 'optional_86' #86 │ │ └─ item: optional '_string_filter_c' #51 │ │ └─ item: union #50 │ │ ├─ variant_0: union '_string_filter' #48 @@ -577,21 +577,21 @@ root: struct #105 │ │ │ ├─ variant_2: struct #40 │ │ │ │ └─ [not]: string #36 │ │ │ ├─ variant_3: struct #41 - │ │ │ │ └─ [in]: list #38 + │ │ │ │ └─ [in]: list 'list_38' #38 │ │ │ │ └─ item: string #36 │ │ │ ├─ variant_4: struct #42 - │ │ │ │ └─ [notIn]: list #38 + │ │ │ │ └─ [notIn]: list 'list_38' #38 │ │ │ │ └─ item: string #36 │ │ │ ├─ variant_5: struct #45 │ │ │ │ ├─ [contains]: string #36 - │ │ │ │ └─ [mode]: optional #44 + │ │ │ │ └─ [mode]: optional 'optional_44' #44 │ │ │ │ └─ item: string #43 enum{ '"insensitive"' } │ │ │ ├─ variant_6: struct #46 │ │ │ │ └─ [search]: string #36 │ │ │ └─ variant_7: struct #47 - │ │ │ ├─ [endsWith]: optional #37 + │ │ │ ├─ [endsWith]: optional 'optional_37' #37 │ │ │ │ └─ item: string #36 - │ │ │ └─ [startsWith]: optional #37 + │ │ │ └─ [startsWith]: optional 'optional_37' #37 │ │ │ └─ item: string #36 │ │ └─ variant_1: struct #49 │ │ └─ [not]: union '_string_filter' #48 @@ -601,28 +601,28 @@ root: struct #105 │ │ ├─ variant_2: struct #40 │ │ │ └─ [not]: string #36 │ │ ├─ variant_3: struct #41 - │ │ │ └─ [in]: list #38 + │ │ │ └─ [in]: list 'list_38' #38 │ │ │ └─ item: string #36 │ │ ├─ variant_4: struct #42 - │ │ │ └─ [notIn]: list #38 + │ │ │ └─ [notIn]: list 'list_38' #38 │ │ │ └─ item: string #36 │ │ ├─ variant_5: struct #45 │ │ │ ├─ [contains]: string #36 - │ │ │ └─ [mode]: optional #44 + │ │ │ └─ [mode]: optional 'optional_44' #44 │ │ │ └─ item: string #43 enum{ '"insensitive"' } │ │ ├─ variant_6: struct #46 │ │ │ └─ [search]: string #36 │ │ └─ variant_7: struct #47 - │ │ ├─ [endsWith]: optional #37 + │ │ ├─ [endsWith]: optional 'optional_37' #37 │ │ │ └─ item: string #36 - │ │ └─ [startsWith]: optional #37 + │ │ └─ [startsWith]: optional 'optional_37' #37 │ │ └─ item: string #36 │ ├─ variant_1: struct #93 - │ │ └─ [some]: optional '_92_PostWhere__skip_14_UserWhere?' #92 + │ │ └─ [some]: optional 'optional_92' #92 │ │ └─ item: struct 'PostWhere__skip_14_UserWhere' #89 - │ │ ├─ [author]: optional '_88_UserWhere?' #88 + │ │ ├─ [author]: optional 'optional_88' #88 │ │ │ └─ item: &UserWhere #87 - │ │ ├─ [id]: optional '_85__integer_filter_c?' #85 + │ │ ├─ [id]: optional 'optional_85' #85 │ │ │ └─ item: optional '_integer_filter_c' #34 │ │ │ └─ item: union #33 │ │ │ ├─ variant_0: either '_integer_filter' #31 @@ -632,19 +632,19 @@ root: struct #105 │ │ │ │ ├─ variant_2: struct #27 │ │ │ │ │ └─ [not]: integer #23 │ │ │ │ ├─ variant_3: struct #28 - │ │ │ │ │ ├─ [gt]: optional #24 + │ │ │ │ │ ├─ [gt]: optional 'optional_24' #24 │ │ │ │ │ │ └─ item: integer #23 - │ │ │ │ │ ├─ [gte]: optional #24 + │ │ │ │ │ ├─ [gte]: optional 'optional_24' #24 │ │ │ │ │ │ └─ item: integer #23 - │ │ │ │ │ ├─ [lt]: optional #24 + │ │ │ │ │ ├─ [lt]: optional 'optional_24' #24 │ │ │ │ │ │ └─ item: integer #23 - │ │ │ │ │ └─ [lte]: optional #24 + │ │ │ │ │ └─ [lte]: optional 'optional_24' #24 │ │ │ │ │ └─ item: integer #23 │ │ │ │ ├─ variant_4: struct #29 - │ │ │ │ │ └─ [in]: list #25 + │ │ │ │ │ └─ [in]: list 'list_25' #25 │ │ │ │ │ └─ item: integer #23 │ │ │ │ └─ variant_5: struct #30 - │ │ │ │ └─ [notIn]: list #25 + │ │ │ │ └─ [notIn]: list 'list_25' #25 │ │ │ │ └─ item: integer #23 │ │ │ └─ variant_1: struct #32 │ │ │ └─ [not]: either '_integer_filter' #31 @@ -654,21 +654,21 @@ root: struct #105 │ │ │ ├─ variant_2: struct #27 │ │ │ │ └─ [not]: integer #23 │ │ │ ├─ variant_3: struct #28 - │ │ │ │ ├─ [gt]: optional #24 + │ │ │ │ ├─ [gt]: optional 'optional_24' #24 │ │ │ │ │ └─ item: integer #23 - │ │ │ │ ├─ [gte]: optional #24 + │ │ │ │ ├─ [gte]: optional 'optional_24' #24 │ │ │ │ │ └─ item: integer #23 - │ │ │ │ ├─ [lt]: optional #24 + │ │ │ │ ├─ [lt]: optional 'optional_24' #24 │ │ │ │ │ └─ item: integer #23 - │ │ │ │ └─ [lte]: optional #24 + │ │ │ │ └─ [lte]: optional 'optional_24' #24 │ │ │ │ └─ item: integer #23 │ │ │ ├─ variant_4: struct #29 - │ │ │ │ └─ [in]: list #25 + │ │ │ │ └─ [in]: list 'list_25' #25 │ │ │ │ └─ item: integer #23 │ │ │ └─ variant_5: struct #30 - │ │ │ └─ [notIn]: list #25 + │ │ │ └─ [notIn]: list 'list_25' #25 │ │ │ └─ item: integer #23 - │ │ └─ [title]: optional '_86__string_filter_c?' #86 + │ │ └─ [title]: optional 'optional_86' #86 │ │ └─ item: optional '_string_filter_c' #51 │ │ └─ item: union #50 │ │ ├─ variant_0: union '_string_filter' #48 @@ -678,21 +678,21 @@ root: struct #105 │ │ │ ├─ variant_2: struct #40 │ │ │ │ └─ [not]: string #36 │ │ │ ├─ variant_3: struct #41 - │ │ │ │ └─ [in]: list #38 + │ │ │ │ └─ [in]: list 'list_38' #38 │ │ │ │ └─ item: string #36 │ │ │ ├─ variant_4: struct #42 - │ │ │ │ └─ [notIn]: list #38 + │ │ │ │ └─ [notIn]: list 'list_38' #38 │ │ │ │ └─ item: string #36 │ │ │ ├─ variant_5: struct #45 │ │ │ │ ├─ [contains]: string #36 - │ │ │ │ └─ [mode]: optional #44 + │ │ │ │ └─ [mode]: optional 'optional_44' #44 │ │ │ │ └─ item: string #43 enum{ '"insensitive"' } │ │ │ ├─ variant_6: struct #46 │ │ │ │ └─ [search]: string #36 │ │ │ └─ variant_7: struct #47 - │ │ │ ├─ [endsWith]: optional #37 + │ │ │ ├─ [endsWith]: optional 'optional_37' #37 │ │ │ │ └─ item: string #36 - │ │ │ └─ [startsWith]: optional #37 + │ │ │ └─ [startsWith]: optional 'optional_37' #37 │ │ │ └─ item: string #36 │ │ └─ variant_1: struct #49 │ │ └─ [not]: union '_string_filter' #48 @@ -702,28 +702,28 @@ root: struct #105 │ │ ├─ variant_2: struct #40 │ │ │ └─ [not]: string #36 │ │ ├─ variant_3: struct #41 - │ │ │ └─ [in]: list #38 + │ │ │ └─ [in]: list 'list_38' #38 │ │ │ └─ item: string #36 │ │ ├─ variant_4: struct #42 - │ │ │ └─ [notIn]: list #38 + │ │ │ └─ [notIn]: list 'list_38' #38 │ │ │ └─ item: string #36 │ │ ├─ variant_5: struct #45 │ │ │ ├─ [contains]: string #36 - │ │ │ └─ [mode]: optional #44 + │ │ │ └─ [mode]: optional 'optional_44' #44 │ │ │ └─ item: string #43 enum{ '"insensitive"' } │ │ ├─ variant_6: struct #46 │ │ │ └─ [search]: string #36 │ │ └─ variant_7: struct #47 - │ │ ├─ [endsWith]: optional #37 + │ │ ├─ [endsWith]: optional 'optional_37' #37 │ │ │ └─ item: string #36 - │ │ └─ [startsWith]: optional #37 + │ │ └─ [startsWith]: optional 'optional_37' #37 │ │ └─ item: string #36 │ └─ variant_2: struct #95 - │ └─ [none]: optional '_94_PostWhere__skip_14_UserWhere?' #94 + │ └─ [none]: optional 'optional_94' #94 │ └─ item: struct 'PostWhere__skip_14_UserWhere' #89 - │ ├─ [author]: optional '_88_UserWhere?' #88 + │ ├─ [author]: optional 'optional_88' #88 │ │ └─ item: &UserWhere #87 - │ ├─ [id]: optional '_85__integer_filter_c?' #85 + │ ├─ [id]: optional 'optional_85' #85 │ │ └─ item: optional '_integer_filter_c' #34 │ │ └─ item: union #33 │ │ ├─ variant_0: either '_integer_filter' #31 @@ -733,19 +733,19 @@ root: struct #105 │ │ │ ├─ variant_2: struct #27 │ │ │ │ └─ [not]: integer #23 │ │ │ ├─ variant_3: struct #28 - │ │ │ │ ├─ [gt]: optional #24 + │ │ │ │ ├─ [gt]: optional 'optional_24' #24 │ │ │ │ │ └─ item: integer #23 - │ │ │ │ ├─ [gte]: optional #24 + │ │ │ │ ├─ [gte]: optional 'optional_24' #24 │ │ │ │ │ └─ item: integer #23 - │ │ │ │ ├─ [lt]: optional #24 + │ │ │ │ ├─ [lt]: optional 'optional_24' #24 │ │ │ │ │ └─ item: integer #23 - │ │ │ │ └─ [lte]: optional #24 + │ │ │ │ └─ [lte]: optional 'optional_24' #24 │ │ │ │ └─ item: integer #23 │ │ │ ├─ variant_4: struct #29 - │ │ │ │ └─ [in]: list #25 + │ │ │ │ └─ [in]: list 'list_25' #25 │ │ │ │ └─ item: integer #23 │ │ │ └─ variant_5: struct #30 - │ │ │ └─ [notIn]: list #25 + │ │ │ └─ [notIn]: list 'list_25' #25 │ │ │ └─ item: integer #23 │ │ └─ variant_1: struct #32 │ │ └─ [not]: either '_integer_filter' #31 @@ -755,21 +755,21 @@ root: struct #105 │ │ ├─ variant_2: struct #27 │ │ │ └─ [not]: integer #23 │ │ ├─ variant_3: struct #28 - │ │ │ ├─ [gt]: optional #24 + │ │ │ ├─ [gt]: optional 'optional_24' #24 │ │ │ │ └─ item: integer #23 - │ │ │ ├─ [gte]: optional #24 + │ │ │ ├─ [gte]: optional 'optional_24' #24 │ │ │ │ └─ item: integer #23 - │ │ │ ├─ [lt]: optional #24 + │ │ │ ├─ [lt]: optional 'optional_24' #24 │ │ │ │ └─ item: integer #23 - │ │ │ └─ [lte]: optional #24 + │ │ │ └─ [lte]: optional 'optional_24' #24 │ │ │ └─ item: integer #23 │ │ ├─ variant_4: struct #29 - │ │ │ └─ [in]: list #25 + │ │ │ └─ [in]: list 'list_25' #25 │ │ │ └─ item: integer #23 │ │ └─ variant_5: struct #30 - │ │ └─ [notIn]: list #25 + │ │ └─ [notIn]: list 'list_25' #25 │ │ └─ item: integer #23 - │ └─ [title]: optional '_86__string_filter_c?' #86 + │ └─ [title]: optional 'optional_86' #86 │ └─ item: optional '_string_filter_c' #51 │ └─ item: union #50 │ ├─ variant_0: union '_string_filter' #48 @@ -779,21 +779,21 @@ root: struct #105 │ │ ├─ variant_2: struct #40 │ │ │ └─ [not]: string #36 │ │ ├─ variant_3: struct #41 - │ │ │ └─ [in]: list #38 + │ │ │ └─ [in]: list 'list_38' #38 │ │ │ └─ item: string #36 │ │ ├─ variant_4: struct #42 - │ │ │ └─ [notIn]: list #38 + │ │ │ └─ [notIn]: list 'list_38' #38 │ │ │ └─ item: string #36 │ │ ├─ variant_5: struct #45 │ │ │ ├─ [contains]: string #36 - │ │ │ └─ [mode]: optional #44 + │ │ │ └─ [mode]: optional 'optional_44' #44 │ │ │ └─ item: string #43 enum{ '"insensitive"' } │ │ ├─ variant_6: struct #46 │ │ │ └─ [search]: string #36 │ │ └─ variant_7: struct #47 - │ │ ├─ [endsWith]: optional #37 + │ │ ├─ [endsWith]: optional 'optional_37' #37 │ │ │ └─ item: string #36 - │ │ └─ [startsWith]: optional #37 + │ │ └─ [startsWith]: optional 'optional_37' #37 │ │ └─ item: string #36 │ └─ variant_1: struct #49 │ └─ [not]: union '_string_filter' #48 @@ -803,23 +803,22 @@ root: struct #105 │ ├─ variant_2: struct #40 │ │ └─ [not]: string #36 │ ├─ variant_3: struct #41 - │ │ └─ [in]: list #38 + │ │ └─ [in]: list 'list_38' #38 │ │ └─ item: string #36 │ ├─ variant_4: struct #42 - │ │ └─ [notIn]: list #38 + │ │ └─ [notIn]: list 'list_38' #38 │ │ └─ item: string #36 │ ├─ variant_5: struct #45 │ │ ├─ [contains]: string #36 - │ │ └─ [mode]: optional #44 + │ │ └─ [mode]: optional 'optional_44' #44 │ │ └─ item: string #43 enum{ '"insensitive"' } │ ├─ variant_6: struct #46 │ │ └─ [search]: string #36 │ └─ variant_7: struct #47 - │ ├─ [endsWith]: optional #37 + │ ├─ [endsWith]: optional 'optional_37' #37 │ │ └─ item: string #36 - │ └─ [startsWith]: optional #37 + │ └─ [startsWith]: optional 'optional_37' #37 │ └─ item: string #36 - ├─ [id]: optional #81 + ├─ [id]: optional 'optional_81' #81 │ └─ item: integer #15 └─ [title]: string #16 - diff --git a/src/typegraph/core/src/runtimes/prisma/type_generation/snapshots/typegraph_core__runtimes__prisma__type_generation__test__create_one Record inp.snap b/src/typegraph/core/src/runtimes/prisma/type_generation/snapshots/typegraph_core__runtimes__prisma__type_generation__test__create_one Record inp.snap index c6fdb0a205..0e09ab5780 100644 --- a/src/typegraph/core/src/runtimes/prisma/type_generation/snapshots/typegraph_core__runtimes__prisma__type_generation__test__create_one Record inp.snap +++ b/src/typegraph/core/src/runtimes/prisma/type_generation/snapshots/typegraph_core__runtimes__prisma__type_generation__test__create_one Record inp.snap @@ -1,13 +1,12 @@ --- -source: typegraph/core/src/runtimes/prisma/type_generation/mod.rs +source: src/typegraph/core/src/runtimes/prisma/type_generation/mod.rs expression: tp.print(inp) --- root: struct #9 └─ [data]: struct '_Record_CreateInput' #8 - ├─ [age]: optional #5 + ├─ [age]: optional 'optional_5' #5 │ └─ item: integer #4 ├─ [created_at]: string #1 - ├─ [id]: optional #7 + ├─ [id]: optional 'optional_7' #7 │ └─ item: string #2 └─ [name]: string #3 - diff --git a/src/typegraph/core/src/runtimes/prisma/type_generation/snapshots/typegraph_core__runtimes__prisma__type_generation__test__create_one User inp.snap b/src/typegraph/core/src/runtimes/prisma/type_generation/snapshots/typegraph_core__runtimes__prisma__type_generation__test__create_one User inp.snap index eabc49a081..4f0d9c2c0e 100644 --- a/src/typegraph/core/src/runtimes/prisma/type_generation/snapshots/typegraph_core__runtimes__prisma__type_generation__test__create_one User inp.snap +++ b/src/typegraph/core/src/runtimes/prisma/type_generation/snapshots/typegraph_core__runtimes__prisma__type_generation__test__create_one User inp.snap @@ -1,30 +1,30 @@ --- -source: typegraph/core/src/runtimes/prisma/type_generation/mod.rs +source: src/typegraph/core/src/runtimes/prisma/type_generation/mod.rs expression: tp.print(inp) --- root: struct #80 └─ [data]: struct '_User_CreateInput' #79 ├─ [id]: integer #10 ├─ [name]: string #11 - └─ [posts]: optional #78 + └─ [posts]: optional 'optional_78' #78 └─ item: union #77 ├─ variant_0: struct #70 │ └─ [create]: union #22 │ ├─ variant_0: struct '_Post_CreateInput_excluding___rel_Post_User_1' #20 - │ │ ├─ [id]: optional #19 + │ │ ├─ [id]: optional 'optional_19' #19 │ │ │ └─ item: integer #15 │ │ └─ [title]: string #16 - │ └─ variant_1: list '_21__Post_CreateInput_excluding___rel_Post_User_1[]' #21 + │ └─ variant_1: list 'list_21' #21 │ └─ item: struct '_Post_CreateInput_excluding___rel_Post_User_1' #20 - │ ├─ [id]: optional #19 + │ ├─ [id]: optional 'optional_19' #19 │ │ └─ item: integer #15 │ └─ [title]: string #16 ├─ variant_1: struct #71 │ └─ [connect]: union #68 │ ├─ variant_0: struct 'PostWhere' #66 - │ │ ├─ [author]: optional '_65_UserWhere__skip_18_PostWhere?' #65 + │ │ ├─ [author]: optional 'optional_65' #65 │ │ │ └─ item: struct 'UserWhere__skip_18_PostWhere' #64 - │ │ │ ├─ [id]: optional '_53__integer_filter_c?' #53 + │ │ │ ├─ [id]: optional 'optional_53' #53 │ │ │ │ └─ item: optional '_integer_filter_c' #34 │ │ │ │ └─ item: union #33 │ │ │ │ ├─ variant_0: either '_integer_filter' #31 @@ -34,19 +34,19 @@ root: struct #80 │ │ │ │ │ ├─ variant_2: struct #27 │ │ │ │ │ │ └─ [not]: integer #23 │ │ │ │ │ ├─ variant_3: struct #28 - │ │ │ │ │ │ ├─ [gt]: optional #24 + │ │ │ │ │ │ ├─ [gt]: optional 'optional_24' #24 │ │ │ │ │ │ │ └─ item: integer #23 - │ │ │ │ │ │ ├─ [gte]: optional #24 + │ │ │ │ │ │ ├─ [gte]: optional 'optional_24' #24 │ │ │ │ │ │ │ └─ item: integer #23 - │ │ │ │ │ │ ├─ [lt]: optional #24 + │ │ │ │ │ │ ├─ [lt]: optional 'optional_24' #24 │ │ │ │ │ │ │ └─ item: integer #23 - │ │ │ │ │ │ └─ [lte]: optional #24 + │ │ │ │ │ │ └─ [lte]: optional 'optional_24' #24 │ │ │ │ │ │ └─ item: integer #23 │ │ │ │ │ ├─ variant_4: struct #29 - │ │ │ │ │ │ └─ [in]: list #25 + │ │ │ │ │ │ └─ [in]: list 'list_25' #25 │ │ │ │ │ │ └─ item: integer #23 │ │ │ │ │ └─ variant_5: struct #30 - │ │ │ │ │ └─ [notIn]: list #25 + │ │ │ │ │ └─ [notIn]: list 'list_25' #25 │ │ │ │ │ └─ item: integer #23 │ │ │ │ └─ variant_1: struct #32 │ │ │ │ └─ [not]: either '_integer_filter' #31 @@ -56,21 +56,21 @@ root: struct #80 │ │ │ │ ├─ variant_2: struct #27 │ │ │ │ │ └─ [not]: integer #23 │ │ │ │ ├─ variant_3: struct #28 - │ │ │ │ │ ├─ [gt]: optional #24 + │ │ │ │ │ ├─ [gt]: optional 'optional_24' #24 │ │ │ │ │ │ └─ item: integer #23 - │ │ │ │ │ ├─ [gte]: optional #24 + │ │ │ │ │ ├─ [gte]: optional 'optional_24' #24 │ │ │ │ │ │ └─ item: integer #23 - │ │ │ │ │ ├─ [lt]: optional #24 + │ │ │ │ │ ├─ [lt]: optional 'optional_24' #24 │ │ │ │ │ │ └─ item: integer #23 - │ │ │ │ │ └─ [lte]: optional #24 + │ │ │ │ │ └─ [lte]: optional 'optional_24' #24 │ │ │ │ │ └─ item: integer #23 │ │ │ │ ├─ variant_4: struct #29 - │ │ │ │ │ └─ [in]: list #25 + │ │ │ │ │ └─ [in]: list 'list_25' #25 │ │ │ │ │ └─ item: integer #23 │ │ │ │ └─ variant_5: struct #30 - │ │ │ │ └─ [notIn]: list #25 + │ │ │ │ └─ [notIn]: list 'list_25' #25 │ │ │ │ └─ item: integer #23 - │ │ │ ├─ [name]: optional '_54__string_filter_c?' #54 + │ │ │ ├─ [name]: optional 'optional_54' #54 │ │ │ │ └─ item: optional '_string_filter_c' #51 │ │ │ │ └─ item: union #50 │ │ │ │ ├─ variant_0: union '_string_filter' #48 @@ -80,21 +80,21 @@ root: struct #80 │ │ │ │ │ ├─ variant_2: struct #40 │ │ │ │ │ │ └─ [not]: string #36 │ │ │ │ │ ├─ variant_3: struct #41 - │ │ │ │ │ │ └─ [in]: list #38 + │ │ │ │ │ │ └─ [in]: list 'list_38' #38 │ │ │ │ │ │ └─ item: string #36 │ │ │ │ │ ├─ variant_4: struct #42 - │ │ │ │ │ │ └─ [notIn]: list #38 + │ │ │ │ │ │ └─ [notIn]: list 'list_38' #38 │ │ │ │ │ │ └─ item: string #36 │ │ │ │ │ ├─ variant_5: struct #45 │ │ │ │ │ │ ├─ [contains]: string #36 - │ │ │ │ │ │ └─ [mode]: optional #44 + │ │ │ │ │ │ └─ [mode]: optional 'optional_44' #44 │ │ │ │ │ │ └─ item: string #43 enum{ '"insensitive"' } │ │ │ │ │ ├─ variant_6: struct #46 │ │ │ │ │ │ └─ [search]: string #36 │ │ │ │ │ └─ variant_7: struct #47 - │ │ │ │ │ ├─ [endsWith]: optional #37 + │ │ │ │ │ ├─ [endsWith]: optional 'optional_37' #37 │ │ │ │ │ │ └─ item: string #36 - │ │ │ │ │ └─ [startsWith]: optional #37 + │ │ │ │ │ └─ [startsWith]: optional 'optional_37' #37 │ │ │ │ │ └─ item: string #36 │ │ │ │ └─ variant_1: struct #49 │ │ │ │ └─ [not]: union '_string_filter' #48 @@ -104,34 +104,34 @@ root: struct #80 │ │ │ │ ├─ variant_2: struct #40 │ │ │ │ │ └─ [not]: string #36 │ │ │ │ ├─ variant_3: struct #41 - │ │ │ │ │ └─ [in]: list #38 + │ │ │ │ │ └─ [in]: list 'list_38' #38 │ │ │ │ │ └─ item: string #36 │ │ │ │ ├─ variant_4: struct #42 - │ │ │ │ │ └─ [notIn]: list #38 + │ │ │ │ │ └─ [notIn]: list 'list_38' #38 │ │ │ │ │ └─ item: string #36 │ │ │ │ ├─ variant_5: struct #45 │ │ │ │ │ ├─ [contains]: string #36 - │ │ │ │ │ └─ [mode]: optional #44 + │ │ │ │ │ └─ [mode]: optional 'optional_44' #44 │ │ │ │ │ └─ item: string #43 enum{ '"insensitive"' } │ │ │ │ ├─ variant_6: struct #46 │ │ │ │ │ └─ [search]: string #36 │ │ │ │ └─ variant_7: struct #47 - │ │ │ │ ├─ [endsWith]: optional #37 + │ │ │ │ ├─ [endsWith]: optional 'optional_37' #37 │ │ │ │ │ └─ item: string #36 - │ │ │ │ └─ [startsWith]: optional #37 + │ │ │ │ └─ [startsWith]: optional 'optional_37' #37 │ │ │ │ └─ item: string #36 - │ │ │ └─ [posts]: optional #63 + │ │ │ └─ [posts]: optional 'optional_63' #63 │ │ │ └─ item: union #62 │ │ │ ├─ variant_0: struct #57 - │ │ │ │ └─ [every]: optional '_56_PostWhere?' #56 + │ │ │ │ └─ [every]: optional 'optional_56' #56 │ │ │ │ └─ item: &PostWhere #55 │ │ │ ├─ variant_1: struct #59 - │ │ │ │ └─ [some]: optional '_58_PostWhere?' #58 + │ │ │ │ └─ [some]: optional 'optional_58' #58 │ │ │ │ └─ item: &PostWhere #55 │ │ │ └─ variant_2: struct #61 - │ │ │ └─ [none]: optional '_60_PostWhere?' #60 + │ │ │ └─ [none]: optional 'optional_60' #60 │ │ │ └─ item: &PostWhere #55 - │ │ ├─ [id]: optional '_35__integer_filter_c?' #35 + │ │ ├─ [id]: optional 'optional_35' #35 │ │ │ └─ item: optional '_integer_filter_c' #34 │ │ │ └─ item: union #33 │ │ │ ├─ variant_0: either '_integer_filter' #31 @@ -141,19 +141,19 @@ root: struct #80 │ │ │ │ ├─ variant_2: struct #27 │ │ │ │ │ └─ [not]: integer #23 │ │ │ │ ├─ variant_3: struct #28 - │ │ │ │ │ ├─ [gt]: optional #24 + │ │ │ │ │ ├─ [gt]: optional 'optional_24' #24 │ │ │ │ │ │ └─ item: integer #23 - │ │ │ │ │ ├─ [gte]: optional #24 + │ │ │ │ │ ├─ [gte]: optional 'optional_24' #24 │ │ │ │ │ │ └─ item: integer #23 - │ │ │ │ │ ├─ [lt]: optional #24 + │ │ │ │ │ ├─ [lt]: optional 'optional_24' #24 │ │ │ │ │ │ └─ item: integer #23 - │ │ │ │ │ └─ [lte]: optional #24 + │ │ │ │ │ └─ [lte]: optional 'optional_24' #24 │ │ │ │ │ └─ item: integer #23 │ │ │ │ ├─ variant_4: struct #29 - │ │ │ │ │ └─ [in]: list #25 + │ │ │ │ │ └─ [in]: list 'list_25' #25 │ │ │ │ │ └─ item: integer #23 │ │ │ │ └─ variant_5: struct #30 - │ │ │ │ └─ [notIn]: list #25 + │ │ │ │ └─ [notIn]: list 'list_25' #25 │ │ │ │ └─ item: integer #23 │ │ │ └─ variant_1: struct #32 │ │ │ └─ [not]: either '_integer_filter' #31 @@ -163,21 +163,21 @@ root: struct #80 │ │ │ ├─ variant_2: struct #27 │ │ │ │ └─ [not]: integer #23 │ │ │ ├─ variant_3: struct #28 - │ │ │ │ ├─ [gt]: optional #24 + │ │ │ │ ├─ [gt]: optional 'optional_24' #24 │ │ │ │ │ └─ item: integer #23 - │ │ │ │ ├─ [gte]: optional #24 + │ │ │ │ ├─ [gte]: optional 'optional_24' #24 │ │ │ │ │ └─ item: integer #23 - │ │ │ │ ├─ [lt]: optional #24 + │ │ │ │ ├─ [lt]: optional 'optional_24' #24 │ │ │ │ │ └─ item: integer #23 - │ │ │ │ └─ [lte]: optional #24 + │ │ │ │ └─ [lte]: optional 'optional_24' #24 │ │ │ │ └─ item: integer #23 │ │ │ ├─ variant_4: struct #29 - │ │ │ │ └─ [in]: list #25 + │ │ │ │ └─ [in]: list 'list_25' #25 │ │ │ │ └─ item: integer #23 │ │ │ └─ variant_5: struct #30 - │ │ │ └─ [notIn]: list #25 + │ │ │ └─ [notIn]: list 'list_25' #25 │ │ │ └─ item: integer #23 - │ │ └─ [title]: optional '_52__string_filter_c?' #52 + │ │ └─ [title]: optional 'optional_52' #52 │ │ └─ item: optional '_string_filter_c' #51 │ │ └─ item: union #50 │ │ ├─ variant_0: union '_string_filter' #48 @@ -187,21 +187,21 @@ root: struct #80 │ │ │ ├─ variant_2: struct #40 │ │ │ │ └─ [not]: string #36 │ │ │ ├─ variant_3: struct #41 - │ │ │ │ └─ [in]: list #38 + │ │ │ │ └─ [in]: list 'list_38' #38 │ │ │ │ └─ item: string #36 │ │ │ ├─ variant_4: struct #42 - │ │ │ │ └─ [notIn]: list #38 + │ │ │ │ └─ [notIn]: list 'list_38' #38 │ │ │ │ └─ item: string #36 │ │ │ ├─ variant_5: struct #45 │ │ │ │ ├─ [contains]: string #36 - │ │ │ │ └─ [mode]: optional #44 + │ │ │ │ └─ [mode]: optional 'optional_44' #44 │ │ │ │ └─ item: string #43 enum{ '"insensitive"' } │ │ │ ├─ variant_6: struct #46 │ │ │ │ └─ [search]: string #36 │ │ │ └─ variant_7: struct #47 - │ │ │ ├─ [endsWith]: optional #37 + │ │ │ ├─ [endsWith]: optional 'optional_37' #37 │ │ │ │ └─ item: string #36 - │ │ │ └─ [startsWith]: optional #37 + │ │ │ └─ [startsWith]: optional 'optional_37' #37 │ │ │ └─ item: string #36 │ │ └─ variant_1: struct #49 │ │ └─ [not]: union '_string_filter' #48 @@ -211,27 +211,27 @@ root: struct #80 │ │ ├─ variant_2: struct #40 │ │ │ └─ [not]: string #36 │ │ ├─ variant_3: struct #41 - │ │ │ └─ [in]: list #38 + │ │ │ └─ [in]: list 'list_38' #38 │ │ │ └─ item: string #36 │ │ ├─ variant_4: struct #42 - │ │ │ └─ [notIn]: list #38 + │ │ │ └─ [notIn]: list 'list_38' #38 │ │ │ └─ item: string #36 │ │ ├─ variant_5: struct #45 │ │ │ ├─ [contains]: string #36 - │ │ │ └─ [mode]: optional #44 + │ │ │ └─ [mode]: optional 'optional_44' #44 │ │ │ └─ item: string #43 enum{ '"insensitive"' } │ │ ├─ variant_6: struct #46 │ │ │ └─ [search]: string #36 │ │ └─ variant_7: struct #47 - │ │ ├─ [endsWith]: optional #37 + │ │ ├─ [endsWith]: optional 'optional_37' #37 │ │ │ └─ item: string #36 - │ │ └─ [startsWith]: optional #37 + │ │ └─ [startsWith]: optional 'optional_37' #37 │ │ └─ item: string #36 - │ └─ variant_1: list '_67_PostWhere[]' #67 + │ └─ variant_1: list 'list_67' #67 │ └─ item: struct 'PostWhere' #66 - │ ├─ [author]: optional '_65_UserWhere__skip_18_PostWhere?' #65 + │ ├─ [author]: optional 'optional_65' #65 │ │ └─ item: struct 'UserWhere__skip_18_PostWhere' #64 - │ │ ├─ [id]: optional '_53__integer_filter_c?' #53 + │ │ ├─ [id]: optional 'optional_53' #53 │ │ │ └─ item: optional '_integer_filter_c' #34 │ │ │ └─ item: union #33 │ │ │ ├─ variant_0: either '_integer_filter' #31 @@ -241,19 +241,19 @@ root: struct #80 │ │ │ │ ├─ variant_2: struct #27 │ │ │ │ │ └─ [not]: integer #23 │ │ │ │ ├─ variant_3: struct #28 - │ │ │ │ │ ├─ [gt]: optional #24 + │ │ │ │ │ ├─ [gt]: optional 'optional_24' #24 │ │ │ │ │ │ └─ item: integer #23 - │ │ │ │ │ ├─ [gte]: optional #24 + │ │ │ │ │ ├─ [gte]: optional 'optional_24' #24 │ │ │ │ │ │ └─ item: integer #23 - │ │ │ │ │ ├─ [lt]: optional #24 + │ │ │ │ │ ├─ [lt]: optional 'optional_24' #24 │ │ │ │ │ │ └─ item: integer #23 - │ │ │ │ │ └─ [lte]: optional #24 + │ │ │ │ │ └─ [lte]: optional 'optional_24' #24 │ │ │ │ │ └─ item: integer #23 │ │ │ │ ├─ variant_4: struct #29 - │ │ │ │ │ └─ [in]: list #25 + │ │ │ │ │ └─ [in]: list 'list_25' #25 │ │ │ │ │ └─ item: integer #23 │ │ │ │ └─ variant_5: struct #30 - │ │ │ │ └─ [notIn]: list #25 + │ │ │ │ └─ [notIn]: list 'list_25' #25 │ │ │ │ └─ item: integer #23 │ │ │ └─ variant_1: struct #32 │ │ │ └─ [not]: either '_integer_filter' #31 @@ -263,21 +263,21 @@ root: struct #80 │ │ │ ├─ variant_2: struct #27 │ │ │ │ └─ [not]: integer #23 │ │ │ ├─ variant_3: struct #28 - │ │ │ │ ├─ [gt]: optional #24 + │ │ │ │ ├─ [gt]: optional 'optional_24' #24 │ │ │ │ │ └─ item: integer #23 - │ │ │ │ ├─ [gte]: optional #24 + │ │ │ │ ├─ [gte]: optional 'optional_24' #24 │ │ │ │ │ └─ item: integer #23 - │ │ │ │ ├─ [lt]: optional #24 + │ │ │ │ ├─ [lt]: optional 'optional_24' #24 │ │ │ │ │ └─ item: integer #23 - │ │ │ │ └─ [lte]: optional #24 + │ │ │ │ └─ [lte]: optional 'optional_24' #24 │ │ │ │ └─ item: integer #23 │ │ │ ├─ variant_4: struct #29 - │ │ │ │ └─ [in]: list #25 + │ │ │ │ └─ [in]: list 'list_25' #25 │ │ │ │ └─ item: integer #23 │ │ │ └─ variant_5: struct #30 - │ │ │ └─ [notIn]: list #25 + │ │ │ └─ [notIn]: list 'list_25' #25 │ │ │ └─ item: integer #23 - │ │ ├─ [name]: optional '_54__string_filter_c?' #54 + │ │ ├─ [name]: optional 'optional_54' #54 │ │ │ └─ item: optional '_string_filter_c' #51 │ │ │ └─ item: union #50 │ │ │ ├─ variant_0: union '_string_filter' #48 @@ -287,21 +287,21 @@ root: struct #80 │ │ │ │ ├─ variant_2: struct #40 │ │ │ │ │ └─ [not]: string #36 │ │ │ │ ├─ variant_3: struct #41 - │ │ │ │ │ └─ [in]: list #38 + │ │ │ │ │ └─ [in]: list 'list_38' #38 │ │ │ │ │ └─ item: string #36 │ │ │ │ ├─ variant_4: struct #42 - │ │ │ │ │ └─ [notIn]: list #38 + │ │ │ │ │ └─ [notIn]: list 'list_38' #38 │ │ │ │ │ └─ item: string #36 │ │ │ │ ├─ variant_5: struct #45 │ │ │ │ │ ├─ [contains]: string #36 - │ │ │ │ │ └─ [mode]: optional #44 + │ │ │ │ │ └─ [mode]: optional 'optional_44' #44 │ │ │ │ │ └─ item: string #43 enum{ '"insensitive"' } │ │ │ │ ├─ variant_6: struct #46 │ │ │ │ │ └─ [search]: string #36 │ │ │ │ └─ variant_7: struct #47 - │ │ │ │ ├─ [endsWith]: optional #37 + │ │ │ │ ├─ [endsWith]: optional 'optional_37' #37 │ │ │ │ │ └─ item: string #36 - │ │ │ │ └─ [startsWith]: optional #37 + │ │ │ │ └─ [startsWith]: optional 'optional_37' #37 │ │ │ │ └─ item: string #36 │ │ │ └─ variant_1: struct #49 │ │ │ └─ [not]: union '_string_filter' #48 @@ -311,34 +311,34 @@ root: struct #80 │ │ │ ├─ variant_2: struct #40 │ │ │ │ └─ [not]: string #36 │ │ │ ├─ variant_3: struct #41 - │ │ │ │ └─ [in]: list #38 + │ │ │ │ └─ [in]: list 'list_38' #38 │ │ │ │ └─ item: string #36 │ │ │ ├─ variant_4: struct #42 - │ │ │ │ └─ [notIn]: list #38 + │ │ │ │ └─ [notIn]: list 'list_38' #38 │ │ │ │ └─ item: string #36 │ │ │ ├─ variant_5: struct #45 │ │ │ │ ├─ [contains]: string #36 - │ │ │ │ └─ [mode]: optional #44 + │ │ │ │ └─ [mode]: optional 'optional_44' #44 │ │ │ │ └─ item: string #43 enum{ '"insensitive"' } │ │ │ ├─ variant_6: struct #46 │ │ │ │ └─ [search]: string #36 │ │ │ └─ variant_7: struct #47 - │ │ │ ├─ [endsWith]: optional #37 + │ │ │ ├─ [endsWith]: optional 'optional_37' #37 │ │ │ │ └─ item: string #36 - │ │ │ └─ [startsWith]: optional #37 + │ │ │ └─ [startsWith]: optional 'optional_37' #37 │ │ │ └─ item: string #36 - │ │ └─ [posts]: optional #63 + │ │ └─ [posts]: optional 'optional_63' #63 │ │ └─ item: union #62 │ │ ├─ variant_0: struct #57 - │ │ │ └─ [every]: optional '_56_PostWhere?' #56 + │ │ │ └─ [every]: optional 'optional_56' #56 │ │ │ └─ item: &PostWhere #55 │ │ ├─ variant_1: struct #59 - │ │ │ └─ [some]: optional '_58_PostWhere?' #58 + │ │ │ └─ [some]: optional 'optional_58' #58 │ │ │ └─ item: &PostWhere #55 │ │ └─ variant_2: struct #61 - │ │ └─ [none]: optional '_60_PostWhere?' #60 + │ │ └─ [none]: optional 'optional_60' #60 │ │ └─ item: &PostWhere #55 - │ ├─ [id]: optional '_35__integer_filter_c?' #35 + │ ├─ [id]: optional 'optional_35' #35 │ │ └─ item: optional '_integer_filter_c' #34 │ │ └─ item: union #33 │ │ ├─ variant_0: either '_integer_filter' #31 @@ -348,19 +348,19 @@ root: struct #80 │ │ │ ├─ variant_2: struct #27 │ │ │ │ └─ [not]: integer #23 │ │ │ ├─ variant_3: struct #28 - │ │ │ │ ├─ [gt]: optional #24 + │ │ │ │ ├─ [gt]: optional 'optional_24' #24 │ │ │ │ │ └─ item: integer #23 - │ │ │ │ ├─ [gte]: optional #24 + │ │ │ │ ├─ [gte]: optional 'optional_24' #24 │ │ │ │ │ └─ item: integer #23 - │ │ │ │ ├─ [lt]: optional #24 + │ │ │ │ ├─ [lt]: optional 'optional_24' #24 │ │ │ │ │ └─ item: integer #23 - │ │ │ │ └─ [lte]: optional #24 + │ │ │ │ └─ [lte]: optional 'optional_24' #24 │ │ │ │ └─ item: integer #23 │ │ │ ├─ variant_4: struct #29 - │ │ │ │ └─ [in]: list #25 + │ │ │ │ └─ [in]: list 'list_25' #25 │ │ │ │ └─ item: integer #23 │ │ │ └─ variant_5: struct #30 - │ │ │ └─ [notIn]: list #25 + │ │ │ └─ [notIn]: list 'list_25' #25 │ │ │ └─ item: integer #23 │ │ └─ variant_1: struct #32 │ │ └─ [not]: either '_integer_filter' #31 @@ -370,21 +370,21 @@ root: struct #80 │ │ ├─ variant_2: struct #27 │ │ │ └─ [not]: integer #23 │ │ ├─ variant_3: struct #28 - │ │ │ ├─ [gt]: optional #24 + │ │ │ ├─ [gt]: optional 'optional_24' #24 │ │ │ │ └─ item: integer #23 - │ │ │ ├─ [gte]: optional #24 + │ │ │ ├─ [gte]: optional 'optional_24' #24 │ │ │ │ └─ item: integer #23 - │ │ │ ├─ [lt]: optional #24 + │ │ │ ├─ [lt]: optional 'optional_24' #24 │ │ │ │ └─ item: integer #23 - │ │ │ └─ [lte]: optional #24 + │ │ │ └─ [lte]: optional 'optional_24' #24 │ │ │ └─ item: integer #23 │ │ ├─ variant_4: struct #29 - │ │ │ └─ [in]: list #25 + │ │ │ └─ [in]: list 'list_25' #25 │ │ │ └─ item: integer #23 │ │ └─ variant_5: struct #30 - │ │ └─ [notIn]: list #25 + │ │ └─ [notIn]: list 'list_25' #25 │ │ └─ item: integer #23 - │ └─ [title]: optional '_52__string_filter_c?' #52 + │ └─ [title]: optional 'optional_52' #52 │ └─ item: optional '_string_filter_c' #51 │ └─ item: union #50 │ ├─ variant_0: union '_string_filter' #48 @@ -394,21 +394,21 @@ root: struct #80 │ │ ├─ variant_2: struct #40 │ │ │ └─ [not]: string #36 │ │ ├─ variant_3: struct #41 - │ │ │ └─ [in]: list #38 + │ │ │ └─ [in]: list 'list_38' #38 │ │ │ └─ item: string #36 │ │ ├─ variant_4: struct #42 - │ │ │ └─ [notIn]: list #38 + │ │ │ └─ [notIn]: list 'list_38' #38 │ │ │ └─ item: string #36 │ │ ├─ variant_5: struct #45 │ │ │ ├─ [contains]: string #36 - │ │ │ └─ [mode]: optional #44 + │ │ │ └─ [mode]: optional 'optional_44' #44 │ │ │ └─ item: string #43 enum{ '"insensitive"' } │ │ ├─ variant_6: struct #46 │ │ │ └─ [search]: string #36 │ │ └─ variant_7: struct #47 - │ │ ├─ [endsWith]: optional #37 + │ │ ├─ [endsWith]: optional 'optional_37' #37 │ │ │ └─ item: string #36 - │ │ └─ [startsWith]: optional #37 + │ │ └─ [startsWith]: optional 'optional_37' #37 │ │ └─ item: string #36 │ └─ variant_1: struct #49 │ └─ [not]: union '_string_filter' #48 @@ -418,39 +418,39 @@ root: struct #80 │ ├─ variant_2: struct #40 │ │ └─ [not]: string #36 │ ├─ variant_3: struct #41 - │ │ └─ [in]: list #38 + │ │ └─ [in]: list 'list_38' #38 │ │ └─ item: string #36 │ ├─ variant_4: struct #42 - │ │ └─ [notIn]: list #38 + │ │ └─ [notIn]: list 'list_38' #38 │ │ └─ item: string #36 │ ├─ variant_5: struct #45 │ │ ├─ [contains]: string #36 - │ │ └─ [mode]: optional #44 + │ │ └─ [mode]: optional 'optional_44' #44 │ │ └─ item: string #43 enum{ '"insensitive"' } │ ├─ variant_6: struct #46 │ │ └─ [search]: string #36 │ └─ variant_7: struct #47 - │ ├─ [endsWith]: optional #37 + │ ├─ [endsWith]: optional 'optional_37' #37 │ │ └─ item: string #36 - │ └─ [startsWith]: optional #37 + │ └─ [startsWith]: optional 'optional_37' #37 │ └─ item: string #36 ├─ variant_2: struct #72 │ └─ [connectOrCreate]: struct #69 │ ├─ [create]: union #22 │ │ ├─ variant_0: struct '_Post_CreateInput_excluding___rel_Post_User_1' #20 - │ │ │ ├─ [id]: optional #19 + │ │ │ ├─ [id]: optional 'optional_19' #19 │ │ │ │ └─ item: integer #15 │ │ │ └─ [title]: string #16 - │ │ └─ variant_1: list '_21__Post_CreateInput_excluding___rel_Post_User_1[]' #21 + │ │ └─ variant_1: list 'list_21' #21 │ │ └─ item: struct '_Post_CreateInput_excluding___rel_Post_User_1' #20 - │ │ ├─ [id]: optional #19 + │ │ ├─ [id]: optional 'optional_19' #19 │ │ │ └─ item: integer #15 │ │ └─ [title]: string #16 │ └─ [where]: union #68 │ ├─ variant_0: struct 'PostWhere' #66 - │ │ ├─ [author]: optional '_65_UserWhere__skip_18_PostWhere?' #65 + │ │ ├─ [author]: optional 'optional_65' #65 │ │ │ └─ item: struct 'UserWhere__skip_18_PostWhere' #64 - │ │ │ ├─ [id]: optional '_53__integer_filter_c?' #53 + │ │ │ ├─ [id]: optional 'optional_53' #53 │ │ │ │ └─ item: optional '_integer_filter_c' #34 │ │ │ │ └─ item: union #33 │ │ │ │ ├─ variant_0: either '_integer_filter' #31 @@ -460,19 +460,19 @@ root: struct #80 │ │ │ │ │ ├─ variant_2: struct #27 │ │ │ │ │ │ └─ [not]: integer #23 │ │ │ │ │ ├─ variant_3: struct #28 - │ │ │ │ │ │ ├─ [gt]: optional #24 + │ │ │ │ │ │ ├─ [gt]: optional 'optional_24' #24 │ │ │ │ │ │ │ └─ item: integer #23 - │ │ │ │ │ │ ├─ [gte]: optional #24 + │ │ │ │ │ │ ├─ [gte]: optional 'optional_24' #24 │ │ │ │ │ │ │ └─ item: integer #23 - │ │ │ │ │ │ ├─ [lt]: optional #24 + │ │ │ │ │ │ ├─ [lt]: optional 'optional_24' #24 │ │ │ │ │ │ │ └─ item: integer #23 - │ │ │ │ │ │ └─ [lte]: optional #24 + │ │ │ │ │ │ └─ [lte]: optional 'optional_24' #24 │ │ │ │ │ │ └─ item: integer #23 │ │ │ │ │ ├─ variant_4: struct #29 - │ │ │ │ │ │ └─ [in]: list #25 + │ │ │ │ │ │ └─ [in]: list 'list_25' #25 │ │ │ │ │ │ └─ item: integer #23 │ │ │ │ │ └─ variant_5: struct #30 - │ │ │ │ │ └─ [notIn]: list #25 + │ │ │ │ │ └─ [notIn]: list 'list_25' #25 │ │ │ │ │ └─ item: integer #23 │ │ │ │ └─ variant_1: struct #32 │ │ │ │ └─ [not]: either '_integer_filter' #31 @@ -482,21 +482,21 @@ root: struct #80 │ │ │ │ ├─ variant_2: struct #27 │ │ │ │ │ └─ [not]: integer #23 │ │ │ │ ├─ variant_3: struct #28 - │ │ │ │ │ ├─ [gt]: optional #24 + │ │ │ │ │ ├─ [gt]: optional 'optional_24' #24 │ │ │ │ │ │ └─ item: integer #23 - │ │ │ │ │ ├─ [gte]: optional #24 + │ │ │ │ │ ├─ [gte]: optional 'optional_24' #24 │ │ │ │ │ │ └─ item: integer #23 - │ │ │ │ │ ├─ [lt]: optional #24 + │ │ │ │ │ ├─ [lt]: optional 'optional_24' #24 │ │ │ │ │ │ └─ item: integer #23 - │ │ │ │ │ └─ [lte]: optional #24 + │ │ │ │ │ └─ [lte]: optional 'optional_24' #24 │ │ │ │ │ └─ item: integer #23 │ │ │ │ ├─ variant_4: struct #29 - │ │ │ │ │ └─ [in]: list #25 + │ │ │ │ │ └─ [in]: list 'list_25' #25 │ │ │ │ │ └─ item: integer #23 │ │ │ │ └─ variant_5: struct #30 - │ │ │ │ └─ [notIn]: list #25 + │ │ │ │ └─ [notIn]: list 'list_25' #25 │ │ │ │ └─ item: integer #23 - │ │ │ ├─ [name]: optional '_54__string_filter_c?' #54 + │ │ │ ├─ [name]: optional 'optional_54' #54 │ │ │ │ └─ item: optional '_string_filter_c' #51 │ │ │ │ └─ item: union #50 │ │ │ │ ├─ variant_0: union '_string_filter' #48 @@ -506,21 +506,21 @@ root: struct #80 │ │ │ │ │ ├─ variant_2: struct #40 │ │ │ │ │ │ └─ [not]: string #36 │ │ │ │ │ ├─ variant_3: struct #41 - │ │ │ │ │ │ └─ [in]: list #38 + │ │ │ │ │ │ └─ [in]: list 'list_38' #38 │ │ │ │ │ │ └─ item: string #36 │ │ │ │ │ ├─ variant_4: struct #42 - │ │ │ │ │ │ └─ [notIn]: list #38 + │ │ │ │ │ │ └─ [notIn]: list 'list_38' #38 │ │ │ │ │ │ └─ item: string #36 │ │ │ │ │ ├─ variant_5: struct #45 │ │ │ │ │ │ ├─ [contains]: string #36 - │ │ │ │ │ │ └─ [mode]: optional #44 + │ │ │ │ │ │ └─ [mode]: optional 'optional_44' #44 │ │ │ │ │ │ └─ item: string #43 enum{ '"insensitive"' } │ │ │ │ │ ├─ variant_6: struct #46 │ │ │ │ │ │ └─ [search]: string #36 │ │ │ │ │ └─ variant_7: struct #47 - │ │ │ │ │ ├─ [endsWith]: optional #37 + │ │ │ │ │ ├─ [endsWith]: optional 'optional_37' #37 │ │ │ │ │ │ └─ item: string #36 - │ │ │ │ │ └─ [startsWith]: optional #37 + │ │ │ │ │ └─ [startsWith]: optional 'optional_37' #37 │ │ │ │ │ └─ item: string #36 │ │ │ │ └─ variant_1: struct #49 │ │ │ │ └─ [not]: union '_string_filter' #48 @@ -530,34 +530,34 @@ root: struct #80 │ │ │ │ ├─ variant_2: struct #40 │ │ │ │ │ └─ [not]: string #36 │ │ │ │ ├─ variant_3: struct #41 - │ │ │ │ │ └─ [in]: list #38 + │ │ │ │ │ └─ [in]: list 'list_38' #38 │ │ │ │ │ └─ item: string #36 │ │ │ │ ├─ variant_4: struct #42 - │ │ │ │ │ └─ [notIn]: list #38 + │ │ │ │ │ └─ [notIn]: list 'list_38' #38 │ │ │ │ │ └─ item: string #36 │ │ │ │ ├─ variant_5: struct #45 │ │ │ │ │ ├─ [contains]: string #36 - │ │ │ │ │ └─ [mode]: optional #44 + │ │ │ │ │ └─ [mode]: optional 'optional_44' #44 │ │ │ │ │ └─ item: string #43 enum{ '"insensitive"' } │ │ │ │ ├─ variant_6: struct #46 │ │ │ │ │ └─ [search]: string #36 │ │ │ │ └─ variant_7: struct #47 - │ │ │ │ ├─ [endsWith]: optional #37 + │ │ │ │ ├─ [endsWith]: optional 'optional_37' #37 │ │ │ │ │ └─ item: string #36 - │ │ │ │ └─ [startsWith]: optional #37 + │ │ │ │ └─ [startsWith]: optional 'optional_37' #37 │ │ │ │ └─ item: string #36 - │ │ │ └─ [posts]: optional #63 + │ │ │ └─ [posts]: optional 'optional_63' #63 │ │ │ └─ item: union #62 │ │ │ ├─ variant_0: struct #57 - │ │ │ │ └─ [every]: optional '_56_PostWhere?' #56 + │ │ │ │ └─ [every]: optional 'optional_56' #56 │ │ │ │ └─ item: &PostWhere #55 │ │ │ ├─ variant_1: struct #59 - │ │ │ │ └─ [some]: optional '_58_PostWhere?' #58 + │ │ │ │ └─ [some]: optional 'optional_58' #58 │ │ │ │ └─ item: &PostWhere #55 │ │ │ └─ variant_2: struct #61 - │ │ │ └─ [none]: optional '_60_PostWhere?' #60 + │ │ │ └─ [none]: optional 'optional_60' #60 │ │ │ └─ item: &PostWhere #55 - │ │ ├─ [id]: optional '_35__integer_filter_c?' #35 + │ │ ├─ [id]: optional 'optional_35' #35 │ │ │ └─ item: optional '_integer_filter_c' #34 │ │ │ └─ item: union #33 │ │ │ ├─ variant_0: either '_integer_filter' #31 @@ -567,19 +567,19 @@ root: struct #80 │ │ │ │ ├─ variant_2: struct #27 │ │ │ │ │ └─ [not]: integer #23 │ │ │ │ ├─ variant_3: struct #28 - │ │ │ │ │ ├─ [gt]: optional #24 + │ │ │ │ │ ├─ [gt]: optional 'optional_24' #24 │ │ │ │ │ │ └─ item: integer #23 - │ │ │ │ │ ├─ [gte]: optional #24 + │ │ │ │ │ ├─ [gte]: optional 'optional_24' #24 │ │ │ │ │ │ └─ item: integer #23 - │ │ │ │ │ ├─ [lt]: optional #24 + │ │ │ │ │ ├─ [lt]: optional 'optional_24' #24 │ │ │ │ │ │ └─ item: integer #23 - │ │ │ │ │ └─ [lte]: optional #24 + │ │ │ │ │ └─ [lte]: optional 'optional_24' #24 │ │ │ │ │ └─ item: integer #23 │ │ │ │ ├─ variant_4: struct #29 - │ │ │ │ │ └─ [in]: list #25 + │ │ │ │ │ └─ [in]: list 'list_25' #25 │ │ │ │ │ └─ item: integer #23 │ │ │ │ └─ variant_5: struct #30 - │ │ │ │ └─ [notIn]: list #25 + │ │ │ │ └─ [notIn]: list 'list_25' #25 │ │ │ │ └─ item: integer #23 │ │ │ └─ variant_1: struct #32 │ │ │ └─ [not]: either '_integer_filter' #31 @@ -589,21 +589,21 @@ root: struct #80 │ │ │ ├─ variant_2: struct #27 │ │ │ │ └─ [not]: integer #23 │ │ │ ├─ variant_3: struct #28 - │ │ │ │ ├─ [gt]: optional #24 + │ │ │ │ ├─ [gt]: optional 'optional_24' #24 │ │ │ │ │ └─ item: integer #23 - │ │ │ │ ├─ [gte]: optional #24 + │ │ │ │ ├─ [gte]: optional 'optional_24' #24 │ │ │ │ │ └─ item: integer #23 - │ │ │ │ ├─ [lt]: optional #24 + │ │ │ │ ├─ [lt]: optional 'optional_24' #24 │ │ │ │ │ └─ item: integer #23 - │ │ │ │ └─ [lte]: optional #24 + │ │ │ │ └─ [lte]: optional 'optional_24' #24 │ │ │ │ └─ item: integer #23 │ │ │ ├─ variant_4: struct #29 - │ │ │ │ └─ [in]: list #25 + │ │ │ │ └─ [in]: list 'list_25' #25 │ │ │ │ └─ item: integer #23 │ │ │ └─ variant_5: struct #30 - │ │ │ └─ [notIn]: list #25 + │ │ │ └─ [notIn]: list 'list_25' #25 │ │ │ └─ item: integer #23 - │ │ └─ [title]: optional '_52__string_filter_c?' #52 + │ │ └─ [title]: optional 'optional_52' #52 │ │ └─ item: optional '_string_filter_c' #51 │ │ └─ item: union #50 │ │ ├─ variant_0: union '_string_filter' #48 @@ -613,21 +613,21 @@ root: struct #80 │ │ │ ├─ variant_2: struct #40 │ │ │ │ └─ [not]: string #36 │ │ │ ├─ variant_3: struct #41 - │ │ │ │ └─ [in]: list #38 + │ │ │ │ └─ [in]: list 'list_38' #38 │ │ │ │ └─ item: string #36 │ │ │ ├─ variant_4: struct #42 - │ │ │ │ └─ [notIn]: list #38 + │ │ │ │ └─ [notIn]: list 'list_38' #38 │ │ │ │ └─ item: string #36 │ │ │ ├─ variant_5: struct #45 │ │ │ │ ├─ [contains]: string #36 - │ │ │ │ └─ [mode]: optional #44 + │ │ │ │ └─ [mode]: optional 'optional_44' #44 │ │ │ │ └─ item: string #43 enum{ '"insensitive"' } │ │ │ ├─ variant_6: struct #46 │ │ │ │ └─ [search]: string #36 │ │ │ └─ variant_7: struct #47 - │ │ │ ├─ [endsWith]: optional #37 + │ │ │ ├─ [endsWith]: optional 'optional_37' #37 │ │ │ │ └─ item: string #36 - │ │ │ └─ [startsWith]: optional #37 + │ │ │ └─ [startsWith]: optional 'optional_37' #37 │ │ │ └─ item: string #36 │ │ └─ variant_1: struct #49 │ │ └─ [not]: union '_string_filter' #48 @@ -637,27 +637,27 @@ root: struct #80 │ │ ├─ variant_2: struct #40 │ │ │ └─ [not]: string #36 │ │ ├─ variant_3: struct #41 - │ │ │ └─ [in]: list #38 + │ │ │ └─ [in]: list 'list_38' #38 │ │ │ └─ item: string #36 │ │ ├─ variant_4: struct #42 - │ │ │ └─ [notIn]: list #38 + │ │ │ └─ [notIn]: list 'list_38' #38 │ │ │ └─ item: string #36 │ │ ├─ variant_5: struct #45 │ │ │ ├─ [contains]: string #36 - │ │ │ └─ [mode]: optional #44 + │ │ │ └─ [mode]: optional 'optional_44' #44 │ │ │ └─ item: string #43 enum{ '"insensitive"' } │ │ ├─ variant_6: struct #46 │ │ │ └─ [search]: string #36 │ │ └─ variant_7: struct #47 - │ │ ├─ [endsWith]: optional #37 + │ │ ├─ [endsWith]: optional 'optional_37' #37 │ │ │ └─ item: string #36 - │ │ └─ [startsWith]: optional #37 + │ │ └─ [startsWith]: optional 'optional_37' #37 │ │ └─ item: string #36 - │ └─ variant_1: list '_67_PostWhere[]' #67 + │ └─ variant_1: list 'list_67' #67 │ └─ item: struct 'PostWhere' #66 - │ ├─ [author]: optional '_65_UserWhere__skip_18_PostWhere?' #65 + │ ├─ [author]: optional 'optional_65' #65 │ │ └─ item: struct 'UserWhere__skip_18_PostWhere' #64 - │ │ ├─ [id]: optional '_53__integer_filter_c?' #53 + │ │ ├─ [id]: optional 'optional_53' #53 │ │ │ └─ item: optional '_integer_filter_c' #34 │ │ │ └─ item: union #33 │ │ │ ├─ variant_0: either '_integer_filter' #31 @@ -667,19 +667,19 @@ root: struct #80 │ │ │ │ ├─ variant_2: struct #27 │ │ │ │ │ └─ [not]: integer #23 │ │ │ │ ├─ variant_3: struct #28 - │ │ │ │ │ ├─ [gt]: optional #24 + │ │ │ │ │ ├─ [gt]: optional 'optional_24' #24 │ │ │ │ │ │ └─ item: integer #23 - │ │ │ │ │ ├─ [gte]: optional #24 + │ │ │ │ │ ├─ [gte]: optional 'optional_24' #24 │ │ │ │ │ │ └─ item: integer #23 - │ │ │ │ │ ├─ [lt]: optional #24 + │ │ │ │ │ ├─ [lt]: optional 'optional_24' #24 │ │ │ │ │ │ └─ item: integer #23 - │ │ │ │ │ └─ [lte]: optional #24 + │ │ │ │ │ └─ [lte]: optional 'optional_24' #24 │ │ │ │ │ └─ item: integer #23 │ │ │ │ ├─ variant_4: struct #29 - │ │ │ │ │ └─ [in]: list #25 + │ │ │ │ │ └─ [in]: list 'list_25' #25 │ │ │ │ │ └─ item: integer #23 │ │ │ │ └─ variant_5: struct #30 - │ │ │ │ └─ [notIn]: list #25 + │ │ │ │ └─ [notIn]: list 'list_25' #25 │ │ │ │ └─ item: integer #23 │ │ │ └─ variant_1: struct #32 │ │ │ └─ [not]: either '_integer_filter' #31 @@ -689,21 +689,21 @@ root: struct #80 │ │ │ ├─ variant_2: struct #27 │ │ │ │ └─ [not]: integer #23 │ │ │ ├─ variant_3: struct #28 - │ │ │ │ ├─ [gt]: optional #24 + │ │ │ │ ├─ [gt]: optional 'optional_24' #24 │ │ │ │ │ └─ item: integer #23 - │ │ │ │ ├─ [gte]: optional #24 + │ │ │ │ ├─ [gte]: optional 'optional_24' #24 │ │ │ │ │ └─ item: integer #23 - │ │ │ │ ├─ [lt]: optional #24 + │ │ │ │ ├─ [lt]: optional 'optional_24' #24 │ │ │ │ │ └─ item: integer #23 - │ │ │ │ └─ [lte]: optional #24 + │ │ │ │ └─ [lte]: optional 'optional_24' #24 │ │ │ │ └─ item: integer #23 │ │ │ ├─ variant_4: struct #29 - │ │ │ │ └─ [in]: list #25 + │ │ │ │ └─ [in]: list 'list_25' #25 │ │ │ │ └─ item: integer #23 │ │ │ └─ variant_5: struct #30 - │ │ │ └─ [notIn]: list #25 + │ │ │ └─ [notIn]: list 'list_25' #25 │ │ │ └─ item: integer #23 - │ │ ├─ [name]: optional '_54__string_filter_c?' #54 + │ │ ├─ [name]: optional 'optional_54' #54 │ │ │ └─ item: optional '_string_filter_c' #51 │ │ │ └─ item: union #50 │ │ │ ├─ variant_0: union '_string_filter' #48 @@ -713,21 +713,21 @@ root: struct #80 │ │ │ │ ├─ variant_2: struct #40 │ │ │ │ │ └─ [not]: string #36 │ │ │ │ ├─ variant_3: struct #41 - │ │ │ │ │ └─ [in]: list #38 + │ │ │ │ │ └─ [in]: list 'list_38' #38 │ │ │ │ │ └─ item: string #36 │ │ │ │ ├─ variant_4: struct #42 - │ │ │ │ │ └─ [notIn]: list #38 + │ │ │ │ │ └─ [notIn]: list 'list_38' #38 │ │ │ │ │ └─ item: string #36 │ │ │ │ ├─ variant_5: struct #45 │ │ │ │ │ ├─ [contains]: string #36 - │ │ │ │ │ └─ [mode]: optional #44 + │ │ │ │ │ └─ [mode]: optional 'optional_44' #44 │ │ │ │ │ └─ item: string #43 enum{ '"insensitive"' } │ │ │ │ ├─ variant_6: struct #46 │ │ │ │ │ └─ [search]: string #36 │ │ │ │ └─ variant_7: struct #47 - │ │ │ │ ├─ [endsWith]: optional #37 + │ │ │ │ ├─ [endsWith]: optional 'optional_37' #37 │ │ │ │ │ └─ item: string #36 - │ │ │ │ └─ [startsWith]: optional #37 + │ │ │ │ └─ [startsWith]: optional 'optional_37' #37 │ │ │ │ └─ item: string #36 │ │ │ └─ variant_1: struct #49 │ │ │ └─ [not]: union '_string_filter' #48 @@ -737,34 +737,34 @@ root: struct #80 │ │ │ ├─ variant_2: struct #40 │ │ │ │ └─ [not]: string #36 │ │ │ ├─ variant_3: struct #41 - │ │ │ │ └─ [in]: list #38 + │ │ │ │ └─ [in]: list 'list_38' #38 │ │ │ │ └─ item: string #36 │ │ │ ├─ variant_4: struct #42 - │ │ │ │ └─ [notIn]: list #38 + │ │ │ │ └─ [notIn]: list 'list_38' #38 │ │ │ │ └─ item: string #36 │ │ │ ├─ variant_5: struct #45 │ │ │ │ ├─ [contains]: string #36 - │ │ │ │ └─ [mode]: optional #44 + │ │ │ │ └─ [mode]: optional 'optional_44' #44 │ │ │ │ └─ item: string #43 enum{ '"insensitive"' } │ │ │ ├─ variant_6: struct #46 │ │ │ │ └─ [search]: string #36 │ │ │ └─ variant_7: struct #47 - │ │ │ ├─ [endsWith]: optional #37 + │ │ │ ├─ [endsWith]: optional 'optional_37' #37 │ │ │ │ └─ item: string #36 - │ │ │ └─ [startsWith]: optional #37 + │ │ │ └─ [startsWith]: optional 'optional_37' #37 │ │ │ └─ item: string #36 - │ │ └─ [posts]: optional #63 + │ │ └─ [posts]: optional 'optional_63' #63 │ │ └─ item: union #62 │ │ ├─ variant_0: struct #57 - │ │ │ └─ [every]: optional '_56_PostWhere?' #56 + │ │ │ └─ [every]: optional 'optional_56' #56 │ │ │ └─ item: &PostWhere #55 │ │ ├─ variant_1: struct #59 - │ │ │ └─ [some]: optional '_58_PostWhere?' #58 + │ │ │ └─ [some]: optional 'optional_58' #58 │ │ │ └─ item: &PostWhere #55 │ │ └─ variant_2: struct #61 - │ │ └─ [none]: optional '_60_PostWhere?' #60 + │ │ └─ [none]: optional 'optional_60' #60 │ │ └─ item: &PostWhere #55 - │ ├─ [id]: optional '_35__integer_filter_c?' #35 + │ ├─ [id]: optional 'optional_35' #35 │ │ └─ item: optional '_integer_filter_c' #34 │ │ └─ item: union #33 │ │ ├─ variant_0: either '_integer_filter' #31 @@ -774,19 +774,19 @@ root: struct #80 │ │ │ ├─ variant_2: struct #27 │ │ │ │ └─ [not]: integer #23 │ │ │ ├─ variant_3: struct #28 - │ │ │ │ ├─ [gt]: optional #24 + │ │ │ │ ├─ [gt]: optional 'optional_24' #24 │ │ │ │ │ └─ item: integer #23 - │ │ │ │ ├─ [gte]: optional #24 + │ │ │ │ ├─ [gte]: optional 'optional_24' #24 │ │ │ │ │ └─ item: integer #23 - │ │ │ │ ├─ [lt]: optional #24 + │ │ │ │ ├─ [lt]: optional 'optional_24' #24 │ │ │ │ │ └─ item: integer #23 - │ │ │ │ └─ [lte]: optional #24 + │ │ │ │ └─ [lte]: optional 'optional_24' #24 │ │ │ │ └─ item: integer #23 │ │ │ ├─ variant_4: struct #29 - │ │ │ │ └─ [in]: list #25 + │ │ │ │ └─ [in]: list 'list_25' #25 │ │ │ │ └─ item: integer #23 │ │ │ └─ variant_5: struct #30 - │ │ │ └─ [notIn]: list #25 + │ │ │ └─ [notIn]: list 'list_25' #25 │ │ │ └─ item: integer #23 │ │ └─ variant_1: struct #32 │ │ └─ [not]: either '_integer_filter' #31 @@ -796,21 +796,21 @@ root: struct #80 │ │ ├─ variant_2: struct #27 │ │ │ └─ [not]: integer #23 │ │ ├─ variant_3: struct #28 - │ │ │ ├─ [gt]: optional #24 + │ │ │ ├─ [gt]: optional 'optional_24' #24 │ │ │ │ └─ item: integer #23 - │ │ │ ├─ [gte]: optional #24 + │ │ │ ├─ [gte]: optional 'optional_24' #24 │ │ │ │ └─ item: integer #23 - │ │ │ ├─ [lt]: optional #24 + │ │ │ ├─ [lt]: optional 'optional_24' #24 │ │ │ │ └─ item: integer #23 - │ │ │ └─ [lte]: optional #24 + │ │ │ └─ [lte]: optional 'optional_24' #24 │ │ │ └─ item: integer #23 │ │ ├─ variant_4: struct #29 - │ │ │ └─ [in]: list #25 + │ │ │ └─ [in]: list 'list_25' #25 │ │ │ └─ item: integer #23 │ │ └─ variant_5: struct #30 - │ │ └─ [notIn]: list #25 + │ │ └─ [notIn]: list 'list_25' #25 │ │ └─ item: integer #23 - │ └─ [title]: optional '_52__string_filter_c?' #52 + │ └─ [title]: optional 'optional_52' #52 │ └─ item: optional '_string_filter_c' #51 │ └─ item: union #50 │ ├─ variant_0: union '_string_filter' #48 @@ -820,21 +820,21 @@ root: struct #80 │ │ ├─ variant_2: struct #40 │ │ │ └─ [not]: string #36 │ │ ├─ variant_3: struct #41 - │ │ │ └─ [in]: list #38 + │ │ │ └─ [in]: list 'list_38' #38 │ │ │ └─ item: string #36 │ │ ├─ variant_4: struct #42 - │ │ │ └─ [notIn]: list #38 + │ │ │ └─ [notIn]: list 'list_38' #38 │ │ │ └─ item: string #36 │ │ ├─ variant_5: struct #45 │ │ │ ├─ [contains]: string #36 - │ │ │ └─ [mode]: optional #44 + │ │ │ └─ [mode]: optional 'optional_44' #44 │ │ │ └─ item: string #43 enum{ '"insensitive"' } │ │ ├─ variant_6: struct #46 │ │ │ └─ [search]: string #36 │ │ └─ variant_7: struct #47 - │ │ ├─ [endsWith]: optional #37 + │ │ ├─ [endsWith]: optional 'optional_37' #37 │ │ │ └─ item: string #36 - │ │ └─ [startsWith]: optional #37 + │ │ └─ [startsWith]: optional 'optional_37' #37 │ │ └─ item: string #36 │ └─ variant_1: struct #49 │ └─ [not]: union '_string_filter' #48 @@ -844,34 +844,33 @@ root: struct #80 │ ├─ variant_2: struct #40 │ │ └─ [not]: string #36 │ ├─ variant_3: struct #41 - │ │ └─ [in]: list #38 + │ │ └─ [in]: list 'list_38' #38 │ │ └─ item: string #36 │ ├─ variant_4: struct #42 - │ │ └─ [notIn]: list #38 + │ │ └─ [notIn]: list 'list_38' #38 │ │ └─ item: string #36 │ ├─ variant_5: struct #45 │ │ ├─ [contains]: string #36 - │ │ └─ [mode]: optional #44 + │ │ └─ [mode]: optional 'optional_44' #44 │ │ └─ item: string #43 enum{ '"insensitive"' } │ ├─ variant_6: struct #46 │ │ └─ [search]: string #36 │ └─ variant_7: struct #47 - │ ├─ [endsWith]: optional #37 + │ ├─ [endsWith]: optional 'optional_37' #37 │ │ └─ item: string #36 - │ └─ [startsWith]: optional #37 + │ └─ [startsWith]: optional 'optional_37' #37 │ └─ item: string #36 └─ variant_3: struct #76 - └─ [createMany]: optional #75 + └─ [createMany]: optional 'optional_75' #75 └─ item: struct #74 - └─ [data]: list #73 + └─ [data]: list 'list_73' #73 └─ item: union #22 ├─ variant_0: struct '_Post_CreateInput_excluding___rel_Post_User_1' #20 - │ ├─ [id]: optional #19 + │ ├─ [id]: optional 'optional_19' #19 │ │ └─ item: integer #15 │ └─ [title]: string #16 - └─ variant_1: list '_21__Post_CreateInput_excluding___rel_Post_User_1[]' #21 + └─ variant_1: list 'list_21' #21 └─ item: struct '_Post_CreateInput_excluding___rel_Post_User_1' #20 - ├─ [id]: optional #19 + ├─ [id]: optional 'optional_19' #19 │ └─ item: integer #15 └─ [title]: string #16 - diff --git a/src/typegraph/core/src/runtimes/prisma/type_generation/snapshots/typegraph_core__runtimes__prisma__type_generation__test__find_first Post out.snap b/src/typegraph/core/src/runtimes/prisma/type_generation/snapshots/typegraph_core__runtimes__prisma__type_generation__test__find_first Post out.snap index 2ab6add460..85cbf7e0e1 100644 --- a/src/typegraph/core/src/runtimes/prisma/type_generation/snapshots/typegraph_core__runtimes__prisma__type_generation__test__find_first Post out.snap +++ b/src/typegraph/core/src/runtimes/prisma/type_generation/snapshots/typegraph_core__runtimes__prisma__type_generation__test__find_first Post out.snap @@ -1,8 +1,8 @@ --- -source: typegraph/core/src/runtimes/prisma/type_generation/mod.rs +source: src/typegraph/core/src/runtimes/prisma/type_generation/mod.rs expression: tp.print(out) --- -root: optional '_26__PostOutputType?' #26 +root: optional 'optional_26' #26 └─ item: struct '_PostOutputType' #25 ├─ [author]: struct '_UserOutputType_excluding___rel_Post_User_1' #24 │ ├─ [id]: integer #11 diff --git a/src/typegraph/core/src/runtimes/prisma/type_generation/snapshots/typegraph_core__runtimes__prisma__type_generation__test__find_first Record out.snap b/src/typegraph/core/src/runtimes/prisma/type_generation/snapshots/typegraph_core__runtimes__prisma__type_generation__test__find_first Record out.snap index ce23f4ca74..c47d0ae5d5 100644 --- a/src/typegraph/core/src/runtimes/prisma/type_generation/snapshots/typegraph_core__runtimes__prisma__type_generation__test__find_first Record out.snap +++ b/src/typegraph/core/src/runtimes/prisma/type_generation/snapshots/typegraph_core__runtimes__prisma__type_generation__test__find_first Record out.snap @@ -1,8 +1,8 @@ --- -source: typegraph/core/src/runtimes/prisma/type_generation/mod.rs +source: src/typegraph/core/src/runtimes/prisma/type_generation/mod.rs expression: tp.print(out) --- -root: optional '_10__RecordOutputType?' #10 +root: optional 'optional_10' #10 └─ item: struct '_RecordOutputType' #9 ├─ [age]: optional #7 │ └─ item: integer #4 diff --git a/src/typegraph/core/src/runtimes/prisma/type_generation/snapshots/typegraph_core__runtimes__prisma__type_generation__test__find_first User out.snap b/src/typegraph/core/src/runtimes/prisma/type_generation/snapshots/typegraph_core__runtimes__prisma__type_generation__test__find_first User out.snap index 3ca7cfcace..8195bb1dd3 100644 --- a/src/typegraph/core/src/runtimes/prisma/type_generation/snapshots/typegraph_core__runtimes__prisma__type_generation__test__find_first User out.snap +++ b/src/typegraph/core/src/runtimes/prisma/type_generation/snapshots/typegraph_core__runtimes__prisma__type_generation__test__find_first User out.snap @@ -1,12 +1,12 @@ --- -source: typegraph/core/src/runtimes/prisma/type_generation/mod.rs +source: src/typegraph/core/src/runtimes/prisma/type_generation/mod.rs expression: tp.print(out) --- -root: optional '_23__UserOutputType?' #23 +root: optional 'optional_23' #23 └─ item: struct '_UserOutputType' #22 ├─ [id]: integer #11 ├─ [name]: string #12 - └─ [posts]: list '_21__PostOutputType_excluding___rel_Post_User_1[]' #21 + └─ [posts]: list 'list_21' #21 └─ item: struct '_PostOutputType_excluding___rel_Post_User_1' #20 ├─ [id]: integer #16 └─ [title]: string #17 diff --git a/src/typegraph/core/src/runtimes/prisma/type_generation/snapshots/typegraph_core__runtimes__prisma__type_generation__test__find_many Post inp.snap b/src/typegraph/core/src/runtimes/prisma/type_generation/snapshots/typegraph_core__runtimes__prisma__type_generation__test__find_many Post inp.snap index 7b3251ce10..4ab2ade54f 100644 --- a/src/typegraph/core/src/runtimes/prisma/type_generation/snapshots/typegraph_core__runtimes__prisma__type_generation__test__find_many Post inp.snap +++ b/src/typegraph/core/src/runtimes/prisma/type_generation/snapshots/typegraph_core__runtimes__prisma__type_generation__test__find_many Post inp.snap @@ -1,21 +1,21 @@ --- -source: typegraph/core/src/runtimes/prisma/type_generation/mod.rs +source: src/typegraph/core/src/runtimes/prisma/type_generation/mod.rs expression: tp.print(inp) --- root: struct '_Post_QueryInput' #164 -├─ [cursor]: optional '_160__Post_Cursor?' #160 +├─ [cursor]: optional 'optional_160' #160 │ └─ item: union '_Post_Cursor' #159 │ ├─ variant_0: struct #157 │ │ └─ [id]: integer #79 │ └─ variant_1: struct #158 │ └─ [title]: string #80 -├─ [distinct]: optional '_163__KeysOf_Post?' #163 +├─ [distinct]: optional 'optional_163' #163 │ └─ item: list '_KeysOf_Post' #162 │ └─ item: string #161 enum{ '"id"', '"title"', '"author"' } -├─ [orderBy]: optional '_154__Post_OrderBy?' #154 +├─ [orderBy]: optional 'optional_154' #154 │ └─ item: list '_Post_OrderBy' #153 │ └─ item: struct #152 -│ ├─ [author]: optional '_151__User_OrderBy_excluding___rel_Post_User_1?' #151 +│ ├─ [author]: optional 'optional_151' #151 │ │ └─ item: list '_User_OrderBy_excluding___rel_Post_User_1' #150 │ │ └─ item: struct #149 │ │ ├─ [id]: optional '_Sort' #50 @@ -38,23 +38,23 @@ root: struct '_Post_QueryInput' #164 │ ├─ variant_0: struct #48 │ │ └─ [sort]: string '_SortOrder' #46 enum{ '"asc"', '"desc"' } │ └─ variant_1: string '_SortOrder' #46 enum{ '"asc"', '"desc"' } -├─ [skip]: optional '_156__Skip?' #156 +├─ [skip]: optional 'optional_156' #156 │ └─ item: integer '_Skip' #59 -├─ [take]: optional '_155__Take?' #155 +├─ [take]: optional 'optional_155' #155 │ └─ item: integer '_Take' #57 -└─ [where]: optional '_148_QueryPostWhereInput?' #148 +└─ [where]: optional 'optional_148' #148 └─ item: struct 'QueryPostWhereInput' #147 - ├─ [AND]: optional '_145__144_QueryPostWhereInput[]?' #145 - │ └─ item: list '_144_QueryPostWhereInput[]' #144 + ├─ [AND]: optional 'optional_145' #145 + │ └─ item: list 'list_144' #144 │ └─ item: &QueryPostWhereInput #143 - ├─ [NOT]: optional '_146_QueryPostWhereInput?' #146 + ├─ [NOT]: optional 'optional_146' #146 │ └─ item: &QueryPostWhereInput #143 - ├─ [OR]: optional '_145__144_QueryPostWhereInput[]?' #145 - │ └─ item: list '_144_QueryPostWhereInput[]' #144 + ├─ [OR]: optional 'optional_145' #145 + │ └─ item: list 'list_144' #144 │ └─ item: &QueryPostWhereInput #143 - ├─ [author]: optional '_141_UserWhere__skip_82_PostWhere?' #141 + ├─ [author]: optional 'optional_141' #141 │ └─ item: struct 'UserWhere__skip_82_PostWhere' #140 - │ ├─ [id]: optional '_129__integer_filter_c?' #129 + │ ├─ [id]: optional 'optional_129' #129 │ │ └─ item: optional '_integer_filter_c' #36 │ │ └─ item: union #35 │ │ ├─ variant_0: either '_integer_filter' #33 @@ -64,19 +64,19 @@ root: struct '_Post_QueryInput' #164 │ │ │ ├─ variant_2: struct #29 │ │ │ │ └─ [not]: integer #25 │ │ │ ├─ variant_3: struct #30 - │ │ │ │ ├─ [gt]: optional #26 + │ │ │ │ ├─ [gt]: optional 'optional_26' #26 │ │ │ │ │ └─ item: integer #25 - │ │ │ │ ├─ [gte]: optional #26 + │ │ │ │ ├─ [gte]: optional 'optional_26' #26 │ │ │ │ │ └─ item: integer #25 - │ │ │ │ ├─ [lt]: optional #26 + │ │ │ │ ├─ [lt]: optional 'optional_26' #26 │ │ │ │ │ └─ item: integer #25 - │ │ │ │ └─ [lte]: optional #26 + │ │ │ │ └─ [lte]: optional 'optional_26' #26 │ │ │ │ └─ item: integer #25 │ │ │ ├─ variant_4: struct #31 - │ │ │ │ └─ [in]: list #27 + │ │ │ │ └─ [in]: list 'list_27' #27 │ │ │ │ └─ item: integer #25 │ │ │ └─ variant_5: struct #32 - │ │ │ └─ [notIn]: list #27 + │ │ │ └─ [notIn]: list 'list_27' #27 │ │ │ └─ item: integer #25 │ │ └─ variant_1: struct #34 │ │ └─ [not]: either '_integer_filter' #33 @@ -86,21 +86,21 @@ root: struct '_Post_QueryInput' #164 │ │ ├─ variant_2: struct #29 │ │ │ └─ [not]: integer #25 │ │ ├─ variant_3: struct #30 - │ │ │ ├─ [gt]: optional #26 + │ │ │ ├─ [gt]: optional 'optional_26' #26 │ │ │ │ └─ item: integer #25 - │ │ │ ├─ [gte]: optional #26 + │ │ │ ├─ [gte]: optional 'optional_26' #26 │ │ │ │ └─ item: integer #25 - │ │ │ ├─ [lt]: optional #26 + │ │ │ ├─ [lt]: optional 'optional_26' #26 │ │ │ │ └─ item: integer #25 - │ │ │ └─ [lte]: optional #26 + │ │ │ └─ [lte]: optional 'optional_26' #26 │ │ │ └─ item: integer #25 │ │ ├─ variant_4: struct #31 - │ │ │ └─ [in]: list #27 + │ │ │ └─ [in]: list 'list_27' #27 │ │ │ └─ item: integer #25 │ │ └─ variant_5: struct #32 - │ │ └─ [notIn]: list #27 + │ │ └─ [notIn]: list 'list_27' #27 │ │ └─ item: integer #25 - │ ├─ [name]: optional '_130__string_filter_c?' #130 + │ ├─ [name]: optional 'optional_130' #130 │ │ └─ item: optional '_string_filter_c' #22 │ │ └─ item: union #21 │ │ ├─ variant_0: union '_string_filter' #19 @@ -110,21 +110,21 @@ root: struct '_Post_QueryInput' #164 │ │ │ ├─ variant_2: struct #11 │ │ │ │ └─ [not]: string #7 │ │ │ ├─ variant_3: struct #12 - │ │ │ │ └─ [in]: list #9 + │ │ │ │ └─ [in]: list 'list_9' #9 │ │ │ │ └─ item: string #7 │ │ │ ├─ variant_4: struct #13 - │ │ │ │ └─ [notIn]: list #9 + │ │ │ │ └─ [notIn]: list 'list_9' #9 │ │ │ │ └─ item: string #7 │ │ │ ├─ variant_5: struct #16 │ │ │ │ ├─ [contains]: string #7 - │ │ │ │ └─ [mode]: optional #15 + │ │ │ │ └─ [mode]: optional 'optional_15' #15 │ │ │ │ └─ item: string #14 enum{ '"insensitive"' } │ │ │ ├─ variant_6: struct #17 │ │ │ │ └─ [search]: string #7 │ │ │ └─ variant_7: struct #18 - │ │ │ ├─ [endsWith]: optional #8 + │ │ │ ├─ [endsWith]: optional 'optional_8' #8 │ │ │ │ └─ item: string #7 - │ │ │ └─ [startsWith]: optional #8 + │ │ │ └─ [startsWith]: optional 'optional_8' #8 │ │ │ └─ item: string #7 │ │ └─ variant_1: struct #20 │ │ └─ [not]: union '_string_filter' #19 @@ -134,34 +134,34 @@ root: struct '_Post_QueryInput' #164 │ │ ├─ variant_2: struct #11 │ │ │ └─ [not]: string #7 │ │ ├─ variant_3: struct #12 - │ │ │ └─ [in]: list #9 + │ │ │ └─ [in]: list 'list_9' #9 │ │ │ └─ item: string #7 │ │ ├─ variant_4: struct #13 - │ │ │ └─ [notIn]: list #9 + │ │ │ └─ [notIn]: list 'list_9' #9 │ │ │ └─ item: string #7 │ │ ├─ variant_5: struct #16 │ │ │ ├─ [contains]: string #7 - │ │ │ └─ [mode]: optional #15 + │ │ │ └─ [mode]: optional 'optional_15' #15 │ │ │ └─ item: string #14 enum{ '"insensitive"' } │ │ ├─ variant_6: struct #17 │ │ │ └─ [search]: string #7 │ │ └─ variant_7: struct #18 - │ │ ├─ [endsWith]: optional #8 + │ │ ├─ [endsWith]: optional 'optional_8' #8 │ │ │ └─ item: string #7 - │ │ └─ [startsWith]: optional #8 + │ │ └─ [startsWith]: optional 'optional_8' #8 │ │ └─ item: string #7 - │ └─ [posts]: optional #139 + │ └─ [posts]: optional 'optional_139' #139 │ └─ item: union #138 │ ├─ variant_0: struct #133 - │ │ └─ [every]: optional '_132_PostWhere?' #132 + │ │ └─ [every]: optional 'optional_132' #132 │ │ └─ item: &PostWhere #131 │ ├─ variant_1: struct #135 - │ │ └─ [some]: optional '_134_PostWhere?' #134 + │ │ └─ [some]: optional 'optional_134' #134 │ │ └─ item: &PostWhere #131 │ └─ variant_2: struct #137 - │ └─ [none]: optional '_136_PostWhere?' #136 + │ └─ [none]: optional 'optional_136' #136 │ └─ item: &PostWhere #131 - ├─ [id]: optional '_127__integer_filter_c?' #127 + ├─ [id]: optional 'optional_127' #127 │ └─ item: optional '_integer_filter_c' #36 │ └─ item: union #35 │ ├─ variant_0: either '_integer_filter' #33 @@ -171,19 +171,19 @@ root: struct '_Post_QueryInput' #164 │ │ ├─ variant_2: struct #29 │ │ │ └─ [not]: integer #25 │ │ ├─ variant_3: struct #30 - │ │ │ ├─ [gt]: optional #26 + │ │ │ ├─ [gt]: optional 'optional_26' #26 │ │ │ │ └─ item: integer #25 - │ │ │ ├─ [gte]: optional #26 + │ │ │ ├─ [gte]: optional 'optional_26' #26 │ │ │ │ └─ item: integer #25 - │ │ │ ├─ [lt]: optional #26 + │ │ │ ├─ [lt]: optional 'optional_26' #26 │ │ │ │ └─ item: integer #25 - │ │ │ └─ [lte]: optional #26 + │ │ │ └─ [lte]: optional 'optional_26' #26 │ │ │ └─ item: integer #25 │ │ ├─ variant_4: struct #31 - │ │ │ └─ [in]: list #27 + │ │ │ └─ [in]: list 'list_27' #27 │ │ │ └─ item: integer #25 │ │ └─ variant_5: struct #32 - │ │ └─ [notIn]: list #27 + │ │ └─ [notIn]: list 'list_27' #27 │ │ └─ item: integer #25 │ └─ variant_1: struct #34 │ └─ [not]: either '_integer_filter' #33 @@ -193,21 +193,21 @@ root: struct '_Post_QueryInput' #164 │ ├─ variant_2: struct #29 │ │ └─ [not]: integer #25 │ ├─ variant_3: struct #30 - │ │ ├─ [gt]: optional #26 + │ │ ├─ [gt]: optional 'optional_26' #26 │ │ │ └─ item: integer #25 - │ │ ├─ [gte]: optional #26 + │ │ ├─ [gte]: optional 'optional_26' #26 │ │ │ └─ item: integer #25 - │ │ ├─ [lt]: optional #26 + │ │ ├─ [lt]: optional 'optional_26' #26 │ │ │ └─ item: integer #25 - │ │ └─ [lte]: optional #26 + │ │ └─ [lte]: optional 'optional_26' #26 │ │ └─ item: integer #25 │ ├─ variant_4: struct #31 - │ │ └─ [in]: list #27 + │ │ └─ [in]: list 'list_27' #27 │ │ └─ item: integer #25 │ └─ variant_5: struct #32 - │ └─ [notIn]: list #27 + │ └─ [notIn]: list 'list_27' #27 │ └─ item: integer #25 - └─ [title]: optional '_128__string_filter_c?' #128 + └─ [title]: optional 'optional_128' #128 └─ item: optional '_string_filter_c' #22 └─ item: union #21 ├─ variant_0: union '_string_filter' #19 @@ -217,21 +217,21 @@ root: struct '_Post_QueryInput' #164 │ ├─ variant_2: struct #11 │ │ └─ [not]: string #7 │ ├─ variant_3: struct #12 - │ │ └─ [in]: list #9 + │ │ └─ [in]: list 'list_9' #9 │ │ └─ item: string #7 │ ├─ variant_4: struct #13 - │ │ └─ [notIn]: list #9 + │ │ └─ [notIn]: list 'list_9' #9 │ │ └─ item: string #7 │ ├─ variant_5: struct #16 │ │ ├─ [contains]: string #7 - │ │ └─ [mode]: optional #15 + │ │ └─ [mode]: optional 'optional_15' #15 │ │ └─ item: string #14 enum{ '"insensitive"' } │ ├─ variant_6: struct #17 │ │ └─ [search]: string #7 │ └─ variant_7: struct #18 - │ ├─ [endsWith]: optional #8 + │ ├─ [endsWith]: optional 'optional_8' #8 │ │ └─ item: string #7 - │ └─ [startsWith]: optional #8 + │ └─ [startsWith]: optional 'optional_8' #8 │ └─ item: string #7 └─ variant_1: struct #20 └─ [not]: union '_string_filter' #19 @@ -241,20 +241,19 @@ root: struct '_Post_QueryInput' #164 ├─ variant_2: struct #11 │ └─ [not]: string #7 ├─ variant_3: struct #12 - │ └─ [in]: list #9 + │ └─ [in]: list 'list_9' #9 │ └─ item: string #7 ├─ variant_4: struct #13 - │ └─ [notIn]: list #9 + │ └─ [notIn]: list 'list_9' #9 │ └─ item: string #7 ├─ variant_5: struct #16 │ ├─ [contains]: string #7 - │ └─ [mode]: optional #15 + │ └─ [mode]: optional 'optional_15' #15 │ └─ item: string #14 enum{ '"insensitive"' } ├─ variant_6: struct #17 │ └─ [search]: string #7 └─ variant_7: struct #18 - ├─ [endsWith]: optional #8 + ├─ [endsWith]: optional 'optional_8' #8 │ └─ item: string #7 - └─ [startsWith]: optional #8 + └─ [startsWith]: optional 'optional_8' #8 └─ item: string #7 - diff --git a/src/typegraph/core/src/runtimes/prisma/type_generation/snapshots/typegraph_core__runtimes__prisma__type_generation__test__find_many Post out.snap b/src/typegraph/core/src/runtimes/prisma/type_generation/snapshots/typegraph_core__runtimes__prisma__type_generation__test__find_many Post out.snap index 5f8639c820..6d1382e552 100644 --- a/src/typegraph/core/src/runtimes/prisma/type_generation/snapshots/typegraph_core__runtimes__prisma__type_generation__test__find_many Post out.snap +++ b/src/typegraph/core/src/runtimes/prisma/type_generation/snapshots/typegraph_core__runtimes__prisma__type_generation__test__find_many Post out.snap @@ -1,8 +1,8 @@ --- -source: typegraph/core/src/runtimes/prisma/type_generation/mod.rs +source: src/typegraph/core/src/runtimes/prisma/type_generation/mod.rs expression: tp.print(out) --- -root: list '_171_PostWithNestedCount[]' #171 +root: list 'list_171' #171 └─ item: struct 'PostWithNestedCount' #170 ├─ [author]: struct #169 │ ├─ [id]: integer #74 @@ -17,4 +17,3 @@ root: list '_171_PostWithNestedCount[]' #171 │ └─ [title]: string #80 ├─ [id]: integer #79 └─ [title]: string #80 - diff --git a/src/typegraph/core/src/runtimes/prisma/type_generation/snapshots/typegraph_core__runtimes__prisma__type_generation__test__find_many Record inp.snap b/src/typegraph/core/src/runtimes/prisma/type_generation/snapshots/typegraph_core__runtimes__prisma__type_generation__test__find_many Record inp.snap index 1ee0cf259d..4f47a7220d 100644 --- a/src/typegraph/core/src/runtimes/prisma/type_generation/snapshots/typegraph_core__runtimes__prisma__type_generation__test__find_many Record inp.snap +++ b/src/typegraph/core/src/runtimes/prisma/type_generation/snapshots/typegraph_core__runtimes__prisma__type_generation__test__find_many Record inp.snap @@ -1,9 +1,9 @@ --- -source: typegraph/core/src/runtimes/prisma/type_generation/mod.rs +source: src/typegraph/core/src/runtimes/prisma/type_generation/mod.rs expression: tp.print(inp) --- root: struct '_Record_QueryInput' #70 -├─ [cursor]: optional '_66__Record_Cursor?' #66 +├─ [cursor]: optional 'optional_66' #66 │ └─ item: union '_Record_Cursor' #65 │ ├─ variant_0: struct #61 │ │ └─ [id]: string #2 @@ -13,10 +13,10 @@ root: struct '_Record_QueryInput' #70 │ │ └─ [age]: integer #4 │ └─ variant_3: struct #64 │ └─ [created_at]: string #1 -├─ [distinct]: optional '_69__KeysOf_Record?' #69 +├─ [distinct]: optional 'optional_69' #69 │ └─ item: list '_KeysOf_Record' #68 │ └─ item: string #67 enum{ '"id"', '"name"', '"age"', '"created_at"' } -├─ [orderBy]: optional '_56__Record_OrderBy?' #56 +├─ [orderBy]: optional 'optional_56' #56 │ └─ item: list '_Record_OrderBy' #55 │ └─ item: struct #54 │ ├─ [age]: optional '_Sort_nullable' #53 @@ -40,21 +40,21 @@ root: struct '_Record_QueryInput' #70 │ ├─ variant_0: struct #48 │ │ └─ [sort]: string '_SortOrder' #46 enum{ '"asc"', '"desc"' } │ └─ variant_1: string '_SortOrder' #46 enum{ '"asc"', '"desc"' } -├─ [skip]: optional '_60__Skip?' #60 +├─ [skip]: optional 'optional_60' #60 │ └─ item: integer '_Skip' #59 -├─ [take]: optional '_58__Take?' #58 +├─ [take]: optional 'optional_58' #58 │ └─ item: integer '_Take' #57 -└─ [where]: optional '_45_QueryRecordWhereInput?' #45 +└─ [where]: optional 'optional_45' #45 └─ item: struct 'QueryRecordWhereInput' #44 - ├─ [AND]: optional '_42__41_QueryRecordWhereInput[]?' #42 - │ └─ item: list '_41_QueryRecordWhereInput[]' #41 + ├─ [AND]: optional 'optional_42' #42 + │ └─ item: list 'list_41' #41 │ └─ item: &QueryRecordWhereInput #40 - ├─ [NOT]: optional '_43_QueryRecordWhereInput?' #43 + ├─ [NOT]: optional 'optional_43' #43 │ └─ item: &QueryRecordWhereInput #40 - ├─ [OR]: optional '_42__41_QueryRecordWhereInput[]?' #42 - │ └─ item: list '_41_QueryRecordWhereInput[]' #41 + ├─ [OR]: optional 'optional_42' #42 + │ └─ item: list 'list_41' #41 │ └─ item: &QueryRecordWhereInput #40 - ├─ [age]: optional '_37__integer_filter_c?' #37 + ├─ [age]: optional 'optional_37' #37 │ └─ item: optional '_integer_filter_c' #36 │ └─ item: union #35 │ ├─ variant_0: either '_integer_filter' #33 @@ -64,19 +64,19 @@ root: struct '_Record_QueryInput' #70 │ │ ├─ variant_2: struct #29 │ │ │ └─ [not]: integer #25 │ │ ├─ variant_3: struct #30 - │ │ │ ├─ [gt]: optional #26 + │ │ │ ├─ [gt]: optional 'optional_26' #26 │ │ │ │ └─ item: integer #25 - │ │ │ ├─ [gte]: optional #26 + │ │ │ ├─ [gte]: optional 'optional_26' #26 │ │ │ │ └─ item: integer #25 - │ │ │ ├─ [lt]: optional #26 + │ │ │ ├─ [lt]: optional 'optional_26' #26 │ │ │ │ └─ item: integer #25 - │ │ │ └─ [lte]: optional #26 + │ │ │ └─ [lte]: optional 'optional_26' #26 │ │ │ └─ item: integer #25 │ │ ├─ variant_4: struct #31 - │ │ │ └─ [in]: list #27 + │ │ │ └─ [in]: list 'list_27' #27 │ │ │ └─ item: integer #25 │ │ └─ variant_5: struct #32 - │ │ └─ [notIn]: list #27 + │ │ └─ [notIn]: list 'list_27' #27 │ │ └─ item: integer #25 │ └─ variant_1: struct #34 │ └─ [not]: either '_integer_filter' #33 @@ -86,21 +86,21 @@ root: struct '_Record_QueryInput' #70 │ ├─ variant_2: struct #29 │ │ └─ [not]: integer #25 │ ├─ variant_3: struct #30 - │ │ ├─ [gt]: optional #26 + │ │ ├─ [gt]: optional 'optional_26' #26 │ │ │ └─ item: integer #25 - │ │ ├─ [gte]: optional #26 + │ │ ├─ [gte]: optional 'optional_26' #26 │ │ │ └─ item: integer #25 - │ │ ├─ [lt]: optional #26 + │ │ ├─ [lt]: optional 'optional_26' #26 │ │ │ └─ item: integer #25 - │ │ └─ [lte]: optional #26 + │ │ └─ [lte]: optional 'optional_26' #26 │ │ └─ item: integer #25 │ ├─ variant_4: struct #31 - │ │ └─ [in]: list #27 + │ │ └─ [in]: list 'list_27' #27 │ │ └─ item: integer #25 │ └─ variant_5: struct #32 - │ └─ [notIn]: list #27 + │ └─ [notIn]: list 'list_27' #27 │ └─ item: integer #25 - ├─ [created_at]: optional '_38__string_filter_c?' #38 + ├─ [created_at]: optional 'optional_38' #38 │ └─ item: optional '_string_filter_c' #22 │ └─ item: union #21 │ ├─ variant_0: union '_string_filter' #19 @@ -110,21 +110,21 @@ root: struct '_Record_QueryInput' #70 │ │ ├─ variant_2: struct #11 │ │ │ └─ [not]: string #7 │ │ ├─ variant_3: struct #12 - │ │ │ └─ [in]: list #9 + │ │ │ └─ [in]: list 'list_9' #9 │ │ │ └─ item: string #7 │ │ ├─ variant_4: struct #13 - │ │ │ └─ [notIn]: list #9 + │ │ │ └─ [notIn]: list 'list_9' #9 │ │ │ └─ item: string #7 │ │ ├─ variant_5: struct #16 │ │ │ ├─ [contains]: string #7 - │ │ │ └─ [mode]: optional #15 + │ │ │ └─ [mode]: optional 'optional_15' #15 │ │ │ └─ item: string #14 enum{ '"insensitive"' } │ │ ├─ variant_6: struct #17 │ │ │ └─ [search]: string #7 │ │ └─ variant_7: struct #18 - │ │ ├─ [endsWith]: optional #8 + │ │ ├─ [endsWith]: optional 'optional_8' #8 │ │ │ └─ item: string #7 - │ │ └─ [startsWith]: optional #8 + │ │ └─ [startsWith]: optional 'optional_8' #8 │ │ └─ item: string #7 │ └─ variant_1: struct #20 │ └─ [not]: union '_string_filter' #19 @@ -134,23 +134,23 @@ root: struct '_Record_QueryInput' #70 │ ├─ variant_2: struct #11 │ │ └─ [not]: string #7 │ ├─ variant_3: struct #12 - │ │ └─ [in]: list #9 + │ │ └─ [in]: list 'list_9' #9 │ │ └─ item: string #7 │ ├─ variant_4: struct #13 - │ │ └─ [notIn]: list #9 + │ │ └─ [notIn]: list 'list_9' #9 │ │ └─ item: string #7 │ ├─ variant_5: struct #16 │ │ ├─ [contains]: string #7 - │ │ └─ [mode]: optional #15 + │ │ └─ [mode]: optional 'optional_15' #15 │ │ └─ item: string #14 enum{ '"insensitive"' } │ ├─ variant_6: struct #17 │ │ └─ [search]: string #7 │ └─ variant_7: struct #18 - │ ├─ [endsWith]: optional #8 + │ ├─ [endsWith]: optional 'optional_8' #8 │ │ └─ item: string #7 - │ └─ [startsWith]: optional #8 + │ └─ [startsWith]: optional 'optional_8' #8 │ └─ item: string #7 - ├─ [id]: optional '_23__string_filter_c?' #23 + ├─ [id]: optional 'optional_23' #23 │ └─ item: optional '_string_filter_c' #22 │ └─ item: union #21 │ ├─ variant_0: union '_string_filter' #19 @@ -160,21 +160,21 @@ root: struct '_Record_QueryInput' #70 │ │ ├─ variant_2: struct #11 │ │ │ └─ [not]: string #7 │ │ ├─ variant_3: struct #12 - │ │ │ └─ [in]: list #9 + │ │ │ └─ [in]: list 'list_9' #9 │ │ │ └─ item: string #7 │ │ ├─ variant_4: struct #13 - │ │ │ └─ [notIn]: list #9 + │ │ │ └─ [notIn]: list 'list_9' #9 │ │ │ └─ item: string #7 │ │ ├─ variant_5: struct #16 │ │ │ ├─ [contains]: string #7 - │ │ │ └─ [mode]: optional #15 + │ │ │ └─ [mode]: optional 'optional_15' #15 │ │ │ └─ item: string #14 enum{ '"insensitive"' } │ │ ├─ variant_6: struct #17 │ │ │ └─ [search]: string #7 │ │ └─ variant_7: struct #18 - │ │ ├─ [endsWith]: optional #8 + │ │ ├─ [endsWith]: optional 'optional_8' #8 │ │ │ └─ item: string #7 - │ │ └─ [startsWith]: optional #8 + │ │ └─ [startsWith]: optional 'optional_8' #8 │ │ └─ item: string #7 │ └─ variant_1: struct #20 │ └─ [not]: union '_string_filter' #19 @@ -184,23 +184,23 @@ root: struct '_Record_QueryInput' #70 │ ├─ variant_2: struct #11 │ │ └─ [not]: string #7 │ ├─ variant_3: struct #12 - │ │ └─ [in]: list #9 + │ │ └─ [in]: list 'list_9' #9 │ │ └─ item: string #7 │ ├─ variant_4: struct #13 - │ │ └─ [notIn]: list #9 + │ │ └─ [notIn]: list 'list_9' #9 │ │ └─ item: string #7 │ ├─ variant_5: struct #16 │ │ ├─ [contains]: string #7 - │ │ └─ [mode]: optional #15 + │ │ └─ [mode]: optional 'optional_15' #15 │ │ └─ item: string #14 enum{ '"insensitive"' } │ ├─ variant_6: struct #17 │ │ └─ [search]: string #7 │ └─ variant_7: struct #18 - │ ├─ [endsWith]: optional #8 + │ ├─ [endsWith]: optional 'optional_8' #8 │ │ └─ item: string #7 - │ └─ [startsWith]: optional #8 + │ └─ [startsWith]: optional 'optional_8' #8 │ └─ item: string #7 - └─ [name]: optional '_24__string_filter_c?' #24 + └─ [name]: optional 'optional_24' #24 └─ item: optional '_string_filter_c' #22 └─ item: union #21 ├─ variant_0: union '_string_filter' #19 @@ -210,21 +210,21 @@ root: struct '_Record_QueryInput' #70 │ ├─ variant_2: struct #11 │ │ └─ [not]: string #7 │ ├─ variant_3: struct #12 - │ │ └─ [in]: list #9 + │ │ └─ [in]: list 'list_9' #9 │ │ └─ item: string #7 │ ├─ variant_4: struct #13 - │ │ └─ [notIn]: list #9 + │ │ └─ [notIn]: list 'list_9' #9 │ │ └─ item: string #7 │ ├─ variant_5: struct #16 │ │ ├─ [contains]: string #7 - │ │ └─ [mode]: optional #15 + │ │ └─ [mode]: optional 'optional_15' #15 │ │ └─ item: string #14 enum{ '"insensitive"' } │ ├─ variant_6: struct #17 │ │ └─ [search]: string #7 │ └─ variant_7: struct #18 - │ ├─ [endsWith]: optional #8 + │ ├─ [endsWith]: optional 'optional_8' #8 │ │ └─ item: string #7 - │ └─ [startsWith]: optional #8 + │ └─ [startsWith]: optional 'optional_8' #8 │ └─ item: string #7 └─ variant_1: struct #20 └─ [not]: union '_string_filter' #19 @@ -234,20 +234,19 @@ root: struct '_Record_QueryInput' #70 ├─ variant_2: struct #11 │ └─ [not]: string #7 ├─ variant_3: struct #12 - │ └─ [in]: list #9 + │ └─ [in]: list 'list_9' #9 │ └─ item: string #7 ├─ variant_4: struct #13 - │ └─ [notIn]: list #9 + │ └─ [notIn]: list 'list_9' #9 │ └─ item: string #7 ├─ variant_5: struct #16 │ ├─ [contains]: string #7 - │ └─ [mode]: optional #15 + │ └─ [mode]: optional 'optional_15' #15 │ └─ item: string #14 enum{ '"insensitive"' } ├─ variant_6: struct #17 │ └─ [search]: string #7 └─ variant_7: struct #18 - ├─ [endsWith]: optional #8 + ├─ [endsWith]: optional 'optional_8' #8 │ └─ item: string #7 - └─ [startsWith]: optional #8 + └─ [startsWith]: optional 'optional_8' #8 └─ item: string #7 - diff --git a/src/typegraph/core/src/runtimes/prisma/type_generation/snapshots/typegraph_core__runtimes__prisma__type_generation__test__find_many Record out.snap b/src/typegraph/core/src/runtimes/prisma/type_generation/snapshots/typegraph_core__runtimes__prisma__type_generation__test__find_many Record out.snap index 2691ffc60a..13f642953d 100644 --- a/src/typegraph/core/src/runtimes/prisma/type_generation/snapshots/typegraph_core__runtimes__prisma__type_generation__test__find_many Record out.snap +++ b/src/typegraph/core/src/runtimes/prisma/type_generation/snapshots/typegraph_core__runtimes__prisma__type_generation__test__find_many Record out.snap @@ -1,12 +1,11 @@ --- -source: typegraph/core/src/runtimes/prisma/type_generation/mod.rs +source: src/typegraph/core/src/runtimes/prisma/type_generation/mod.rs expression: tp.print(out) --- -root: list '_73_RecordWithNestedCount[]' #73 +root: list 'list_73' #73 └─ item: struct 'RecordWithNestedCount' #72 - ├─ [age]: optional #5 + ├─ [age]: optional 'optional_5' #5 │ └─ item: integer #4 ├─ [created_at]: string #71 ├─ [id]: string #2 └─ [name]: string #3 - diff --git a/src/typegraph/core/src/runtimes/prisma/type_generation/snapshots/typegraph_core__runtimes__prisma__type_generation__test__find_many User inp.snap b/src/typegraph/core/src/runtimes/prisma/type_generation/snapshots/typegraph_core__runtimes__prisma__type_generation__test__find_many User inp.snap index cd649180c4..49d97b1c1c 100644 --- a/src/typegraph/core/src/runtimes/prisma/type_generation/snapshots/typegraph_core__runtimes__prisma__type_generation__test__find_many User inp.snap +++ b/src/typegraph/core/src/runtimes/prisma/type_generation/snapshots/typegraph_core__runtimes__prisma__type_generation__test__find_many User inp.snap @@ -1,18 +1,18 @@ --- -source: typegraph/core/src/runtimes/prisma/type_generation/mod.rs +source: src/typegraph/core/src/runtimes/prisma/type_generation/mod.rs expression: tp.print(inp) --- root: struct '_User_QueryInput' #119 -├─ [cursor]: optional '_115__User_Cursor?' #115 +├─ [cursor]: optional 'optional_115' #115 │ └─ item: union '_User_Cursor' #114 │ ├─ variant_0: struct #112 │ │ └─ [id]: integer #74 │ └─ variant_1: struct #113 │ └─ [name]: string #75 -├─ [distinct]: optional '_118__KeysOf_User?' #118 +├─ [distinct]: optional 'optional_118' #118 │ └─ item: list '_KeysOf_User' #117 │ └─ item: string #116 enum{ '"id"', '"name"', '"posts"' } -├─ [orderBy]: optional '_109__User_OrderBy?' #109 +├─ [orderBy]: optional 'optional_109' #109 │ └─ item: list '_User_OrderBy' #108 │ └─ item: struct #107 │ ├─ [id]: optional '_Sort' #50 @@ -52,21 +52,21 @@ root: struct '_User_QueryInput' #119 │ ├─ variant_0: struct #48 │ │ └─ [sort]: string '_SortOrder' #46 enum{ '"asc"', '"desc"' } │ └─ variant_1: string '_SortOrder' #46 enum{ '"asc"', '"desc"' } -├─ [skip]: optional '_111__Skip?' #111 +├─ [skip]: optional 'optional_111' #111 │ └─ item: integer '_Skip' #59 -├─ [take]: optional '_110__Take?' #110 +├─ [take]: optional 'optional_110' #110 │ └─ item: integer '_Take' #57 -└─ [where]: optional '_104_QueryUserWhereInput?' #104 +└─ [where]: optional 'optional_104' #104 └─ item: struct 'QueryUserWhereInput' #103 - ├─ [AND]: optional '_101__100_QueryUserWhereInput[]?' #101 - │ └─ item: list '_100_QueryUserWhereInput[]' #100 + ├─ [AND]: optional 'optional_101' #101 + │ └─ item: list 'list_100' #100 │ └─ item: &QueryUserWhereInput #99 - ├─ [NOT]: optional '_102_QueryUserWhereInput?' #102 + ├─ [NOT]: optional 'optional_102' #102 │ └─ item: &QueryUserWhereInput #99 - ├─ [OR]: optional '_101__100_QueryUserWhereInput[]?' #101 - │ └─ item: list '_100_QueryUserWhereInput[]' #100 + ├─ [OR]: optional 'optional_101' #101 + │ └─ item: list 'list_100' #100 │ └─ item: &QueryUserWhereInput #99 - ├─ [id]: optional '_83__integer_filter_c?' #83 + ├─ [id]: optional 'optional_83' #83 │ └─ item: optional '_integer_filter_c' #36 │ └─ item: union #35 │ ├─ variant_0: either '_integer_filter' #33 @@ -76,19 +76,19 @@ root: struct '_User_QueryInput' #119 │ │ ├─ variant_2: struct #29 │ │ │ └─ [not]: integer #25 │ │ ├─ variant_3: struct #30 - │ │ │ ├─ [gt]: optional #26 + │ │ │ ├─ [gt]: optional 'optional_26' #26 │ │ │ │ └─ item: integer #25 - │ │ │ ├─ [gte]: optional #26 + │ │ │ ├─ [gte]: optional 'optional_26' #26 │ │ │ │ └─ item: integer #25 - │ │ │ ├─ [lt]: optional #26 + │ │ │ ├─ [lt]: optional 'optional_26' #26 │ │ │ │ └─ item: integer #25 - │ │ │ └─ [lte]: optional #26 + │ │ │ └─ [lte]: optional 'optional_26' #26 │ │ │ └─ item: integer #25 │ │ ├─ variant_4: struct #31 - │ │ │ └─ [in]: list #27 + │ │ │ └─ [in]: list 'list_27' #27 │ │ │ └─ item: integer #25 │ │ └─ variant_5: struct #32 - │ │ └─ [notIn]: list #27 + │ │ └─ [notIn]: list 'list_27' #27 │ │ └─ item: integer #25 │ └─ variant_1: struct #34 │ └─ [not]: either '_integer_filter' #33 @@ -98,21 +98,21 @@ root: struct '_User_QueryInput' #119 │ ├─ variant_2: struct #29 │ │ └─ [not]: integer #25 │ ├─ variant_3: struct #30 - │ │ ├─ [gt]: optional #26 + │ │ ├─ [gt]: optional 'optional_26' #26 │ │ │ └─ item: integer #25 - │ │ ├─ [gte]: optional #26 + │ │ ├─ [gte]: optional 'optional_26' #26 │ │ │ └─ item: integer #25 - │ │ ├─ [lt]: optional #26 + │ │ ├─ [lt]: optional 'optional_26' #26 │ │ │ └─ item: integer #25 - │ │ └─ [lte]: optional #26 + │ │ └─ [lte]: optional 'optional_26' #26 │ │ └─ item: integer #25 │ ├─ variant_4: struct #31 - │ │ └─ [in]: list #27 + │ │ └─ [in]: list 'list_27' #27 │ │ └─ item: integer #25 │ └─ variant_5: struct #32 - │ └─ [notIn]: list #27 + │ └─ [notIn]: list 'list_27' #27 │ └─ item: integer #25 - ├─ [name]: optional '_84__string_filter_c?' #84 + ├─ [name]: optional 'optional_84' #84 │ └─ item: optional '_string_filter_c' #22 │ └─ item: union #21 │ ├─ variant_0: union '_string_filter' #19 @@ -122,21 +122,21 @@ root: struct '_User_QueryInput' #119 │ │ ├─ variant_2: struct #11 │ │ │ └─ [not]: string #7 │ │ ├─ variant_3: struct #12 - │ │ │ └─ [in]: list #9 + │ │ │ └─ [in]: list 'list_9' #9 │ │ │ └─ item: string #7 │ │ ├─ variant_4: struct #13 - │ │ │ └─ [notIn]: list #9 + │ │ │ └─ [notIn]: list 'list_9' #9 │ │ │ └─ item: string #7 │ │ ├─ variant_5: struct #16 │ │ │ ├─ [contains]: string #7 - │ │ │ └─ [mode]: optional #15 + │ │ │ └─ [mode]: optional 'optional_15' #15 │ │ │ └─ item: string #14 enum{ '"insensitive"' } │ │ ├─ variant_6: struct #17 │ │ │ └─ [search]: string #7 │ │ └─ variant_7: struct #18 - │ │ ├─ [endsWith]: optional #8 + │ │ ├─ [endsWith]: optional 'optional_8' #8 │ │ │ └─ item: string #7 - │ │ └─ [startsWith]: optional #8 + │ │ └─ [startsWith]: optional 'optional_8' #8 │ │ └─ item: string #7 │ └─ variant_1: struct #20 │ └─ [not]: union '_string_filter' #19 @@ -146,30 +146,30 @@ root: struct '_User_QueryInput' #119 │ ├─ variant_2: struct #11 │ │ └─ [not]: string #7 │ ├─ variant_3: struct #12 - │ │ └─ [in]: list #9 + │ │ └─ [in]: list 'list_9' #9 │ │ └─ item: string #7 │ ├─ variant_4: struct #13 - │ │ └─ [notIn]: list #9 + │ │ └─ [notIn]: list 'list_9' #9 │ │ └─ item: string #7 │ ├─ variant_5: struct #16 │ │ ├─ [contains]: string #7 - │ │ └─ [mode]: optional #15 + │ │ └─ [mode]: optional 'optional_15' #15 │ │ └─ item: string #14 enum{ '"insensitive"' } │ ├─ variant_6: struct #17 │ │ └─ [search]: string #7 │ └─ variant_7: struct #18 - │ ├─ [endsWith]: optional #8 + │ ├─ [endsWith]: optional 'optional_8' #8 │ │ └─ item: string #7 - │ └─ [startsWith]: optional #8 + │ └─ [startsWith]: optional 'optional_8' #8 │ └─ item: string #7 - └─ [posts]: optional #97 + └─ [posts]: optional 'optional_97' #97 └─ item: union #96 ├─ variant_0: struct #91 - │ └─ [every]: optional '_90_PostWhere__skip_78_UserWhere?' #90 + │ └─ [every]: optional 'optional_90' #90 │ └─ item: struct 'PostWhere__skip_78_UserWhere' #89 - │ ├─ [author]: optional '_88_UserWhere?' #88 + │ ├─ [author]: optional 'optional_88' #88 │ │ └─ item: &UserWhere #87 - │ ├─ [id]: optional '_85__integer_filter_c?' #85 + │ ├─ [id]: optional 'optional_85' #85 │ │ └─ item: optional '_integer_filter_c' #36 │ │ └─ item: union #35 │ │ ├─ variant_0: either '_integer_filter' #33 @@ -179,19 +179,19 @@ root: struct '_User_QueryInput' #119 │ │ │ ├─ variant_2: struct #29 │ │ │ │ └─ [not]: integer #25 │ │ │ ├─ variant_3: struct #30 - │ │ │ │ ├─ [gt]: optional #26 + │ │ │ │ ├─ [gt]: optional 'optional_26' #26 │ │ │ │ │ └─ item: integer #25 - │ │ │ │ ├─ [gte]: optional #26 + │ │ │ │ ├─ [gte]: optional 'optional_26' #26 │ │ │ │ │ └─ item: integer #25 - │ │ │ │ ├─ [lt]: optional #26 + │ │ │ │ ├─ [lt]: optional 'optional_26' #26 │ │ │ │ │ └─ item: integer #25 - │ │ │ │ └─ [lte]: optional #26 + │ │ │ │ └─ [lte]: optional 'optional_26' #26 │ │ │ │ └─ item: integer #25 │ │ │ ├─ variant_4: struct #31 - │ │ │ │ └─ [in]: list #27 + │ │ │ │ └─ [in]: list 'list_27' #27 │ │ │ │ └─ item: integer #25 │ │ │ └─ variant_5: struct #32 - │ │ │ └─ [notIn]: list #27 + │ │ │ └─ [notIn]: list 'list_27' #27 │ │ │ └─ item: integer #25 │ │ └─ variant_1: struct #34 │ │ └─ [not]: either '_integer_filter' #33 @@ -201,21 +201,21 @@ root: struct '_User_QueryInput' #119 │ │ ├─ variant_2: struct #29 │ │ │ └─ [not]: integer #25 │ │ ├─ variant_3: struct #30 - │ │ │ ├─ [gt]: optional #26 + │ │ │ ├─ [gt]: optional 'optional_26' #26 │ │ │ │ └─ item: integer #25 - │ │ │ ├─ [gte]: optional #26 + │ │ │ ├─ [gte]: optional 'optional_26' #26 │ │ │ │ └─ item: integer #25 - │ │ │ ├─ [lt]: optional #26 + │ │ │ ├─ [lt]: optional 'optional_26' #26 │ │ │ │ └─ item: integer #25 - │ │ │ └─ [lte]: optional #26 + │ │ │ └─ [lte]: optional 'optional_26' #26 │ │ │ └─ item: integer #25 │ │ ├─ variant_4: struct #31 - │ │ │ └─ [in]: list #27 + │ │ │ └─ [in]: list 'list_27' #27 │ │ │ └─ item: integer #25 │ │ └─ variant_5: struct #32 - │ │ └─ [notIn]: list #27 + │ │ └─ [notIn]: list 'list_27' #27 │ │ └─ item: integer #25 - │ └─ [title]: optional '_86__string_filter_c?' #86 + │ └─ [title]: optional 'optional_86' #86 │ └─ item: optional '_string_filter_c' #22 │ └─ item: union #21 │ ├─ variant_0: union '_string_filter' #19 @@ -225,21 +225,21 @@ root: struct '_User_QueryInput' #119 │ │ ├─ variant_2: struct #11 │ │ │ └─ [not]: string #7 │ │ ├─ variant_3: struct #12 - │ │ │ └─ [in]: list #9 + │ │ │ └─ [in]: list 'list_9' #9 │ │ │ └─ item: string #7 │ │ ├─ variant_4: struct #13 - │ │ │ └─ [notIn]: list #9 + │ │ │ └─ [notIn]: list 'list_9' #9 │ │ │ └─ item: string #7 │ │ ├─ variant_5: struct #16 │ │ │ ├─ [contains]: string #7 - │ │ │ └─ [mode]: optional #15 + │ │ │ └─ [mode]: optional 'optional_15' #15 │ │ │ └─ item: string #14 enum{ '"insensitive"' } │ │ ├─ variant_6: struct #17 │ │ │ └─ [search]: string #7 │ │ └─ variant_7: struct #18 - │ │ ├─ [endsWith]: optional #8 + │ │ ├─ [endsWith]: optional 'optional_8' #8 │ │ │ └─ item: string #7 - │ │ └─ [startsWith]: optional #8 + │ │ └─ [startsWith]: optional 'optional_8' #8 │ │ └─ item: string #7 │ └─ variant_1: struct #20 │ └─ [not]: union '_string_filter' #19 @@ -249,28 +249,28 @@ root: struct '_User_QueryInput' #119 │ ├─ variant_2: struct #11 │ │ └─ [not]: string #7 │ ├─ variant_3: struct #12 - │ │ └─ [in]: list #9 + │ │ └─ [in]: list 'list_9' #9 │ │ └─ item: string #7 │ ├─ variant_4: struct #13 - │ │ └─ [notIn]: list #9 + │ │ └─ [notIn]: list 'list_9' #9 │ │ └─ item: string #7 │ ├─ variant_5: struct #16 │ │ ├─ [contains]: string #7 - │ │ └─ [mode]: optional #15 + │ │ └─ [mode]: optional 'optional_15' #15 │ │ └─ item: string #14 enum{ '"insensitive"' } │ ├─ variant_6: struct #17 │ │ └─ [search]: string #7 │ └─ variant_7: struct #18 - │ ├─ [endsWith]: optional #8 + │ ├─ [endsWith]: optional 'optional_8' #8 │ │ └─ item: string #7 - │ └─ [startsWith]: optional #8 + │ └─ [startsWith]: optional 'optional_8' #8 │ └─ item: string #7 ├─ variant_1: struct #93 - │ └─ [some]: optional '_92_PostWhere__skip_78_UserWhere?' #92 + │ └─ [some]: optional 'optional_92' #92 │ └─ item: struct 'PostWhere__skip_78_UserWhere' #89 - │ ├─ [author]: optional '_88_UserWhere?' #88 + │ ├─ [author]: optional 'optional_88' #88 │ │ └─ item: &UserWhere #87 - │ ├─ [id]: optional '_85__integer_filter_c?' #85 + │ ├─ [id]: optional 'optional_85' #85 │ │ └─ item: optional '_integer_filter_c' #36 │ │ └─ item: union #35 │ │ ├─ variant_0: either '_integer_filter' #33 @@ -280,19 +280,19 @@ root: struct '_User_QueryInput' #119 │ │ │ ├─ variant_2: struct #29 │ │ │ │ └─ [not]: integer #25 │ │ │ ├─ variant_3: struct #30 - │ │ │ │ ├─ [gt]: optional #26 + │ │ │ │ ├─ [gt]: optional 'optional_26' #26 │ │ │ │ │ └─ item: integer #25 - │ │ │ │ ├─ [gte]: optional #26 + │ │ │ │ ├─ [gte]: optional 'optional_26' #26 │ │ │ │ │ └─ item: integer #25 - │ │ │ │ ├─ [lt]: optional #26 + │ │ │ │ ├─ [lt]: optional 'optional_26' #26 │ │ │ │ │ └─ item: integer #25 - │ │ │ │ └─ [lte]: optional #26 + │ │ │ │ └─ [lte]: optional 'optional_26' #26 │ │ │ │ └─ item: integer #25 │ │ │ ├─ variant_4: struct #31 - │ │ │ │ └─ [in]: list #27 + │ │ │ │ └─ [in]: list 'list_27' #27 │ │ │ │ └─ item: integer #25 │ │ │ └─ variant_5: struct #32 - │ │ │ └─ [notIn]: list #27 + │ │ │ └─ [notIn]: list 'list_27' #27 │ │ │ └─ item: integer #25 │ │ └─ variant_1: struct #34 │ │ └─ [not]: either '_integer_filter' #33 @@ -302,21 +302,21 @@ root: struct '_User_QueryInput' #119 │ │ ├─ variant_2: struct #29 │ │ │ └─ [not]: integer #25 │ │ ├─ variant_3: struct #30 - │ │ │ ├─ [gt]: optional #26 + │ │ │ ├─ [gt]: optional 'optional_26' #26 │ │ │ │ └─ item: integer #25 - │ │ │ ├─ [gte]: optional #26 + │ │ │ ├─ [gte]: optional 'optional_26' #26 │ │ │ │ └─ item: integer #25 - │ │ │ ├─ [lt]: optional #26 + │ │ │ ├─ [lt]: optional 'optional_26' #26 │ │ │ │ └─ item: integer #25 - │ │ │ └─ [lte]: optional #26 + │ │ │ └─ [lte]: optional 'optional_26' #26 │ │ │ └─ item: integer #25 │ │ ├─ variant_4: struct #31 - │ │ │ └─ [in]: list #27 + │ │ │ └─ [in]: list 'list_27' #27 │ │ │ └─ item: integer #25 │ │ └─ variant_5: struct #32 - │ │ └─ [notIn]: list #27 + │ │ └─ [notIn]: list 'list_27' #27 │ │ └─ item: integer #25 - │ └─ [title]: optional '_86__string_filter_c?' #86 + │ └─ [title]: optional 'optional_86' #86 │ └─ item: optional '_string_filter_c' #22 │ └─ item: union #21 │ ├─ variant_0: union '_string_filter' #19 @@ -326,21 +326,21 @@ root: struct '_User_QueryInput' #119 │ │ ├─ variant_2: struct #11 │ │ │ └─ [not]: string #7 │ │ ├─ variant_3: struct #12 - │ │ │ └─ [in]: list #9 + │ │ │ └─ [in]: list 'list_9' #9 │ │ │ └─ item: string #7 │ │ ├─ variant_4: struct #13 - │ │ │ └─ [notIn]: list #9 + │ │ │ └─ [notIn]: list 'list_9' #9 │ │ │ └─ item: string #7 │ │ ├─ variant_5: struct #16 │ │ │ ├─ [contains]: string #7 - │ │ │ └─ [mode]: optional #15 + │ │ │ └─ [mode]: optional 'optional_15' #15 │ │ │ └─ item: string #14 enum{ '"insensitive"' } │ │ ├─ variant_6: struct #17 │ │ │ └─ [search]: string #7 │ │ └─ variant_7: struct #18 - │ │ ├─ [endsWith]: optional #8 + │ │ ├─ [endsWith]: optional 'optional_8' #8 │ │ │ └─ item: string #7 - │ │ └─ [startsWith]: optional #8 + │ │ └─ [startsWith]: optional 'optional_8' #8 │ │ └─ item: string #7 │ └─ variant_1: struct #20 │ └─ [not]: union '_string_filter' #19 @@ -350,28 +350,28 @@ root: struct '_User_QueryInput' #119 │ ├─ variant_2: struct #11 │ │ └─ [not]: string #7 │ ├─ variant_3: struct #12 - │ │ └─ [in]: list #9 + │ │ └─ [in]: list 'list_9' #9 │ │ └─ item: string #7 │ ├─ variant_4: struct #13 - │ │ └─ [notIn]: list #9 + │ │ └─ [notIn]: list 'list_9' #9 │ │ └─ item: string #7 │ ├─ variant_5: struct #16 │ │ ├─ [contains]: string #7 - │ │ └─ [mode]: optional #15 + │ │ └─ [mode]: optional 'optional_15' #15 │ │ └─ item: string #14 enum{ '"insensitive"' } │ ├─ variant_6: struct #17 │ │ └─ [search]: string #7 │ └─ variant_7: struct #18 - │ ├─ [endsWith]: optional #8 + │ ├─ [endsWith]: optional 'optional_8' #8 │ │ └─ item: string #7 - │ └─ [startsWith]: optional #8 + │ └─ [startsWith]: optional 'optional_8' #8 │ └─ item: string #7 └─ variant_2: struct #95 - └─ [none]: optional '_94_PostWhere__skip_78_UserWhere?' #94 + └─ [none]: optional 'optional_94' #94 └─ item: struct 'PostWhere__skip_78_UserWhere' #89 - ├─ [author]: optional '_88_UserWhere?' #88 + ├─ [author]: optional 'optional_88' #88 │ └─ item: &UserWhere #87 - ├─ [id]: optional '_85__integer_filter_c?' #85 + ├─ [id]: optional 'optional_85' #85 │ └─ item: optional '_integer_filter_c' #36 │ └─ item: union #35 │ ├─ variant_0: either '_integer_filter' #33 @@ -381,19 +381,19 @@ root: struct '_User_QueryInput' #119 │ │ ├─ variant_2: struct #29 │ │ │ └─ [not]: integer #25 │ │ ├─ variant_3: struct #30 - │ │ │ ├─ [gt]: optional #26 + │ │ │ ├─ [gt]: optional 'optional_26' #26 │ │ │ │ └─ item: integer #25 - │ │ │ ├─ [gte]: optional #26 + │ │ │ ├─ [gte]: optional 'optional_26' #26 │ │ │ │ └─ item: integer #25 - │ │ │ ├─ [lt]: optional #26 + │ │ │ ├─ [lt]: optional 'optional_26' #26 │ │ │ │ └─ item: integer #25 - │ │ │ └─ [lte]: optional #26 + │ │ │ └─ [lte]: optional 'optional_26' #26 │ │ │ └─ item: integer #25 │ │ ├─ variant_4: struct #31 - │ │ │ └─ [in]: list #27 + │ │ │ └─ [in]: list 'list_27' #27 │ │ │ └─ item: integer #25 │ │ └─ variant_5: struct #32 - │ │ └─ [notIn]: list #27 + │ │ └─ [notIn]: list 'list_27' #27 │ │ └─ item: integer #25 │ └─ variant_1: struct #34 │ └─ [not]: either '_integer_filter' #33 @@ -403,21 +403,21 @@ root: struct '_User_QueryInput' #119 │ ├─ variant_2: struct #29 │ │ └─ [not]: integer #25 │ ├─ variant_3: struct #30 - │ │ ├─ [gt]: optional #26 + │ │ ├─ [gt]: optional 'optional_26' #26 │ │ │ └─ item: integer #25 - │ │ ├─ [gte]: optional #26 + │ │ ├─ [gte]: optional 'optional_26' #26 │ │ │ └─ item: integer #25 - │ │ ├─ [lt]: optional #26 + │ │ ├─ [lt]: optional 'optional_26' #26 │ │ │ └─ item: integer #25 - │ │ └─ [lte]: optional #26 + │ │ └─ [lte]: optional 'optional_26' #26 │ │ └─ item: integer #25 │ ├─ variant_4: struct #31 - │ │ └─ [in]: list #27 + │ │ └─ [in]: list 'list_27' #27 │ │ └─ item: integer #25 │ └─ variant_5: struct #32 - │ └─ [notIn]: list #27 + │ └─ [notIn]: list 'list_27' #27 │ └─ item: integer #25 - └─ [title]: optional '_86__string_filter_c?' #86 + └─ [title]: optional 'optional_86' #86 └─ item: optional '_string_filter_c' #22 └─ item: union #21 ├─ variant_0: union '_string_filter' #19 @@ -427,21 +427,21 @@ root: struct '_User_QueryInput' #119 │ ├─ variant_2: struct #11 │ │ └─ [not]: string #7 │ ├─ variant_3: struct #12 - │ │ └─ [in]: list #9 + │ │ └─ [in]: list 'list_9' #9 │ │ └─ item: string #7 │ ├─ variant_4: struct #13 - │ │ └─ [notIn]: list #9 + │ │ └─ [notIn]: list 'list_9' #9 │ │ └─ item: string #7 │ ├─ variant_5: struct #16 │ │ ├─ [contains]: string #7 - │ │ └─ [mode]: optional #15 + │ │ └─ [mode]: optional 'optional_15' #15 │ │ └─ item: string #14 enum{ '"insensitive"' } │ ├─ variant_6: struct #17 │ │ └─ [search]: string #7 │ └─ variant_7: struct #18 - │ ├─ [endsWith]: optional #8 + │ ├─ [endsWith]: optional 'optional_8' #8 │ │ └─ item: string #7 - │ └─ [startsWith]: optional #8 + │ └─ [startsWith]: optional 'optional_8' #8 │ └─ item: string #7 └─ variant_1: struct #20 └─ [not]: union '_string_filter' #19 @@ -451,20 +451,19 @@ root: struct '_User_QueryInput' #119 ├─ variant_2: struct #11 │ └─ [not]: string #7 ├─ variant_3: struct #12 - │ └─ [in]: list #9 + │ └─ [in]: list 'list_9' #9 │ └─ item: string #7 ├─ variant_4: struct #13 - │ └─ [notIn]: list #9 + │ └─ [notIn]: list 'list_9' #9 │ └─ item: string #7 ├─ variant_5: struct #16 │ ├─ [contains]: string #7 - │ └─ [mode]: optional #15 + │ └─ [mode]: optional 'optional_15' #15 │ └─ item: string #14 enum{ '"insensitive"' } ├─ variant_6: struct #17 │ └─ [search]: string #7 └─ variant_7: struct #18 - ├─ [endsWith]: optional #8 + ├─ [endsWith]: optional 'optional_8' #8 │ └─ item: string #7 - └─ [startsWith]: optional #8 + └─ [startsWith]: optional 'optional_8' #8 └─ item: string #7 - diff --git a/src/typegraph/core/src/runtimes/prisma/type_generation/snapshots/typegraph_core__runtimes__prisma__type_generation__test__find_many User out.snap b/src/typegraph/core/src/runtimes/prisma/type_generation/snapshots/typegraph_core__runtimes__prisma__type_generation__test__find_many User out.snap index e9991bcbd8..2c2f79e246 100644 --- a/src/typegraph/core/src/runtimes/prisma/type_generation/snapshots/typegraph_core__runtimes__prisma__type_generation__test__find_many User out.snap +++ b/src/typegraph/core/src/runtimes/prisma/type_generation/snapshots/typegraph_core__runtimes__prisma__type_generation__test__find_many User out.snap @@ -1,16 +1,15 @@ --- -source: typegraph/core/src/runtimes/prisma/type_generation/mod.rs +source: src/typegraph/core/src/runtimes/prisma/type_generation/mod.rs expression: tp.print(out) --- -root: list '_126_UserWithNestedCount[]' #126 +root: list 'list_126' #126 └─ item: struct 'UserWithNestedCount' #125 ├─ [_count]: struct #124 │ └─ [posts]: optional '_Count' #123 │ └─ item: integer #122 ├─ [id]: integer #74 ├─ [name]: string #75 - └─ [posts]: list '_121_PostWithNestedCount_excluding___rel_Post_User_1[]' #121 + └─ [posts]: list 'list_121' #121 └─ item: struct 'PostWithNestedCount_excluding___rel_Post_User_1' #120 ├─ [id]: integer #79 └─ [title]: string #80 - diff --git a/src/typegraph/core/src/runtimes/prisma/type_generation/snapshots/typegraph_core__runtimes__prisma__type_generation__test__find_unique Post inp.snap b/src/typegraph/core/src/runtimes/prisma/type_generation/snapshots/typegraph_core__runtimes__prisma__type_generation__test__find_unique Post inp.snap index 45aeab6434..9689a283be 100644 --- a/src/typegraph/core/src/runtimes/prisma/type_generation/snapshots/typegraph_core__runtimes__prisma__type_generation__test__find_unique Post inp.snap +++ b/src/typegraph/core/src/runtimes/prisma/type_generation/snapshots/typegraph_core__runtimes__prisma__type_generation__test__find_unique Post inp.snap @@ -1,21 +1,21 @@ --- -source: typegraph/core/src/runtimes/prisma/type_generation/mod.rs +source: src/typegraph/core/src/runtimes/prisma/type_generation/mod.rs expression: tp.print(inp) --- root: struct #111 -└─ [where]: optional '_110_QueryPostWhereUniqueInput?' #110 +└─ [where]: optional 'optional_110' #110 └─ item: struct 'QueryPostWhereUniqueInput' #109 - ├─ [AND]: optional '_107__106_QueryPostWhereUniqueInput[]?' #107 - │ └─ item: list '_106_QueryPostWhereUniqueInput[]' #106 + ├─ [AND]: optional 'optional_107' #107 + │ └─ item: list 'list_106' #106 │ └─ item: &QueryPostWhereUniqueInput #105 - ├─ [NOT]: optional '_108_QueryPostWhereUniqueInput?' #108 + ├─ [NOT]: optional 'optional_108' #108 │ └─ item: &QueryPostWhereUniqueInput #105 - ├─ [OR]: optional '_107__106_QueryPostWhereUniqueInput[]?' #107 - │ └─ item: list '_106_QueryPostWhereUniqueInput[]' #106 + ├─ [OR]: optional 'optional_107' #107 + │ └─ item: list 'list_106' #106 │ └─ item: &QueryPostWhereUniqueInput #105 - ├─ [author]: optional '_103_UserWhere__skip_58_PostWhere?' #103 + ├─ [author]: optional 'optional_103' #103 │ └─ item: struct 'UserWhere__skip_58_PostWhere' #102 - │ ├─ [id]: optional '_91__integer_filter_c?' #91 + │ ├─ [id]: optional 'optional_91' #91 │ │ └─ item: optional '_integer_filter_c' #36 │ │ └─ item: union #35 │ │ ├─ variant_0: either '_integer_filter' #33 @@ -25,19 +25,19 @@ root: struct #111 │ │ │ ├─ variant_2: struct #29 │ │ │ │ └─ [not]: integer #25 │ │ │ ├─ variant_3: struct #30 - │ │ │ │ ├─ [gt]: optional #26 + │ │ │ │ ├─ [gt]: optional 'optional_26' #26 │ │ │ │ │ └─ item: integer #25 - │ │ │ │ ├─ [gte]: optional #26 + │ │ │ │ ├─ [gte]: optional 'optional_26' #26 │ │ │ │ │ └─ item: integer #25 - │ │ │ │ ├─ [lt]: optional #26 + │ │ │ │ ├─ [lt]: optional 'optional_26' #26 │ │ │ │ │ └─ item: integer #25 - │ │ │ │ └─ [lte]: optional #26 + │ │ │ │ └─ [lte]: optional 'optional_26' #26 │ │ │ │ └─ item: integer #25 │ │ │ ├─ variant_4: struct #31 - │ │ │ │ └─ [in]: list #27 + │ │ │ │ └─ [in]: list 'list_27' #27 │ │ │ │ └─ item: integer #25 │ │ │ └─ variant_5: struct #32 - │ │ │ └─ [notIn]: list #27 + │ │ │ └─ [notIn]: list 'list_27' #27 │ │ │ └─ item: integer #25 │ │ └─ variant_1: struct #34 │ │ └─ [not]: either '_integer_filter' #33 @@ -47,21 +47,21 @@ root: struct #111 │ │ ├─ variant_2: struct #29 │ │ │ └─ [not]: integer #25 │ │ ├─ variant_3: struct #30 - │ │ │ ├─ [gt]: optional #26 + │ │ │ ├─ [gt]: optional 'optional_26' #26 │ │ │ │ └─ item: integer #25 - │ │ │ ├─ [gte]: optional #26 + │ │ │ ├─ [gte]: optional 'optional_26' #26 │ │ │ │ └─ item: integer #25 - │ │ │ ├─ [lt]: optional #26 + │ │ │ ├─ [lt]: optional 'optional_26' #26 │ │ │ │ └─ item: integer #25 - │ │ │ └─ [lte]: optional #26 + │ │ │ └─ [lte]: optional 'optional_26' #26 │ │ │ └─ item: integer #25 │ │ ├─ variant_4: struct #31 - │ │ │ └─ [in]: list #27 + │ │ │ └─ [in]: list 'list_27' #27 │ │ │ └─ item: integer #25 │ │ └─ variant_5: struct #32 - │ │ └─ [notIn]: list #27 + │ │ └─ [notIn]: list 'list_27' #27 │ │ └─ item: integer #25 - │ ├─ [name]: optional '_92__string_filter_c?' #92 + │ ├─ [name]: optional 'optional_92' #92 │ │ └─ item: optional '_string_filter_c' #22 │ │ └─ item: union #21 │ │ ├─ variant_0: union '_string_filter' #19 @@ -71,21 +71,21 @@ root: struct #111 │ │ │ ├─ variant_2: struct #11 │ │ │ │ └─ [not]: string #7 │ │ │ ├─ variant_3: struct #12 - │ │ │ │ └─ [in]: list #9 + │ │ │ │ └─ [in]: list 'list_9' #9 │ │ │ │ └─ item: string #7 │ │ │ ├─ variant_4: struct #13 - │ │ │ │ └─ [notIn]: list #9 + │ │ │ │ └─ [notIn]: list 'list_9' #9 │ │ │ │ └─ item: string #7 │ │ │ ├─ variant_5: struct #16 │ │ │ │ ├─ [contains]: string #7 - │ │ │ │ └─ [mode]: optional #15 + │ │ │ │ └─ [mode]: optional 'optional_15' #15 │ │ │ │ └─ item: string #14 enum{ '"insensitive"' } │ │ │ ├─ variant_6: struct #17 │ │ │ │ └─ [search]: string #7 │ │ │ └─ variant_7: struct #18 - │ │ │ ├─ [endsWith]: optional #8 + │ │ │ ├─ [endsWith]: optional 'optional_8' #8 │ │ │ │ └─ item: string #7 - │ │ │ └─ [startsWith]: optional #8 + │ │ │ └─ [startsWith]: optional 'optional_8' #8 │ │ │ └─ item: string #7 │ │ └─ variant_1: struct #20 │ │ └─ [not]: union '_string_filter' #19 @@ -95,34 +95,34 @@ root: struct #111 │ │ ├─ variant_2: struct #11 │ │ │ └─ [not]: string #7 │ │ ├─ variant_3: struct #12 - │ │ │ └─ [in]: list #9 + │ │ │ └─ [in]: list 'list_9' #9 │ │ │ └─ item: string #7 │ │ ├─ variant_4: struct #13 - │ │ │ └─ [notIn]: list #9 + │ │ │ └─ [notIn]: list 'list_9' #9 │ │ │ └─ item: string #7 │ │ ├─ variant_5: struct #16 │ │ │ ├─ [contains]: string #7 - │ │ │ └─ [mode]: optional #15 + │ │ │ └─ [mode]: optional 'optional_15' #15 │ │ │ └─ item: string #14 enum{ '"insensitive"' } │ │ ├─ variant_6: struct #17 │ │ │ └─ [search]: string #7 │ │ └─ variant_7: struct #18 - │ │ ├─ [endsWith]: optional #8 + │ │ ├─ [endsWith]: optional 'optional_8' #8 │ │ │ └─ item: string #7 - │ │ └─ [startsWith]: optional #8 + │ │ └─ [startsWith]: optional 'optional_8' #8 │ │ └─ item: string #7 - │ └─ [posts]: optional #101 + │ └─ [posts]: optional 'optional_101' #101 │ └─ item: union #100 │ ├─ variant_0: struct #95 - │ │ └─ [every]: optional '_94_PostWhere?' #94 + │ │ └─ [every]: optional 'optional_94' #94 │ │ └─ item: &PostWhere #93 │ ├─ variant_1: struct #97 - │ │ └─ [some]: optional '_96_PostWhere?' #96 + │ │ └─ [some]: optional 'optional_96' #96 │ │ └─ item: &PostWhere #93 │ └─ variant_2: struct #99 - │ └─ [none]: optional '_98_PostWhere?' #98 + │ └─ [none]: optional 'optional_98' #98 │ └─ item: &PostWhere #93 - ├─ [id]: optional '_89__integer_filter_c?' #89 + ├─ [id]: optional 'optional_89' #89 │ └─ item: optional '_integer_filter_c' #36 │ └─ item: union #35 │ ├─ variant_0: either '_integer_filter' #33 @@ -132,19 +132,19 @@ root: struct #111 │ │ ├─ variant_2: struct #29 │ │ │ └─ [not]: integer #25 │ │ ├─ variant_3: struct #30 - │ │ │ ├─ [gt]: optional #26 + │ │ │ ├─ [gt]: optional 'optional_26' #26 │ │ │ │ └─ item: integer #25 - │ │ │ ├─ [gte]: optional #26 + │ │ │ ├─ [gte]: optional 'optional_26' #26 │ │ │ │ └─ item: integer #25 - │ │ │ ├─ [lt]: optional #26 + │ │ │ ├─ [lt]: optional 'optional_26' #26 │ │ │ │ └─ item: integer #25 - │ │ │ └─ [lte]: optional #26 + │ │ │ └─ [lte]: optional 'optional_26' #26 │ │ │ └─ item: integer #25 │ │ ├─ variant_4: struct #31 - │ │ │ └─ [in]: list #27 + │ │ │ └─ [in]: list 'list_27' #27 │ │ │ └─ item: integer #25 │ │ └─ variant_5: struct #32 - │ │ └─ [notIn]: list #27 + │ │ └─ [notIn]: list 'list_27' #27 │ │ └─ item: integer #25 │ └─ variant_1: struct #34 │ └─ [not]: either '_integer_filter' #33 @@ -154,21 +154,21 @@ root: struct #111 │ ├─ variant_2: struct #29 │ │ └─ [not]: integer #25 │ ├─ variant_3: struct #30 - │ │ ├─ [gt]: optional #26 + │ │ ├─ [gt]: optional 'optional_26' #26 │ │ │ └─ item: integer #25 - │ │ ├─ [gte]: optional #26 + │ │ ├─ [gte]: optional 'optional_26' #26 │ │ │ └─ item: integer #25 - │ │ ├─ [lt]: optional #26 + │ │ ├─ [lt]: optional 'optional_26' #26 │ │ │ └─ item: integer #25 - │ │ └─ [lte]: optional #26 + │ │ └─ [lte]: optional 'optional_26' #26 │ │ └─ item: integer #25 │ ├─ variant_4: struct #31 - │ │ └─ [in]: list #27 + │ │ └─ [in]: list 'list_27' #27 │ │ └─ item: integer #25 │ └─ variant_5: struct #32 - │ └─ [notIn]: list #27 + │ └─ [notIn]: list 'list_27' #27 │ └─ item: integer #25 - └─ [title]: optional '_90__string_filter_c?' #90 + └─ [title]: optional 'optional_90' #90 └─ item: optional '_string_filter_c' #22 └─ item: union #21 ├─ variant_0: union '_string_filter' #19 @@ -178,21 +178,21 @@ root: struct #111 │ ├─ variant_2: struct #11 │ │ └─ [not]: string #7 │ ├─ variant_3: struct #12 - │ │ └─ [in]: list #9 + │ │ └─ [in]: list 'list_9' #9 │ │ └─ item: string #7 │ ├─ variant_4: struct #13 - │ │ └─ [notIn]: list #9 + │ │ └─ [notIn]: list 'list_9' #9 │ │ └─ item: string #7 │ ├─ variant_5: struct #16 │ │ ├─ [contains]: string #7 - │ │ └─ [mode]: optional #15 + │ │ └─ [mode]: optional 'optional_15' #15 │ │ └─ item: string #14 enum{ '"insensitive"' } │ ├─ variant_6: struct #17 │ │ └─ [search]: string #7 │ └─ variant_7: struct #18 - │ ├─ [endsWith]: optional #8 + │ ├─ [endsWith]: optional 'optional_8' #8 │ │ └─ item: string #7 - │ └─ [startsWith]: optional #8 + │ └─ [startsWith]: optional 'optional_8' #8 │ └─ item: string #7 └─ variant_1: struct #20 └─ [not]: union '_string_filter' #19 @@ -202,20 +202,19 @@ root: struct #111 ├─ variant_2: struct #11 │ └─ [not]: string #7 ├─ variant_3: struct #12 - │ └─ [in]: list #9 + │ └─ [in]: list 'list_9' #9 │ └─ item: string #7 ├─ variant_4: struct #13 - │ └─ [notIn]: list #9 + │ └─ [notIn]: list 'list_9' #9 │ └─ item: string #7 ├─ variant_5: struct #16 │ ├─ [contains]: string #7 - │ └─ [mode]: optional #15 + │ └─ [mode]: optional 'optional_15' #15 │ └─ item: string #14 enum{ '"insensitive"' } ├─ variant_6: struct #17 │ └─ [search]: string #7 └─ variant_7: struct #18 - ├─ [endsWith]: optional #8 + ├─ [endsWith]: optional 'optional_8' #8 │ └─ item: string #7 - └─ [startsWith]: optional #8 + └─ [startsWith]: optional 'optional_8' #8 └─ item: string #7 - diff --git a/src/typegraph/core/src/runtimes/prisma/type_generation/snapshots/typegraph_core__runtimes__prisma__type_generation__test__find_unique Post out.snap b/src/typegraph/core/src/runtimes/prisma/type_generation/snapshots/typegraph_core__runtimes__prisma__type_generation__test__find_unique Post out.snap index 9551d5c37e..b2fffe4a64 100644 --- a/src/typegraph/core/src/runtimes/prisma/type_generation/snapshots/typegraph_core__runtimes__prisma__type_generation__test__find_unique Post out.snap +++ b/src/typegraph/core/src/runtimes/prisma/type_generation/snapshots/typegraph_core__runtimes__prisma__type_generation__test__find_unique Post out.snap @@ -1,8 +1,8 @@ --- -source: typegraph/core/src/runtimes/prisma/type_generation/mod.rs +source: src/typegraph/core/src/runtimes/prisma/type_generation/mod.rs expression: tp.print(out) --- -root: optional '_118_PostWithNestedCount?' #118 +root: optional 'optional_118' #118 └─ item: struct 'PostWithNestedCount' #117 ├─ [author]: struct #116 │ ├─ [id]: integer #50 @@ -17,4 +17,3 @@ root: optional '_118_PostWithNestedCount?' #118 │ └─ [title]: string #56 ├─ [id]: integer #55 └─ [title]: string #56 - diff --git a/src/typegraph/core/src/runtimes/prisma/type_generation/snapshots/typegraph_core__runtimes__prisma__type_generation__test__find_unique Record inp.snap b/src/typegraph/core/src/runtimes/prisma/type_generation/snapshots/typegraph_core__runtimes__prisma__type_generation__test__find_unique Record inp.snap index 5af451dda8..1ed89ce4bd 100644 --- a/src/typegraph/core/src/runtimes/prisma/type_generation/snapshots/typegraph_core__runtimes__prisma__type_generation__test__find_unique Record inp.snap +++ b/src/typegraph/core/src/runtimes/prisma/type_generation/snapshots/typegraph_core__runtimes__prisma__type_generation__test__find_unique Record inp.snap @@ -1,19 +1,19 @@ --- -source: typegraph/core/src/runtimes/prisma/type_generation/mod.rs +source: src/typegraph/core/src/runtimes/prisma/type_generation/mod.rs expression: tp.print(inp) --- root: struct #46 -└─ [where]: optional '_45_QueryRecordWhereUniqueInput?' #45 +└─ [where]: optional 'optional_45' #45 └─ item: struct 'QueryRecordWhereUniqueInput' #44 - ├─ [AND]: optional '_42__41_QueryRecordWhereUniqueInput[]?' #42 - │ └─ item: list '_41_QueryRecordWhereUniqueInput[]' #41 + ├─ [AND]: optional 'optional_42' #42 + │ └─ item: list 'list_41' #41 │ └─ item: &QueryRecordWhereUniqueInput #40 - ├─ [NOT]: optional '_43_QueryRecordWhereUniqueInput?' #43 + ├─ [NOT]: optional 'optional_43' #43 │ └─ item: &QueryRecordWhereUniqueInput #40 - ├─ [OR]: optional '_42__41_QueryRecordWhereUniqueInput[]?' #42 - │ └─ item: list '_41_QueryRecordWhereUniqueInput[]' #41 + ├─ [OR]: optional 'optional_42' #42 + │ └─ item: list 'list_41' #41 │ └─ item: &QueryRecordWhereUniqueInput #40 - ├─ [age]: optional '_37__integer_filter_c?' #37 + ├─ [age]: optional 'optional_37' #37 │ └─ item: optional '_integer_filter_c' #36 │ └─ item: union #35 │ ├─ variant_0: either '_integer_filter' #33 @@ -23,19 +23,19 @@ root: struct #46 │ │ ├─ variant_2: struct #29 │ │ │ └─ [not]: integer #25 │ │ ├─ variant_3: struct #30 - │ │ │ ├─ [gt]: optional #26 + │ │ │ ├─ [gt]: optional 'optional_26' #26 │ │ │ │ └─ item: integer #25 - │ │ │ ├─ [gte]: optional #26 + │ │ │ ├─ [gte]: optional 'optional_26' #26 │ │ │ │ └─ item: integer #25 - │ │ │ ├─ [lt]: optional #26 + │ │ │ ├─ [lt]: optional 'optional_26' #26 │ │ │ │ └─ item: integer #25 - │ │ │ └─ [lte]: optional #26 + │ │ │ └─ [lte]: optional 'optional_26' #26 │ │ │ └─ item: integer #25 │ │ ├─ variant_4: struct #31 - │ │ │ └─ [in]: list #27 + │ │ │ └─ [in]: list 'list_27' #27 │ │ │ └─ item: integer #25 │ │ └─ variant_5: struct #32 - │ │ └─ [notIn]: list #27 + │ │ └─ [notIn]: list 'list_27' #27 │ │ └─ item: integer #25 │ └─ variant_1: struct #34 │ └─ [not]: either '_integer_filter' #33 @@ -45,21 +45,21 @@ root: struct #46 │ ├─ variant_2: struct #29 │ │ └─ [not]: integer #25 │ ├─ variant_3: struct #30 - │ │ ├─ [gt]: optional #26 + │ │ ├─ [gt]: optional 'optional_26' #26 │ │ │ └─ item: integer #25 - │ │ ├─ [gte]: optional #26 + │ │ ├─ [gte]: optional 'optional_26' #26 │ │ │ └─ item: integer #25 - │ │ ├─ [lt]: optional #26 + │ │ ├─ [lt]: optional 'optional_26' #26 │ │ │ └─ item: integer #25 - │ │ └─ [lte]: optional #26 + │ │ └─ [lte]: optional 'optional_26' #26 │ │ └─ item: integer #25 │ ├─ variant_4: struct #31 - │ │ └─ [in]: list #27 + │ │ └─ [in]: list 'list_27' #27 │ │ └─ item: integer #25 │ └─ variant_5: struct #32 - │ └─ [notIn]: list #27 + │ └─ [notIn]: list 'list_27' #27 │ └─ item: integer #25 - ├─ [created_at]: optional '_38__string_filter_c?' #38 + ├─ [created_at]: optional 'optional_38' #38 │ └─ item: optional '_string_filter_c' #22 │ └─ item: union #21 │ ├─ variant_0: union '_string_filter' #19 @@ -69,21 +69,21 @@ root: struct #46 │ │ ├─ variant_2: struct #11 │ │ │ └─ [not]: string #7 │ │ ├─ variant_3: struct #12 - │ │ │ └─ [in]: list #9 + │ │ │ └─ [in]: list 'list_9' #9 │ │ │ └─ item: string #7 │ │ ├─ variant_4: struct #13 - │ │ │ └─ [notIn]: list #9 + │ │ │ └─ [notIn]: list 'list_9' #9 │ │ │ └─ item: string #7 │ │ ├─ variant_5: struct #16 │ │ │ ├─ [contains]: string #7 - │ │ │ └─ [mode]: optional #15 + │ │ │ └─ [mode]: optional 'optional_15' #15 │ │ │ └─ item: string #14 enum{ '"insensitive"' } │ │ ├─ variant_6: struct #17 │ │ │ └─ [search]: string #7 │ │ └─ variant_7: struct #18 - │ │ ├─ [endsWith]: optional #8 + │ │ ├─ [endsWith]: optional 'optional_8' #8 │ │ │ └─ item: string #7 - │ │ └─ [startsWith]: optional #8 + │ │ └─ [startsWith]: optional 'optional_8' #8 │ │ └─ item: string #7 │ └─ variant_1: struct #20 │ └─ [not]: union '_string_filter' #19 @@ -93,23 +93,23 @@ root: struct #46 │ ├─ variant_2: struct #11 │ │ └─ [not]: string #7 │ ├─ variant_3: struct #12 - │ │ └─ [in]: list #9 + │ │ └─ [in]: list 'list_9' #9 │ │ └─ item: string #7 │ ├─ variant_4: struct #13 - │ │ └─ [notIn]: list #9 + │ │ └─ [notIn]: list 'list_9' #9 │ │ └─ item: string #7 │ ├─ variant_5: struct #16 │ │ ├─ [contains]: string #7 - │ │ └─ [mode]: optional #15 + │ │ └─ [mode]: optional 'optional_15' #15 │ │ └─ item: string #14 enum{ '"insensitive"' } │ ├─ variant_6: struct #17 │ │ └─ [search]: string #7 │ └─ variant_7: struct #18 - │ ├─ [endsWith]: optional #8 + │ ├─ [endsWith]: optional 'optional_8' #8 │ │ └─ item: string #7 - │ └─ [startsWith]: optional #8 + │ └─ [startsWith]: optional 'optional_8' #8 │ └─ item: string #7 - ├─ [id]: optional '_23__string_filter_c?' #23 + ├─ [id]: optional 'optional_23' #23 │ └─ item: optional '_string_filter_c' #22 │ └─ item: union #21 │ ├─ variant_0: union '_string_filter' #19 @@ -119,21 +119,21 @@ root: struct #46 │ │ ├─ variant_2: struct #11 │ │ │ └─ [not]: string #7 │ │ ├─ variant_3: struct #12 - │ │ │ └─ [in]: list #9 + │ │ │ └─ [in]: list 'list_9' #9 │ │ │ └─ item: string #7 │ │ ├─ variant_4: struct #13 - │ │ │ └─ [notIn]: list #9 + │ │ │ └─ [notIn]: list 'list_9' #9 │ │ │ └─ item: string #7 │ │ ├─ variant_5: struct #16 │ │ │ ├─ [contains]: string #7 - │ │ │ └─ [mode]: optional #15 + │ │ │ └─ [mode]: optional 'optional_15' #15 │ │ │ └─ item: string #14 enum{ '"insensitive"' } │ │ ├─ variant_6: struct #17 │ │ │ └─ [search]: string #7 │ │ └─ variant_7: struct #18 - │ │ ├─ [endsWith]: optional #8 + │ │ ├─ [endsWith]: optional 'optional_8' #8 │ │ │ └─ item: string #7 - │ │ └─ [startsWith]: optional #8 + │ │ └─ [startsWith]: optional 'optional_8' #8 │ │ └─ item: string #7 │ └─ variant_1: struct #20 │ └─ [not]: union '_string_filter' #19 @@ -143,23 +143,23 @@ root: struct #46 │ ├─ variant_2: struct #11 │ │ └─ [not]: string #7 │ ├─ variant_3: struct #12 - │ │ └─ [in]: list #9 + │ │ └─ [in]: list 'list_9' #9 │ │ └─ item: string #7 │ ├─ variant_4: struct #13 - │ │ └─ [notIn]: list #9 + │ │ └─ [notIn]: list 'list_9' #9 │ │ └─ item: string #7 │ ├─ variant_5: struct #16 │ │ ├─ [contains]: string #7 - │ │ └─ [mode]: optional #15 + │ │ └─ [mode]: optional 'optional_15' #15 │ │ └─ item: string #14 enum{ '"insensitive"' } │ ├─ variant_6: struct #17 │ │ └─ [search]: string #7 │ └─ variant_7: struct #18 - │ ├─ [endsWith]: optional #8 + │ ├─ [endsWith]: optional 'optional_8' #8 │ │ └─ item: string #7 - │ └─ [startsWith]: optional #8 + │ └─ [startsWith]: optional 'optional_8' #8 │ └─ item: string #7 - └─ [name]: optional '_24__string_filter_c?' #24 + └─ [name]: optional 'optional_24' #24 └─ item: optional '_string_filter_c' #22 └─ item: union #21 ├─ variant_0: union '_string_filter' #19 @@ -169,21 +169,21 @@ root: struct #46 │ ├─ variant_2: struct #11 │ │ └─ [not]: string #7 │ ├─ variant_3: struct #12 - │ │ └─ [in]: list #9 + │ │ └─ [in]: list 'list_9' #9 │ │ └─ item: string #7 │ ├─ variant_4: struct #13 - │ │ └─ [notIn]: list #9 + │ │ └─ [notIn]: list 'list_9' #9 │ │ └─ item: string #7 │ ├─ variant_5: struct #16 │ │ ├─ [contains]: string #7 - │ │ └─ [mode]: optional #15 + │ │ └─ [mode]: optional 'optional_15' #15 │ │ └─ item: string #14 enum{ '"insensitive"' } │ ├─ variant_6: struct #17 │ │ └─ [search]: string #7 │ └─ variant_7: struct #18 - │ ├─ [endsWith]: optional #8 + │ ├─ [endsWith]: optional 'optional_8' #8 │ │ └─ item: string #7 - │ └─ [startsWith]: optional #8 + │ └─ [startsWith]: optional 'optional_8' #8 │ └─ item: string #7 └─ variant_1: struct #20 └─ [not]: union '_string_filter' #19 @@ -193,20 +193,19 @@ root: struct #46 ├─ variant_2: struct #11 │ └─ [not]: string #7 ├─ variant_3: struct #12 - │ └─ [in]: list #9 + │ └─ [in]: list 'list_9' #9 │ └─ item: string #7 ├─ variant_4: struct #13 - │ └─ [notIn]: list #9 + │ └─ [notIn]: list 'list_9' #9 │ └─ item: string #7 ├─ variant_5: struct #16 │ ├─ [contains]: string #7 - │ └─ [mode]: optional #15 + │ └─ [mode]: optional 'optional_15' #15 │ └─ item: string #14 enum{ '"insensitive"' } ├─ variant_6: struct #17 │ └─ [search]: string #7 └─ variant_7: struct #18 - ├─ [endsWith]: optional #8 + ├─ [endsWith]: optional 'optional_8' #8 │ └─ item: string #7 - └─ [startsWith]: optional #8 + └─ [startsWith]: optional 'optional_8' #8 └─ item: string #7 - diff --git a/src/typegraph/core/src/runtimes/prisma/type_generation/snapshots/typegraph_core__runtimes__prisma__type_generation__test__find_unique Record out.snap b/src/typegraph/core/src/runtimes/prisma/type_generation/snapshots/typegraph_core__runtimes__prisma__type_generation__test__find_unique Record out.snap index a692579919..7d0abd3278 100644 --- a/src/typegraph/core/src/runtimes/prisma/type_generation/snapshots/typegraph_core__runtimes__prisma__type_generation__test__find_unique Record out.snap +++ b/src/typegraph/core/src/runtimes/prisma/type_generation/snapshots/typegraph_core__runtimes__prisma__type_generation__test__find_unique Record out.snap @@ -1,12 +1,11 @@ --- -source: typegraph/core/src/runtimes/prisma/type_generation/mod.rs +source: src/typegraph/core/src/runtimes/prisma/type_generation/mod.rs expression: tp.print(out) --- -root: optional '_49_RecordWithNestedCount?' #49 +root: optional 'optional_49' #49 └─ item: struct 'RecordWithNestedCount' #48 - ├─ [age]: optional #5 + ├─ [age]: optional 'optional_5' #5 │ └─ item: integer #4 ├─ [created_at]: string #47 ├─ [id]: string #2 └─ [name]: string #3 - diff --git a/src/typegraph/core/src/runtimes/prisma/type_generation/snapshots/typegraph_core__runtimes__prisma__type_generation__test__find_unique User inp.snap b/src/typegraph/core/src/runtimes/prisma/type_generation/snapshots/typegraph_core__runtimes__prisma__type_generation__test__find_unique User inp.snap index b1e0f1d47b..8ac948ed10 100644 --- a/src/typegraph/core/src/runtimes/prisma/type_generation/snapshots/typegraph_core__runtimes__prisma__type_generation__test__find_unique User inp.snap +++ b/src/typegraph/core/src/runtimes/prisma/type_generation/snapshots/typegraph_core__runtimes__prisma__type_generation__test__find_unique User inp.snap @@ -1,19 +1,19 @@ --- -source: typegraph/core/src/runtimes/prisma/type_generation/mod.rs +source: src/typegraph/core/src/runtimes/prisma/type_generation/mod.rs expression: tp.print(inp) --- root: struct #81 -└─ [where]: optional '_80_QueryUserWhereUniqueInput?' #80 +└─ [where]: optional 'optional_80' #80 └─ item: struct 'QueryUserWhereUniqueInput' #79 - ├─ [AND]: optional '_77__76_QueryUserWhereUniqueInput[]?' #77 - │ └─ item: list '_76_QueryUserWhereUniqueInput[]' #76 + ├─ [AND]: optional 'optional_77' #77 + │ └─ item: list 'list_76' #76 │ └─ item: &QueryUserWhereUniqueInput #75 - ├─ [NOT]: optional '_78_QueryUserWhereUniqueInput?' #78 + ├─ [NOT]: optional 'optional_78' #78 │ └─ item: &QueryUserWhereUniqueInput #75 - ├─ [OR]: optional '_77__76_QueryUserWhereUniqueInput[]?' #77 - │ └─ item: list '_76_QueryUserWhereUniqueInput[]' #76 + ├─ [OR]: optional 'optional_77' #77 + │ └─ item: list 'list_76' #76 │ └─ item: &QueryUserWhereUniqueInput #75 - ├─ [id]: optional '_59__integer_filter_c?' #59 + ├─ [id]: optional 'optional_59' #59 │ └─ item: optional '_integer_filter_c' #36 │ └─ item: union #35 │ ├─ variant_0: either '_integer_filter' #33 @@ -23,19 +23,19 @@ root: struct #81 │ │ ├─ variant_2: struct #29 │ │ │ └─ [not]: integer #25 │ │ ├─ variant_3: struct #30 - │ │ │ ├─ [gt]: optional #26 + │ │ │ ├─ [gt]: optional 'optional_26' #26 │ │ │ │ └─ item: integer #25 - │ │ │ ├─ [gte]: optional #26 + │ │ │ ├─ [gte]: optional 'optional_26' #26 │ │ │ │ └─ item: integer #25 - │ │ │ ├─ [lt]: optional #26 + │ │ │ ├─ [lt]: optional 'optional_26' #26 │ │ │ │ └─ item: integer #25 - │ │ │ └─ [lte]: optional #26 + │ │ │ └─ [lte]: optional 'optional_26' #26 │ │ │ └─ item: integer #25 │ │ ├─ variant_4: struct #31 - │ │ │ └─ [in]: list #27 + │ │ │ └─ [in]: list 'list_27' #27 │ │ │ └─ item: integer #25 │ │ └─ variant_5: struct #32 - │ │ └─ [notIn]: list #27 + │ │ └─ [notIn]: list 'list_27' #27 │ │ └─ item: integer #25 │ └─ variant_1: struct #34 │ └─ [not]: either '_integer_filter' #33 @@ -45,21 +45,21 @@ root: struct #81 │ ├─ variant_2: struct #29 │ │ └─ [not]: integer #25 │ ├─ variant_3: struct #30 - │ │ ├─ [gt]: optional #26 + │ │ ├─ [gt]: optional 'optional_26' #26 │ │ │ └─ item: integer #25 - │ │ ├─ [gte]: optional #26 + │ │ ├─ [gte]: optional 'optional_26' #26 │ │ │ └─ item: integer #25 - │ │ ├─ [lt]: optional #26 + │ │ ├─ [lt]: optional 'optional_26' #26 │ │ │ └─ item: integer #25 - │ │ └─ [lte]: optional #26 + │ │ └─ [lte]: optional 'optional_26' #26 │ │ └─ item: integer #25 │ ├─ variant_4: struct #31 - │ │ └─ [in]: list #27 + │ │ └─ [in]: list 'list_27' #27 │ │ └─ item: integer #25 │ └─ variant_5: struct #32 - │ └─ [notIn]: list #27 + │ └─ [notIn]: list 'list_27' #27 │ └─ item: integer #25 - ├─ [name]: optional '_60__string_filter_c?' #60 + ├─ [name]: optional 'optional_60' #60 │ └─ item: optional '_string_filter_c' #22 │ └─ item: union #21 │ ├─ variant_0: union '_string_filter' #19 @@ -69,21 +69,21 @@ root: struct #81 │ │ ├─ variant_2: struct #11 │ │ │ └─ [not]: string #7 │ │ ├─ variant_3: struct #12 - │ │ │ └─ [in]: list #9 + │ │ │ └─ [in]: list 'list_9' #9 │ │ │ └─ item: string #7 │ │ ├─ variant_4: struct #13 - │ │ │ └─ [notIn]: list #9 + │ │ │ └─ [notIn]: list 'list_9' #9 │ │ │ └─ item: string #7 │ │ ├─ variant_5: struct #16 │ │ │ ├─ [contains]: string #7 - │ │ │ └─ [mode]: optional #15 + │ │ │ └─ [mode]: optional 'optional_15' #15 │ │ │ └─ item: string #14 enum{ '"insensitive"' } │ │ ├─ variant_6: struct #17 │ │ │ └─ [search]: string #7 │ │ └─ variant_7: struct #18 - │ │ ├─ [endsWith]: optional #8 + │ │ ├─ [endsWith]: optional 'optional_8' #8 │ │ │ └─ item: string #7 - │ │ └─ [startsWith]: optional #8 + │ │ └─ [startsWith]: optional 'optional_8' #8 │ │ └─ item: string #7 │ └─ variant_1: struct #20 │ └─ [not]: union '_string_filter' #19 @@ -93,30 +93,30 @@ root: struct #81 │ ├─ variant_2: struct #11 │ │ └─ [not]: string #7 │ ├─ variant_3: struct #12 - │ │ └─ [in]: list #9 + │ │ └─ [in]: list 'list_9' #9 │ │ └─ item: string #7 │ ├─ variant_4: struct #13 - │ │ └─ [notIn]: list #9 + │ │ └─ [notIn]: list 'list_9' #9 │ │ └─ item: string #7 │ ├─ variant_5: struct #16 │ │ ├─ [contains]: string #7 - │ │ └─ [mode]: optional #15 + │ │ └─ [mode]: optional 'optional_15' #15 │ │ └─ item: string #14 enum{ '"insensitive"' } │ ├─ variant_6: struct #17 │ │ └─ [search]: string #7 │ └─ variant_7: struct #18 - │ ├─ [endsWith]: optional #8 + │ ├─ [endsWith]: optional 'optional_8' #8 │ │ └─ item: string #7 - │ └─ [startsWith]: optional #8 + │ └─ [startsWith]: optional 'optional_8' #8 │ └─ item: string #7 - └─ [posts]: optional #73 + └─ [posts]: optional 'optional_73' #73 └─ item: union #72 ├─ variant_0: struct #67 - │ └─ [every]: optional '_66_PostWhere__skip_54_UserWhere?' #66 + │ └─ [every]: optional 'optional_66' #66 │ └─ item: struct 'PostWhere__skip_54_UserWhere' #65 - │ ├─ [author]: optional '_64_UserWhere?' #64 + │ ├─ [author]: optional 'optional_64' #64 │ │ └─ item: &UserWhere #63 - │ ├─ [id]: optional '_61__integer_filter_c?' #61 + │ ├─ [id]: optional 'optional_61' #61 │ │ └─ item: optional '_integer_filter_c' #36 │ │ └─ item: union #35 │ │ ├─ variant_0: either '_integer_filter' #33 @@ -126,19 +126,19 @@ root: struct #81 │ │ │ ├─ variant_2: struct #29 │ │ │ │ └─ [not]: integer #25 │ │ │ ├─ variant_3: struct #30 - │ │ │ │ ├─ [gt]: optional #26 + │ │ │ │ ├─ [gt]: optional 'optional_26' #26 │ │ │ │ │ └─ item: integer #25 - │ │ │ │ ├─ [gte]: optional #26 + │ │ │ │ ├─ [gte]: optional 'optional_26' #26 │ │ │ │ │ └─ item: integer #25 - │ │ │ │ ├─ [lt]: optional #26 + │ │ │ │ ├─ [lt]: optional 'optional_26' #26 │ │ │ │ │ └─ item: integer #25 - │ │ │ │ └─ [lte]: optional #26 + │ │ │ │ └─ [lte]: optional 'optional_26' #26 │ │ │ │ └─ item: integer #25 │ │ │ ├─ variant_4: struct #31 - │ │ │ │ └─ [in]: list #27 + │ │ │ │ └─ [in]: list 'list_27' #27 │ │ │ │ └─ item: integer #25 │ │ │ └─ variant_5: struct #32 - │ │ │ └─ [notIn]: list #27 + │ │ │ └─ [notIn]: list 'list_27' #27 │ │ │ └─ item: integer #25 │ │ └─ variant_1: struct #34 │ │ └─ [not]: either '_integer_filter' #33 @@ -148,21 +148,21 @@ root: struct #81 │ │ ├─ variant_2: struct #29 │ │ │ └─ [not]: integer #25 │ │ ├─ variant_3: struct #30 - │ │ │ ├─ [gt]: optional #26 + │ │ │ ├─ [gt]: optional 'optional_26' #26 │ │ │ │ └─ item: integer #25 - │ │ │ ├─ [gte]: optional #26 + │ │ │ ├─ [gte]: optional 'optional_26' #26 │ │ │ │ └─ item: integer #25 - │ │ │ ├─ [lt]: optional #26 + │ │ │ ├─ [lt]: optional 'optional_26' #26 │ │ │ │ └─ item: integer #25 - │ │ │ └─ [lte]: optional #26 + │ │ │ └─ [lte]: optional 'optional_26' #26 │ │ │ └─ item: integer #25 │ │ ├─ variant_4: struct #31 - │ │ │ └─ [in]: list #27 + │ │ │ └─ [in]: list 'list_27' #27 │ │ │ └─ item: integer #25 │ │ └─ variant_5: struct #32 - │ │ └─ [notIn]: list #27 + │ │ └─ [notIn]: list 'list_27' #27 │ │ └─ item: integer #25 - │ └─ [title]: optional '_62__string_filter_c?' #62 + │ └─ [title]: optional 'optional_62' #62 │ └─ item: optional '_string_filter_c' #22 │ └─ item: union #21 │ ├─ variant_0: union '_string_filter' #19 @@ -172,21 +172,21 @@ root: struct #81 │ │ ├─ variant_2: struct #11 │ │ │ └─ [not]: string #7 │ │ ├─ variant_3: struct #12 - │ │ │ └─ [in]: list #9 + │ │ │ └─ [in]: list 'list_9' #9 │ │ │ └─ item: string #7 │ │ ├─ variant_4: struct #13 - │ │ │ └─ [notIn]: list #9 + │ │ │ └─ [notIn]: list 'list_9' #9 │ │ │ └─ item: string #7 │ │ ├─ variant_5: struct #16 │ │ │ ├─ [contains]: string #7 - │ │ │ └─ [mode]: optional #15 + │ │ │ └─ [mode]: optional 'optional_15' #15 │ │ │ └─ item: string #14 enum{ '"insensitive"' } │ │ ├─ variant_6: struct #17 │ │ │ └─ [search]: string #7 │ │ └─ variant_7: struct #18 - │ │ ├─ [endsWith]: optional #8 + │ │ ├─ [endsWith]: optional 'optional_8' #8 │ │ │ └─ item: string #7 - │ │ └─ [startsWith]: optional #8 + │ │ └─ [startsWith]: optional 'optional_8' #8 │ │ └─ item: string #7 │ └─ variant_1: struct #20 │ └─ [not]: union '_string_filter' #19 @@ -196,28 +196,28 @@ root: struct #81 │ ├─ variant_2: struct #11 │ │ └─ [not]: string #7 │ ├─ variant_3: struct #12 - │ │ └─ [in]: list #9 + │ │ └─ [in]: list 'list_9' #9 │ │ └─ item: string #7 │ ├─ variant_4: struct #13 - │ │ └─ [notIn]: list #9 + │ │ └─ [notIn]: list 'list_9' #9 │ │ └─ item: string #7 │ ├─ variant_5: struct #16 │ │ ├─ [contains]: string #7 - │ │ └─ [mode]: optional #15 + │ │ └─ [mode]: optional 'optional_15' #15 │ │ └─ item: string #14 enum{ '"insensitive"' } │ ├─ variant_6: struct #17 │ │ └─ [search]: string #7 │ └─ variant_7: struct #18 - │ ├─ [endsWith]: optional #8 + │ ├─ [endsWith]: optional 'optional_8' #8 │ │ └─ item: string #7 - │ └─ [startsWith]: optional #8 + │ └─ [startsWith]: optional 'optional_8' #8 │ └─ item: string #7 ├─ variant_1: struct #69 - │ └─ [some]: optional '_68_PostWhere__skip_54_UserWhere?' #68 + │ └─ [some]: optional 'optional_68' #68 │ └─ item: struct 'PostWhere__skip_54_UserWhere' #65 - │ ├─ [author]: optional '_64_UserWhere?' #64 + │ ├─ [author]: optional 'optional_64' #64 │ │ └─ item: &UserWhere #63 - │ ├─ [id]: optional '_61__integer_filter_c?' #61 + │ ├─ [id]: optional 'optional_61' #61 │ │ └─ item: optional '_integer_filter_c' #36 │ │ └─ item: union #35 │ │ ├─ variant_0: either '_integer_filter' #33 @@ -227,19 +227,19 @@ root: struct #81 │ │ │ ├─ variant_2: struct #29 │ │ │ │ └─ [not]: integer #25 │ │ │ ├─ variant_3: struct #30 - │ │ │ │ ├─ [gt]: optional #26 + │ │ │ │ ├─ [gt]: optional 'optional_26' #26 │ │ │ │ │ └─ item: integer #25 - │ │ │ │ ├─ [gte]: optional #26 + │ │ │ │ ├─ [gte]: optional 'optional_26' #26 │ │ │ │ │ └─ item: integer #25 - │ │ │ │ ├─ [lt]: optional #26 + │ │ │ │ ├─ [lt]: optional 'optional_26' #26 │ │ │ │ │ └─ item: integer #25 - │ │ │ │ └─ [lte]: optional #26 + │ │ │ │ └─ [lte]: optional 'optional_26' #26 │ │ │ │ └─ item: integer #25 │ │ │ ├─ variant_4: struct #31 - │ │ │ │ └─ [in]: list #27 + │ │ │ │ └─ [in]: list 'list_27' #27 │ │ │ │ └─ item: integer #25 │ │ │ └─ variant_5: struct #32 - │ │ │ └─ [notIn]: list #27 + │ │ │ └─ [notIn]: list 'list_27' #27 │ │ │ └─ item: integer #25 │ │ └─ variant_1: struct #34 │ │ └─ [not]: either '_integer_filter' #33 @@ -249,21 +249,21 @@ root: struct #81 │ │ ├─ variant_2: struct #29 │ │ │ └─ [not]: integer #25 │ │ ├─ variant_3: struct #30 - │ │ │ ├─ [gt]: optional #26 + │ │ │ ├─ [gt]: optional 'optional_26' #26 │ │ │ │ └─ item: integer #25 - │ │ │ ├─ [gte]: optional #26 + │ │ │ ├─ [gte]: optional 'optional_26' #26 │ │ │ │ └─ item: integer #25 - │ │ │ ├─ [lt]: optional #26 + │ │ │ ├─ [lt]: optional 'optional_26' #26 │ │ │ │ └─ item: integer #25 - │ │ │ └─ [lte]: optional #26 + │ │ │ └─ [lte]: optional 'optional_26' #26 │ │ │ └─ item: integer #25 │ │ ├─ variant_4: struct #31 - │ │ │ └─ [in]: list #27 + │ │ │ └─ [in]: list 'list_27' #27 │ │ │ └─ item: integer #25 │ │ └─ variant_5: struct #32 - │ │ └─ [notIn]: list #27 + │ │ └─ [notIn]: list 'list_27' #27 │ │ └─ item: integer #25 - │ └─ [title]: optional '_62__string_filter_c?' #62 + │ └─ [title]: optional 'optional_62' #62 │ └─ item: optional '_string_filter_c' #22 │ └─ item: union #21 │ ├─ variant_0: union '_string_filter' #19 @@ -273,21 +273,21 @@ root: struct #81 │ │ ├─ variant_2: struct #11 │ │ │ └─ [not]: string #7 │ │ ├─ variant_3: struct #12 - │ │ │ └─ [in]: list #9 + │ │ │ └─ [in]: list 'list_9' #9 │ │ │ └─ item: string #7 │ │ ├─ variant_4: struct #13 - │ │ │ └─ [notIn]: list #9 + │ │ │ └─ [notIn]: list 'list_9' #9 │ │ │ └─ item: string #7 │ │ ├─ variant_5: struct #16 │ │ │ ├─ [contains]: string #7 - │ │ │ └─ [mode]: optional #15 + │ │ │ └─ [mode]: optional 'optional_15' #15 │ │ │ └─ item: string #14 enum{ '"insensitive"' } │ │ ├─ variant_6: struct #17 │ │ │ └─ [search]: string #7 │ │ └─ variant_7: struct #18 - │ │ ├─ [endsWith]: optional #8 + │ │ ├─ [endsWith]: optional 'optional_8' #8 │ │ │ └─ item: string #7 - │ │ └─ [startsWith]: optional #8 + │ │ └─ [startsWith]: optional 'optional_8' #8 │ │ └─ item: string #7 │ └─ variant_1: struct #20 │ └─ [not]: union '_string_filter' #19 @@ -297,28 +297,28 @@ root: struct #81 │ ├─ variant_2: struct #11 │ │ └─ [not]: string #7 │ ├─ variant_3: struct #12 - │ │ └─ [in]: list #9 + │ │ └─ [in]: list 'list_9' #9 │ │ └─ item: string #7 │ ├─ variant_4: struct #13 - │ │ └─ [notIn]: list #9 + │ │ └─ [notIn]: list 'list_9' #9 │ │ └─ item: string #7 │ ├─ variant_5: struct #16 │ │ ├─ [contains]: string #7 - │ │ └─ [mode]: optional #15 + │ │ └─ [mode]: optional 'optional_15' #15 │ │ └─ item: string #14 enum{ '"insensitive"' } │ ├─ variant_6: struct #17 │ │ └─ [search]: string #7 │ └─ variant_7: struct #18 - │ ├─ [endsWith]: optional #8 + │ ├─ [endsWith]: optional 'optional_8' #8 │ │ └─ item: string #7 - │ └─ [startsWith]: optional #8 + │ └─ [startsWith]: optional 'optional_8' #8 │ └─ item: string #7 └─ variant_2: struct #71 - └─ [none]: optional '_70_PostWhere__skip_54_UserWhere?' #70 + └─ [none]: optional 'optional_70' #70 └─ item: struct 'PostWhere__skip_54_UserWhere' #65 - ├─ [author]: optional '_64_UserWhere?' #64 + ├─ [author]: optional 'optional_64' #64 │ └─ item: &UserWhere #63 - ├─ [id]: optional '_61__integer_filter_c?' #61 + ├─ [id]: optional 'optional_61' #61 │ └─ item: optional '_integer_filter_c' #36 │ └─ item: union #35 │ ├─ variant_0: either '_integer_filter' #33 @@ -328,19 +328,19 @@ root: struct #81 │ │ ├─ variant_2: struct #29 │ │ │ └─ [not]: integer #25 │ │ ├─ variant_3: struct #30 - │ │ │ ├─ [gt]: optional #26 + │ │ │ ├─ [gt]: optional 'optional_26' #26 │ │ │ │ └─ item: integer #25 - │ │ │ ├─ [gte]: optional #26 + │ │ │ ├─ [gte]: optional 'optional_26' #26 │ │ │ │ └─ item: integer #25 - │ │ │ ├─ [lt]: optional #26 + │ │ │ ├─ [lt]: optional 'optional_26' #26 │ │ │ │ └─ item: integer #25 - │ │ │ └─ [lte]: optional #26 + │ │ │ └─ [lte]: optional 'optional_26' #26 │ │ │ └─ item: integer #25 │ │ ├─ variant_4: struct #31 - │ │ │ └─ [in]: list #27 + │ │ │ └─ [in]: list 'list_27' #27 │ │ │ └─ item: integer #25 │ │ └─ variant_5: struct #32 - │ │ └─ [notIn]: list #27 + │ │ └─ [notIn]: list 'list_27' #27 │ │ └─ item: integer #25 │ └─ variant_1: struct #34 │ └─ [not]: either '_integer_filter' #33 @@ -350,21 +350,21 @@ root: struct #81 │ ├─ variant_2: struct #29 │ │ └─ [not]: integer #25 │ ├─ variant_3: struct #30 - │ │ ├─ [gt]: optional #26 + │ │ ├─ [gt]: optional 'optional_26' #26 │ │ │ └─ item: integer #25 - │ │ ├─ [gte]: optional #26 + │ │ ├─ [gte]: optional 'optional_26' #26 │ │ │ └─ item: integer #25 - │ │ ├─ [lt]: optional #26 + │ │ ├─ [lt]: optional 'optional_26' #26 │ │ │ └─ item: integer #25 - │ │ └─ [lte]: optional #26 + │ │ └─ [lte]: optional 'optional_26' #26 │ │ └─ item: integer #25 │ ├─ variant_4: struct #31 - │ │ └─ [in]: list #27 + │ │ └─ [in]: list 'list_27' #27 │ │ └─ item: integer #25 │ └─ variant_5: struct #32 - │ └─ [notIn]: list #27 + │ └─ [notIn]: list 'list_27' #27 │ └─ item: integer #25 - └─ [title]: optional '_62__string_filter_c?' #62 + └─ [title]: optional 'optional_62' #62 └─ item: optional '_string_filter_c' #22 └─ item: union #21 ├─ variant_0: union '_string_filter' #19 @@ -374,21 +374,21 @@ root: struct #81 │ ├─ variant_2: struct #11 │ │ └─ [not]: string #7 │ ├─ variant_3: struct #12 - │ │ └─ [in]: list #9 + │ │ └─ [in]: list 'list_9' #9 │ │ └─ item: string #7 │ ├─ variant_4: struct #13 - │ │ └─ [notIn]: list #9 + │ │ └─ [notIn]: list 'list_9' #9 │ │ └─ item: string #7 │ ├─ variant_5: struct #16 │ │ ├─ [contains]: string #7 - │ │ └─ [mode]: optional #15 + │ │ └─ [mode]: optional 'optional_15' #15 │ │ └─ item: string #14 enum{ '"insensitive"' } │ ├─ variant_6: struct #17 │ │ └─ [search]: string #7 │ └─ variant_7: struct #18 - │ ├─ [endsWith]: optional #8 + │ ├─ [endsWith]: optional 'optional_8' #8 │ │ └─ item: string #7 - │ └─ [startsWith]: optional #8 + │ └─ [startsWith]: optional 'optional_8' #8 │ └─ item: string #7 └─ variant_1: struct #20 └─ [not]: union '_string_filter' #19 @@ -398,20 +398,19 @@ root: struct #81 ├─ variant_2: struct #11 │ └─ [not]: string #7 ├─ variant_3: struct #12 - │ └─ [in]: list #9 + │ └─ [in]: list 'list_9' #9 │ └─ item: string #7 ├─ variant_4: struct #13 - │ └─ [notIn]: list #9 + │ └─ [notIn]: list 'list_9' #9 │ └─ item: string #7 ├─ variant_5: struct #16 │ ├─ [contains]: string #7 - │ └─ [mode]: optional #15 + │ └─ [mode]: optional 'optional_15' #15 │ └─ item: string #14 enum{ '"insensitive"' } ├─ variant_6: struct #17 │ └─ [search]: string #7 └─ variant_7: struct #18 - ├─ [endsWith]: optional #8 + ├─ [endsWith]: optional 'optional_8' #8 │ └─ item: string #7 - └─ [startsWith]: optional #8 + └─ [startsWith]: optional 'optional_8' #8 └─ item: string #7 - diff --git a/src/typegraph/core/src/runtimes/prisma/type_generation/snapshots/typegraph_core__runtimes__prisma__type_generation__test__find_unique User out.snap b/src/typegraph/core/src/runtimes/prisma/type_generation/snapshots/typegraph_core__runtimes__prisma__type_generation__test__find_unique User out.snap index 524a4c619e..f2ab292ba0 100644 --- a/src/typegraph/core/src/runtimes/prisma/type_generation/snapshots/typegraph_core__runtimes__prisma__type_generation__test__find_unique User out.snap +++ b/src/typegraph/core/src/runtimes/prisma/type_generation/snapshots/typegraph_core__runtimes__prisma__type_generation__test__find_unique User out.snap @@ -1,16 +1,15 @@ --- -source: typegraph/core/src/runtimes/prisma/type_generation/mod.rs +source: src/typegraph/core/src/runtimes/prisma/type_generation/mod.rs expression: tp.print(out) --- -root: optional '_88_UserWithNestedCount?' #88 +root: optional 'optional_88' #88 └─ item: struct 'UserWithNestedCount' #87 ├─ [_count]: struct #86 │ └─ [posts]: optional '_Count' #85 │ └─ item: integer #84 ├─ [id]: integer #50 ├─ [name]: string #51 - └─ [posts]: list '_83_PostWithNestedCount_excluding___rel_Post_User_1[]' #83 + └─ [posts]: list 'list_83' #83 └─ item: struct 'PostWithNestedCount_excluding___rel_Post_User_1' #82 ├─ [id]: integer #55 └─ [title]: string #56 - diff --git a/src/typegraph/core/src/runtimes/prisma/type_generation/snapshots/typegraph_core__runtimes__prisma__type_generation__test__group_by Post inp.snap b/src/typegraph/core/src/runtimes/prisma/type_generation/snapshots/typegraph_core__runtimes__prisma__type_generation__test__group_by Post inp.snap index 42a8252f00..009bb5f950 100644 --- a/src/typegraph/core/src/runtimes/prisma/type_generation/snapshots/typegraph_core__runtimes__prisma__type_generation__test__group_by Post inp.snap +++ b/src/typegraph/core/src/runtimes/prisma/type_generation/snapshots/typegraph_core__runtimes__prisma__type_generation__test__group_by Post inp.snap @@ -1,22 +1,22 @@ --- -source: typegraph/core/src/runtimes/prisma/type_generation/mod.rs +source: src/typegraph/core/src/runtimes/prisma/type_generation/mod.rs expression: tp.print(inp) --- root: struct '_Post_QueryInput_group_by' #271 ├─ [by]: list '_Post_GroupingFields' #246 │ └─ item: string #245 enum{ '"id"', '"title"' } -├─ [cursor]: optional '_244__Post_Cursor?' #244 +├─ [cursor]: optional 'optional_244' #244 │ └─ item: union '_Post_Cursor' #243 │ ├─ variant_0: struct #241 │ │ └─ [id]: integer #124 │ └─ variant_1: struct #242 │ └─ [title]: string #125 -├─ [having]: optional '_270__Post_Having?' #270 +├─ [having]: optional 'optional_270' #270 │ └─ item: union '_Post_Having' #269 │ ├─ variant_0: struct 'PostWhere__agg' #262 -│ │ ├─ [author]: optional '_261_UserWhere__agg__skip_127_PostWhere__agg?' #261 +│ │ ├─ [author]: optional 'optional_261' #261 │ │ │ └─ item: struct 'UserWhere__agg__skip_127_PostWhere__agg' #260 -│ │ │ ├─ [id]: optional '_249__integer_filter_with_aggregates_c?' #249 +│ │ │ ├─ [id]: optional 'optional_249' #249 │ │ │ │ └─ item: optional '_integer_filter_with_aggregates_c' #93 │ │ │ │ └─ item: union #92 │ │ │ │ ├─ variant_0: union '_integer_filter_with_aggregates' #90 @@ -27,19 +27,19 @@ root: struct '_Post_QueryInput_group_by' #271 │ │ │ │ │ │ ├─ variant_2: struct #29 │ │ │ │ │ │ │ └─ [not]: integer #25 │ │ │ │ │ │ ├─ variant_3: struct #30 -│ │ │ │ │ │ │ ├─ [gt]: optional #26 +│ │ │ │ │ │ │ ├─ [gt]: optional 'optional_26' #26 │ │ │ │ │ │ │ │ └─ item: integer #25 -│ │ │ │ │ │ │ ├─ [gte]: optional #26 +│ │ │ │ │ │ │ ├─ [gte]: optional 'optional_26' #26 │ │ │ │ │ │ │ │ └─ item: integer #25 -│ │ │ │ │ │ │ ├─ [lt]: optional #26 +│ │ │ │ │ │ │ ├─ [lt]: optional 'optional_26' #26 │ │ │ │ │ │ │ │ └─ item: integer #25 -│ │ │ │ │ │ │ └─ [lte]: optional #26 +│ │ │ │ │ │ │ └─ [lte]: optional 'optional_26' #26 │ │ │ │ │ │ │ └─ item: integer #25 │ │ │ │ │ │ ├─ variant_4: struct #31 -│ │ │ │ │ │ │ └─ [in]: list #27 +│ │ │ │ │ │ │ └─ [in]: list 'list_27' #27 │ │ │ │ │ │ │ └─ item: integer #25 │ │ │ │ │ │ └─ variant_5: struct #32 -│ │ │ │ │ │ └─ [notIn]: list #27 +│ │ │ │ │ │ └─ [notIn]: list 'list_27' #27 │ │ │ │ │ │ └─ item: integer #25 │ │ │ │ │ ├─ variant_1: struct #85 │ │ │ │ │ │ └─ [_count]: either '_integer_filter' #33 @@ -49,19 +49,19 @@ root: struct '_Post_QueryInput_group_by' #271 │ │ │ │ │ │ ├─ variant_2: struct #29 │ │ │ │ │ │ │ └─ [not]: integer #25 │ │ │ │ │ │ ├─ variant_3: struct #30 -│ │ │ │ │ │ │ ├─ [gt]: optional #26 +│ │ │ │ │ │ │ ├─ [gt]: optional 'optional_26' #26 │ │ │ │ │ │ │ │ └─ item: integer #25 -│ │ │ │ │ │ │ ├─ [gte]: optional #26 +│ │ │ │ │ │ │ ├─ [gte]: optional 'optional_26' #26 │ │ │ │ │ │ │ │ └─ item: integer #25 -│ │ │ │ │ │ │ ├─ [lt]: optional #26 +│ │ │ │ │ │ │ ├─ [lt]: optional 'optional_26' #26 │ │ │ │ │ │ │ │ └─ item: integer #25 -│ │ │ │ │ │ │ └─ [lte]: optional #26 +│ │ │ │ │ │ │ └─ [lte]: optional 'optional_26' #26 │ │ │ │ │ │ │ └─ item: integer #25 │ │ │ │ │ │ ├─ variant_4: struct #31 -│ │ │ │ │ │ │ └─ [in]: list #27 +│ │ │ │ │ │ │ └─ [in]: list 'list_27' #27 │ │ │ │ │ │ │ └─ item: integer #25 │ │ │ │ │ │ └─ variant_5: struct #32 -│ │ │ │ │ │ └─ [notIn]: list #27 +│ │ │ │ │ │ └─ [notIn]: list 'list_27' #27 │ │ │ │ │ │ └─ item: integer #25 │ │ │ │ │ ├─ variant_2: struct #86 │ │ │ │ │ │ └─ [_sum]: either '_integer_filter' #33 @@ -71,19 +71,19 @@ root: struct '_Post_QueryInput_group_by' #271 │ │ │ │ │ │ ├─ variant_2: struct #29 │ │ │ │ │ │ │ └─ [not]: integer #25 │ │ │ │ │ │ ├─ variant_3: struct #30 -│ │ │ │ │ │ │ ├─ [gt]: optional #26 +│ │ │ │ │ │ │ ├─ [gt]: optional 'optional_26' #26 │ │ │ │ │ │ │ │ └─ item: integer #25 -│ │ │ │ │ │ │ ├─ [gte]: optional #26 +│ │ │ │ │ │ │ ├─ [gte]: optional 'optional_26' #26 │ │ │ │ │ │ │ │ └─ item: integer #25 -│ │ │ │ │ │ │ ├─ [lt]: optional #26 +│ │ │ │ │ │ │ ├─ [lt]: optional 'optional_26' #26 │ │ │ │ │ │ │ │ └─ item: integer #25 -│ │ │ │ │ │ │ └─ [lte]: optional #26 +│ │ │ │ │ │ │ └─ [lte]: optional 'optional_26' #26 │ │ │ │ │ │ │ └─ item: integer #25 │ │ │ │ │ │ ├─ variant_4: struct #31 -│ │ │ │ │ │ │ └─ [in]: list #27 +│ │ │ │ │ │ │ └─ [in]: list 'list_27' #27 │ │ │ │ │ │ │ └─ item: integer #25 │ │ │ │ │ │ └─ variant_5: struct #32 -│ │ │ │ │ │ └─ [notIn]: list #27 +│ │ │ │ │ │ └─ [notIn]: list 'list_27' #27 │ │ │ │ │ │ └─ item: integer #25 │ │ │ │ │ ├─ variant_3: struct #87 │ │ │ │ │ │ └─ [_avg]: either '_float_filter' #84 @@ -93,19 +93,19 @@ root: struct '_Post_QueryInput_group_by' #271 │ │ │ │ │ │ ├─ variant_2: struct #80 │ │ │ │ │ │ │ └─ [not]: float #76 │ │ │ │ │ │ ├─ variant_3: struct #81 -│ │ │ │ │ │ │ ├─ [gt]: optional #77 +│ │ │ │ │ │ │ ├─ [gt]: optional 'optional_77' #77 │ │ │ │ │ │ │ │ └─ item: float #76 -│ │ │ │ │ │ │ ├─ [gte]: optional #77 +│ │ │ │ │ │ │ ├─ [gte]: optional 'optional_77' #77 │ │ │ │ │ │ │ │ └─ item: float #76 -│ │ │ │ │ │ │ ├─ [lt]: optional #77 +│ │ │ │ │ │ │ ├─ [lt]: optional 'optional_77' #77 │ │ │ │ │ │ │ │ └─ item: float #76 -│ │ │ │ │ │ │ └─ [lte]: optional #77 +│ │ │ │ │ │ │ └─ [lte]: optional 'optional_77' #77 │ │ │ │ │ │ │ └─ item: float #76 │ │ │ │ │ │ ├─ variant_4: struct #82 -│ │ │ │ │ │ │ └─ [in]: list #78 +│ │ │ │ │ │ │ └─ [in]: list 'list_78' #78 │ │ │ │ │ │ │ └─ item: float #76 │ │ │ │ │ │ └─ variant_5: struct #83 -│ │ │ │ │ │ └─ [notIn]: list #78 +│ │ │ │ │ │ └─ [notIn]: list 'list_78' #78 │ │ │ │ │ │ └─ item: float #76 │ │ │ │ │ ├─ variant_4: struct #88 │ │ │ │ │ │ └─ [_min]: either '_integer_filter' #33 @@ -115,19 +115,19 @@ root: struct '_Post_QueryInput_group_by' #271 │ │ │ │ │ │ ├─ variant_2: struct #29 │ │ │ │ │ │ │ └─ [not]: integer #25 │ │ │ │ │ │ ├─ variant_3: struct #30 -│ │ │ │ │ │ │ ├─ [gt]: optional #26 +│ │ │ │ │ │ │ ├─ [gt]: optional 'optional_26' #26 │ │ │ │ │ │ │ │ └─ item: integer #25 -│ │ │ │ │ │ │ ├─ [gte]: optional #26 +│ │ │ │ │ │ │ ├─ [gte]: optional 'optional_26' #26 │ │ │ │ │ │ │ │ └─ item: integer #25 -│ │ │ │ │ │ │ ├─ [lt]: optional #26 +│ │ │ │ │ │ │ ├─ [lt]: optional 'optional_26' #26 │ │ │ │ │ │ │ │ └─ item: integer #25 -│ │ │ │ │ │ │ └─ [lte]: optional #26 +│ │ │ │ │ │ │ └─ [lte]: optional 'optional_26' #26 │ │ │ │ │ │ │ └─ item: integer #25 │ │ │ │ │ │ ├─ variant_4: struct #31 -│ │ │ │ │ │ │ └─ [in]: list #27 +│ │ │ │ │ │ │ └─ [in]: list 'list_27' #27 │ │ │ │ │ │ │ └─ item: integer #25 │ │ │ │ │ │ └─ variant_5: struct #32 -│ │ │ │ │ │ └─ [notIn]: list #27 +│ │ │ │ │ │ └─ [notIn]: list 'list_27' #27 │ │ │ │ │ │ └─ item: integer #25 │ │ │ │ │ └─ variant_5: struct #89 │ │ │ │ │ └─ [_max]: either '_integer_filter' #33 @@ -137,19 +137,19 @@ root: struct '_Post_QueryInput_group_by' #271 │ │ │ │ │ ├─ variant_2: struct #29 │ │ │ │ │ │ └─ [not]: integer #25 │ │ │ │ │ ├─ variant_3: struct #30 -│ │ │ │ │ │ ├─ [gt]: optional #26 +│ │ │ │ │ │ ├─ [gt]: optional 'optional_26' #26 │ │ │ │ │ │ │ └─ item: integer #25 -│ │ │ │ │ │ ├─ [gte]: optional #26 +│ │ │ │ │ │ ├─ [gte]: optional 'optional_26' #26 │ │ │ │ │ │ │ └─ item: integer #25 -│ │ │ │ │ │ ├─ [lt]: optional #26 +│ │ │ │ │ │ ├─ [lt]: optional 'optional_26' #26 │ │ │ │ │ │ │ └─ item: integer #25 -│ │ │ │ │ │ └─ [lte]: optional #26 +│ │ │ │ │ │ └─ [lte]: optional 'optional_26' #26 │ │ │ │ │ │ └─ item: integer #25 │ │ │ │ │ ├─ variant_4: struct #31 -│ │ │ │ │ │ └─ [in]: list #27 +│ │ │ │ │ │ └─ [in]: list 'list_27' #27 │ │ │ │ │ │ └─ item: integer #25 │ │ │ │ │ └─ variant_5: struct #32 -│ │ │ │ │ └─ [notIn]: list #27 +│ │ │ │ │ └─ [notIn]: list 'list_27' #27 │ │ │ │ │ └─ item: integer #25 │ │ │ │ └─ variant_1: struct #91 │ │ │ │ └─ [not]: union '_integer_filter_with_aggregates' #90 @@ -160,19 +160,19 @@ root: struct '_Post_QueryInput_group_by' #271 │ │ │ │ │ ├─ variant_2: struct #29 │ │ │ │ │ │ └─ [not]: integer #25 │ │ │ │ │ ├─ variant_3: struct #30 -│ │ │ │ │ │ ├─ [gt]: optional #26 +│ │ │ │ │ │ ├─ [gt]: optional 'optional_26' #26 │ │ │ │ │ │ │ └─ item: integer #25 -│ │ │ │ │ │ ├─ [gte]: optional #26 +│ │ │ │ │ │ ├─ [gte]: optional 'optional_26' #26 │ │ │ │ │ │ │ └─ item: integer #25 -│ │ │ │ │ │ ├─ [lt]: optional #26 +│ │ │ │ │ │ ├─ [lt]: optional 'optional_26' #26 │ │ │ │ │ │ │ └─ item: integer #25 -│ │ │ │ │ │ └─ [lte]: optional #26 +│ │ │ │ │ │ └─ [lte]: optional 'optional_26' #26 │ │ │ │ │ │ └─ item: integer #25 │ │ │ │ │ ├─ variant_4: struct #31 -│ │ │ │ │ │ └─ [in]: list #27 +│ │ │ │ │ │ └─ [in]: list 'list_27' #27 │ │ │ │ │ │ └─ item: integer #25 │ │ │ │ │ └─ variant_5: struct #32 -│ │ │ │ │ └─ [notIn]: list #27 +│ │ │ │ │ └─ [notIn]: list 'list_27' #27 │ │ │ │ │ └─ item: integer #25 │ │ │ │ ├─ variant_1: struct #85 │ │ │ │ │ └─ [_count]: either '_integer_filter' #33 @@ -182,19 +182,19 @@ root: struct '_Post_QueryInput_group_by' #271 │ │ │ │ │ ├─ variant_2: struct #29 │ │ │ │ │ │ └─ [not]: integer #25 │ │ │ │ │ ├─ variant_3: struct #30 -│ │ │ │ │ │ ├─ [gt]: optional #26 +│ │ │ │ │ │ ├─ [gt]: optional 'optional_26' #26 │ │ │ │ │ │ │ └─ item: integer #25 -│ │ │ │ │ │ ├─ [gte]: optional #26 +│ │ │ │ │ │ ├─ [gte]: optional 'optional_26' #26 │ │ │ │ │ │ │ └─ item: integer #25 -│ │ │ │ │ │ ├─ [lt]: optional #26 +│ │ │ │ │ │ ├─ [lt]: optional 'optional_26' #26 │ │ │ │ │ │ │ └─ item: integer #25 -│ │ │ │ │ │ └─ [lte]: optional #26 +│ │ │ │ │ │ └─ [lte]: optional 'optional_26' #26 │ │ │ │ │ │ └─ item: integer #25 │ │ │ │ │ ├─ variant_4: struct #31 -│ │ │ │ │ │ └─ [in]: list #27 +│ │ │ │ │ │ └─ [in]: list 'list_27' #27 │ │ │ │ │ │ └─ item: integer #25 │ │ │ │ │ └─ variant_5: struct #32 -│ │ │ │ │ └─ [notIn]: list #27 +│ │ │ │ │ └─ [notIn]: list 'list_27' #27 │ │ │ │ │ └─ item: integer #25 │ │ │ │ ├─ variant_2: struct #86 │ │ │ │ │ └─ [_sum]: either '_integer_filter' #33 @@ -204,19 +204,19 @@ root: struct '_Post_QueryInput_group_by' #271 │ │ │ │ │ ├─ variant_2: struct #29 │ │ │ │ │ │ └─ [not]: integer #25 │ │ │ │ │ ├─ variant_3: struct #30 -│ │ │ │ │ │ ├─ [gt]: optional #26 +│ │ │ │ │ │ ├─ [gt]: optional 'optional_26' #26 │ │ │ │ │ │ │ └─ item: integer #25 -│ │ │ │ │ │ ├─ [gte]: optional #26 +│ │ │ │ │ │ ├─ [gte]: optional 'optional_26' #26 │ │ │ │ │ │ │ └─ item: integer #25 -│ │ │ │ │ │ ├─ [lt]: optional #26 +│ │ │ │ │ │ ├─ [lt]: optional 'optional_26' #26 │ │ │ │ │ │ │ └─ item: integer #25 -│ │ │ │ │ │ └─ [lte]: optional #26 +│ │ │ │ │ │ └─ [lte]: optional 'optional_26' #26 │ │ │ │ │ │ └─ item: integer #25 │ │ │ │ │ ├─ variant_4: struct #31 -│ │ │ │ │ │ └─ [in]: list #27 +│ │ │ │ │ │ └─ [in]: list 'list_27' #27 │ │ │ │ │ │ └─ item: integer #25 │ │ │ │ │ └─ variant_5: struct #32 -│ │ │ │ │ └─ [notIn]: list #27 +│ │ │ │ │ └─ [notIn]: list 'list_27' #27 │ │ │ │ │ └─ item: integer #25 │ │ │ │ ├─ variant_3: struct #87 │ │ │ │ │ └─ [_avg]: either '_float_filter' #84 @@ -226,19 +226,19 @@ root: struct '_Post_QueryInput_group_by' #271 │ │ │ │ │ ├─ variant_2: struct #80 │ │ │ │ │ │ └─ [not]: float #76 │ │ │ │ │ ├─ variant_3: struct #81 -│ │ │ │ │ │ ├─ [gt]: optional #77 +│ │ │ │ │ │ ├─ [gt]: optional 'optional_77' #77 │ │ │ │ │ │ │ └─ item: float #76 -│ │ │ │ │ │ ├─ [gte]: optional #77 +│ │ │ │ │ │ ├─ [gte]: optional 'optional_77' #77 │ │ │ │ │ │ │ └─ item: float #76 -│ │ │ │ │ │ ├─ [lt]: optional #77 +│ │ │ │ │ │ ├─ [lt]: optional 'optional_77' #77 │ │ │ │ │ │ │ └─ item: float #76 -│ │ │ │ │ │ └─ [lte]: optional #77 +│ │ │ │ │ │ └─ [lte]: optional 'optional_77' #77 │ │ │ │ │ │ └─ item: float #76 │ │ │ │ │ ├─ variant_4: struct #82 -│ │ │ │ │ │ └─ [in]: list #78 +│ │ │ │ │ │ └─ [in]: list 'list_78' #78 │ │ │ │ │ │ └─ item: float #76 │ │ │ │ │ └─ variant_5: struct #83 -│ │ │ │ │ └─ [notIn]: list #78 +│ │ │ │ │ └─ [notIn]: list 'list_78' #78 │ │ │ │ │ └─ item: float #76 │ │ │ │ ├─ variant_4: struct #88 │ │ │ │ │ └─ [_min]: either '_integer_filter' #33 @@ -248,19 +248,19 @@ root: struct '_Post_QueryInput_group_by' #271 │ │ │ │ │ ├─ variant_2: struct #29 │ │ │ │ │ │ └─ [not]: integer #25 │ │ │ │ │ ├─ variant_3: struct #30 -│ │ │ │ │ │ ├─ [gt]: optional #26 +│ │ │ │ │ │ ├─ [gt]: optional 'optional_26' #26 │ │ │ │ │ │ │ └─ item: integer #25 -│ │ │ │ │ │ ├─ [gte]: optional #26 +│ │ │ │ │ │ ├─ [gte]: optional 'optional_26' #26 │ │ │ │ │ │ │ └─ item: integer #25 -│ │ │ │ │ │ ├─ [lt]: optional #26 +│ │ │ │ │ │ ├─ [lt]: optional 'optional_26' #26 │ │ │ │ │ │ │ └─ item: integer #25 -│ │ │ │ │ │ └─ [lte]: optional #26 +│ │ │ │ │ │ └─ [lte]: optional 'optional_26' #26 │ │ │ │ │ │ └─ item: integer #25 │ │ │ │ │ ├─ variant_4: struct #31 -│ │ │ │ │ │ └─ [in]: list #27 +│ │ │ │ │ │ └─ [in]: list 'list_27' #27 │ │ │ │ │ │ └─ item: integer #25 │ │ │ │ │ └─ variant_5: struct #32 -│ │ │ │ │ └─ [notIn]: list #27 +│ │ │ │ │ └─ [notIn]: list 'list_27' #27 │ │ │ │ │ └─ item: integer #25 │ │ │ │ └─ variant_5: struct #89 │ │ │ │ └─ [_max]: either '_integer_filter' #33 @@ -270,21 +270,21 @@ root: struct '_Post_QueryInput_group_by' #271 │ │ │ │ ├─ variant_2: struct #29 │ │ │ │ │ └─ [not]: integer #25 │ │ │ │ ├─ variant_3: struct #30 -│ │ │ │ │ ├─ [gt]: optional #26 +│ │ │ │ │ ├─ [gt]: optional 'optional_26' #26 │ │ │ │ │ │ └─ item: integer #25 -│ │ │ │ │ ├─ [gte]: optional #26 +│ │ │ │ │ ├─ [gte]: optional 'optional_26' #26 │ │ │ │ │ │ └─ item: integer #25 -│ │ │ │ │ ├─ [lt]: optional #26 +│ │ │ │ │ ├─ [lt]: optional 'optional_26' #26 │ │ │ │ │ │ └─ item: integer #25 -│ │ │ │ │ └─ [lte]: optional #26 +│ │ │ │ │ └─ [lte]: optional 'optional_26' #26 │ │ │ │ │ └─ item: integer #25 │ │ │ │ ├─ variant_4: struct #31 -│ │ │ │ │ └─ [in]: list #27 +│ │ │ │ │ └─ [in]: list 'list_27' #27 │ │ │ │ │ └─ item: integer #25 │ │ │ │ └─ variant_5: struct #32 -│ │ │ │ └─ [notIn]: list #27 +│ │ │ │ └─ [notIn]: list 'list_27' #27 │ │ │ │ └─ item: integer #25 -│ │ │ ├─ [name]: optional '_250__string_filter_c?' #250 +│ │ │ ├─ [name]: optional 'optional_250' #250 │ │ │ │ └─ item: optional '_string_filter_c' #22 │ │ │ │ └─ item: union #21 │ │ │ │ ├─ variant_0: union '_string_filter' #19 @@ -294,21 +294,21 @@ root: struct '_Post_QueryInput_group_by' #271 │ │ │ │ │ ├─ variant_2: struct #11 │ │ │ │ │ │ └─ [not]: string #7 │ │ │ │ │ ├─ variant_3: struct #12 -│ │ │ │ │ │ └─ [in]: list #9 +│ │ │ │ │ │ └─ [in]: list 'list_9' #9 │ │ │ │ │ │ └─ item: string #7 │ │ │ │ │ ├─ variant_4: struct #13 -│ │ │ │ │ │ └─ [notIn]: list #9 +│ │ │ │ │ │ └─ [notIn]: list 'list_9' #9 │ │ │ │ │ │ └─ item: string #7 │ │ │ │ │ ├─ variant_5: struct #16 │ │ │ │ │ │ ├─ [contains]: string #7 -│ │ │ │ │ │ └─ [mode]: optional #15 +│ │ │ │ │ │ └─ [mode]: optional 'optional_15' #15 │ │ │ │ │ │ └─ item: string #14 enum{ '"insensitive"' } │ │ │ │ │ ├─ variant_6: struct #17 │ │ │ │ │ │ └─ [search]: string #7 │ │ │ │ │ └─ variant_7: struct #18 -│ │ │ │ │ ├─ [endsWith]: optional #8 +│ │ │ │ │ ├─ [endsWith]: optional 'optional_8' #8 │ │ │ │ │ │ └─ item: string #7 -│ │ │ │ │ └─ [startsWith]: optional #8 +│ │ │ │ │ └─ [startsWith]: optional 'optional_8' #8 │ │ │ │ │ └─ item: string #7 │ │ │ │ └─ variant_1: struct #20 │ │ │ │ └─ [not]: union '_string_filter' #19 @@ -318,34 +318,34 @@ root: struct '_Post_QueryInput_group_by' #271 │ │ │ │ ├─ variant_2: struct #11 │ │ │ │ │ └─ [not]: string #7 │ │ │ │ ├─ variant_3: struct #12 -│ │ │ │ │ └─ [in]: list #9 +│ │ │ │ │ └─ [in]: list 'list_9' #9 │ │ │ │ │ └─ item: string #7 │ │ │ │ ├─ variant_4: struct #13 -│ │ │ │ │ └─ [notIn]: list #9 +│ │ │ │ │ └─ [notIn]: list 'list_9' #9 │ │ │ │ │ └─ item: string #7 │ │ │ │ ├─ variant_5: struct #16 │ │ │ │ │ ├─ [contains]: string #7 -│ │ │ │ │ └─ [mode]: optional #15 +│ │ │ │ │ └─ [mode]: optional 'optional_15' #15 │ │ │ │ │ └─ item: string #14 enum{ '"insensitive"' } │ │ │ │ ├─ variant_6: struct #17 │ │ │ │ │ └─ [search]: string #7 │ │ │ │ └─ variant_7: struct #18 -│ │ │ │ ├─ [endsWith]: optional #8 +│ │ │ │ ├─ [endsWith]: optional 'optional_8' #8 │ │ │ │ │ └─ item: string #7 -│ │ │ │ └─ [startsWith]: optional #8 +│ │ │ │ └─ [startsWith]: optional 'optional_8' #8 │ │ │ │ └─ item: string #7 -│ │ │ └─ [posts]: optional #259 +│ │ │ └─ [posts]: optional 'optional_259' #259 │ │ │ └─ item: union #258 │ │ │ ├─ variant_0: struct #253 -│ │ │ │ └─ [every]: optional '_252_PostWhere__agg?' #252 +│ │ │ │ └─ [every]: optional 'optional_252' #252 │ │ │ │ └─ item: &PostWhere__agg #251 │ │ │ ├─ variant_1: struct #255 -│ │ │ │ └─ [some]: optional '_254_PostWhere__agg?' #254 +│ │ │ │ └─ [some]: optional 'optional_254' #254 │ │ │ │ └─ item: &PostWhere__agg #251 │ │ │ └─ variant_2: struct #257 -│ │ │ └─ [none]: optional '_256_PostWhere__agg?' #256 +│ │ │ └─ [none]: optional 'optional_256' #256 │ │ │ └─ item: &PostWhere__agg #251 -│ │ ├─ [id]: optional '_247__integer_filter_with_aggregates_c?' #247 +│ │ ├─ [id]: optional 'optional_247' #247 │ │ │ └─ item: optional '_integer_filter_with_aggregates_c' #93 │ │ │ └─ item: union #92 │ │ │ ├─ variant_0: union '_integer_filter_with_aggregates' #90 @@ -356,19 +356,19 @@ root: struct '_Post_QueryInput_group_by' #271 │ │ │ │ │ ├─ variant_2: struct #29 │ │ │ │ │ │ └─ [not]: integer #25 │ │ │ │ │ ├─ variant_3: struct #30 -│ │ │ │ │ │ ├─ [gt]: optional #26 +│ │ │ │ │ │ ├─ [gt]: optional 'optional_26' #26 │ │ │ │ │ │ │ └─ item: integer #25 -│ │ │ │ │ │ ├─ [gte]: optional #26 +│ │ │ │ │ │ ├─ [gte]: optional 'optional_26' #26 │ │ │ │ │ │ │ └─ item: integer #25 -│ │ │ │ │ │ ├─ [lt]: optional #26 +│ │ │ │ │ │ ├─ [lt]: optional 'optional_26' #26 │ │ │ │ │ │ │ └─ item: integer #25 -│ │ │ │ │ │ └─ [lte]: optional #26 +│ │ │ │ │ │ └─ [lte]: optional 'optional_26' #26 │ │ │ │ │ │ └─ item: integer #25 │ │ │ │ │ ├─ variant_4: struct #31 -│ │ │ │ │ │ └─ [in]: list #27 +│ │ │ │ │ │ └─ [in]: list 'list_27' #27 │ │ │ │ │ │ └─ item: integer #25 │ │ │ │ │ └─ variant_5: struct #32 -│ │ │ │ │ └─ [notIn]: list #27 +│ │ │ │ │ └─ [notIn]: list 'list_27' #27 │ │ │ │ │ └─ item: integer #25 │ │ │ │ ├─ variant_1: struct #85 │ │ │ │ │ └─ [_count]: either '_integer_filter' #33 @@ -378,19 +378,19 @@ root: struct '_Post_QueryInput_group_by' #271 │ │ │ │ │ ├─ variant_2: struct #29 │ │ │ │ │ │ └─ [not]: integer #25 │ │ │ │ │ ├─ variant_3: struct #30 -│ │ │ │ │ │ ├─ [gt]: optional #26 +│ │ │ │ │ │ ├─ [gt]: optional 'optional_26' #26 │ │ │ │ │ │ │ └─ item: integer #25 -│ │ │ │ │ │ ├─ [gte]: optional #26 +│ │ │ │ │ │ ├─ [gte]: optional 'optional_26' #26 │ │ │ │ │ │ │ └─ item: integer #25 -│ │ │ │ │ │ ├─ [lt]: optional #26 +│ │ │ │ │ │ ├─ [lt]: optional 'optional_26' #26 │ │ │ │ │ │ │ └─ item: integer #25 -│ │ │ │ │ │ └─ [lte]: optional #26 +│ │ │ │ │ │ └─ [lte]: optional 'optional_26' #26 │ │ │ │ │ │ └─ item: integer #25 │ │ │ │ │ ├─ variant_4: struct #31 -│ │ │ │ │ │ └─ [in]: list #27 +│ │ │ │ │ │ └─ [in]: list 'list_27' #27 │ │ │ │ │ │ └─ item: integer #25 │ │ │ │ │ └─ variant_5: struct #32 -│ │ │ │ │ └─ [notIn]: list #27 +│ │ │ │ │ └─ [notIn]: list 'list_27' #27 │ │ │ │ │ └─ item: integer #25 │ │ │ │ ├─ variant_2: struct #86 │ │ │ │ │ └─ [_sum]: either '_integer_filter' #33 @@ -400,19 +400,19 @@ root: struct '_Post_QueryInput_group_by' #271 │ │ │ │ │ ├─ variant_2: struct #29 │ │ │ │ │ │ └─ [not]: integer #25 │ │ │ │ │ ├─ variant_3: struct #30 -│ │ │ │ │ │ ├─ [gt]: optional #26 +│ │ │ │ │ │ ├─ [gt]: optional 'optional_26' #26 │ │ │ │ │ │ │ └─ item: integer #25 -│ │ │ │ │ │ ├─ [gte]: optional #26 +│ │ │ │ │ │ ├─ [gte]: optional 'optional_26' #26 │ │ │ │ │ │ │ └─ item: integer #25 -│ │ │ │ │ │ ├─ [lt]: optional #26 +│ │ │ │ │ │ ├─ [lt]: optional 'optional_26' #26 │ │ │ │ │ │ │ └─ item: integer #25 -│ │ │ │ │ │ └─ [lte]: optional #26 +│ │ │ │ │ │ └─ [lte]: optional 'optional_26' #26 │ │ │ │ │ │ └─ item: integer #25 │ │ │ │ │ ├─ variant_4: struct #31 -│ │ │ │ │ │ └─ [in]: list #27 +│ │ │ │ │ │ └─ [in]: list 'list_27' #27 │ │ │ │ │ │ └─ item: integer #25 │ │ │ │ │ └─ variant_5: struct #32 -│ │ │ │ │ └─ [notIn]: list #27 +│ │ │ │ │ └─ [notIn]: list 'list_27' #27 │ │ │ │ │ └─ item: integer #25 │ │ │ │ ├─ variant_3: struct #87 │ │ │ │ │ └─ [_avg]: either '_float_filter' #84 @@ -422,19 +422,19 @@ root: struct '_Post_QueryInput_group_by' #271 │ │ │ │ │ ├─ variant_2: struct #80 │ │ │ │ │ │ └─ [not]: float #76 │ │ │ │ │ ├─ variant_3: struct #81 -│ │ │ │ │ │ ├─ [gt]: optional #77 +│ │ │ │ │ │ ├─ [gt]: optional 'optional_77' #77 │ │ │ │ │ │ │ └─ item: float #76 -│ │ │ │ │ │ ├─ [gte]: optional #77 +│ │ │ │ │ │ ├─ [gte]: optional 'optional_77' #77 │ │ │ │ │ │ │ └─ item: float #76 -│ │ │ │ │ │ ├─ [lt]: optional #77 +│ │ │ │ │ │ ├─ [lt]: optional 'optional_77' #77 │ │ │ │ │ │ │ └─ item: float #76 -│ │ │ │ │ │ └─ [lte]: optional #77 +│ │ │ │ │ │ └─ [lte]: optional 'optional_77' #77 │ │ │ │ │ │ └─ item: float #76 │ │ │ │ │ ├─ variant_4: struct #82 -│ │ │ │ │ │ └─ [in]: list #78 +│ │ │ │ │ │ └─ [in]: list 'list_78' #78 │ │ │ │ │ │ └─ item: float #76 │ │ │ │ │ └─ variant_5: struct #83 -│ │ │ │ │ └─ [notIn]: list #78 +│ │ │ │ │ └─ [notIn]: list 'list_78' #78 │ │ │ │ │ └─ item: float #76 │ │ │ │ ├─ variant_4: struct #88 │ │ │ │ │ └─ [_min]: either '_integer_filter' #33 @@ -444,19 +444,19 @@ root: struct '_Post_QueryInput_group_by' #271 │ │ │ │ │ ├─ variant_2: struct #29 │ │ │ │ │ │ └─ [not]: integer #25 │ │ │ │ │ ├─ variant_3: struct #30 -│ │ │ │ │ │ ├─ [gt]: optional #26 +│ │ │ │ │ │ ├─ [gt]: optional 'optional_26' #26 │ │ │ │ │ │ │ └─ item: integer #25 -│ │ │ │ │ │ ├─ [gte]: optional #26 +│ │ │ │ │ │ ├─ [gte]: optional 'optional_26' #26 │ │ │ │ │ │ │ └─ item: integer #25 -│ │ │ │ │ │ ├─ [lt]: optional #26 +│ │ │ │ │ │ ├─ [lt]: optional 'optional_26' #26 │ │ │ │ │ │ │ └─ item: integer #25 -│ │ │ │ │ │ └─ [lte]: optional #26 +│ │ │ │ │ │ └─ [lte]: optional 'optional_26' #26 │ │ │ │ │ │ └─ item: integer #25 │ │ │ │ │ ├─ variant_4: struct #31 -│ │ │ │ │ │ └─ [in]: list #27 +│ │ │ │ │ │ └─ [in]: list 'list_27' #27 │ │ │ │ │ │ └─ item: integer #25 │ │ │ │ │ └─ variant_5: struct #32 -│ │ │ │ │ └─ [notIn]: list #27 +│ │ │ │ │ └─ [notIn]: list 'list_27' #27 │ │ │ │ │ └─ item: integer #25 │ │ │ │ └─ variant_5: struct #89 │ │ │ │ └─ [_max]: either '_integer_filter' #33 @@ -466,19 +466,19 @@ root: struct '_Post_QueryInput_group_by' #271 │ │ │ │ ├─ variant_2: struct #29 │ │ │ │ │ └─ [not]: integer #25 │ │ │ │ ├─ variant_3: struct #30 -│ │ │ │ │ ├─ [gt]: optional #26 +│ │ │ │ │ ├─ [gt]: optional 'optional_26' #26 │ │ │ │ │ │ └─ item: integer #25 -│ │ │ │ │ ├─ [gte]: optional #26 +│ │ │ │ │ ├─ [gte]: optional 'optional_26' #26 │ │ │ │ │ │ └─ item: integer #25 -│ │ │ │ │ ├─ [lt]: optional #26 +│ │ │ │ │ ├─ [lt]: optional 'optional_26' #26 │ │ │ │ │ │ └─ item: integer #25 -│ │ │ │ │ └─ [lte]: optional #26 +│ │ │ │ │ └─ [lte]: optional 'optional_26' #26 │ │ │ │ │ └─ item: integer #25 │ │ │ │ ├─ variant_4: struct #31 -│ │ │ │ │ └─ [in]: list #27 +│ │ │ │ │ └─ [in]: list 'list_27' #27 │ │ │ │ │ └─ item: integer #25 │ │ │ │ └─ variant_5: struct #32 -│ │ │ │ └─ [notIn]: list #27 +│ │ │ │ └─ [notIn]: list 'list_27' #27 │ │ │ │ └─ item: integer #25 │ │ │ └─ variant_1: struct #91 │ │ │ └─ [not]: union '_integer_filter_with_aggregates' #90 @@ -489,19 +489,19 @@ root: struct '_Post_QueryInput_group_by' #271 │ │ │ │ ├─ variant_2: struct #29 │ │ │ │ │ └─ [not]: integer #25 │ │ │ │ ├─ variant_3: struct #30 -│ │ │ │ │ ├─ [gt]: optional #26 +│ │ │ │ │ ├─ [gt]: optional 'optional_26' #26 │ │ │ │ │ │ └─ item: integer #25 -│ │ │ │ │ ├─ [gte]: optional #26 +│ │ │ │ │ ├─ [gte]: optional 'optional_26' #26 │ │ │ │ │ │ └─ item: integer #25 -│ │ │ │ │ ├─ [lt]: optional #26 +│ │ │ │ │ ├─ [lt]: optional 'optional_26' #26 │ │ │ │ │ │ └─ item: integer #25 -│ │ │ │ │ └─ [lte]: optional #26 +│ │ │ │ │ └─ [lte]: optional 'optional_26' #26 │ │ │ │ │ └─ item: integer #25 │ │ │ │ ├─ variant_4: struct #31 -│ │ │ │ │ └─ [in]: list #27 +│ │ │ │ │ └─ [in]: list 'list_27' #27 │ │ │ │ │ └─ item: integer #25 │ │ │ │ └─ variant_5: struct #32 -│ │ │ │ └─ [notIn]: list #27 +│ │ │ │ └─ [notIn]: list 'list_27' #27 │ │ │ │ └─ item: integer #25 │ │ │ ├─ variant_1: struct #85 │ │ │ │ └─ [_count]: either '_integer_filter' #33 @@ -511,19 +511,19 @@ root: struct '_Post_QueryInput_group_by' #271 │ │ │ │ ├─ variant_2: struct #29 │ │ │ │ │ └─ [not]: integer #25 │ │ │ │ ├─ variant_3: struct #30 -│ │ │ │ │ ├─ [gt]: optional #26 +│ │ │ │ │ ├─ [gt]: optional 'optional_26' #26 │ │ │ │ │ │ └─ item: integer #25 -│ │ │ │ │ ├─ [gte]: optional #26 +│ │ │ │ │ ├─ [gte]: optional 'optional_26' #26 │ │ │ │ │ │ └─ item: integer #25 -│ │ │ │ │ ├─ [lt]: optional #26 +│ │ │ │ │ ├─ [lt]: optional 'optional_26' #26 │ │ │ │ │ │ └─ item: integer #25 -│ │ │ │ │ └─ [lte]: optional #26 +│ │ │ │ │ └─ [lte]: optional 'optional_26' #26 │ │ │ │ │ └─ item: integer #25 │ │ │ │ ├─ variant_4: struct #31 -│ │ │ │ │ └─ [in]: list #27 +│ │ │ │ │ └─ [in]: list 'list_27' #27 │ │ │ │ │ └─ item: integer #25 │ │ │ │ └─ variant_5: struct #32 -│ │ │ │ └─ [notIn]: list #27 +│ │ │ │ └─ [notIn]: list 'list_27' #27 │ │ │ │ └─ item: integer #25 │ │ │ ├─ variant_2: struct #86 │ │ │ │ └─ [_sum]: either '_integer_filter' #33 @@ -533,19 +533,19 @@ root: struct '_Post_QueryInput_group_by' #271 │ │ │ │ ├─ variant_2: struct #29 │ │ │ │ │ └─ [not]: integer #25 │ │ │ │ ├─ variant_3: struct #30 -│ │ │ │ │ ├─ [gt]: optional #26 +│ │ │ │ │ ├─ [gt]: optional 'optional_26' #26 │ │ │ │ │ │ └─ item: integer #25 -│ │ │ │ │ ├─ [gte]: optional #26 +│ │ │ │ │ ├─ [gte]: optional 'optional_26' #26 │ │ │ │ │ │ └─ item: integer #25 -│ │ │ │ │ ├─ [lt]: optional #26 +│ │ │ │ │ ├─ [lt]: optional 'optional_26' #26 │ │ │ │ │ │ └─ item: integer #25 -│ │ │ │ │ └─ [lte]: optional #26 +│ │ │ │ │ └─ [lte]: optional 'optional_26' #26 │ │ │ │ │ └─ item: integer #25 │ │ │ │ ├─ variant_4: struct #31 -│ │ │ │ │ └─ [in]: list #27 +│ │ │ │ │ └─ [in]: list 'list_27' #27 │ │ │ │ │ └─ item: integer #25 │ │ │ │ └─ variant_5: struct #32 -│ │ │ │ └─ [notIn]: list #27 +│ │ │ │ └─ [notIn]: list 'list_27' #27 │ │ │ │ └─ item: integer #25 │ │ │ ├─ variant_3: struct #87 │ │ │ │ └─ [_avg]: either '_float_filter' #84 @@ -555,19 +555,19 @@ root: struct '_Post_QueryInput_group_by' #271 │ │ │ │ ├─ variant_2: struct #80 │ │ │ │ │ └─ [not]: float #76 │ │ │ │ ├─ variant_3: struct #81 -│ │ │ │ │ ├─ [gt]: optional #77 +│ │ │ │ │ ├─ [gt]: optional 'optional_77' #77 │ │ │ │ │ │ └─ item: float #76 -│ │ │ │ │ ├─ [gte]: optional #77 +│ │ │ │ │ ├─ [gte]: optional 'optional_77' #77 │ │ │ │ │ │ └─ item: float #76 -│ │ │ │ │ ├─ [lt]: optional #77 +│ │ │ │ │ ├─ [lt]: optional 'optional_77' #77 │ │ │ │ │ │ └─ item: float #76 -│ │ │ │ │ └─ [lte]: optional #77 +│ │ │ │ │ └─ [lte]: optional 'optional_77' #77 │ │ │ │ │ └─ item: float #76 │ │ │ │ ├─ variant_4: struct #82 -│ │ │ │ │ └─ [in]: list #78 +│ │ │ │ │ └─ [in]: list 'list_78' #78 │ │ │ │ │ └─ item: float #76 │ │ │ │ └─ variant_5: struct #83 -│ │ │ │ └─ [notIn]: list #78 +│ │ │ │ └─ [notIn]: list 'list_78' #78 │ │ │ │ └─ item: float #76 │ │ │ ├─ variant_4: struct #88 │ │ │ │ └─ [_min]: either '_integer_filter' #33 @@ -577,19 +577,19 @@ root: struct '_Post_QueryInput_group_by' #271 │ │ │ │ ├─ variant_2: struct #29 │ │ │ │ │ └─ [not]: integer #25 │ │ │ │ ├─ variant_3: struct #30 -│ │ │ │ │ ├─ [gt]: optional #26 +│ │ │ │ │ ├─ [gt]: optional 'optional_26' #26 │ │ │ │ │ │ └─ item: integer #25 -│ │ │ │ │ ├─ [gte]: optional #26 +│ │ │ │ │ ├─ [gte]: optional 'optional_26' #26 │ │ │ │ │ │ └─ item: integer #25 -│ │ │ │ │ ├─ [lt]: optional #26 +│ │ │ │ │ ├─ [lt]: optional 'optional_26' #26 │ │ │ │ │ │ └─ item: integer #25 -│ │ │ │ │ └─ [lte]: optional #26 +│ │ │ │ │ └─ [lte]: optional 'optional_26' #26 │ │ │ │ │ └─ item: integer #25 │ │ │ │ ├─ variant_4: struct #31 -│ │ │ │ │ └─ [in]: list #27 +│ │ │ │ │ └─ [in]: list 'list_27' #27 │ │ │ │ │ └─ item: integer #25 │ │ │ │ └─ variant_5: struct #32 -│ │ │ │ └─ [notIn]: list #27 +│ │ │ │ └─ [notIn]: list 'list_27' #27 │ │ │ │ └─ item: integer #25 │ │ │ └─ variant_5: struct #89 │ │ │ └─ [_max]: either '_integer_filter' #33 @@ -599,21 +599,21 @@ root: struct '_Post_QueryInput_group_by' #271 │ │ │ ├─ variant_2: struct #29 │ │ │ │ └─ [not]: integer #25 │ │ │ ├─ variant_3: struct #30 -│ │ │ │ ├─ [gt]: optional #26 +│ │ │ │ ├─ [gt]: optional 'optional_26' #26 │ │ │ │ │ └─ item: integer #25 -│ │ │ │ ├─ [gte]: optional #26 +│ │ │ │ ├─ [gte]: optional 'optional_26' #26 │ │ │ │ │ └─ item: integer #25 -│ │ │ │ ├─ [lt]: optional #26 +│ │ │ │ ├─ [lt]: optional 'optional_26' #26 │ │ │ │ │ └─ item: integer #25 -│ │ │ │ └─ [lte]: optional #26 +│ │ │ │ └─ [lte]: optional 'optional_26' #26 │ │ │ │ └─ item: integer #25 │ │ │ ├─ variant_4: struct #31 -│ │ │ │ └─ [in]: list #27 +│ │ │ │ └─ [in]: list 'list_27' #27 │ │ │ │ └─ item: integer #25 │ │ │ └─ variant_5: struct #32 -│ │ │ └─ [notIn]: list #27 +│ │ │ └─ [notIn]: list 'list_27' #27 │ │ │ └─ item: integer #25 -│ │ └─ [title]: optional '_248__string_filter_c?' #248 +│ │ └─ [title]: optional 'optional_248' #248 │ │ └─ item: optional '_string_filter_c' #22 │ │ └─ item: union #21 │ │ ├─ variant_0: union '_string_filter' #19 @@ -623,21 +623,21 @@ root: struct '_Post_QueryInput_group_by' #271 │ │ │ ├─ variant_2: struct #11 │ │ │ │ └─ [not]: string #7 │ │ │ ├─ variant_3: struct #12 -│ │ │ │ └─ [in]: list #9 +│ │ │ │ └─ [in]: list 'list_9' #9 │ │ │ │ └─ item: string #7 │ │ │ ├─ variant_4: struct #13 -│ │ │ │ └─ [notIn]: list #9 +│ │ │ │ └─ [notIn]: list 'list_9' #9 │ │ │ │ └─ item: string #7 │ │ │ ├─ variant_5: struct #16 │ │ │ │ ├─ [contains]: string #7 -│ │ │ │ └─ [mode]: optional #15 +│ │ │ │ └─ [mode]: optional 'optional_15' #15 │ │ │ │ └─ item: string #14 enum{ '"insensitive"' } │ │ │ ├─ variant_6: struct #17 │ │ │ │ └─ [search]: string #7 │ │ │ └─ variant_7: struct #18 -│ │ │ ├─ [endsWith]: optional #8 +│ │ │ ├─ [endsWith]: optional 'optional_8' #8 │ │ │ │ └─ item: string #7 -│ │ │ └─ [startsWith]: optional #8 +│ │ │ └─ [startsWith]: optional 'optional_8' #8 │ │ │ └─ item: string #7 │ │ └─ variant_1: struct #20 │ │ └─ [not]: union '_string_filter' #19 @@ -647,41 +647,41 @@ root: struct '_Post_QueryInput_group_by' #271 │ │ ├─ variant_2: struct #11 │ │ │ └─ [not]: string #7 │ │ ├─ variant_3: struct #12 -│ │ │ └─ [in]: list #9 +│ │ │ └─ [in]: list 'list_9' #9 │ │ │ └─ item: string #7 │ │ ├─ variant_4: struct #13 -│ │ │ └─ [notIn]: list #9 +│ │ │ └─ [notIn]: list 'list_9' #9 │ │ │ └─ item: string #7 │ │ ├─ variant_5: struct #16 │ │ │ ├─ [contains]: string #7 -│ │ │ └─ [mode]: optional #15 +│ │ │ └─ [mode]: optional 'optional_15' #15 │ │ │ └─ item: string #14 enum{ '"insensitive"' } │ │ ├─ variant_6: struct #17 │ │ │ └─ [search]: string #7 │ │ └─ variant_7: struct #18 -│ │ ├─ [endsWith]: optional #8 +│ │ ├─ [endsWith]: optional 'optional_8' #8 │ │ │ └─ item: string #7 -│ │ └─ [startsWith]: optional #8 +│ │ └─ [startsWith]: optional 'optional_8' #8 │ │ └─ item: string #7 │ ├─ variant_1: struct #265 -│ │ └─ [AND]: list '_264__Post_Having[]' #264 +│ │ └─ [AND]: list 'list_264' #264 │ │ └─ item: &_Post_Having #263 │ ├─ variant_2: struct #267 -│ │ └─ [OR]: list '_266__Post_Having[]' #266 +│ │ └─ [OR]: list 'list_266' #266 │ │ └─ item: &_Post_Having #263 │ └─ variant_3: struct #268 │ └─ [NOT]: &_Post_Having #263 -├─ [orderBy]: optional '_238__Post_OrderBy_with_aggregates?' #238 +├─ [orderBy]: optional 'optional_238' #238 │ └─ item: list '_Post_OrderBy_with_aggregates' #237 │ └─ item: struct #236 -│ ├─ [_avg]: optional #231 +│ ├─ [_avg]: optional 'optional_231' #231 │ │ └─ item: struct #230 │ │ └─ [id]: optional '_Sort' #50 │ │ └─ item: union #49 │ │ ├─ variant_0: struct #48 │ │ │ └─ [sort]: string '_SortOrder' #46 enum{ '"asc"', '"desc"' } │ │ └─ variant_1: string '_SortOrder' #46 enum{ '"asc"', '"desc"' } -│ ├─ [_count]: optional #229 +│ ├─ [_count]: optional 'optional_229' #229 │ │ └─ item: struct #228 │ │ ├─ [author]: optional '_Sort' #50 │ │ │ └─ item: union #49 @@ -698,28 +698,28 @@ root: struct '_Post_QueryInput_group_by' #271 │ │ ├─ variant_0: struct #48 │ │ │ └─ [sort]: string '_SortOrder' #46 enum{ '"asc"', '"desc"' } │ │ └─ variant_1: string '_SortOrder' #46 enum{ '"asc"', '"desc"' } -│ ├─ [_max]: optional #231 +│ ├─ [_max]: optional 'optional_231' #231 │ │ └─ item: struct #230 │ │ └─ [id]: optional '_Sort' #50 │ │ └─ item: union #49 │ │ ├─ variant_0: struct #48 │ │ │ └─ [sort]: string '_SortOrder' #46 enum{ '"asc"', '"desc"' } │ │ └─ variant_1: string '_SortOrder' #46 enum{ '"asc"', '"desc"' } -│ ├─ [_min]: optional #231 +│ ├─ [_min]: optional 'optional_231' #231 │ │ └─ item: struct #230 │ │ └─ [id]: optional '_Sort' #50 │ │ └─ item: union #49 │ │ ├─ variant_0: struct #48 │ │ │ └─ [sort]: string '_SortOrder' #46 enum{ '"asc"', '"desc"' } │ │ └─ variant_1: string '_SortOrder' #46 enum{ '"asc"', '"desc"' } -│ ├─ [_sum]: optional #231 +│ ├─ [_sum]: optional 'optional_231' #231 │ │ └─ item: struct #230 │ │ └─ [id]: optional '_Sort' #50 │ │ └─ item: union #49 │ │ ├─ variant_0: struct #48 │ │ │ └─ [sort]: string '_SortOrder' #46 enum{ '"asc"', '"desc"' } │ │ └─ variant_1: string '_SortOrder' #46 enum{ '"asc"', '"desc"' } -│ ├─ [author]: optional '_235__User_OrderBy_excluding___rel_Post_User_1?' #235 +│ ├─ [author]: optional 'optional_235' #235 │ │ └─ item: list '_User_OrderBy_excluding___rel_Post_User_1' #234 │ │ └─ item: struct #233 │ │ ├─ [id]: optional '_Sort' #50 @@ -742,23 +742,23 @@ root: struct '_Post_QueryInput_group_by' #271 │ ├─ variant_0: struct #48 │ │ └─ [sort]: string '_SortOrder' #46 enum{ '"asc"', '"desc"' } │ └─ variant_1: string '_SortOrder' #46 enum{ '"asc"', '"desc"' } -├─ [skip]: optional '_240__Skip?' #240 +├─ [skip]: optional 'optional_240' #240 │ └─ item: integer '_Skip' #64 -├─ [take]: optional '_239__Take?' #239 +├─ [take]: optional 'optional_239' #239 │ └─ item: integer '_Take' #62 -└─ [where]: optional '_227_QueryPostWhereInput?' #227 +└─ [where]: optional 'optional_227' #227 └─ item: struct 'QueryPostWhereInput' #226 - ├─ [AND]: optional '_224__223_QueryPostWhereInput[]?' #224 - │ └─ item: list '_223_QueryPostWhereInput[]' #223 + ├─ [AND]: optional 'optional_224' #224 + │ └─ item: list 'list_223' #223 │ └─ item: &QueryPostWhereInput #222 - ├─ [NOT]: optional '_225_QueryPostWhereInput?' #225 + ├─ [NOT]: optional 'optional_225' #225 │ └─ item: &QueryPostWhereInput #222 - ├─ [OR]: optional '_224__223_QueryPostWhereInput[]?' #224 - │ └─ item: list '_223_QueryPostWhereInput[]' #223 + ├─ [OR]: optional 'optional_224' #224 + │ └─ item: list 'list_223' #223 │ └─ item: &QueryPostWhereInput #222 - ├─ [author]: optional '_220_UserWhere__skip_127_PostWhere?' #220 + ├─ [author]: optional 'optional_220' #220 │ └─ item: struct 'UserWhere__skip_127_PostWhere' #219 - │ ├─ [id]: optional '_208__integer_filter_c?' #208 + │ ├─ [id]: optional 'optional_208' #208 │ │ └─ item: optional '_integer_filter_c' #36 │ │ └─ item: union #35 │ │ ├─ variant_0: either '_integer_filter' #33 @@ -768,19 +768,19 @@ root: struct '_Post_QueryInput_group_by' #271 │ │ │ ├─ variant_2: struct #29 │ │ │ │ └─ [not]: integer #25 │ │ │ ├─ variant_3: struct #30 - │ │ │ │ ├─ [gt]: optional #26 + │ │ │ │ ├─ [gt]: optional 'optional_26' #26 │ │ │ │ │ └─ item: integer #25 - │ │ │ │ ├─ [gte]: optional #26 + │ │ │ │ ├─ [gte]: optional 'optional_26' #26 │ │ │ │ │ └─ item: integer #25 - │ │ │ │ ├─ [lt]: optional #26 + │ │ │ │ ├─ [lt]: optional 'optional_26' #26 │ │ │ │ │ └─ item: integer #25 - │ │ │ │ └─ [lte]: optional #26 + │ │ │ │ └─ [lte]: optional 'optional_26' #26 │ │ │ │ └─ item: integer #25 │ │ │ ├─ variant_4: struct #31 - │ │ │ │ └─ [in]: list #27 + │ │ │ │ └─ [in]: list 'list_27' #27 │ │ │ │ └─ item: integer #25 │ │ │ └─ variant_5: struct #32 - │ │ │ └─ [notIn]: list #27 + │ │ │ └─ [notIn]: list 'list_27' #27 │ │ │ └─ item: integer #25 │ │ └─ variant_1: struct #34 │ │ └─ [not]: either '_integer_filter' #33 @@ -790,21 +790,21 @@ root: struct '_Post_QueryInput_group_by' #271 │ │ ├─ variant_2: struct #29 │ │ │ └─ [not]: integer #25 │ │ ├─ variant_3: struct #30 - │ │ │ ├─ [gt]: optional #26 + │ │ │ ├─ [gt]: optional 'optional_26' #26 │ │ │ │ └─ item: integer #25 - │ │ │ ├─ [gte]: optional #26 + │ │ │ ├─ [gte]: optional 'optional_26' #26 │ │ │ │ └─ item: integer #25 - │ │ │ ├─ [lt]: optional #26 + │ │ │ ├─ [lt]: optional 'optional_26' #26 │ │ │ │ └─ item: integer #25 - │ │ │ └─ [lte]: optional #26 + │ │ │ └─ [lte]: optional 'optional_26' #26 │ │ │ └─ item: integer #25 │ │ ├─ variant_4: struct #31 - │ │ │ └─ [in]: list #27 + │ │ │ └─ [in]: list 'list_27' #27 │ │ │ └─ item: integer #25 │ │ └─ variant_5: struct #32 - │ │ └─ [notIn]: list #27 + │ │ └─ [notIn]: list 'list_27' #27 │ │ └─ item: integer #25 - │ ├─ [name]: optional '_209__string_filter_c?' #209 + │ ├─ [name]: optional 'optional_209' #209 │ │ └─ item: optional '_string_filter_c' #22 │ │ └─ item: union #21 │ │ ├─ variant_0: union '_string_filter' #19 @@ -814,21 +814,21 @@ root: struct '_Post_QueryInput_group_by' #271 │ │ │ ├─ variant_2: struct #11 │ │ │ │ └─ [not]: string #7 │ │ │ ├─ variant_3: struct #12 - │ │ │ │ └─ [in]: list #9 + │ │ │ │ └─ [in]: list 'list_9' #9 │ │ │ │ └─ item: string #7 │ │ │ ├─ variant_4: struct #13 - │ │ │ │ └─ [notIn]: list #9 + │ │ │ │ └─ [notIn]: list 'list_9' #9 │ │ │ │ └─ item: string #7 │ │ │ ├─ variant_5: struct #16 │ │ │ │ ├─ [contains]: string #7 - │ │ │ │ └─ [mode]: optional #15 + │ │ │ │ └─ [mode]: optional 'optional_15' #15 │ │ │ │ └─ item: string #14 enum{ '"insensitive"' } │ │ │ ├─ variant_6: struct #17 │ │ │ │ └─ [search]: string #7 │ │ │ └─ variant_7: struct #18 - │ │ │ ├─ [endsWith]: optional #8 + │ │ │ ├─ [endsWith]: optional 'optional_8' #8 │ │ │ │ └─ item: string #7 - │ │ │ └─ [startsWith]: optional #8 + │ │ │ └─ [startsWith]: optional 'optional_8' #8 │ │ │ └─ item: string #7 │ │ └─ variant_1: struct #20 │ │ └─ [not]: union '_string_filter' #19 @@ -838,34 +838,34 @@ root: struct '_Post_QueryInput_group_by' #271 │ │ ├─ variant_2: struct #11 │ │ │ └─ [not]: string #7 │ │ ├─ variant_3: struct #12 - │ │ │ └─ [in]: list #9 + │ │ │ └─ [in]: list 'list_9' #9 │ │ │ └─ item: string #7 │ │ ├─ variant_4: struct #13 - │ │ │ └─ [notIn]: list #9 + │ │ │ └─ [notIn]: list 'list_9' #9 │ │ │ └─ item: string #7 │ │ ├─ variant_5: struct #16 │ │ │ ├─ [contains]: string #7 - │ │ │ └─ [mode]: optional #15 + │ │ │ └─ [mode]: optional 'optional_15' #15 │ │ │ └─ item: string #14 enum{ '"insensitive"' } │ │ ├─ variant_6: struct #17 │ │ │ └─ [search]: string #7 │ │ └─ variant_7: struct #18 - │ │ ├─ [endsWith]: optional #8 + │ │ ├─ [endsWith]: optional 'optional_8' #8 │ │ │ └─ item: string #7 - │ │ └─ [startsWith]: optional #8 + │ │ └─ [startsWith]: optional 'optional_8' #8 │ │ └─ item: string #7 - │ └─ [posts]: optional #218 + │ └─ [posts]: optional 'optional_218' #218 │ └─ item: union #217 │ ├─ variant_0: struct #212 - │ │ └─ [every]: optional '_211_PostWhere?' #211 + │ │ └─ [every]: optional 'optional_211' #211 │ │ └─ item: &PostWhere #210 │ ├─ variant_1: struct #214 - │ │ └─ [some]: optional '_213_PostWhere?' #213 + │ │ └─ [some]: optional 'optional_213' #213 │ │ └─ item: &PostWhere #210 │ └─ variant_2: struct #216 - │ └─ [none]: optional '_215_PostWhere?' #215 + │ └─ [none]: optional 'optional_215' #215 │ └─ item: &PostWhere #210 - ├─ [id]: optional '_206__integer_filter_c?' #206 + ├─ [id]: optional 'optional_206' #206 │ └─ item: optional '_integer_filter_c' #36 │ └─ item: union #35 │ ├─ variant_0: either '_integer_filter' #33 @@ -875,19 +875,19 @@ root: struct '_Post_QueryInput_group_by' #271 │ │ ├─ variant_2: struct #29 │ │ │ └─ [not]: integer #25 │ │ ├─ variant_3: struct #30 - │ │ │ ├─ [gt]: optional #26 + │ │ │ ├─ [gt]: optional 'optional_26' #26 │ │ │ │ └─ item: integer #25 - │ │ │ ├─ [gte]: optional #26 + │ │ │ ├─ [gte]: optional 'optional_26' #26 │ │ │ │ └─ item: integer #25 - │ │ │ ├─ [lt]: optional #26 + │ │ │ ├─ [lt]: optional 'optional_26' #26 │ │ │ │ └─ item: integer #25 - │ │ │ └─ [lte]: optional #26 + │ │ │ └─ [lte]: optional 'optional_26' #26 │ │ │ └─ item: integer #25 │ │ ├─ variant_4: struct #31 - │ │ │ └─ [in]: list #27 + │ │ │ └─ [in]: list 'list_27' #27 │ │ │ └─ item: integer #25 │ │ └─ variant_5: struct #32 - │ │ └─ [notIn]: list #27 + │ │ └─ [notIn]: list 'list_27' #27 │ │ └─ item: integer #25 │ └─ variant_1: struct #34 │ └─ [not]: either '_integer_filter' #33 @@ -897,21 +897,21 @@ root: struct '_Post_QueryInput_group_by' #271 │ ├─ variant_2: struct #29 │ │ └─ [not]: integer #25 │ ├─ variant_3: struct #30 - │ │ ├─ [gt]: optional #26 + │ │ ├─ [gt]: optional 'optional_26' #26 │ │ │ └─ item: integer #25 - │ │ ├─ [gte]: optional #26 + │ │ ├─ [gte]: optional 'optional_26' #26 │ │ │ └─ item: integer #25 - │ │ ├─ [lt]: optional #26 + │ │ ├─ [lt]: optional 'optional_26' #26 │ │ │ └─ item: integer #25 - │ │ └─ [lte]: optional #26 + │ │ └─ [lte]: optional 'optional_26' #26 │ │ └─ item: integer #25 │ ├─ variant_4: struct #31 - │ │ └─ [in]: list #27 + │ │ └─ [in]: list 'list_27' #27 │ │ └─ item: integer #25 │ └─ variant_5: struct #32 - │ └─ [notIn]: list #27 + │ └─ [notIn]: list 'list_27' #27 │ └─ item: integer #25 - └─ [title]: optional '_207__string_filter_c?' #207 + └─ [title]: optional 'optional_207' #207 └─ item: optional '_string_filter_c' #22 └─ item: union #21 ├─ variant_0: union '_string_filter' #19 @@ -921,21 +921,21 @@ root: struct '_Post_QueryInput_group_by' #271 │ ├─ variant_2: struct #11 │ │ └─ [not]: string #7 │ ├─ variant_3: struct #12 - │ │ └─ [in]: list #9 + │ │ └─ [in]: list 'list_9' #9 │ │ └─ item: string #7 │ ├─ variant_4: struct #13 - │ │ └─ [notIn]: list #9 + │ │ └─ [notIn]: list 'list_9' #9 │ │ └─ item: string #7 │ ├─ variant_5: struct #16 │ │ ├─ [contains]: string #7 - │ │ └─ [mode]: optional #15 + │ │ └─ [mode]: optional 'optional_15' #15 │ │ └─ item: string #14 enum{ '"insensitive"' } │ ├─ variant_6: struct #17 │ │ └─ [search]: string #7 │ └─ variant_7: struct #18 - │ ├─ [endsWith]: optional #8 + │ ├─ [endsWith]: optional 'optional_8' #8 │ │ └─ item: string #7 - │ └─ [startsWith]: optional #8 + │ └─ [startsWith]: optional 'optional_8' #8 │ └─ item: string #7 └─ variant_1: struct #20 └─ [not]: union '_string_filter' #19 @@ -945,20 +945,19 @@ root: struct '_Post_QueryInput_group_by' #271 ├─ variant_2: struct #11 │ └─ [not]: string #7 ├─ variant_3: struct #12 - │ └─ [in]: list #9 + │ └─ [in]: list 'list_9' #9 │ └─ item: string #7 ├─ variant_4: struct #13 - │ └─ [notIn]: list #9 + │ └─ [notIn]: list 'list_9' #9 │ └─ item: string #7 ├─ variant_5: struct #16 │ ├─ [contains]: string #7 - │ └─ [mode]: optional #15 + │ └─ [mode]: optional 'optional_15' #15 │ └─ item: string #14 enum{ '"insensitive"' } ├─ variant_6: struct #17 │ └─ [search]: string #7 └─ variant_7: struct #18 - ├─ [endsWith]: optional #8 + ├─ [endsWith]: optional 'optional_8' #8 │ └─ item: string #7 - └─ [startsWith]: optional #8 + └─ [startsWith]: optional 'optional_8' #8 └─ item: string #7 - diff --git a/src/typegraph/core/src/runtimes/prisma/type_generation/snapshots/typegraph_core__runtimes__prisma__type_generation__test__group_by Post out.snap b/src/typegraph/core/src/runtimes/prisma/type_generation/snapshots/typegraph_core__runtimes__prisma__type_generation__test__group_by Post out.snap index 69d679a80c..6078ac20ae 100644 --- a/src/typegraph/core/src/runtimes/prisma/type_generation/snapshots/typegraph_core__runtimes__prisma__type_generation__test__group_by Post out.snap +++ b/src/typegraph/core/src/runtimes/prisma/type_generation/snapshots/typegraph_core__runtimes__prisma__type_generation__test__group_by Post out.snap @@ -1,31 +1,30 @@ --- -source: typegraph/core/src/runtimes/prisma/type_generation/mod.rs +source: src/typegraph/core/src/runtimes/prisma/type_generation/mod.rs expression: tp.print(out) --- root: list '_Post_GroupByResult' #284 └─ item: struct #283 ├─ [_avg]: struct '_Post_SelectNumbers__1' #277 - │ └─ [id]: optional #276 + │ └─ [id]: optional 'optional_276' #276 │ └─ item: float #275 ├─ [_count]: struct '_Post_AggrCount' #274 - │ ├─ [_all]: optional #273 + │ ├─ [_all]: optional 'optional_273' #273 │ │ └─ item: integer #272 - │ ├─ [author]: optional #273 + │ ├─ [author]: optional 'optional_273' #273 │ │ └─ item: integer #272 - │ ├─ [id]: optional #273 + │ ├─ [id]: optional 'optional_273' #273 │ │ └─ item: integer #272 - │ └─ [title]: optional #273 + │ └─ [title]: optional 'optional_273' #273 │ └─ item: integer #272 ├─ [_max]: struct '_Post_SelectNumbers_' #282 - │ └─ [id]: optional #281 + │ └─ [id]: optional 'optional_281' #281 │ └─ item: integer #280 ├─ [_min]: struct '_Post_SelectNumbers_' #282 - │ └─ [id]: optional #281 + │ └─ [id]: optional 'optional_281' #281 │ └─ item: integer #280 ├─ [_sum]: struct '_Post_SelectNumbers_' #282 - │ └─ [id]: optional #281 + │ └─ [id]: optional 'optional_281' #281 │ └─ item: integer #280 ├─ [author]: &User #126 ├─ [id]: integer #124 └─ [title]: string #125 - diff --git a/src/typegraph/core/src/runtimes/prisma/type_generation/snapshots/typegraph_core__runtimes__prisma__type_generation__test__group_by Record inp.snap b/src/typegraph/core/src/runtimes/prisma/type_generation/snapshots/typegraph_core__runtimes__prisma__type_generation__test__group_by Record inp.snap index f53c7d34e4..7a511db240 100644 --- a/src/typegraph/core/src/runtimes/prisma/type_generation/snapshots/typegraph_core__runtimes__prisma__type_generation__test__group_by Record inp.snap +++ b/src/typegraph/core/src/runtimes/prisma/type_generation/snapshots/typegraph_core__runtimes__prisma__type_generation__test__group_by Record inp.snap @@ -1,11 +1,11 @@ --- -source: typegraph/core/src/runtimes/prisma/type_generation/mod.rs +source: src/typegraph/core/src/runtimes/prisma/type_generation/mod.rs expression: tp.print(inp) --- root: struct '_Record_QueryInput_group_by' #105 ├─ [by]: list '_Record_GroupingFields' #73 │ └─ item: string #72 enum{ '"id"', '"name"', '"age"', '"created_at"' } -├─ [cursor]: optional '_71__Record_Cursor?' #71 +├─ [cursor]: optional 'optional_71' #71 │ └─ item: union '_Record_Cursor' #70 │ ├─ variant_0: struct #66 │ │ └─ [id]: string #2 @@ -15,10 +15,10 @@ root: struct '_Record_QueryInput_group_by' #105 │ │ └─ [age]: integer #4 │ └─ variant_3: struct #69 │ └─ [created_at]: string #1 -├─ [having]: optional '_104__Record_Having?' #104 +├─ [having]: optional 'optional_104' #104 │ └─ item: union '_Record_Having' #103 │ ├─ variant_0: struct 'RecordWhere__agg' #96 -│ │ ├─ [age]: optional '_94__integer_filter_with_aggregates_c?' #94 +│ │ ├─ [age]: optional 'optional_94' #94 │ │ │ └─ item: optional '_integer_filter_with_aggregates_c' #93 │ │ │ └─ item: union #92 │ │ │ ├─ variant_0: union '_integer_filter_with_aggregates' #90 @@ -29,19 +29,19 @@ root: struct '_Record_QueryInput_group_by' #105 │ │ │ │ │ ├─ variant_2: struct #29 │ │ │ │ │ │ └─ [not]: integer #25 │ │ │ │ │ ├─ variant_3: struct #30 -│ │ │ │ │ │ ├─ [gt]: optional #26 +│ │ │ │ │ │ ├─ [gt]: optional 'optional_26' #26 │ │ │ │ │ │ │ └─ item: integer #25 -│ │ │ │ │ │ ├─ [gte]: optional #26 +│ │ │ │ │ │ ├─ [gte]: optional 'optional_26' #26 │ │ │ │ │ │ │ └─ item: integer #25 -│ │ │ │ │ │ ├─ [lt]: optional #26 +│ │ │ │ │ │ ├─ [lt]: optional 'optional_26' #26 │ │ │ │ │ │ │ └─ item: integer #25 -│ │ │ │ │ │ └─ [lte]: optional #26 +│ │ │ │ │ │ └─ [lte]: optional 'optional_26' #26 │ │ │ │ │ │ └─ item: integer #25 │ │ │ │ │ ├─ variant_4: struct #31 -│ │ │ │ │ │ └─ [in]: list #27 +│ │ │ │ │ │ └─ [in]: list 'list_27' #27 │ │ │ │ │ │ └─ item: integer #25 │ │ │ │ │ └─ variant_5: struct #32 -│ │ │ │ │ └─ [notIn]: list #27 +│ │ │ │ │ └─ [notIn]: list 'list_27' #27 │ │ │ │ │ └─ item: integer #25 │ │ │ │ ├─ variant_1: struct #85 │ │ │ │ │ └─ [_count]: either '_integer_filter' #33 @@ -51,19 +51,19 @@ root: struct '_Record_QueryInput_group_by' #105 │ │ │ │ │ ├─ variant_2: struct #29 │ │ │ │ │ │ └─ [not]: integer #25 │ │ │ │ │ ├─ variant_3: struct #30 -│ │ │ │ │ │ ├─ [gt]: optional #26 +│ │ │ │ │ │ ├─ [gt]: optional 'optional_26' #26 │ │ │ │ │ │ │ └─ item: integer #25 -│ │ │ │ │ │ ├─ [gte]: optional #26 +│ │ │ │ │ │ ├─ [gte]: optional 'optional_26' #26 │ │ │ │ │ │ │ └─ item: integer #25 -│ │ │ │ │ │ ├─ [lt]: optional #26 +│ │ │ │ │ │ ├─ [lt]: optional 'optional_26' #26 │ │ │ │ │ │ │ └─ item: integer #25 -│ │ │ │ │ │ └─ [lte]: optional #26 +│ │ │ │ │ │ └─ [lte]: optional 'optional_26' #26 │ │ │ │ │ │ └─ item: integer #25 │ │ │ │ │ ├─ variant_4: struct #31 -│ │ │ │ │ │ └─ [in]: list #27 +│ │ │ │ │ │ └─ [in]: list 'list_27' #27 │ │ │ │ │ │ └─ item: integer #25 │ │ │ │ │ └─ variant_5: struct #32 -│ │ │ │ │ └─ [notIn]: list #27 +│ │ │ │ │ └─ [notIn]: list 'list_27' #27 │ │ │ │ │ └─ item: integer #25 │ │ │ │ ├─ variant_2: struct #86 │ │ │ │ │ └─ [_sum]: either '_integer_filter' #33 @@ -73,19 +73,19 @@ root: struct '_Record_QueryInput_group_by' #105 │ │ │ │ │ ├─ variant_2: struct #29 │ │ │ │ │ │ └─ [not]: integer #25 │ │ │ │ │ ├─ variant_3: struct #30 -│ │ │ │ │ │ ├─ [gt]: optional #26 +│ │ │ │ │ │ ├─ [gt]: optional 'optional_26' #26 │ │ │ │ │ │ │ └─ item: integer #25 -│ │ │ │ │ │ ├─ [gte]: optional #26 +│ │ │ │ │ │ ├─ [gte]: optional 'optional_26' #26 │ │ │ │ │ │ │ └─ item: integer #25 -│ │ │ │ │ │ ├─ [lt]: optional #26 +│ │ │ │ │ │ ├─ [lt]: optional 'optional_26' #26 │ │ │ │ │ │ │ └─ item: integer #25 -│ │ │ │ │ │ └─ [lte]: optional #26 +│ │ │ │ │ │ └─ [lte]: optional 'optional_26' #26 │ │ │ │ │ │ └─ item: integer #25 │ │ │ │ │ ├─ variant_4: struct #31 -│ │ │ │ │ │ └─ [in]: list #27 +│ │ │ │ │ │ └─ [in]: list 'list_27' #27 │ │ │ │ │ │ └─ item: integer #25 │ │ │ │ │ └─ variant_5: struct #32 -│ │ │ │ │ └─ [notIn]: list #27 +│ │ │ │ │ └─ [notIn]: list 'list_27' #27 │ │ │ │ │ └─ item: integer #25 │ │ │ │ ├─ variant_3: struct #87 │ │ │ │ │ └─ [_avg]: either '_float_filter' #84 @@ -95,19 +95,19 @@ root: struct '_Record_QueryInput_group_by' #105 │ │ │ │ │ ├─ variant_2: struct #80 │ │ │ │ │ │ └─ [not]: float #76 │ │ │ │ │ ├─ variant_3: struct #81 -│ │ │ │ │ │ ├─ [gt]: optional #77 +│ │ │ │ │ │ ├─ [gt]: optional 'optional_77' #77 │ │ │ │ │ │ │ └─ item: float #76 -│ │ │ │ │ │ ├─ [gte]: optional #77 +│ │ │ │ │ │ ├─ [gte]: optional 'optional_77' #77 │ │ │ │ │ │ │ └─ item: float #76 -│ │ │ │ │ │ ├─ [lt]: optional #77 +│ │ │ │ │ │ ├─ [lt]: optional 'optional_77' #77 │ │ │ │ │ │ │ └─ item: float #76 -│ │ │ │ │ │ └─ [lte]: optional #77 +│ │ │ │ │ │ └─ [lte]: optional 'optional_77' #77 │ │ │ │ │ │ └─ item: float #76 │ │ │ │ │ ├─ variant_4: struct #82 -│ │ │ │ │ │ └─ [in]: list #78 +│ │ │ │ │ │ └─ [in]: list 'list_78' #78 │ │ │ │ │ │ └─ item: float #76 │ │ │ │ │ └─ variant_5: struct #83 -│ │ │ │ │ └─ [notIn]: list #78 +│ │ │ │ │ └─ [notIn]: list 'list_78' #78 │ │ │ │ │ └─ item: float #76 │ │ │ │ ├─ variant_4: struct #88 │ │ │ │ │ └─ [_min]: either '_integer_filter' #33 @@ -117,19 +117,19 @@ root: struct '_Record_QueryInput_group_by' #105 │ │ │ │ │ ├─ variant_2: struct #29 │ │ │ │ │ │ └─ [not]: integer #25 │ │ │ │ │ ├─ variant_3: struct #30 -│ │ │ │ │ │ ├─ [gt]: optional #26 +│ │ │ │ │ │ ├─ [gt]: optional 'optional_26' #26 │ │ │ │ │ │ │ └─ item: integer #25 -│ │ │ │ │ │ ├─ [gte]: optional #26 +│ │ │ │ │ │ ├─ [gte]: optional 'optional_26' #26 │ │ │ │ │ │ │ └─ item: integer #25 -│ │ │ │ │ │ ├─ [lt]: optional #26 +│ │ │ │ │ │ ├─ [lt]: optional 'optional_26' #26 │ │ │ │ │ │ │ └─ item: integer #25 -│ │ │ │ │ │ └─ [lte]: optional #26 +│ │ │ │ │ │ └─ [lte]: optional 'optional_26' #26 │ │ │ │ │ │ └─ item: integer #25 │ │ │ │ │ ├─ variant_4: struct #31 -│ │ │ │ │ │ └─ [in]: list #27 +│ │ │ │ │ │ └─ [in]: list 'list_27' #27 │ │ │ │ │ │ └─ item: integer #25 │ │ │ │ │ └─ variant_5: struct #32 -│ │ │ │ │ └─ [notIn]: list #27 +│ │ │ │ │ └─ [notIn]: list 'list_27' #27 │ │ │ │ │ └─ item: integer #25 │ │ │ │ └─ variant_5: struct #89 │ │ │ │ └─ [_max]: either '_integer_filter' #33 @@ -139,19 +139,19 @@ root: struct '_Record_QueryInput_group_by' #105 │ │ │ │ ├─ variant_2: struct #29 │ │ │ │ │ └─ [not]: integer #25 │ │ │ │ ├─ variant_3: struct #30 -│ │ │ │ │ ├─ [gt]: optional #26 +│ │ │ │ │ ├─ [gt]: optional 'optional_26' #26 │ │ │ │ │ │ └─ item: integer #25 -│ │ │ │ │ ├─ [gte]: optional #26 +│ │ │ │ │ ├─ [gte]: optional 'optional_26' #26 │ │ │ │ │ │ └─ item: integer #25 -│ │ │ │ │ ├─ [lt]: optional #26 +│ │ │ │ │ ├─ [lt]: optional 'optional_26' #26 │ │ │ │ │ │ └─ item: integer #25 -│ │ │ │ │ └─ [lte]: optional #26 +│ │ │ │ │ └─ [lte]: optional 'optional_26' #26 │ │ │ │ │ └─ item: integer #25 │ │ │ │ ├─ variant_4: struct #31 -│ │ │ │ │ └─ [in]: list #27 +│ │ │ │ │ └─ [in]: list 'list_27' #27 │ │ │ │ │ └─ item: integer #25 │ │ │ │ └─ variant_5: struct #32 -│ │ │ │ └─ [notIn]: list #27 +│ │ │ │ └─ [notIn]: list 'list_27' #27 │ │ │ │ └─ item: integer #25 │ │ │ └─ variant_1: struct #91 │ │ │ └─ [not]: union '_integer_filter_with_aggregates' #90 @@ -162,19 +162,19 @@ root: struct '_Record_QueryInput_group_by' #105 │ │ │ │ ├─ variant_2: struct #29 │ │ │ │ │ └─ [not]: integer #25 │ │ │ │ ├─ variant_3: struct #30 -│ │ │ │ │ ├─ [gt]: optional #26 +│ │ │ │ │ ├─ [gt]: optional 'optional_26' #26 │ │ │ │ │ │ └─ item: integer #25 -│ │ │ │ │ ├─ [gte]: optional #26 +│ │ │ │ │ ├─ [gte]: optional 'optional_26' #26 │ │ │ │ │ │ └─ item: integer #25 -│ │ │ │ │ ├─ [lt]: optional #26 +│ │ │ │ │ ├─ [lt]: optional 'optional_26' #26 │ │ │ │ │ │ └─ item: integer #25 -│ │ │ │ │ └─ [lte]: optional #26 +│ │ │ │ │ └─ [lte]: optional 'optional_26' #26 │ │ │ │ │ └─ item: integer #25 │ │ │ │ ├─ variant_4: struct #31 -│ │ │ │ │ └─ [in]: list #27 +│ │ │ │ │ └─ [in]: list 'list_27' #27 │ │ │ │ │ └─ item: integer #25 │ │ │ │ └─ variant_5: struct #32 -│ │ │ │ └─ [notIn]: list #27 +│ │ │ │ └─ [notIn]: list 'list_27' #27 │ │ │ │ └─ item: integer #25 │ │ │ ├─ variant_1: struct #85 │ │ │ │ └─ [_count]: either '_integer_filter' #33 @@ -184,19 +184,19 @@ root: struct '_Record_QueryInput_group_by' #105 │ │ │ │ ├─ variant_2: struct #29 │ │ │ │ │ └─ [not]: integer #25 │ │ │ │ ├─ variant_3: struct #30 -│ │ │ │ │ ├─ [gt]: optional #26 +│ │ │ │ │ ├─ [gt]: optional 'optional_26' #26 │ │ │ │ │ │ └─ item: integer #25 -│ │ │ │ │ ├─ [gte]: optional #26 +│ │ │ │ │ ├─ [gte]: optional 'optional_26' #26 │ │ │ │ │ │ └─ item: integer #25 -│ │ │ │ │ ├─ [lt]: optional #26 +│ │ │ │ │ ├─ [lt]: optional 'optional_26' #26 │ │ │ │ │ │ └─ item: integer #25 -│ │ │ │ │ └─ [lte]: optional #26 +│ │ │ │ │ └─ [lte]: optional 'optional_26' #26 │ │ │ │ │ └─ item: integer #25 │ │ │ │ ├─ variant_4: struct #31 -│ │ │ │ │ └─ [in]: list #27 +│ │ │ │ │ └─ [in]: list 'list_27' #27 │ │ │ │ │ └─ item: integer #25 │ │ │ │ └─ variant_5: struct #32 -│ │ │ │ └─ [notIn]: list #27 +│ │ │ │ └─ [notIn]: list 'list_27' #27 │ │ │ │ └─ item: integer #25 │ │ │ ├─ variant_2: struct #86 │ │ │ │ └─ [_sum]: either '_integer_filter' #33 @@ -206,19 +206,19 @@ root: struct '_Record_QueryInput_group_by' #105 │ │ │ │ ├─ variant_2: struct #29 │ │ │ │ │ └─ [not]: integer #25 │ │ │ │ ├─ variant_3: struct #30 -│ │ │ │ │ ├─ [gt]: optional #26 +│ │ │ │ │ ├─ [gt]: optional 'optional_26' #26 │ │ │ │ │ │ └─ item: integer #25 -│ │ │ │ │ ├─ [gte]: optional #26 +│ │ │ │ │ ├─ [gte]: optional 'optional_26' #26 │ │ │ │ │ │ └─ item: integer #25 -│ │ │ │ │ ├─ [lt]: optional #26 +│ │ │ │ │ ├─ [lt]: optional 'optional_26' #26 │ │ │ │ │ │ └─ item: integer #25 -│ │ │ │ │ └─ [lte]: optional #26 +│ │ │ │ │ └─ [lte]: optional 'optional_26' #26 │ │ │ │ │ └─ item: integer #25 │ │ │ │ ├─ variant_4: struct #31 -│ │ │ │ │ └─ [in]: list #27 +│ │ │ │ │ └─ [in]: list 'list_27' #27 │ │ │ │ │ └─ item: integer #25 │ │ │ │ └─ variant_5: struct #32 -│ │ │ │ └─ [notIn]: list #27 +│ │ │ │ └─ [notIn]: list 'list_27' #27 │ │ │ │ └─ item: integer #25 │ │ │ ├─ variant_3: struct #87 │ │ │ │ └─ [_avg]: either '_float_filter' #84 @@ -228,19 +228,19 @@ root: struct '_Record_QueryInput_group_by' #105 │ │ │ │ ├─ variant_2: struct #80 │ │ │ │ │ └─ [not]: float #76 │ │ │ │ ├─ variant_3: struct #81 -│ │ │ │ │ ├─ [gt]: optional #77 +│ │ │ │ │ ├─ [gt]: optional 'optional_77' #77 │ │ │ │ │ │ └─ item: float #76 -│ │ │ │ │ ├─ [gte]: optional #77 +│ │ │ │ │ ├─ [gte]: optional 'optional_77' #77 │ │ │ │ │ │ └─ item: float #76 -│ │ │ │ │ ├─ [lt]: optional #77 +│ │ │ │ │ ├─ [lt]: optional 'optional_77' #77 │ │ │ │ │ │ └─ item: float #76 -│ │ │ │ │ └─ [lte]: optional #77 +│ │ │ │ │ └─ [lte]: optional 'optional_77' #77 │ │ │ │ │ └─ item: float #76 │ │ │ │ ├─ variant_4: struct #82 -│ │ │ │ │ └─ [in]: list #78 +│ │ │ │ │ └─ [in]: list 'list_78' #78 │ │ │ │ │ └─ item: float #76 │ │ │ │ └─ variant_5: struct #83 -│ │ │ │ └─ [notIn]: list #78 +│ │ │ │ └─ [notIn]: list 'list_78' #78 │ │ │ │ └─ item: float #76 │ │ │ ├─ variant_4: struct #88 │ │ │ │ └─ [_min]: either '_integer_filter' #33 @@ -250,19 +250,19 @@ root: struct '_Record_QueryInput_group_by' #105 │ │ │ │ ├─ variant_2: struct #29 │ │ │ │ │ └─ [not]: integer #25 │ │ │ │ ├─ variant_3: struct #30 -│ │ │ │ │ ├─ [gt]: optional #26 +│ │ │ │ │ ├─ [gt]: optional 'optional_26' #26 │ │ │ │ │ │ └─ item: integer #25 -│ │ │ │ │ ├─ [gte]: optional #26 +│ │ │ │ │ ├─ [gte]: optional 'optional_26' #26 │ │ │ │ │ │ └─ item: integer #25 -│ │ │ │ │ ├─ [lt]: optional #26 +│ │ │ │ │ ├─ [lt]: optional 'optional_26' #26 │ │ │ │ │ │ └─ item: integer #25 -│ │ │ │ │ └─ [lte]: optional #26 +│ │ │ │ │ └─ [lte]: optional 'optional_26' #26 │ │ │ │ │ └─ item: integer #25 │ │ │ │ ├─ variant_4: struct #31 -│ │ │ │ │ └─ [in]: list #27 +│ │ │ │ │ └─ [in]: list 'list_27' #27 │ │ │ │ │ └─ item: integer #25 │ │ │ │ └─ variant_5: struct #32 -│ │ │ │ └─ [notIn]: list #27 +│ │ │ │ └─ [notIn]: list 'list_27' #27 │ │ │ │ └─ item: integer #25 │ │ │ └─ variant_5: struct #89 │ │ │ └─ [_max]: either '_integer_filter' #33 @@ -272,21 +272,21 @@ root: struct '_Record_QueryInput_group_by' #105 │ │ │ ├─ variant_2: struct #29 │ │ │ │ └─ [not]: integer #25 │ │ │ ├─ variant_3: struct #30 -│ │ │ │ ├─ [gt]: optional #26 +│ │ │ │ ├─ [gt]: optional 'optional_26' #26 │ │ │ │ │ └─ item: integer #25 -│ │ │ │ ├─ [gte]: optional #26 +│ │ │ │ ├─ [gte]: optional 'optional_26' #26 │ │ │ │ │ └─ item: integer #25 -│ │ │ │ ├─ [lt]: optional #26 +│ │ │ │ ├─ [lt]: optional 'optional_26' #26 │ │ │ │ │ └─ item: integer #25 -│ │ │ │ └─ [lte]: optional #26 +│ │ │ │ └─ [lte]: optional 'optional_26' #26 │ │ │ │ └─ item: integer #25 │ │ │ ├─ variant_4: struct #31 -│ │ │ │ └─ [in]: list #27 +│ │ │ │ └─ [in]: list 'list_27' #27 │ │ │ │ └─ item: integer #25 │ │ │ └─ variant_5: struct #32 -│ │ │ └─ [notIn]: list #27 +│ │ │ └─ [notIn]: list 'list_27' #27 │ │ │ └─ item: integer #25 -│ │ ├─ [created_at]: optional '_95__string_filter_c?' #95 +│ │ ├─ [created_at]: optional 'optional_95' #95 │ │ │ └─ item: optional '_string_filter_c' #22 │ │ │ └─ item: union #21 │ │ │ ├─ variant_0: union '_string_filter' #19 @@ -296,21 +296,21 @@ root: struct '_Record_QueryInput_group_by' #105 │ │ │ │ ├─ variant_2: struct #11 │ │ │ │ │ └─ [not]: string #7 │ │ │ │ ├─ variant_3: struct #12 -│ │ │ │ │ └─ [in]: list #9 +│ │ │ │ │ └─ [in]: list 'list_9' #9 │ │ │ │ │ └─ item: string #7 │ │ │ │ ├─ variant_4: struct #13 -│ │ │ │ │ └─ [notIn]: list #9 +│ │ │ │ │ └─ [notIn]: list 'list_9' #9 │ │ │ │ │ └─ item: string #7 │ │ │ │ ├─ variant_5: struct #16 │ │ │ │ │ ├─ [contains]: string #7 -│ │ │ │ │ └─ [mode]: optional #15 +│ │ │ │ │ └─ [mode]: optional 'optional_15' #15 │ │ │ │ │ └─ item: string #14 enum{ '"insensitive"' } │ │ │ │ ├─ variant_6: struct #17 │ │ │ │ │ └─ [search]: string #7 │ │ │ │ └─ variant_7: struct #18 -│ │ │ │ ├─ [endsWith]: optional #8 +│ │ │ │ ├─ [endsWith]: optional 'optional_8' #8 │ │ │ │ │ └─ item: string #7 -│ │ │ │ └─ [startsWith]: optional #8 +│ │ │ │ └─ [startsWith]: optional 'optional_8' #8 │ │ │ │ └─ item: string #7 │ │ │ └─ variant_1: struct #20 │ │ │ └─ [not]: union '_string_filter' #19 @@ -320,23 +320,23 @@ root: struct '_Record_QueryInput_group_by' #105 │ │ │ ├─ variant_2: struct #11 │ │ │ │ └─ [not]: string #7 │ │ │ ├─ variant_3: struct #12 -│ │ │ │ └─ [in]: list #9 +│ │ │ │ └─ [in]: list 'list_9' #9 │ │ │ │ └─ item: string #7 │ │ │ ├─ variant_4: struct #13 -│ │ │ │ └─ [notIn]: list #9 +│ │ │ │ └─ [notIn]: list 'list_9' #9 │ │ │ │ └─ item: string #7 │ │ │ ├─ variant_5: struct #16 │ │ │ │ ├─ [contains]: string #7 -│ │ │ │ └─ [mode]: optional #15 +│ │ │ │ └─ [mode]: optional 'optional_15' #15 │ │ │ │ └─ item: string #14 enum{ '"insensitive"' } │ │ │ ├─ variant_6: struct #17 │ │ │ │ └─ [search]: string #7 │ │ │ └─ variant_7: struct #18 -│ │ │ ├─ [endsWith]: optional #8 +│ │ │ ├─ [endsWith]: optional 'optional_8' #8 │ │ │ │ └─ item: string #7 -│ │ │ └─ [startsWith]: optional #8 +│ │ │ └─ [startsWith]: optional 'optional_8' #8 │ │ │ └─ item: string #7 -│ │ ├─ [id]: optional '_74__string_filter_c?' #74 +│ │ ├─ [id]: optional 'optional_74' #74 │ │ │ └─ item: optional '_string_filter_c' #22 │ │ │ └─ item: union #21 │ │ │ ├─ variant_0: union '_string_filter' #19 @@ -346,21 +346,21 @@ root: struct '_Record_QueryInput_group_by' #105 │ │ │ │ ├─ variant_2: struct #11 │ │ │ │ │ └─ [not]: string #7 │ │ │ │ ├─ variant_3: struct #12 -│ │ │ │ │ └─ [in]: list #9 +│ │ │ │ │ └─ [in]: list 'list_9' #9 │ │ │ │ │ └─ item: string #7 │ │ │ │ ├─ variant_4: struct #13 -│ │ │ │ │ └─ [notIn]: list #9 +│ │ │ │ │ └─ [notIn]: list 'list_9' #9 │ │ │ │ │ └─ item: string #7 │ │ │ │ ├─ variant_5: struct #16 │ │ │ │ │ ├─ [contains]: string #7 -│ │ │ │ │ └─ [mode]: optional #15 +│ │ │ │ │ └─ [mode]: optional 'optional_15' #15 │ │ │ │ │ └─ item: string #14 enum{ '"insensitive"' } │ │ │ │ ├─ variant_6: struct #17 │ │ │ │ │ └─ [search]: string #7 │ │ │ │ └─ variant_7: struct #18 -│ │ │ │ ├─ [endsWith]: optional #8 +│ │ │ │ ├─ [endsWith]: optional 'optional_8' #8 │ │ │ │ │ └─ item: string #7 -│ │ │ │ └─ [startsWith]: optional #8 +│ │ │ │ └─ [startsWith]: optional 'optional_8' #8 │ │ │ │ └─ item: string #7 │ │ │ └─ variant_1: struct #20 │ │ │ └─ [not]: union '_string_filter' #19 @@ -370,23 +370,23 @@ root: struct '_Record_QueryInput_group_by' #105 │ │ │ ├─ variant_2: struct #11 │ │ │ │ └─ [not]: string #7 │ │ │ ├─ variant_3: struct #12 -│ │ │ │ └─ [in]: list #9 +│ │ │ │ └─ [in]: list 'list_9' #9 │ │ │ │ └─ item: string #7 │ │ │ ├─ variant_4: struct #13 -│ │ │ │ └─ [notIn]: list #9 +│ │ │ │ └─ [notIn]: list 'list_9' #9 │ │ │ │ └─ item: string #7 │ │ │ ├─ variant_5: struct #16 │ │ │ │ ├─ [contains]: string #7 -│ │ │ │ └─ [mode]: optional #15 +│ │ │ │ └─ [mode]: optional 'optional_15' #15 │ │ │ │ └─ item: string #14 enum{ '"insensitive"' } │ │ │ ├─ variant_6: struct #17 │ │ │ │ └─ [search]: string #7 │ │ │ └─ variant_7: struct #18 -│ │ │ ├─ [endsWith]: optional #8 +│ │ │ ├─ [endsWith]: optional 'optional_8' #8 │ │ │ │ └─ item: string #7 -│ │ │ └─ [startsWith]: optional #8 +│ │ │ └─ [startsWith]: optional 'optional_8' #8 │ │ │ └─ item: string #7 -│ │ └─ [name]: optional '_75__string_filter_c?' #75 +│ │ └─ [name]: optional 'optional_75' #75 │ │ └─ item: optional '_string_filter_c' #22 │ │ └─ item: union #21 │ │ ├─ variant_0: union '_string_filter' #19 @@ -396,21 +396,21 @@ root: struct '_Record_QueryInput_group_by' #105 │ │ │ ├─ variant_2: struct #11 │ │ │ │ └─ [not]: string #7 │ │ │ ├─ variant_3: struct #12 -│ │ │ │ └─ [in]: list #9 +│ │ │ │ └─ [in]: list 'list_9' #9 │ │ │ │ └─ item: string #7 │ │ │ ├─ variant_4: struct #13 -│ │ │ │ └─ [notIn]: list #9 +│ │ │ │ └─ [notIn]: list 'list_9' #9 │ │ │ │ └─ item: string #7 │ │ │ ├─ variant_5: struct #16 │ │ │ │ ├─ [contains]: string #7 -│ │ │ │ └─ [mode]: optional #15 +│ │ │ │ └─ [mode]: optional 'optional_15' #15 │ │ │ │ └─ item: string #14 enum{ '"insensitive"' } │ │ │ ├─ variant_6: struct #17 │ │ │ │ └─ [search]: string #7 │ │ │ └─ variant_7: struct #18 -│ │ │ ├─ [endsWith]: optional #8 +│ │ │ ├─ [endsWith]: optional 'optional_8' #8 │ │ │ │ └─ item: string #7 -│ │ │ └─ [startsWith]: optional #8 +│ │ │ └─ [startsWith]: optional 'optional_8' #8 │ │ │ └─ item: string #7 │ │ └─ variant_1: struct #20 │ │ └─ [not]: union '_string_filter' #19 @@ -420,34 +420,34 @@ root: struct '_Record_QueryInput_group_by' #105 │ │ ├─ variant_2: struct #11 │ │ │ └─ [not]: string #7 │ │ ├─ variant_3: struct #12 -│ │ │ └─ [in]: list #9 +│ │ │ └─ [in]: list 'list_9' #9 │ │ │ └─ item: string #7 │ │ ├─ variant_4: struct #13 -│ │ │ └─ [notIn]: list #9 +│ │ │ └─ [notIn]: list 'list_9' #9 │ │ │ └─ item: string #7 │ │ ├─ variant_5: struct #16 │ │ │ ├─ [contains]: string #7 -│ │ │ └─ [mode]: optional #15 +│ │ │ └─ [mode]: optional 'optional_15' #15 │ │ │ └─ item: string #14 enum{ '"insensitive"' } │ │ ├─ variant_6: struct #17 │ │ │ └─ [search]: string #7 │ │ └─ variant_7: struct #18 -│ │ ├─ [endsWith]: optional #8 +│ │ ├─ [endsWith]: optional 'optional_8' #8 │ │ │ └─ item: string #7 -│ │ └─ [startsWith]: optional #8 +│ │ └─ [startsWith]: optional 'optional_8' #8 │ │ └─ item: string #7 │ ├─ variant_1: struct #99 -│ │ └─ [AND]: list '_98__Record_Having[]' #98 +│ │ └─ [AND]: list 'list_98' #98 │ │ └─ item: &_Record_Having #97 │ ├─ variant_2: struct #101 -│ │ └─ [OR]: list '_100__Record_Having[]' #100 +│ │ └─ [OR]: list 'list_100' #100 │ │ └─ item: &_Record_Having #97 │ └─ variant_3: struct #102 │ └─ [NOT]: &_Record_Having #97 -├─ [orderBy]: optional '_61__Record_OrderBy_with_aggregates?' #61 +├─ [orderBy]: optional 'optional_61' #61 │ └─ item: list '_Record_OrderBy_with_aggregates' #60 │ └─ item: struct #59 -│ ├─ [_avg]: optional #57 +│ ├─ [_avg]: optional 'optional_57' #57 │ │ └─ item: struct #56 │ │ └─ [age]: optional '_Sort_nullable' #53 │ │ └─ item: union #52 @@ -455,7 +455,7 @@ root: struct '_Record_QueryInput_group_by' #105 │ │ │ ├─ [nulls]: string '_NullsOrder' #47 enum{ '"first"', '"last"' } │ │ │ └─ [sort]: string '_SortOrder' #46 enum{ '"asc"', '"desc"' } │ │ └─ variant_1: string '_SortOrder' #46 enum{ '"asc"', '"desc"' } -│ ├─ [_count]: optional #55 +│ ├─ [_count]: optional 'optional_55' #55 │ │ └─ item: struct #54 │ │ ├─ [age]: optional '_Sort_nullable' #53 │ │ │ └─ item: union #52 @@ -478,7 +478,7 @@ root: struct '_Record_QueryInput_group_by' #105 │ │ ├─ variant_0: struct #48 │ │ │ └─ [sort]: string '_SortOrder' #46 enum{ '"asc"', '"desc"' } │ │ └─ variant_1: string '_SortOrder' #46 enum{ '"asc"', '"desc"' } -│ ├─ [_max]: optional #57 +│ ├─ [_max]: optional 'optional_57' #57 │ │ └─ item: struct #56 │ │ └─ [age]: optional '_Sort_nullable' #53 │ │ └─ item: union #52 @@ -486,7 +486,7 @@ root: struct '_Record_QueryInput_group_by' #105 │ │ │ ├─ [nulls]: string '_NullsOrder' #47 enum{ '"first"', '"last"' } │ │ │ └─ [sort]: string '_SortOrder' #46 enum{ '"asc"', '"desc"' } │ │ └─ variant_1: string '_SortOrder' #46 enum{ '"asc"', '"desc"' } -│ ├─ [_min]: optional #57 +│ ├─ [_min]: optional 'optional_57' #57 │ │ └─ item: struct #56 │ │ └─ [age]: optional '_Sort_nullable' #53 │ │ └─ item: union #52 @@ -494,7 +494,7 @@ root: struct '_Record_QueryInput_group_by' #105 │ │ │ ├─ [nulls]: string '_NullsOrder' #47 enum{ '"first"', '"last"' } │ │ │ └─ [sort]: string '_SortOrder' #46 enum{ '"asc"', '"desc"' } │ │ └─ variant_1: string '_SortOrder' #46 enum{ '"asc"', '"desc"' } -│ ├─ [_sum]: optional #57 +│ ├─ [_sum]: optional 'optional_57' #57 │ │ └─ item: struct #56 │ │ └─ [age]: optional '_Sort_nullable' #53 │ │ └─ item: union #52 @@ -523,21 +523,21 @@ root: struct '_Record_QueryInput_group_by' #105 │ ├─ variant_0: struct #48 │ │ └─ [sort]: string '_SortOrder' #46 enum{ '"asc"', '"desc"' } │ └─ variant_1: string '_SortOrder' #46 enum{ '"asc"', '"desc"' } -├─ [skip]: optional '_65__Skip?' #65 +├─ [skip]: optional 'optional_65' #65 │ └─ item: integer '_Skip' #64 -├─ [take]: optional '_63__Take?' #63 +├─ [take]: optional 'optional_63' #63 │ └─ item: integer '_Take' #62 -└─ [where]: optional '_45_QueryRecordWhereInput?' #45 +└─ [where]: optional 'optional_45' #45 └─ item: struct 'QueryRecordWhereInput' #44 - ├─ [AND]: optional '_42__41_QueryRecordWhereInput[]?' #42 - │ └─ item: list '_41_QueryRecordWhereInput[]' #41 + ├─ [AND]: optional 'optional_42' #42 + │ └─ item: list 'list_41' #41 │ └─ item: &QueryRecordWhereInput #40 - ├─ [NOT]: optional '_43_QueryRecordWhereInput?' #43 + ├─ [NOT]: optional 'optional_43' #43 │ └─ item: &QueryRecordWhereInput #40 - ├─ [OR]: optional '_42__41_QueryRecordWhereInput[]?' #42 - │ └─ item: list '_41_QueryRecordWhereInput[]' #41 + ├─ [OR]: optional 'optional_42' #42 + │ └─ item: list 'list_41' #41 │ └─ item: &QueryRecordWhereInput #40 - ├─ [age]: optional '_37__integer_filter_c?' #37 + ├─ [age]: optional 'optional_37' #37 │ └─ item: optional '_integer_filter_c' #36 │ └─ item: union #35 │ ├─ variant_0: either '_integer_filter' #33 @@ -547,19 +547,19 @@ root: struct '_Record_QueryInput_group_by' #105 │ │ ├─ variant_2: struct #29 │ │ │ └─ [not]: integer #25 │ │ ├─ variant_3: struct #30 - │ │ │ ├─ [gt]: optional #26 + │ │ │ ├─ [gt]: optional 'optional_26' #26 │ │ │ │ └─ item: integer #25 - │ │ │ ├─ [gte]: optional #26 + │ │ │ ├─ [gte]: optional 'optional_26' #26 │ │ │ │ └─ item: integer #25 - │ │ │ ├─ [lt]: optional #26 + │ │ │ ├─ [lt]: optional 'optional_26' #26 │ │ │ │ └─ item: integer #25 - │ │ │ └─ [lte]: optional #26 + │ │ │ └─ [lte]: optional 'optional_26' #26 │ │ │ └─ item: integer #25 │ │ ├─ variant_4: struct #31 - │ │ │ └─ [in]: list #27 + │ │ │ └─ [in]: list 'list_27' #27 │ │ │ └─ item: integer #25 │ │ └─ variant_5: struct #32 - │ │ └─ [notIn]: list #27 + │ │ └─ [notIn]: list 'list_27' #27 │ │ └─ item: integer #25 │ └─ variant_1: struct #34 │ └─ [not]: either '_integer_filter' #33 @@ -569,21 +569,21 @@ root: struct '_Record_QueryInput_group_by' #105 │ ├─ variant_2: struct #29 │ │ └─ [not]: integer #25 │ ├─ variant_3: struct #30 - │ │ ├─ [gt]: optional #26 + │ │ ├─ [gt]: optional 'optional_26' #26 │ │ │ └─ item: integer #25 - │ │ ├─ [gte]: optional #26 + │ │ ├─ [gte]: optional 'optional_26' #26 │ │ │ └─ item: integer #25 - │ │ ├─ [lt]: optional #26 + │ │ ├─ [lt]: optional 'optional_26' #26 │ │ │ └─ item: integer #25 - │ │ └─ [lte]: optional #26 + │ │ └─ [lte]: optional 'optional_26' #26 │ │ └─ item: integer #25 │ ├─ variant_4: struct #31 - │ │ └─ [in]: list #27 + │ │ └─ [in]: list 'list_27' #27 │ │ └─ item: integer #25 │ └─ variant_5: struct #32 - │ └─ [notIn]: list #27 + │ └─ [notIn]: list 'list_27' #27 │ └─ item: integer #25 - ├─ [created_at]: optional '_38__string_filter_c?' #38 + ├─ [created_at]: optional 'optional_38' #38 │ └─ item: optional '_string_filter_c' #22 │ └─ item: union #21 │ ├─ variant_0: union '_string_filter' #19 @@ -593,21 +593,21 @@ root: struct '_Record_QueryInput_group_by' #105 │ │ ├─ variant_2: struct #11 │ │ │ └─ [not]: string #7 │ │ ├─ variant_3: struct #12 - │ │ │ └─ [in]: list #9 + │ │ │ └─ [in]: list 'list_9' #9 │ │ │ └─ item: string #7 │ │ ├─ variant_4: struct #13 - │ │ │ └─ [notIn]: list #9 + │ │ │ └─ [notIn]: list 'list_9' #9 │ │ │ └─ item: string #7 │ │ ├─ variant_5: struct #16 │ │ │ ├─ [contains]: string #7 - │ │ │ └─ [mode]: optional #15 + │ │ │ └─ [mode]: optional 'optional_15' #15 │ │ │ └─ item: string #14 enum{ '"insensitive"' } │ │ ├─ variant_6: struct #17 │ │ │ └─ [search]: string #7 │ │ └─ variant_7: struct #18 - │ │ ├─ [endsWith]: optional #8 + │ │ ├─ [endsWith]: optional 'optional_8' #8 │ │ │ └─ item: string #7 - │ │ └─ [startsWith]: optional #8 + │ │ └─ [startsWith]: optional 'optional_8' #8 │ │ └─ item: string #7 │ └─ variant_1: struct #20 │ └─ [not]: union '_string_filter' #19 @@ -617,23 +617,23 @@ root: struct '_Record_QueryInput_group_by' #105 │ ├─ variant_2: struct #11 │ │ └─ [not]: string #7 │ ├─ variant_3: struct #12 - │ │ └─ [in]: list #9 + │ │ └─ [in]: list 'list_9' #9 │ │ └─ item: string #7 │ ├─ variant_4: struct #13 - │ │ └─ [notIn]: list #9 + │ │ └─ [notIn]: list 'list_9' #9 │ │ └─ item: string #7 │ ├─ variant_5: struct #16 │ │ ├─ [contains]: string #7 - │ │ └─ [mode]: optional #15 + │ │ └─ [mode]: optional 'optional_15' #15 │ │ └─ item: string #14 enum{ '"insensitive"' } │ ├─ variant_6: struct #17 │ │ └─ [search]: string #7 │ └─ variant_7: struct #18 - │ ├─ [endsWith]: optional #8 + │ ├─ [endsWith]: optional 'optional_8' #8 │ │ └─ item: string #7 - │ └─ [startsWith]: optional #8 + │ └─ [startsWith]: optional 'optional_8' #8 │ └─ item: string #7 - ├─ [id]: optional '_23__string_filter_c?' #23 + ├─ [id]: optional 'optional_23' #23 │ └─ item: optional '_string_filter_c' #22 │ └─ item: union #21 │ ├─ variant_0: union '_string_filter' #19 @@ -643,21 +643,21 @@ root: struct '_Record_QueryInput_group_by' #105 │ │ ├─ variant_2: struct #11 │ │ │ └─ [not]: string #7 │ │ ├─ variant_3: struct #12 - │ │ │ └─ [in]: list #9 + │ │ │ └─ [in]: list 'list_9' #9 │ │ │ └─ item: string #7 │ │ ├─ variant_4: struct #13 - │ │ │ └─ [notIn]: list #9 + │ │ │ └─ [notIn]: list 'list_9' #9 │ │ │ └─ item: string #7 │ │ ├─ variant_5: struct #16 │ │ │ ├─ [contains]: string #7 - │ │ │ └─ [mode]: optional #15 + │ │ │ └─ [mode]: optional 'optional_15' #15 │ │ │ └─ item: string #14 enum{ '"insensitive"' } │ │ ├─ variant_6: struct #17 │ │ │ └─ [search]: string #7 │ │ └─ variant_7: struct #18 - │ │ ├─ [endsWith]: optional #8 + │ │ ├─ [endsWith]: optional 'optional_8' #8 │ │ │ └─ item: string #7 - │ │ └─ [startsWith]: optional #8 + │ │ └─ [startsWith]: optional 'optional_8' #8 │ │ └─ item: string #7 │ └─ variant_1: struct #20 │ └─ [not]: union '_string_filter' #19 @@ -667,23 +667,23 @@ root: struct '_Record_QueryInput_group_by' #105 │ ├─ variant_2: struct #11 │ │ └─ [not]: string #7 │ ├─ variant_3: struct #12 - │ │ └─ [in]: list #9 + │ │ └─ [in]: list 'list_9' #9 │ │ └─ item: string #7 │ ├─ variant_4: struct #13 - │ │ └─ [notIn]: list #9 + │ │ └─ [notIn]: list 'list_9' #9 │ │ └─ item: string #7 │ ├─ variant_5: struct #16 │ │ ├─ [contains]: string #7 - │ │ └─ [mode]: optional #15 + │ │ └─ [mode]: optional 'optional_15' #15 │ │ └─ item: string #14 enum{ '"insensitive"' } │ ├─ variant_6: struct #17 │ │ └─ [search]: string #7 │ └─ variant_7: struct #18 - │ ├─ [endsWith]: optional #8 + │ ├─ [endsWith]: optional 'optional_8' #8 │ │ └─ item: string #7 - │ └─ [startsWith]: optional #8 + │ └─ [startsWith]: optional 'optional_8' #8 │ └─ item: string #7 - └─ [name]: optional '_24__string_filter_c?' #24 + └─ [name]: optional 'optional_24' #24 └─ item: optional '_string_filter_c' #22 └─ item: union #21 ├─ variant_0: union '_string_filter' #19 @@ -693,21 +693,21 @@ root: struct '_Record_QueryInput_group_by' #105 │ ├─ variant_2: struct #11 │ │ └─ [not]: string #7 │ ├─ variant_3: struct #12 - │ │ └─ [in]: list #9 + │ │ └─ [in]: list 'list_9' #9 │ │ └─ item: string #7 │ ├─ variant_4: struct #13 - │ │ └─ [notIn]: list #9 + │ │ └─ [notIn]: list 'list_9' #9 │ │ └─ item: string #7 │ ├─ variant_5: struct #16 │ │ ├─ [contains]: string #7 - │ │ └─ [mode]: optional #15 + │ │ └─ [mode]: optional 'optional_15' #15 │ │ └─ item: string #14 enum{ '"insensitive"' } │ ├─ variant_6: struct #17 │ │ └─ [search]: string #7 │ └─ variant_7: struct #18 - │ ├─ [endsWith]: optional #8 + │ ├─ [endsWith]: optional 'optional_8' #8 │ │ └─ item: string #7 - │ └─ [startsWith]: optional #8 + │ └─ [startsWith]: optional 'optional_8' #8 │ └─ item: string #7 └─ variant_1: struct #20 └─ [not]: union '_string_filter' #19 @@ -717,20 +717,19 @@ root: struct '_Record_QueryInput_group_by' #105 ├─ variant_2: struct #11 │ └─ [not]: string #7 ├─ variant_3: struct #12 - │ └─ [in]: list #9 + │ └─ [in]: list 'list_9' #9 │ └─ item: string #7 ├─ variant_4: struct #13 - │ └─ [notIn]: list #9 + │ └─ [notIn]: list 'list_9' #9 │ └─ item: string #7 ├─ variant_5: struct #16 │ ├─ [contains]: string #7 - │ └─ [mode]: optional #15 + │ └─ [mode]: optional 'optional_15' #15 │ └─ item: string #14 enum{ '"insensitive"' } ├─ variant_6: struct #17 │ └─ [search]: string #7 └─ variant_7: struct #18 - ├─ [endsWith]: optional #8 + ├─ [endsWith]: optional 'optional_8' #8 │ └─ item: string #7 - └─ [startsWith]: optional #8 + └─ [startsWith]: optional 'optional_8' #8 └─ item: string #7 - diff --git a/src/typegraph/core/src/runtimes/prisma/type_generation/snapshots/typegraph_core__runtimes__prisma__type_generation__test__group_by Record out.snap b/src/typegraph/core/src/runtimes/prisma/type_generation/snapshots/typegraph_core__runtimes__prisma__type_generation__test__group_by Record out.snap index 35a4a5e130..bac0fd4f31 100644 --- a/src/typegraph/core/src/runtimes/prisma/type_generation/snapshots/typegraph_core__runtimes__prisma__type_generation__test__group_by Record out.snap +++ b/src/typegraph/core/src/runtimes/prisma/type_generation/snapshots/typegraph_core__runtimes__prisma__type_generation__test__group_by Record out.snap @@ -1,35 +1,34 @@ --- -source: typegraph/core/src/runtimes/prisma/type_generation/mod.rs +source: src/typegraph/core/src/runtimes/prisma/type_generation/mod.rs expression: tp.print(out) --- root: list '_Record_GroupByResult' #118 └─ item: struct #117 ├─ [_avg]: struct '_Record_SelectNumbers__1' #111 - │ └─ [age]: optional #110 + │ └─ [age]: optional 'optional_110' #110 │ └─ item: float #109 ├─ [_count]: struct '_Record_AggrCount' #108 - │ ├─ [_all]: optional #107 + │ ├─ [_all]: optional 'optional_107' #107 │ │ └─ item: integer #106 - │ ├─ [age]: optional #107 + │ ├─ [age]: optional 'optional_107' #107 │ │ └─ item: integer #106 - │ ├─ [created_at]: optional #107 + │ ├─ [created_at]: optional 'optional_107' #107 │ │ └─ item: integer #106 - │ ├─ [id]: optional #107 + │ ├─ [id]: optional 'optional_107' #107 │ │ └─ item: integer #106 - │ └─ [name]: optional #107 + │ └─ [name]: optional 'optional_107' #107 │ └─ item: integer #106 ├─ [_max]: struct '_Record_SelectNumbers_' #116 - │ └─ [age]: optional #115 + │ └─ [age]: optional 'optional_115' #115 │ └─ item: integer #114 ├─ [_min]: struct '_Record_SelectNumbers_' #116 - │ └─ [age]: optional #115 + │ └─ [age]: optional 'optional_115' #115 │ └─ item: integer #114 ├─ [_sum]: struct '_Record_SelectNumbers_' #116 - │ └─ [age]: optional #115 + │ └─ [age]: optional 'optional_115' #115 │ └─ item: integer #114 - ├─ [age]: optional #5 + ├─ [age]: optional 'optional_5' #5 │ └─ item: integer #4 ├─ [created_at]: string #1 ├─ [id]: string #2 └─ [name]: string #3 - diff --git a/src/typegraph/core/src/runtimes/prisma/type_generation/snapshots/typegraph_core__runtimes__prisma__type_generation__test__group_by User inp.snap b/src/typegraph/core/src/runtimes/prisma/type_generation/snapshots/typegraph_core__runtimes__prisma__type_generation__test__group_by User inp.snap index 60e28798d1..f643b4fad5 100644 --- a/src/typegraph/core/src/runtimes/prisma/type_generation/snapshots/typegraph_core__runtimes__prisma__type_generation__test__group_by User inp.snap +++ b/src/typegraph/core/src/runtimes/prisma/type_generation/snapshots/typegraph_core__runtimes__prisma__type_generation__test__group_by User inp.snap @@ -1,20 +1,20 @@ --- -source: typegraph/core/src/runtimes/prisma/type_generation/mod.rs +source: src/typegraph/core/src/runtimes/prisma/type_generation/mod.rs expression: tp.print(inp) --- root: struct '_User_QueryInput_group_by' #192 ├─ [by]: list '_User_GroupingFields' #167 │ └─ item: string #166 enum{ '"id"', '"name"' } -├─ [cursor]: optional '_165__User_Cursor?' #165 +├─ [cursor]: optional 'optional_165' #165 │ └─ item: union '_User_Cursor' #164 │ ├─ variant_0: struct #162 │ │ └─ [id]: integer #119 │ └─ variant_1: struct #163 │ └─ [name]: string #120 -├─ [having]: optional '_191__User_Having?' #191 +├─ [having]: optional 'optional_191' #191 │ └─ item: union '_User_Having' #190 │ ├─ variant_0: struct 'UserWhere__agg' #183 -│ │ ├─ [id]: optional '_168__integer_filter_with_aggregates_c?' #168 +│ │ ├─ [id]: optional 'optional_168' #168 │ │ │ └─ item: optional '_integer_filter_with_aggregates_c' #93 │ │ │ └─ item: union #92 │ │ │ ├─ variant_0: union '_integer_filter_with_aggregates' #90 @@ -25,19 +25,19 @@ root: struct '_User_QueryInput_group_by' #192 │ │ │ │ │ ├─ variant_2: struct #29 │ │ │ │ │ │ └─ [not]: integer #25 │ │ │ │ │ ├─ variant_3: struct #30 -│ │ │ │ │ │ ├─ [gt]: optional #26 +│ │ │ │ │ │ ├─ [gt]: optional 'optional_26' #26 │ │ │ │ │ │ │ └─ item: integer #25 -│ │ │ │ │ │ ├─ [gte]: optional #26 +│ │ │ │ │ │ ├─ [gte]: optional 'optional_26' #26 │ │ │ │ │ │ │ └─ item: integer #25 -│ │ │ │ │ │ ├─ [lt]: optional #26 +│ │ │ │ │ │ ├─ [lt]: optional 'optional_26' #26 │ │ │ │ │ │ │ └─ item: integer #25 -│ │ │ │ │ │ └─ [lte]: optional #26 +│ │ │ │ │ │ └─ [lte]: optional 'optional_26' #26 │ │ │ │ │ │ └─ item: integer #25 │ │ │ │ │ ├─ variant_4: struct #31 -│ │ │ │ │ │ └─ [in]: list #27 +│ │ │ │ │ │ └─ [in]: list 'list_27' #27 │ │ │ │ │ │ └─ item: integer #25 │ │ │ │ │ └─ variant_5: struct #32 -│ │ │ │ │ └─ [notIn]: list #27 +│ │ │ │ │ └─ [notIn]: list 'list_27' #27 │ │ │ │ │ └─ item: integer #25 │ │ │ │ ├─ variant_1: struct #85 │ │ │ │ │ └─ [_count]: either '_integer_filter' #33 @@ -47,19 +47,19 @@ root: struct '_User_QueryInput_group_by' #192 │ │ │ │ │ ├─ variant_2: struct #29 │ │ │ │ │ │ └─ [not]: integer #25 │ │ │ │ │ ├─ variant_3: struct #30 -│ │ │ │ │ │ ├─ [gt]: optional #26 +│ │ │ │ │ │ ├─ [gt]: optional 'optional_26' #26 │ │ │ │ │ │ │ └─ item: integer #25 -│ │ │ │ │ │ ├─ [gte]: optional #26 +│ │ │ │ │ │ ├─ [gte]: optional 'optional_26' #26 │ │ │ │ │ │ │ └─ item: integer #25 -│ │ │ │ │ │ ├─ [lt]: optional #26 +│ │ │ │ │ │ ├─ [lt]: optional 'optional_26' #26 │ │ │ │ │ │ │ └─ item: integer #25 -│ │ │ │ │ │ └─ [lte]: optional #26 +│ │ │ │ │ │ └─ [lte]: optional 'optional_26' #26 │ │ │ │ │ │ └─ item: integer #25 │ │ │ │ │ ├─ variant_4: struct #31 -│ │ │ │ │ │ └─ [in]: list #27 +│ │ │ │ │ │ └─ [in]: list 'list_27' #27 │ │ │ │ │ │ └─ item: integer #25 │ │ │ │ │ └─ variant_5: struct #32 -│ │ │ │ │ └─ [notIn]: list #27 +│ │ │ │ │ └─ [notIn]: list 'list_27' #27 │ │ │ │ │ └─ item: integer #25 │ │ │ │ ├─ variant_2: struct #86 │ │ │ │ │ └─ [_sum]: either '_integer_filter' #33 @@ -69,19 +69,19 @@ root: struct '_User_QueryInput_group_by' #192 │ │ │ │ │ ├─ variant_2: struct #29 │ │ │ │ │ │ └─ [not]: integer #25 │ │ │ │ │ ├─ variant_3: struct #30 -│ │ │ │ │ │ ├─ [gt]: optional #26 +│ │ │ │ │ │ ├─ [gt]: optional 'optional_26' #26 │ │ │ │ │ │ │ └─ item: integer #25 -│ │ │ │ │ │ ├─ [gte]: optional #26 +│ │ │ │ │ │ ├─ [gte]: optional 'optional_26' #26 │ │ │ │ │ │ │ └─ item: integer #25 -│ │ │ │ │ │ ├─ [lt]: optional #26 +│ │ │ │ │ │ ├─ [lt]: optional 'optional_26' #26 │ │ │ │ │ │ │ └─ item: integer #25 -│ │ │ │ │ │ └─ [lte]: optional #26 +│ │ │ │ │ │ └─ [lte]: optional 'optional_26' #26 │ │ │ │ │ │ └─ item: integer #25 │ │ │ │ │ ├─ variant_4: struct #31 -│ │ │ │ │ │ └─ [in]: list #27 +│ │ │ │ │ │ └─ [in]: list 'list_27' #27 │ │ │ │ │ │ └─ item: integer #25 │ │ │ │ │ └─ variant_5: struct #32 -│ │ │ │ │ └─ [notIn]: list #27 +│ │ │ │ │ └─ [notIn]: list 'list_27' #27 │ │ │ │ │ └─ item: integer #25 │ │ │ │ ├─ variant_3: struct #87 │ │ │ │ │ └─ [_avg]: either '_float_filter' #84 @@ -91,19 +91,19 @@ root: struct '_User_QueryInput_group_by' #192 │ │ │ │ │ ├─ variant_2: struct #80 │ │ │ │ │ │ └─ [not]: float #76 │ │ │ │ │ ├─ variant_3: struct #81 -│ │ │ │ │ │ ├─ [gt]: optional #77 +│ │ │ │ │ │ ├─ [gt]: optional 'optional_77' #77 │ │ │ │ │ │ │ └─ item: float #76 -│ │ │ │ │ │ ├─ [gte]: optional #77 +│ │ │ │ │ │ ├─ [gte]: optional 'optional_77' #77 │ │ │ │ │ │ │ └─ item: float #76 -│ │ │ │ │ │ ├─ [lt]: optional #77 +│ │ │ │ │ │ ├─ [lt]: optional 'optional_77' #77 │ │ │ │ │ │ │ └─ item: float #76 -│ │ │ │ │ │ └─ [lte]: optional #77 +│ │ │ │ │ │ └─ [lte]: optional 'optional_77' #77 │ │ │ │ │ │ └─ item: float #76 │ │ │ │ │ ├─ variant_4: struct #82 -│ │ │ │ │ │ └─ [in]: list #78 +│ │ │ │ │ │ └─ [in]: list 'list_78' #78 │ │ │ │ │ │ └─ item: float #76 │ │ │ │ │ └─ variant_5: struct #83 -│ │ │ │ │ └─ [notIn]: list #78 +│ │ │ │ │ └─ [notIn]: list 'list_78' #78 │ │ │ │ │ └─ item: float #76 │ │ │ │ ├─ variant_4: struct #88 │ │ │ │ │ └─ [_min]: either '_integer_filter' #33 @@ -113,19 +113,19 @@ root: struct '_User_QueryInput_group_by' #192 │ │ │ │ │ ├─ variant_2: struct #29 │ │ │ │ │ │ └─ [not]: integer #25 │ │ │ │ │ ├─ variant_3: struct #30 -│ │ │ │ │ │ ├─ [gt]: optional #26 +│ │ │ │ │ │ ├─ [gt]: optional 'optional_26' #26 │ │ │ │ │ │ │ └─ item: integer #25 -│ │ │ │ │ │ ├─ [gte]: optional #26 +│ │ │ │ │ │ ├─ [gte]: optional 'optional_26' #26 │ │ │ │ │ │ │ └─ item: integer #25 -│ │ │ │ │ │ ├─ [lt]: optional #26 +│ │ │ │ │ │ ├─ [lt]: optional 'optional_26' #26 │ │ │ │ │ │ │ └─ item: integer #25 -│ │ │ │ │ │ └─ [lte]: optional #26 +│ │ │ │ │ │ └─ [lte]: optional 'optional_26' #26 │ │ │ │ │ │ └─ item: integer #25 │ │ │ │ │ ├─ variant_4: struct #31 -│ │ │ │ │ │ └─ [in]: list #27 +│ │ │ │ │ │ └─ [in]: list 'list_27' #27 │ │ │ │ │ │ └─ item: integer #25 │ │ │ │ │ └─ variant_5: struct #32 -│ │ │ │ │ └─ [notIn]: list #27 +│ │ │ │ │ └─ [notIn]: list 'list_27' #27 │ │ │ │ │ └─ item: integer #25 │ │ │ │ └─ variant_5: struct #89 │ │ │ │ └─ [_max]: either '_integer_filter' #33 @@ -135,19 +135,19 @@ root: struct '_User_QueryInput_group_by' #192 │ │ │ │ ├─ variant_2: struct #29 │ │ │ │ │ └─ [not]: integer #25 │ │ │ │ ├─ variant_3: struct #30 -│ │ │ │ │ ├─ [gt]: optional #26 +│ │ │ │ │ ├─ [gt]: optional 'optional_26' #26 │ │ │ │ │ │ └─ item: integer #25 -│ │ │ │ │ ├─ [gte]: optional #26 +│ │ │ │ │ ├─ [gte]: optional 'optional_26' #26 │ │ │ │ │ │ └─ item: integer #25 -│ │ │ │ │ ├─ [lt]: optional #26 +│ │ │ │ │ ├─ [lt]: optional 'optional_26' #26 │ │ │ │ │ │ └─ item: integer #25 -│ │ │ │ │ └─ [lte]: optional #26 +│ │ │ │ │ └─ [lte]: optional 'optional_26' #26 │ │ │ │ │ └─ item: integer #25 │ │ │ │ ├─ variant_4: struct #31 -│ │ │ │ │ └─ [in]: list #27 +│ │ │ │ │ └─ [in]: list 'list_27' #27 │ │ │ │ │ └─ item: integer #25 │ │ │ │ └─ variant_5: struct #32 -│ │ │ │ └─ [notIn]: list #27 +│ │ │ │ └─ [notIn]: list 'list_27' #27 │ │ │ │ └─ item: integer #25 │ │ │ └─ variant_1: struct #91 │ │ │ └─ [not]: union '_integer_filter_with_aggregates' #90 @@ -158,19 +158,19 @@ root: struct '_User_QueryInput_group_by' #192 │ │ │ │ ├─ variant_2: struct #29 │ │ │ │ │ └─ [not]: integer #25 │ │ │ │ ├─ variant_3: struct #30 -│ │ │ │ │ ├─ [gt]: optional #26 +│ │ │ │ │ ├─ [gt]: optional 'optional_26' #26 │ │ │ │ │ │ └─ item: integer #25 -│ │ │ │ │ ├─ [gte]: optional #26 +│ │ │ │ │ ├─ [gte]: optional 'optional_26' #26 │ │ │ │ │ │ └─ item: integer #25 -│ │ │ │ │ ├─ [lt]: optional #26 +│ │ │ │ │ ├─ [lt]: optional 'optional_26' #26 │ │ │ │ │ │ └─ item: integer #25 -│ │ │ │ │ └─ [lte]: optional #26 +│ │ │ │ │ └─ [lte]: optional 'optional_26' #26 │ │ │ │ │ └─ item: integer #25 │ │ │ │ ├─ variant_4: struct #31 -│ │ │ │ │ └─ [in]: list #27 +│ │ │ │ │ └─ [in]: list 'list_27' #27 │ │ │ │ │ └─ item: integer #25 │ │ │ │ └─ variant_5: struct #32 -│ │ │ │ └─ [notIn]: list #27 +│ │ │ │ └─ [notIn]: list 'list_27' #27 │ │ │ │ └─ item: integer #25 │ │ │ ├─ variant_1: struct #85 │ │ │ │ └─ [_count]: either '_integer_filter' #33 @@ -180,19 +180,19 @@ root: struct '_User_QueryInput_group_by' #192 │ │ │ │ ├─ variant_2: struct #29 │ │ │ │ │ └─ [not]: integer #25 │ │ │ │ ├─ variant_3: struct #30 -│ │ │ │ │ ├─ [gt]: optional #26 +│ │ │ │ │ ├─ [gt]: optional 'optional_26' #26 │ │ │ │ │ │ └─ item: integer #25 -│ │ │ │ │ ├─ [gte]: optional #26 +│ │ │ │ │ ├─ [gte]: optional 'optional_26' #26 │ │ │ │ │ │ └─ item: integer #25 -│ │ │ │ │ ├─ [lt]: optional #26 +│ │ │ │ │ ├─ [lt]: optional 'optional_26' #26 │ │ │ │ │ │ └─ item: integer #25 -│ │ │ │ │ └─ [lte]: optional #26 +│ │ │ │ │ └─ [lte]: optional 'optional_26' #26 │ │ │ │ │ └─ item: integer #25 │ │ │ │ ├─ variant_4: struct #31 -│ │ │ │ │ └─ [in]: list #27 +│ │ │ │ │ └─ [in]: list 'list_27' #27 │ │ │ │ │ └─ item: integer #25 │ │ │ │ └─ variant_5: struct #32 -│ │ │ │ └─ [notIn]: list #27 +│ │ │ │ └─ [notIn]: list 'list_27' #27 │ │ │ │ └─ item: integer #25 │ │ │ ├─ variant_2: struct #86 │ │ │ │ └─ [_sum]: either '_integer_filter' #33 @@ -202,19 +202,19 @@ root: struct '_User_QueryInput_group_by' #192 │ │ │ │ ├─ variant_2: struct #29 │ │ │ │ │ └─ [not]: integer #25 │ │ │ │ ├─ variant_3: struct #30 -│ │ │ │ │ ├─ [gt]: optional #26 +│ │ │ │ │ ├─ [gt]: optional 'optional_26' #26 │ │ │ │ │ │ └─ item: integer #25 -│ │ │ │ │ ├─ [gte]: optional #26 +│ │ │ │ │ ├─ [gte]: optional 'optional_26' #26 │ │ │ │ │ │ └─ item: integer #25 -│ │ │ │ │ ├─ [lt]: optional #26 +│ │ │ │ │ ├─ [lt]: optional 'optional_26' #26 │ │ │ │ │ │ └─ item: integer #25 -│ │ │ │ │ └─ [lte]: optional #26 +│ │ │ │ │ └─ [lte]: optional 'optional_26' #26 │ │ │ │ │ └─ item: integer #25 │ │ │ │ ├─ variant_4: struct #31 -│ │ │ │ │ └─ [in]: list #27 +│ │ │ │ │ └─ [in]: list 'list_27' #27 │ │ │ │ │ └─ item: integer #25 │ │ │ │ └─ variant_5: struct #32 -│ │ │ │ └─ [notIn]: list #27 +│ │ │ │ └─ [notIn]: list 'list_27' #27 │ │ │ │ └─ item: integer #25 │ │ │ ├─ variant_3: struct #87 │ │ │ │ └─ [_avg]: either '_float_filter' #84 @@ -224,19 +224,19 @@ root: struct '_User_QueryInput_group_by' #192 │ │ │ │ ├─ variant_2: struct #80 │ │ │ │ │ └─ [not]: float #76 │ │ │ │ ├─ variant_3: struct #81 -│ │ │ │ │ ├─ [gt]: optional #77 +│ │ │ │ │ ├─ [gt]: optional 'optional_77' #77 │ │ │ │ │ │ └─ item: float #76 -│ │ │ │ │ ├─ [gte]: optional #77 +│ │ │ │ │ ├─ [gte]: optional 'optional_77' #77 │ │ │ │ │ │ └─ item: float #76 -│ │ │ │ │ ├─ [lt]: optional #77 +│ │ │ │ │ ├─ [lt]: optional 'optional_77' #77 │ │ │ │ │ │ └─ item: float #76 -│ │ │ │ │ └─ [lte]: optional #77 +│ │ │ │ │ └─ [lte]: optional 'optional_77' #77 │ │ │ │ │ └─ item: float #76 │ │ │ │ ├─ variant_4: struct #82 -│ │ │ │ │ └─ [in]: list #78 +│ │ │ │ │ └─ [in]: list 'list_78' #78 │ │ │ │ │ └─ item: float #76 │ │ │ │ └─ variant_5: struct #83 -│ │ │ │ └─ [notIn]: list #78 +│ │ │ │ └─ [notIn]: list 'list_78' #78 │ │ │ │ └─ item: float #76 │ │ │ ├─ variant_4: struct #88 │ │ │ │ └─ [_min]: either '_integer_filter' #33 @@ -246,19 +246,19 @@ root: struct '_User_QueryInput_group_by' #192 │ │ │ │ ├─ variant_2: struct #29 │ │ │ │ │ └─ [not]: integer #25 │ │ │ │ ├─ variant_3: struct #30 -│ │ │ │ │ ├─ [gt]: optional #26 +│ │ │ │ │ ├─ [gt]: optional 'optional_26' #26 │ │ │ │ │ │ └─ item: integer #25 -│ │ │ │ │ ├─ [gte]: optional #26 +│ │ │ │ │ ├─ [gte]: optional 'optional_26' #26 │ │ │ │ │ │ └─ item: integer #25 -│ │ │ │ │ ├─ [lt]: optional #26 +│ │ │ │ │ ├─ [lt]: optional 'optional_26' #26 │ │ │ │ │ │ └─ item: integer #25 -│ │ │ │ │ └─ [lte]: optional #26 +│ │ │ │ │ └─ [lte]: optional 'optional_26' #26 │ │ │ │ │ └─ item: integer #25 │ │ │ │ ├─ variant_4: struct #31 -│ │ │ │ │ └─ [in]: list #27 +│ │ │ │ │ └─ [in]: list 'list_27' #27 │ │ │ │ │ └─ item: integer #25 │ │ │ │ └─ variant_5: struct #32 -│ │ │ │ └─ [notIn]: list #27 +│ │ │ │ └─ [notIn]: list 'list_27' #27 │ │ │ │ └─ item: integer #25 │ │ │ └─ variant_5: struct #89 │ │ │ └─ [_max]: either '_integer_filter' #33 @@ -268,21 +268,21 @@ root: struct '_User_QueryInput_group_by' #192 │ │ │ ├─ variant_2: struct #29 │ │ │ │ └─ [not]: integer #25 │ │ │ ├─ variant_3: struct #30 -│ │ │ │ ├─ [gt]: optional #26 +│ │ │ │ ├─ [gt]: optional 'optional_26' #26 │ │ │ │ │ └─ item: integer #25 -│ │ │ │ ├─ [gte]: optional #26 +│ │ │ │ ├─ [gte]: optional 'optional_26' #26 │ │ │ │ │ └─ item: integer #25 -│ │ │ │ ├─ [lt]: optional #26 +│ │ │ │ ├─ [lt]: optional 'optional_26' #26 │ │ │ │ │ └─ item: integer #25 -│ │ │ │ └─ [lte]: optional #26 +│ │ │ │ └─ [lte]: optional 'optional_26' #26 │ │ │ │ └─ item: integer #25 │ │ │ ├─ variant_4: struct #31 -│ │ │ │ └─ [in]: list #27 +│ │ │ │ └─ [in]: list 'list_27' #27 │ │ │ │ └─ item: integer #25 │ │ │ └─ variant_5: struct #32 -│ │ │ └─ [notIn]: list #27 +│ │ │ └─ [notIn]: list 'list_27' #27 │ │ │ └─ item: integer #25 -│ │ ├─ [name]: optional '_169__string_filter_c?' #169 +│ │ ├─ [name]: optional 'optional_169' #169 │ │ │ └─ item: optional '_string_filter_c' #22 │ │ │ └─ item: union #21 │ │ │ ├─ variant_0: union '_string_filter' #19 @@ -292,21 +292,21 @@ root: struct '_User_QueryInput_group_by' #192 │ │ │ │ ├─ variant_2: struct #11 │ │ │ │ │ └─ [not]: string #7 │ │ │ │ ├─ variant_3: struct #12 -│ │ │ │ │ └─ [in]: list #9 +│ │ │ │ │ └─ [in]: list 'list_9' #9 │ │ │ │ │ └─ item: string #7 │ │ │ │ ├─ variant_4: struct #13 -│ │ │ │ │ └─ [notIn]: list #9 +│ │ │ │ │ └─ [notIn]: list 'list_9' #9 │ │ │ │ │ └─ item: string #7 │ │ │ │ ├─ variant_5: struct #16 │ │ │ │ │ ├─ [contains]: string #7 -│ │ │ │ │ └─ [mode]: optional #15 +│ │ │ │ │ └─ [mode]: optional 'optional_15' #15 │ │ │ │ │ └─ item: string #14 enum{ '"insensitive"' } │ │ │ │ ├─ variant_6: struct #17 │ │ │ │ │ └─ [search]: string #7 │ │ │ │ └─ variant_7: struct #18 -│ │ │ │ ├─ [endsWith]: optional #8 +│ │ │ │ ├─ [endsWith]: optional 'optional_8' #8 │ │ │ │ │ └─ item: string #7 -│ │ │ │ └─ [startsWith]: optional #8 +│ │ │ │ └─ [startsWith]: optional 'optional_8' #8 │ │ │ │ └─ item: string #7 │ │ │ └─ variant_1: struct #20 │ │ │ └─ [not]: union '_string_filter' #19 @@ -316,30 +316,30 @@ root: struct '_User_QueryInput_group_by' #192 │ │ │ ├─ variant_2: struct #11 │ │ │ │ └─ [not]: string #7 │ │ │ ├─ variant_3: struct #12 -│ │ │ │ └─ [in]: list #9 +│ │ │ │ └─ [in]: list 'list_9' #9 │ │ │ │ └─ item: string #7 │ │ │ ├─ variant_4: struct #13 -│ │ │ │ └─ [notIn]: list #9 +│ │ │ │ └─ [notIn]: list 'list_9' #9 │ │ │ │ └─ item: string #7 │ │ │ ├─ variant_5: struct #16 │ │ │ │ ├─ [contains]: string #7 -│ │ │ │ └─ [mode]: optional #15 +│ │ │ │ └─ [mode]: optional 'optional_15' #15 │ │ │ │ └─ item: string #14 enum{ '"insensitive"' } │ │ │ ├─ variant_6: struct #17 │ │ │ │ └─ [search]: string #7 │ │ │ └─ variant_7: struct #18 -│ │ │ ├─ [endsWith]: optional #8 +│ │ │ ├─ [endsWith]: optional 'optional_8' #8 │ │ │ │ └─ item: string #7 -│ │ │ └─ [startsWith]: optional #8 +│ │ │ └─ [startsWith]: optional 'optional_8' #8 │ │ │ └─ item: string #7 -│ │ └─ [posts]: optional #182 +│ │ └─ [posts]: optional 'optional_182' #182 │ │ └─ item: union #181 │ │ ├─ variant_0: struct #176 -│ │ │ └─ [every]: optional '_175_PostWhere__agg__skip_123_UserWhere__agg?' #175 +│ │ │ └─ [every]: optional 'optional_175' #175 │ │ │ └─ item: struct 'PostWhere__agg__skip_123_UserWhere__agg' #174 -│ │ │ ├─ [author]: optional '_173_UserWhere__agg?' #173 +│ │ │ ├─ [author]: optional 'optional_173' #173 │ │ │ │ └─ item: &UserWhere__agg #172 -│ │ │ ├─ [id]: optional '_170__integer_filter_with_aggregates_c?' #170 +│ │ │ ├─ [id]: optional 'optional_170' #170 │ │ │ │ └─ item: optional '_integer_filter_with_aggregates_c' #93 │ │ │ │ └─ item: union #92 │ │ │ │ ├─ variant_0: union '_integer_filter_with_aggregates' #90 @@ -350,19 +350,19 @@ root: struct '_User_QueryInput_group_by' #192 │ │ │ │ │ │ ├─ variant_2: struct #29 │ │ │ │ │ │ │ └─ [not]: integer #25 │ │ │ │ │ │ ├─ variant_3: struct #30 -│ │ │ │ │ │ │ ├─ [gt]: optional #26 +│ │ │ │ │ │ │ ├─ [gt]: optional 'optional_26' #26 │ │ │ │ │ │ │ │ └─ item: integer #25 -│ │ │ │ │ │ │ ├─ [gte]: optional #26 +│ │ │ │ │ │ │ ├─ [gte]: optional 'optional_26' #26 │ │ │ │ │ │ │ │ └─ item: integer #25 -│ │ │ │ │ │ │ ├─ [lt]: optional #26 +│ │ │ │ │ │ │ ├─ [lt]: optional 'optional_26' #26 │ │ │ │ │ │ │ │ └─ item: integer #25 -│ │ │ │ │ │ │ └─ [lte]: optional #26 +│ │ │ │ │ │ │ └─ [lte]: optional 'optional_26' #26 │ │ │ │ │ │ │ └─ item: integer #25 │ │ │ │ │ │ ├─ variant_4: struct #31 -│ │ │ │ │ │ │ └─ [in]: list #27 +│ │ │ │ │ │ │ └─ [in]: list 'list_27' #27 │ │ │ │ │ │ │ └─ item: integer #25 │ │ │ │ │ │ └─ variant_5: struct #32 -│ │ │ │ │ │ └─ [notIn]: list #27 +│ │ │ │ │ │ └─ [notIn]: list 'list_27' #27 │ │ │ │ │ │ └─ item: integer #25 │ │ │ │ │ ├─ variant_1: struct #85 │ │ │ │ │ │ └─ [_count]: either '_integer_filter' #33 @@ -372,19 +372,19 @@ root: struct '_User_QueryInput_group_by' #192 │ │ │ │ │ │ ├─ variant_2: struct #29 │ │ │ │ │ │ │ └─ [not]: integer #25 │ │ │ │ │ │ ├─ variant_3: struct #30 -│ │ │ │ │ │ │ ├─ [gt]: optional #26 +│ │ │ │ │ │ │ ├─ [gt]: optional 'optional_26' #26 │ │ │ │ │ │ │ │ └─ item: integer #25 -│ │ │ │ │ │ │ ├─ [gte]: optional #26 +│ │ │ │ │ │ │ ├─ [gte]: optional 'optional_26' #26 │ │ │ │ │ │ │ │ └─ item: integer #25 -│ │ │ │ │ │ │ ├─ [lt]: optional #26 +│ │ │ │ │ │ │ ├─ [lt]: optional 'optional_26' #26 │ │ │ │ │ │ │ │ └─ item: integer #25 -│ │ │ │ │ │ │ └─ [lte]: optional #26 +│ │ │ │ │ │ │ └─ [lte]: optional 'optional_26' #26 │ │ │ │ │ │ │ └─ item: integer #25 │ │ │ │ │ │ ├─ variant_4: struct #31 -│ │ │ │ │ │ │ └─ [in]: list #27 +│ │ │ │ │ │ │ └─ [in]: list 'list_27' #27 │ │ │ │ │ │ │ └─ item: integer #25 │ │ │ │ │ │ └─ variant_5: struct #32 -│ │ │ │ │ │ └─ [notIn]: list #27 +│ │ │ │ │ │ └─ [notIn]: list 'list_27' #27 │ │ │ │ │ │ └─ item: integer #25 │ │ │ │ │ ├─ variant_2: struct #86 │ │ │ │ │ │ └─ [_sum]: either '_integer_filter' #33 @@ -394,19 +394,19 @@ root: struct '_User_QueryInput_group_by' #192 │ │ │ │ │ │ ├─ variant_2: struct #29 │ │ │ │ │ │ │ └─ [not]: integer #25 │ │ │ │ │ │ ├─ variant_3: struct #30 -│ │ │ │ │ │ │ ├─ [gt]: optional #26 +│ │ │ │ │ │ │ ├─ [gt]: optional 'optional_26' #26 │ │ │ │ │ │ │ │ └─ item: integer #25 -│ │ │ │ │ │ │ ├─ [gte]: optional #26 +│ │ │ │ │ │ │ ├─ [gte]: optional 'optional_26' #26 │ │ │ │ │ │ │ │ └─ item: integer #25 -│ │ │ │ │ │ │ ├─ [lt]: optional #26 +│ │ │ │ │ │ │ ├─ [lt]: optional 'optional_26' #26 │ │ │ │ │ │ │ │ └─ item: integer #25 -│ │ │ │ │ │ │ └─ [lte]: optional #26 +│ │ │ │ │ │ │ └─ [lte]: optional 'optional_26' #26 │ │ │ │ │ │ │ └─ item: integer #25 │ │ │ │ │ │ ├─ variant_4: struct #31 -│ │ │ │ │ │ │ └─ [in]: list #27 +│ │ │ │ │ │ │ └─ [in]: list 'list_27' #27 │ │ │ │ │ │ │ └─ item: integer #25 │ │ │ │ │ │ └─ variant_5: struct #32 -│ │ │ │ │ │ └─ [notIn]: list #27 +│ │ │ │ │ │ └─ [notIn]: list 'list_27' #27 │ │ │ │ │ │ └─ item: integer #25 │ │ │ │ │ ├─ variant_3: struct #87 │ │ │ │ │ │ └─ [_avg]: either '_float_filter' #84 @@ -416,19 +416,19 @@ root: struct '_User_QueryInput_group_by' #192 │ │ │ │ │ │ ├─ variant_2: struct #80 │ │ │ │ │ │ │ └─ [not]: float #76 │ │ │ │ │ │ ├─ variant_3: struct #81 -│ │ │ │ │ │ │ ├─ [gt]: optional #77 +│ │ │ │ │ │ │ ├─ [gt]: optional 'optional_77' #77 │ │ │ │ │ │ │ │ └─ item: float #76 -│ │ │ │ │ │ │ ├─ [gte]: optional #77 +│ │ │ │ │ │ │ ├─ [gte]: optional 'optional_77' #77 │ │ │ │ │ │ │ │ └─ item: float #76 -│ │ │ │ │ │ │ ├─ [lt]: optional #77 +│ │ │ │ │ │ │ ├─ [lt]: optional 'optional_77' #77 │ │ │ │ │ │ │ │ └─ item: float #76 -│ │ │ │ │ │ │ └─ [lte]: optional #77 +│ │ │ │ │ │ │ └─ [lte]: optional 'optional_77' #77 │ │ │ │ │ │ │ └─ item: float #76 │ │ │ │ │ │ ├─ variant_4: struct #82 -│ │ │ │ │ │ │ └─ [in]: list #78 +│ │ │ │ │ │ │ └─ [in]: list 'list_78' #78 │ │ │ │ │ │ │ └─ item: float #76 │ │ │ │ │ │ └─ variant_5: struct #83 -│ │ │ │ │ │ └─ [notIn]: list #78 +│ │ │ │ │ │ └─ [notIn]: list 'list_78' #78 │ │ │ │ │ │ └─ item: float #76 │ │ │ │ │ ├─ variant_4: struct #88 │ │ │ │ │ │ └─ [_min]: either '_integer_filter' #33 @@ -438,19 +438,19 @@ root: struct '_User_QueryInput_group_by' #192 │ │ │ │ │ │ ├─ variant_2: struct #29 │ │ │ │ │ │ │ └─ [not]: integer #25 │ │ │ │ │ │ ├─ variant_3: struct #30 -│ │ │ │ │ │ │ ├─ [gt]: optional #26 +│ │ │ │ │ │ │ ├─ [gt]: optional 'optional_26' #26 │ │ │ │ │ │ │ │ └─ item: integer #25 -│ │ │ │ │ │ │ ├─ [gte]: optional #26 +│ │ │ │ │ │ │ ├─ [gte]: optional 'optional_26' #26 │ │ │ │ │ │ │ │ └─ item: integer #25 -│ │ │ │ │ │ │ ├─ [lt]: optional #26 +│ │ │ │ │ │ │ ├─ [lt]: optional 'optional_26' #26 │ │ │ │ │ │ │ │ └─ item: integer #25 -│ │ │ │ │ │ │ └─ [lte]: optional #26 +│ │ │ │ │ │ │ └─ [lte]: optional 'optional_26' #26 │ │ │ │ │ │ │ └─ item: integer #25 │ │ │ │ │ │ ├─ variant_4: struct #31 -│ │ │ │ │ │ │ └─ [in]: list #27 +│ │ │ │ │ │ │ └─ [in]: list 'list_27' #27 │ │ │ │ │ │ │ └─ item: integer #25 │ │ │ │ │ │ └─ variant_5: struct #32 -│ │ │ │ │ │ └─ [notIn]: list #27 +│ │ │ │ │ │ └─ [notIn]: list 'list_27' #27 │ │ │ │ │ │ └─ item: integer #25 │ │ │ │ │ └─ variant_5: struct #89 │ │ │ │ │ └─ [_max]: either '_integer_filter' #33 @@ -460,19 +460,19 @@ root: struct '_User_QueryInput_group_by' #192 │ │ │ │ │ ├─ variant_2: struct #29 │ │ │ │ │ │ └─ [not]: integer #25 │ │ │ │ │ ├─ variant_3: struct #30 -│ │ │ │ │ │ ├─ [gt]: optional #26 +│ │ │ │ │ │ ├─ [gt]: optional 'optional_26' #26 │ │ │ │ │ │ │ └─ item: integer #25 -│ │ │ │ │ │ ├─ [gte]: optional #26 +│ │ │ │ │ │ ├─ [gte]: optional 'optional_26' #26 │ │ │ │ │ │ │ └─ item: integer #25 -│ │ │ │ │ │ ├─ [lt]: optional #26 +│ │ │ │ │ │ ├─ [lt]: optional 'optional_26' #26 │ │ │ │ │ │ │ └─ item: integer #25 -│ │ │ │ │ │ └─ [lte]: optional #26 +│ │ │ │ │ │ └─ [lte]: optional 'optional_26' #26 │ │ │ │ │ │ └─ item: integer #25 │ │ │ │ │ ├─ variant_4: struct #31 -│ │ │ │ │ │ └─ [in]: list #27 +│ │ │ │ │ │ └─ [in]: list 'list_27' #27 │ │ │ │ │ │ └─ item: integer #25 │ │ │ │ │ └─ variant_5: struct #32 -│ │ │ │ │ └─ [notIn]: list #27 +│ │ │ │ │ └─ [notIn]: list 'list_27' #27 │ │ │ │ │ └─ item: integer #25 │ │ │ │ └─ variant_1: struct #91 │ │ │ │ └─ [not]: union '_integer_filter_with_aggregates' #90 @@ -483,19 +483,19 @@ root: struct '_User_QueryInput_group_by' #192 │ │ │ │ │ ├─ variant_2: struct #29 │ │ │ │ │ │ └─ [not]: integer #25 │ │ │ │ │ ├─ variant_3: struct #30 -│ │ │ │ │ │ ├─ [gt]: optional #26 +│ │ │ │ │ │ ├─ [gt]: optional 'optional_26' #26 │ │ │ │ │ │ │ └─ item: integer #25 -│ │ │ │ │ │ ├─ [gte]: optional #26 +│ │ │ │ │ │ ├─ [gte]: optional 'optional_26' #26 │ │ │ │ │ │ │ └─ item: integer #25 -│ │ │ │ │ │ ├─ [lt]: optional #26 +│ │ │ │ │ │ ├─ [lt]: optional 'optional_26' #26 │ │ │ │ │ │ │ └─ item: integer #25 -│ │ │ │ │ │ └─ [lte]: optional #26 +│ │ │ │ │ │ └─ [lte]: optional 'optional_26' #26 │ │ │ │ │ │ └─ item: integer #25 │ │ │ │ │ ├─ variant_4: struct #31 -│ │ │ │ │ │ └─ [in]: list #27 +│ │ │ │ │ │ └─ [in]: list 'list_27' #27 │ │ │ │ │ │ └─ item: integer #25 │ │ │ │ │ └─ variant_5: struct #32 -│ │ │ │ │ └─ [notIn]: list #27 +│ │ │ │ │ └─ [notIn]: list 'list_27' #27 │ │ │ │ │ └─ item: integer #25 │ │ │ │ ├─ variant_1: struct #85 │ │ │ │ │ └─ [_count]: either '_integer_filter' #33 @@ -505,19 +505,19 @@ root: struct '_User_QueryInput_group_by' #192 │ │ │ │ │ ├─ variant_2: struct #29 │ │ │ │ │ │ └─ [not]: integer #25 │ │ │ │ │ ├─ variant_3: struct #30 -│ │ │ │ │ │ ├─ [gt]: optional #26 +│ │ │ │ │ │ ├─ [gt]: optional 'optional_26' #26 │ │ │ │ │ │ │ └─ item: integer #25 -│ │ │ │ │ │ ├─ [gte]: optional #26 +│ │ │ │ │ │ ├─ [gte]: optional 'optional_26' #26 │ │ │ │ │ │ │ └─ item: integer #25 -│ │ │ │ │ │ ├─ [lt]: optional #26 +│ │ │ │ │ │ ├─ [lt]: optional 'optional_26' #26 │ │ │ │ │ │ │ └─ item: integer #25 -│ │ │ │ │ │ └─ [lte]: optional #26 +│ │ │ │ │ │ └─ [lte]: optional 'optional_26' #26 │ │ │ │ │ │ └─ item: integer #25 │ │ │ │ │ ├─ variant_4: struct #31 -│ │ │ │ │ │ └─ [in]: list #27 +│ │ │ │ │ │ └─ [in]: list 'list_27' #27 │ │ │ │ │ │ └─ item: integer #25 │ │ │ │ │ └─ variant_5: struct #32 -│ │ │ │ │ └─ [notIn]: list #27 +│ │ │ │ │ └─ [notIn]: list 'list_27' #27 │ │ │ │ │ └─ item: integer #25 │ │ │ │ ├─ variant_2: struct #86 │ │ │ │ │ └─ [_sum]: either '_integer_filter' #33 @@ -527,19 +527,19 @@ root: struct '_User_QueryInput_group_by' #192 │ │ │ │ │ ├─ variant_2: struct #29 │ │ │ │ │ │ └─ [not]: integer #25 │ │ │ │ │ ├─ variant_3: struct #30 -│ │ │ │ │ │ ├─ [gt]: optional #26 +│ │ │ │ │ │ ├─ [gt]: optional 'optional_26' #26 │ │ │ │ │ │ │ └─ item: integer #25 -│ │ │ │ │ │ ├─ [gte]: optional #26 +│ │ │ │ │ │ ├─ [gte]: optional 'optional_26' #26 │ │ │ │ │ │ │ └─ item: integer #25 -│ │ │ │ │ │ ├─ [lt]: optional #26 +│ │ │ │ │ │ ├─ [lt]: optional 'optional_26' #26 │ │ │ │ │ │ │ └─ item: integer #25 -│ │ │ │ │ │ └─ [lte]: optional #26 +│ │ │ │ │ │ └─ [lte]: optional 'optional_26' #26 │ │ │ │ │ │ └─ item: integer #25 │ │ │ │ │ ├─ variant_4: struct #31 -│ │ │ │ │ │ └─ [in]: list #27 +│ │ │ │ │ │ └─ [in]: list 'list_27' #27 │ │ │ │ │ │ └─ item: integer #25 │ │ │ │ │ └─ variant_5: struct #32 -│ │ │ │ │ └─ [notIn]: list #27 +│ │ │ │ │ └─ [notIn]: list 'list_27' #27 │ │ │ │ │ └─ item: integer #25 │ │ │ │ ├─ variant_3: struct #87 │ │ │ │ │ └─ [_avg]: either '_float_filter' #84 @@ -549,19 +549,19 @@ root: struct '_User_QueryInput_group_by' #192 │ │ │ │ │ ├─ variant_2: struct #80 │ │ │ │ │ │ └─ [not]: float #76 │ │ │ │ │ ├─ variant_3: struct #81 -│ │ │ │ │ │ ├─ [gt]: optional #77 +│ │ │ │ │ │ ├─ [gt]: optional 'optional_77' #77 │ │ │ │ │ │ │ └─ item: float #76 -│ │ │ │ │ │ ├─ [gte]: optional #77 +│ │ │ │ │ │ ├─ [gte]: optional 'optional_77' #77 │ │ │ │ │ │ │ └─ item: float #76 -│ │ │ │ │ │ ├─ [lt]: optional #77 +│ │ │ │ │ │ ├─ [lt]: optional 'optional_77' #77 │ │ │ │ │ │ │ └─ item: float #76 -│ │ │ │ │ │ └─ [lte]: optional #77 +│ │ │ │ │ │ └─ [lte]: optional 'optional_77' #77 │ │ │ │ │ │ └─ item: float #76 │ │ │ │ │ ├─ variant_4: struct #82 -│ │ │ │ │ │ └─ [in]: list #78 +│ │ │ │ │ │ └─ [in]: list 'list_78' #78 │ │ │ │ │ │ └─ item: float #76 │ │ │ │ │ └─ variant_5: struct #83 -│ │ │ │ │ └─ [notIn]: list #78 +│ │ │ │ │ └─ [notIn]: list 'list_78' #78 │ │ │ │ │ └─ item: float #76 │ │ │ │ ├─ variant_4: struct #88 │ │ │ │ │ └─ [_min]: either '_integer_filter' #33 @@ -571,19 +571,19 @@ root: struct '_User_QueryInput_group_by' #192 │ │ │ │ │ ├─ variant_2: struct #29 │ │ │ │ │ │ └─ [not]: integer #25 │ │ │ │ │ ├─ variant_3: struct #30 -│ │ │ │ │ │ ├─ [gt]: optional #26 +│ │ │ │ │ │ ├─ [gt]: optional 'optional_26' #26 │ │ │ │ │ │ │ └─ item: integer #25 -│ │ │ │ │ │ ├─ [gte]: optional #26 +│ │ │ │ │ │ ├─ [gte]: optional 'optional_26' #26 │ │ │ │ │ │ │ └─ item: integer #25 -│ │ │ │ │ │ ├─ [lt]: optional #26 +│ │ │ │ │ │ ├─ [lt]: optional 'optional_26' #26 │ │ │ │ │ │ │ └─ item: integer #25 -│ │ │ │ │ │ └─ [lte]: optional #26 +│ │ │ │ │ │ └─ [lte]: optional 'optional_26' #26 │ │ │ │ │ │ └─ item: integer #25 │ │ │ │ │ ├─ variant_4: struct #31 -│ │ │ │ │ │ └─ [in]: list #27 +│ │ │ │ │ │ └─ [in]: list 'list_27' #27 │ │ │ │ │ │ └─ item: integer #25 │ │ │ │ │ └─ variant_5: struct #32 -│ │ │ │ │ └─ [notIn]: list #27 +│ │ │ │ │ └─ [notIn]: list 'list_27' #27 │ │ │ │ │ └─ item: integer #25 │ │ │ │ └─ variant_5: struct #89 │ │ │ │ └─ [_max]: either '_integer_filter' #33 @@ -593,21 +593,21 @@ root: struct '_User_QueryInput_group_by' #192 │ │ │ │ ├─ variant_2: struct #29 │ │ │ │ │ └─ [not]: integer #25 │ │ │ │ ├─ variant_3: struct #30 -│ │ │ │ │ ├─ [gt]: optional #26 +│ │ │ │ │ ├─ [gt]: optional 'optional_26' #26 │ │ │ │ │ │ └─ item: integer #25 -│ │ │ │ │ ├─ [gte]: optional #26 +│ │ │ │ │ ├─ [gte]: optional 'optional_26' #26 │ │ │ │ │ │ └─ item: integer #25 -│ │ │ │ │ ├─ [lt]: optional #26 +│ │ │ │ │ ├─ [lt]: optional 'optional_26' #26 │ │ │ │ │ │ └─ item: integer #25 -│ │ │ │ │ └─ [lte]: optional #26 +│ │ │ │ │ └─ [lte]: optional 'optional_26' #26 │ │ │ │ │ └─ item: integer #25 │ │ │ │ ├─ variant_4: struct #31 -│ │ │ │ │ └─ [in]: list #27 +│ │ │ │ │ └─ [in]: list 'list_27' #27 │ │ │ │ │ └─ item: integer #25 │ │ │ │ └─ variant_5: struct #32 -│ │ │ │ └─ [notIn]: list #27 +│ │ │ │ └─ [notIn]: list 'list_27' #27 │ │ │ │ └─ item: integer #25 -│ │ │ └─ [title]: optional '_171__string_filter_c?' #171 +│ │ │ └─ [title]: optional 'optional_171' #171 │ │ │ └─ item: optional '_string_filter_c' #22 │ │ │ └─ item: union #21 │ │ │ ├─ variant_0: union '_string_filter' #19 @@ -617,21 +617,21 @@ root: struct '_User_QueryInput_group_by' #192 │ │ │ │ ├─ variant_2: struct #11 │ │ │ │ │ └─ [not]: string #7 │ │ │ │ ├─ variant_3: struct #12 -│ │ │ │ │ └─ [in]: list #9 +│ │ │ │ │ └─ [in]: list 'list_9' #9 │ │ │ │ │ └─ item: string #7 │ │ │ │ ├─ variant_4: struct #13 -│ │ │ │ │ └─ [notIn]: list #9 +│ │ │ │ │ └─ [notIn]: list 'list_9' #9 │ │ │ │ │ └─ item: string #7 │ │ │ │ ├─ variant_5: struct #16 │ │ │ │ │ ├─ [contains]: string #7 -│ │ │ │ │ └─ [mode]: optional #15 +│ │ │ │ │ └─ [mode]: optional 'optional_15' #15 │ │ │ │ │ └─ item: string #14 enum{ '"insensitive"' } │ │ │ │ ├─ variant_6: struct #17 │ │ │ │ │ └─ [search]: string #7 │ │ │ │ └─ variant_7: struct #18 -│ │ │ │ ├─ [endsWith]: optional #8 +│ │ │ │ ├─ [endsWith]: optional 'optional_8' #8 │ │ │ │ │ └─ item: string #7 -│ │ │ │ └─ [startsWith]: optional #8 +│ │ │ │ └─ [startsWith]: optional 'optional_8' #8 │ │ │ │ └─ item: string #7 │ │ │ └─ variant_1: struct #20 │ │ │ └─ [not]: union '_string_filter' #19 @@ -641,28 +641,28 @@ root: struct '_User_QueryInput_group_by' #192 │ │ │ ├─ variant_2: struct #11 │ │ │ │ └─ [not]: string #7 │ │ │ ├─ variant_3: struct #12 -│ │ │ │ └─ [in]: list #9 +│ │ │ │ └─ [in]: list 'list_9' #9 │ │ │ │ └─ item: string #7 │ │ │ ├─ variant_4: struct #13 -│ │ │ │ └─ [notIn]: list #9 +│ │ │ │ └─ [notIn]: list 'list_9' #9 │ │ │ │ └─ item: string #7 │ │ │ ├─ variant_5: struct #16 │ │ │ │ ├─ [contains]: string #7 -│ │ │ │ └─ [mode]: optional #15 +│ │ │ │ └─ [mode]: optional 'optional_15' #15 │ │ │ │ └─ item: string #14 enum{ '"insensitive"' } │ │ │ ├─ variant_6: struct #17 │ │ │ │ └─ [search]: string #7 │ │ │ └─ variant_7: struct #18 -│ │ │ ├─ [endsWith]: optional #8 +│ │ │ ├─ [endsWith]: optional 'optional_8' #8 │ │ │ │ └─ item: string #7 -│ │ │ └─ [startsWith]: optional #8 +│ │ │ └─ [startsWith]: optional 'optional_8' #8 │ │ │ └─ item: string #7 │ │ ├─ variant_1: struct #178 -│ │ │ └─ [some]: optional '_177_PostWhere__agg__skip_123_UserWhere__agg?' #177 +│ │ │ └─ [some]: optional 'optional_177' #177 │ │ │ └─ item: struct 'PostWhere__agg__skip_123_UserWhere__agg' #174 -│ │ │ ├─ [author]: optional '_173_UserWhere__agg?' #173 +│ │ │ ├─ [author]: optional 'optional_173' #173 │ │ │ │ └─ item: &UserWhere__agg #172 -│ │ │ ├─ [id]: optional '_170__integer_filter_with_aggregates_c?' #170 +│ │ │ ├─ [id]: optional 'optional_170' #170 │ │ │ │ └─ item: optional '_integer_filter_with_aggregates_c' #93 │ │ │ │ └─ item: union #92 │ │ │ │ ├─ variant_0: union '_integer_filter_with_aggregates' #90 @@ -673,19 +673,19 @@ root: struct '_User_QueryInput_group_by' #192 │ │ │ │ │ │ ├─ variant_2: struct #29 │ │ │ │ │ │ │ └─ [not]: integer #25 │ │ │ │ │ │ ├─ variant_3: struct #30 -│ │ │ │ │ │ │ ├─ [gt]: optional #26 +│ │ │ │ │ │ │ ├─ [gt]: optional 'optional_26' #26 │ │ │ │ │ │ │ │ └─ item: integer #25 -│ │ │ │ │ │ │ ├─ [gte]: optional #26 +│ │ │ │ │ │ │ ├─ [gte]: optional 'optional_26' #26 │ │ │ │ │ │ │ │ └─ item: integer #25 -│ │ │ │ │ │ │ ├─ [lt]: optional #26 +│ │ │ │ │ │ │ ├─ [lt]: optional 'optional_26' #26 │ │ │ │ │ │ │ │ └─ item: integer #25 -│ │ │ │ │ │ │ └─ [lte]: optional #26 +│ │ │ │ │ │ │ └─ [lte]: optional 'optional_26' #26 │ │ │ │ │ │ │ └─ item: integer #25 │ │ │ │ │ │ ├─ variant_4: struct #31 -│ │ │ │ │ │ │ └─ [in]: list #27 +│ │ │ │ │ │ │ └─ [in]: list 'list_27' #27 │ │ │ │ │ │ │ └─ item: integer #25 │ │ │ │ │ │ └─ variant_5: struct #32 -│ │ │ │ │ │ └─ [notIn]: list #27 +│ │ │ │ │ │ └─ [notIn]: list 'list_27' #27 │ │ │ │ │ │ └─ item: integer #25 │ │ │ │ │ ├─ variant_1: struct #85 │ │ │ │ │ │ └─ [_count]: either '_integer_filter' #33 @@ -695,19 +695,19 @@ root: struct '_User_QueryInput_group_by' #192 │ │ │ │ │ │ ├─ variant_2: struct #29 │ │ │ │ │ │ │ └─ [not]: integer #25 │ │ │ │ │ │ ├─ variant_3: struct #30 -│ │ │ │ │ │ │ ├─ [gt]: optional #26 +│ │ │ │ │ │ │ ├─ [gt]: optional 'optional_26' #26 │ │ │ │ │ │ │ │ └─ item: integer #25 -│ │ │ │ │ │ │ ├─ [gte]: optional #26 +│ │ │ │ │ │ │ ├─ [gte]: optional 'optional_26' #26 │ │ │ │ │ │ │ │ └─ item: integer #25 -│ │ │ │ │ │ │ ├─ [lt]: optional #26 +│ │ │ │ │ │ │ ├─ [lt]: optional 'optional_26' #26 │ │ │ │ │ │ │ │ └─ item: integer #25 -│ │ │ │ │ │ │ └─ [lte]: optional #26 +│ │ │ │ │ │ │ └─ [lte]: optional 'optional_26' #26 │ │ │ │ │ │ │ └─ item: integer #25 │ │ │ │ │ │ ├─ variant_4: struct #31 -│ │ │ │ │ │ │ └─ [in]: list #27 +│ │ │ │ │ │ │ └─ [in]: list 'list_27' #27 │ │ │ │ │ │ │ └─ item: integer #25 │ │ │ │ │ │ └─ variant_5: struct #32 -│ │ │ │ │ │ └─ [notIn]: list #27 +│ │ │ │ │ │ └─ [notIn]: list 'list_27' #27 │ │ │ │ │ │ └─ item: integer #25 │ │ │ │ │ ├─ variant_2: struct #86 │ │ │ │ │ │ └─ [_sum]: either '_integer_filter' #33 @@ -717,19 +717,19 @@ root: struct '_User_QueryInput_group_by' #192 │ │ │ │ │ │ ├─ variant_2: struct #29 │ │ │ │ │ │ │ └─ [not]: integer #25 │ │ │ │ │ │ ├─ variant_3: struct #30 -│ │ │ │ │ │ │ ├─ [gt]: optional #26 +│ │ │ │ │ │ │ ├─ [gt]: optional 'optional_26' #26 │ │ │ │ │ │ │ │ └─ item: integer #25 -│ │ │ │ │ │ │ ├─ [gte]: optional #26 +│ │ │ │ │ │ │ ├─ [gte]: optional 'optional_26' #26 │ │ │ │ │ │ │ │ └─ item: integer #25 -│ │ │ │ │ │ │ ├─ [lt]: optional #26 +│ │ │ │ │ │ │ ├─ [lt]: optional 'optional_26' #26 │ │ │ │ │ │ │ │ └─ item: integer #25 -│ │ │ │ │ │ │ └─ [lte]: optional #26 +│ │ │ │ │ │ │ └─ [lte]: optional 'optional_26' #26 │ │ │ │ │ │ │ └─ item: integer #25 │ │ │ │ │ │ ├─ variant_4: struct #31 -│ │ │ │ │ │ │ └─ [in]: list #27 +│ │ │ │ │ │ │ └─ [in]: list 'list_27' #27 │ │ │ │ │ │ │ └─ item: integer #25 │ │ │ │ │ │ └─ variant_5: struct #32 -│ │ │ │ │ │ └─ [notIn]: list #27 +│ │ │ │ │ │ └─ [notIn]: list 'list_27' #27 │ │ │ │ │ │ └─ item: integer #25 │ │ │ │ │ ├─ variant_3: struct #87 │ │ │ │ │ │ └─ [_avg]: either '_float_filter' #84 @@ -739,19 +739,19 @@ root: struct '_User_QueryInput_group_by' #192 │ │ │ │ │ │ ├─ variant_2: struct #80 │ │ │ │ │ │ │ └─ [not]: float #76 │ │ │ │ │ │ ├─ variant_3: struct #81 -│ │ │ │ │ │ │ ├─ [gt]: optional #77 +│ │ │ │ │ │ │ ├─ [gt]: optional 'optional_77' #77 │ │ │ │ │ │ │ │ └─ item: float #76 -│ │ │ │ │ │ │ ├─ [gte]: optional #77 +│ │ │ │ │ │ │ ├─ [gte]: optional 'optional_77' #77 │ │ │ │ │ │ │ │ └─ item: float #76 -│ │ │ │ │ │ │ ├─ [lt]: optional #77 +│ │ │ │ │ │ │ ├─ [lt]: optional 'optional_77' #77 │ │ │ │ │ │ │ │ └─ item: float #76 -│ │ │ │ │ │ │ └─ [lte]: optional #77 +│ │ │ │ │ │ │ └─ [lte]: optional 'optional_77' #77 │ │ │ │ │ │ │ └─ item: float #76 │ │ │ │ │ │ ├─ variant_4: struct #82 -│ │ │ │ │ │ │ └─ [in]: list #78 +│ │ │ │ │ │ │ └─ [in]: list 'list_78' #78 │ │ │ │ │ │ │ └─ item: float #76 │ │ │ │ │ │ └─ variant_5: struct #83 -│ │ │ │ │ │ └─ [notIn]: list #78 +│ │ │ │ │ │ └─ [notIn]: list 'list_78' #78 │ │ │ │ │ │ └─ item: float #76 │ │ │ │ │ ├─ variant_4: struct #88 │ │ │ │ │ │ └─ [_min]: either '_integer_filter' #33 @@ -761,19 +761,19 @@ root: struct '_User_QueryInput_group_by' #192 │ │ │ │ │ │ ├─ variant_2: struct #29 │ │ │ │ │ │ │ └─ [not]: integer #25 │ │ │ │ │ │ ├─ variant_3: struct #30 -│ │ │ │ │ │ │ ├─ [gt]: optional #26 +│ │ │ │ │ │ │ ├─ [gt]: optional 'optional_26' #26 │ │ │ │ │ │ │ │ └─ item: integer #25 -│ │ │ │ │ │ │ ├─ [gte]: optional #26 +│ │ │ │ │ │ │ ├─ [gte]: optional 'optional_26' #26 │ │ │ │ │ │ │ │ └─ item: integer #25 -│ │ │ │ │ │ │ ├─ [lt]: optional #26 +│ │ │ │ │ │ │ ├─ [lt]: optional 'optional_26' #26 │ │ │ │ │ │ │ │ └─ item: integer #25 -│ │ │ │ │ │ │ └─ [lte]: optional #26 +│ │ │ │ │ │ │ └─ [lte]: optional 'optional_26' #26 │ │ │ │ │ │ │ └─ item: integer #25 │ │ │ │ │ │ ├─ variant_4: struct #31 -│ │ │ │ │ │ │ └─ [in]: list #27 +│ │ │ │ │ │ │ └─ [in]: list 'list_27' #27 │ │ │ │ │ │ │ └─ item: integer #25 │ │ │ │ │ │ └─ variant_5: struct #32 -│ │ │ │ │ │ └─ [notIn]: list #27 +│ │ │ │ │ │ └─ [notIn]: list 'list_27' #27 │ │ │ │ │ │ └─ item: integer #25 │ │ │ │ │ └─ variant_5: struct #89 │ │ │ │ │ └─ [_max]: either '_integer_filter' #33 @@ -783,19 +783,19 @@ root: struct '_User_QueryInput_group_by' #192 │ │ │ │ │ ├─ variant_2: struct #29 │ │ │ │ │ │ └─ [not]: integer #25 │ │ │ │ │ ├─ variant_3: struct #30 -│ │ │ │ │ │ ├─ [gt]: optional #26 +│ │ │ │ │ │ ├─ [gt]: optional 'optional_26' #26 │ │ │ │ │ │ │ └─ item: integer #25 -│ │ │ │ │ │ ├─ [gte]: optional #26 +│ │ │ │ │ │ ├─ [gte]: optional 'optional_26' #26 │ │ │ │ │ │ │ └─ item: integer #25 -│ │ │ │ │ │ ├─ [lt]: optional #26 +│ │ │ │ │ │ ├─ [lt]: optional 'optional_26' #26 │ │ │ │ │ │ │ └─ item: integer #25 -│ │ │ │ │ │ └─ [lte]: optional #26 +│ │ │ │ │ │ └─ [lte]: optional 'optional_26' #26 │ │ │ │ │ │ └─ item: integer #25 │ │ │ │ │ ├─ variant_4: struct #31 -│ │ │ │ │ │ └─ [in]: list #27 +│ │ │ │ │ │ └─ [in]: list 'list_27' #27 │ │ │ │ │ │ └─ item: integer #25 │ │ │ │ │ └─ variant_5: struct #32 -│ │ │ │ │ └─ [notIn]: list #27 +│ │ │ │ │ └─ [notIn]: list 'list_27' #27 │ │ │ │ │ └─ item: integer #25 │ │ │ │ └─ variant_1: struct #91 │ │ │ │ └─ [not]: union '_integer_filter_with_aggregates' #90 @@ -806,19 +806,19 @@ root: struct '_User_QueryInput_group_by' #192 │ │ │ │ │ ├─ variant_2: struct #29 │ │ │ │ │ │ └─ [not]: integer #25 │ │ │ │ │ ├─ variant_3: struct #30 -│ │ │ │ │ │ ├─ [gt]: optional #26 +│ │ │ │ │ │ ├─ [gt]: optional 'optional_26' #26 │ │ │ │ │ │ │ └─ item: integer #25 -│ │ │ │ │ │ ├─ [gte]: optional #26 +│ │ │ │ │ │ ├─ [gte]: optional 'optional_26' #26 │ │ │ │ │ │ │ └─ item: integer #25 -│ │ │ │ │ │ ├─ [lt]: optional #26 +│ │ │ │ │ │ ├─ [lt]: optional 'optional_26' #26 │ │ │ │ │ │ │ └─ item: integer #25 -│ │ │ │ │ │ └─ [lte]: optional #26 +│ │ │ │ │ │ └─ [lte]: optional 'optional_26' #26 │ │ │ │ │ │ └─ item: integer #25 │ │ │ │ │ ├─ variant_4: struct #31 -│ │ │ │ │ │ └─ [in]: list #27 +│ │ │ │ │ │ └─ [in]: list 'list_27' #27 │ │ │ │ │ │ └─ item: integer #25 │ │ │ │ │ └─ variant_5: struct #32 -│ │ │ │ │ └─ [notIn]: list #27 +│ │ │ │ │ └─ [notIn]: list 'list_27' #27 │ │ │ │ │ └─ item: integer #25 │ │ │ │ ├─ variant_1: struct #85 │ │ │ │ │ └─ [_count]: either '_integer_filter' #33 @@ -828,19 +828,19 @@ root: struct '_User_QueryInput_group_by' #192 │ │ │ │ │ ├─ variant_2: struct #29 │ │ │ │ │ │ └─ [not]: integer #25 │ │ │ │ │ ├─ variant_3: struct #30 -│ │ │ │ │ │ ├─ [gt]: optional #26 +│ │ │ │ │ │ ├─ [gt]: optional 'optional_26' #26 │ │ │ │ │ │ │ └─ item: integer #25 -│ │ │ │ │ │ ├─ [gte]: optional #26 +│ │ │ │ │ │ ├─ [gte]: optional 'optional_26' #26 │ │ │ │ │ │ │ └─ item: integer #25 -│ │ │ │ │ │ ├─ [lt]: optional #26 +│ │ │ │ │ │ ├─ [lt]: optional 'optional_26' #26 │ │ │ │ │ │ │ └─ item: integer #25 -│ │ │ │ │ │ └─ [lte]: optional #26 +│ │ │ │ │ │ └─ [lte]: optional 'optional_26' #26 │ │ │ │ │ │ └─ item: integer #25 │ │ │ │ │ ├─ variant_4: struct #31 -│ │ │ │ │ │ └─ [in]: list #27 +│ │ │ │ │ │ └─ [in]: list 'list_27' #27 │ │ │ │ │ │ └─ item: integer #25 │ │ │ │ │ └─ variant_5: struct #32 -│ │ │ │ │ └─ [notIn]: list #27 +│ │ │ │ │ └─ [notIn]: list 'list_27' #27 │ │ │ │ │ └─ item: integer #25 │ │ │ │ ├─ variant_2: struct #86 │ │ │ │ │ └─ [_sum]: either '_integer_filter' #33 @@ -850,19 +850,19 @@ root: struct '_User_QueryInput_group_by' #192 │ │ │ │ │ ├─ variant_2: struct #29 │ │ │ │ │ │ └─ [not]: integer #25 │ │ │ │ │ ├─ variant_3: struct #30 -│ │ │ │ │ │ ├─ [gt]: optional #26 +│ │ │ │ │ │ ├─ [gt]: optional 'optional_26' #26 │ │ │ │ │ │ │ └─ item: integer #25 -│ │ │ │ │ │ ├─ [gte]: optional #26 +│ │ │ │ │ │ ├─ [gte]: optional 'optional_26' #26 │ │ │ │ │ │ │ └─ item: integer #25 -│ │ │ │ │ │ ├─ [lt]: optional #26 +│ │ │ │ │ │ ├─ [lt]: optional 'optional_26' #26 │ │ │ │ │ │ │ └─ item: integer #25 -│ │ │ │ │ │ └─ [lte]: optional #26 +│ │ │ │ │ │ └─ [lte]: optional 'optional_26' #26 │ │ │ │ │ │ └─ item: integer #25 │ │ │ │ │ ├─ variant_4: struct #31 -│ │ │ │ │ │ └─ [in]: list #27 +│ │ │ │ │ │ └─ [in]: list 'list_27' #27 │ │ │ │ │ │ └─ item: integer #25 │ │ │ │ │ └─ variant_5: struct #32 -│ │ │ │ │ └─ [notIn]: list #27 +│ │ │ │ │ └─ [notIn]: list 'list_27' #27 │ │ │ │ │ └─ item: integer #25 │ │ │ │ ├─ variant_3: struct #87 │ │ │ │ │ └─ [_avg]: either '_float_filter' #84 @@ -872,19 +872,19 @@ root: struct '_User_QueryInput_group_by' #192 │ │ │ │ │ ├─ variant_2: struct #80 │ │ │ │ │ │ └─ [not]: float #76 │ │ │ │ │ ├─ variant_3: struct #81 -│ │ │ │ │ │ ├─ [gt]: optional #77 +│ │ │ │ │ │ ├─ [gt]: optional 'optional_77' #77 │ │ │ │ │ │ │ └─ item: float #76 -│ │ │ │ │ │ ├─ [gte]: optional #77 +│ │ │ │ │ │ ├─ [gte]: optional 'optional_77' #77 │ │ │ │ │ │ │ └─ item: float #76 -│ │ │ │ │ │ ├─ [lt]: optional #77 +│ │ │ │ │ │ ├─ [lt]: optional 'optional_77' #77 │ │ │ │ │ │ │ └─ item: float #76 -│ │ │ │ │ │ └─ [lte]: optional #77 +│ │ │ │ │ │ └─ [lte]: optional 'optional_77' #77 │ │ │ │ │ │ └─ item: float #76 │ │ │ │ │ ├─ variant_4: struct #82 -│ │ │ │ │ │ └─ [in]: list #78 +│ │ │ │ │ │ └─ [in]: list 'list_78' #78 │ │ │ │ │ │ └─ item: float #76 │ │ │ │ │ └─ variant_5: struct #83 -│ │ │ │ │ └─ [notIn]: list #78 +│ │ │ │ │ └─ [notIn]: list 'list_78' #78 │ │ │ │ │ └─ item: float #76 │ │ │ │ ├─ variant_4: struct #88 │ │ │ │ │ └─ [_min]: either '_integer_filter' #33 @@ -894,19 +894,19 @@ root: struct '_User_QueryInput_group_by' #192 │ │ │ │ │ ├─ variant_2: struct #29 │ │ │ │ │ │ └─ [not]: integer #25 │ │ │ │ │ ├─ variant_3: struct #30 -│ │ │ │ │ │ ├─ [gt]: optional #26 +│ │ │ │ │ │ ├─ [gt]: optional 'optional_26' #26 │ │ │ │ │ │ │ └─ item: integer #25 -│ │ │ │ │ │ ├─ [gte]: optional #26 +│ │ │ │ │ │ ├─ [gte]: optional 'optional_26' #26 │ │ │ │ │ │ │ └─ item: integer #25 -│ │ │ │ │ │ ├─ [lt]: optional #26 +│ │ │ │ │ │ ├─ [lt]: optional 'optional_26' #26 │ │ │ │ │ │ │ └─ item: integer #25 -│ │ │ │ │ │ └─ [lte]: optional #26 +│ │ │ │ │ │ └─ [lte]: optional 'optional_26' #26 │ │ │ │ │ │ └─ item: integer #25 │ │ │ │ │ ├─ variant_4: struct #31 -│ │ │ │ │ │ └─ [in]: list #27 +│ │ │ │ │ │ └─ [in]: list 'list_27' #27 │ │ │ │ │ │ └─ item: integer #25 │ │ │ │ │ └─ variant_5: struct #32 -│ │ │ │ │ └─ [notIn]: list #27 +│ │ │ │ │ └─ [notIn]: list 'list_27' #27 │ │ │ │ │ └─ item: integer #25 │ │ │ │ └─ variant_5: struct #89 │ │ │ │ └─ [_max]: either '_integer_filter' #33 @@ -916,21 +916,21 @@ root: struct '_User_QueryInput_group_by' #192 │ │ │ │ ├─ variant_2: struct #29 │ │ │ │ │ └─ [not]: integer #25 │ │ │ │ ├─ variant_3: struct #30 -│ │ │ │ │ ├─ [gt]: optional #26 +│ │ │ │ │ ├─ [gt]: optional 'optional_26' #26 │ │ │ │ │ │ └─ item: integer #25 -│ │ │ │ │ ├─ [gte]: optional #26 +│ │ │ │ │ ├─ [gte]: optional 'optional_26' #26 │ │ │ │ │ │ └─ item: integer #25 -│ │ │ │ │ ├─ [lt]: optional #26 +│ │ │ │ │ ├─ [lt]: optional 'optional_26' #26 │ │ │ │ │ │ └─ item: integer #25 -│ │ │ │ │ └─ [lte]: optional #26 +│ │ │ │ │ └─ [lte]: optional 'optional_26' #26 │ │ │ │ │ └─ item: integer #25 │ │ │ │ ├─ variant_4: struct #31 -│ │ │ │ │ └─ [in]: list #27 +│ │ │ │ │ └─ [in]: list 'list_27' #27 │ │ │ │ │ └─ item: integer #25 │ │ │ │ └─ variant_5: struct #32 -│ │ │ │ └─ [notIn]: list #27 +│ │ │ │ └─ [notIn]: list 'list_27' #27 │ │ │ │ └─ item: integer #25 -│ │ │ └─ [title]: optional '_171__string_filter_c?' #171 +│ │ │ └─ [title]: optional 'optional_171' #171 │ │ │ └─ item: optional '_string_filter_c' #22 │ │ │ └─ item: union #21 │ │ │ ├─ variant_0: union '_string_filter' #19 @@ -940,21 +940,21 @@ root: struct '_User_QueryInput_group_by' #192 │ │ │ │ ├─ variant_2: struct #11 │ │ │ │ │ └─ [not]: string #7 │ │ │ │ ├─ variant_3: struct #12 -│ │ │ │ │ └─ [in]: list #9 +│ │ │ │ │ └─ [in]: list 'list_9' #9 │ │ │ │ │ └─ item: string #7 │ │ │ │ ├─ variant_4: struct #13 -│ │ │ │ │ └─ [notIn]: list #9 +│ │ │ │ │ └─ [notIn]: list 'list_9' #9 │ │ │ │ │ └─ item: string #7 │ │ │ │ ├─ variant_5: struct #16 │ │ │ │ │ ├─ [contains]: string #7 -│ │ │ │ │ └─ [mode]: optional #15 +│ │ │ │ │ └─ [mode]: optional 'optional_15' #15 │ │ │ │ │ └─ item: string #14 enum{ '"insensitive"' } │ │ │ │ ├─ variant_6: struct #17 │ │ │ │ │ └─ [search]: string #7 │ │ │ │ └─ variant_7: struct #18 -│ │ │ │ ├─ [endsWith]: optional #8 +│ │ │ │ ├─ [endsWith]: optional 'optional_8' #8 │ │ │ │ │ └─ item: string #7 -│ │ │ │ └─ [startsWith]: optional #8 +│ │ │ │ └─ [startsWith]: optional 'optional_8' #8 │ │ │ │ └─ item: string #7 │ │ │ └─ variant_1: struct #20 │ │ │ └─ [not]: union '_string_filter' #19 @@ -964,28 +964,28 @@ root: struct '_User_QueryInput_group_by' #192 │ │ │ ├─ variant_2: struct #11 │ │ │ │ └─ [not]: string #7 │ │ │ ├─ variant_3: struct #12 -│ │ │ │ └─ [in]: list #9 +│ │ │ │ └─ [in]: list 'list_9' #9 │ │ │ │ └─ item: string #7 │ │ │ ├─ variant_4: struct #13 -│ │ │ │ └─ [notIn]: list #9 +│ │ │ │ └─ [notIn]: list 'list_9' #9 │ │ │ │ └─ item: string #7 │ │ │ ├─ variant_5: struct #16 │ │ │ │ ├─ [contains]: string #7 -│ │ │ │ └─ [mode]: optional #15 +│ │ │ │ └─ [mode]: optional 'optional_15' #15 │ │ │ │ └─ item: string #14 enum{ '"insensitive"' } │ │ │ ├─ variant_6: struct #17 │ │ │ │ └─ [search]: string #7 │ │ │ └─ variant_7: struct #18 -│ │ │ ├─ [endsWith]: optional #8 +│ │ │ ├─ [endsWith]: optional 'optional_8' #8 │ │ │ │ └─ item: string #7 -│ │ │ └─ [startsWith]: optional #8 +│ │ │ └─ [startsWith]: optional 'optional_8' #8 │ │ │ └─ item: string #7 │ │ └─ variant_2: struct #180 -│ │ └─ [none]: optional '_179_PostWhere__agg__skip_123_UserWhere__agg?' #179 +│ │ └─ [none]: optional 'optional_179' #179 │ │ └─ item: struct 'PostWhere__agg__skip_123_UserWhere__agg' #174 -│ │ ├─ [author]: optional '_173_UserWhere__agg?' #173 +│ │ ├─ [author]: optional 'optional_173' #173 │ │ │ └─ item: &UserWhere__agg #172 -│ │ ├─ [id]: optional '_170__integer_filter_with_aggregates_c?' #170 +│ │ ├─ [id]: optional 'optional_170' #170 │ │ │ └─ item: optional '_integer_filter_with_aggregates_c' #93 │ │ │ └─ item: union #92 │ │ │ ├─ variant_0: union '_integer_filter_with_aggregates' #90 @@ -996,19 +996,19 @@ root: struct '_User_QueryInput_group_by' #192 │ │ │ │ │ ├─ variant_2: struct #29 │ │ │ │ │ │ └─ [not]: integer #25 │ │ │ │ │ ├─ variant_3: struct #30 -│ │ │ │ │ │ ├─ [gt]: optional #26 +│ │ │ │ │ │ ├─ [gt]: optional 'optional_26' #26 │ │ │ │ │ │ │ └─ item: integer #25 -│ │ │ │ │ │ ├─ [gte]: optional #26 +│ │ │ │ │ │ ├─ [gte]: optional 'optional_26' #26 │ │ │ │ │ │ │ └─ item: integer #25 -│ │ │ │ │ │ ├─ [lt]: optional #26 +│ │ │ │ │ │ ├─ [lt]: optional 'optional_26' #26 │ │ │ │ │ │ │ └─ item: integer #25 -│ │ │ │ │ │ └─ [lte]: optional #26 +│ │ │ │ │ │ └─ [lte]: optional 'optional_26' #26 │ │ │ │ │ │ └─ item: integer #25 │ │ │ │ │ ├─ variant_4: struct #31 -│ │ │ │ │ │ └─ [in]: list #27 +│ │ │ │ │ │ └─ [in]: list 'list_27' #27 │ │ │ │ │ │ └─ item: integer #25 │ │ │ │ │ └─ variant_5: struct #32 -│ │ │ │ │ └─ [notIn]: list #27 +│ │ │ │ │ └─ [notIn]: list 'list_27' #27 │ │ │ │ │ └─ item: integer #25 │ │ │ │ ├─ variant_1: struct #85 │ │ │ │ │ └─ [_count]: either '_integer_filter' #33 @@ -1018,19 +1018,19 @@ root: struct '_User_QueryInput_group_by' #192 │ │ │ │ │ ├─ variant_2: struct #29 │ │ │ │ │ │ └─ [not]: integer #25 │ │ │ │ │ ├─ variant_3: struct #30 -│ │ │ │ │ │ ├─ [gt]: optional #26 +│ │ │ │ │ │ ├─ [gt]: optional 'optional_26' #26 │ │ │ │ │ │ │ └─ item: integer #25 -│ │ │ │ │ │ ├─ [gte]: optional #26 +│ │ │ │ │ │ ├─ [gte]: optional 'optional_26' #26 │ │ │ │ │ │ │ └─ item: integer #25 -│ │ │ │ │ │ ├─ [lt]: optional #26 +│ │ │ │ │ │ ├─ [lt]: optional 'optional_26' #26 │ │ │ │ │ │ │ └─ item: integer #25 -│ │ │ │ │ │ └─ [lte]: optional #26 +│ │ │ │ │ │ └─ [lte]: optional 'optional_26' #26 │ │ │ │ │ │ └─ item: integer #25 │ │ │ │ │ ├─ variant_4: struct #31 -│ │ │ │ │ │ └─ [in]: list #27 +│ │ │ │ │ │ └─ [in]: list 'list_27' #27 │ │ │ │ │ │ └─ item: integer #25 │ │ │ │ │ └─ variant_5: struct #32 -│ │ │ │ │ └─ [notIn]: list #27 +│ │ │ │ │ └─ [notIn]: list 'list_27' #27 │ │ │ │ │ └─ item: integer #25 │ │ │ │ ├─ variant_2: struct #86 │ │ │ │ │ └─ [_sum]: either '_integer_filter' #33 @@ -1040,19 +1040,19 @@ root: struct '_User_QueryInput_group_by' #192 │ │ │ │ │ ├─ variant_2: struct #29 │ │ │ │ │ │ └─ [not]: integer #25 │ │ │ │ │ ├─ variant_3: struct #30 -│ │ │ │ │ │ ├─ [gt]: optional #26 +│ │ │ │ │ │ ├─ [gt]: optional 'optional_26' #26 │ │ │ │ │ │ │ └─ item: integer #25 -│ │ │ │ │ │ ├─ [gte]: optional #26 +│ │ │ │ │ │ ├─ [gte]: optional 'optional_26' #26 │ │ │ │ │ │ │ └─ item: integer #25 -│ │ │ │ │ │ ├─ [lt]: optional #26 +│ │ │ │ │ │ ├─ [lt]: optional 'optional_26' #26 │ │ │ │ │ │ │ └─ item: integer #25 -│ │ │ │ │ │ └─ [lte]: optional #26 +│ │ │ │ │ │ └─ [lte]: optional 'optional_26' #26 │ │ │ │ │ │ └─ item: integer #25 │ │ │ │ │ ├─ variant_4: struct #31 -│ │ │ │ │ │ └─ [in]: list #27 +│ │ │ │ │ │ └─ [in]: list 'list_27' #27 │ │ │ │ │ │ └─ item: integer #25 │ │ │ │ │ └─ variant_5: struct #32 -│ │ │ │ │ └─ [notIn]: list #27 +│ │ │ │ │ └─ [notIn]: list 'list_27' #27 │ │ │ │ │ └─ item: integer #25 │ │ │ │ ├─ variant_3: struct #87 │ │ │ │ │ └─ [_avg]: either '_float_filter' #84 @@ -1062,19 +1062,19 @@ root: struct '_User_QueryInput_group_by' #192 │ │ │ │ │ ├─ variant_2: struct #80 │ │ │ │ │ │ └─ [not]: float #76 │ │ │ │ │ ├─ variant_3: struct #81 -│ │ │ │ │ │ ├─ [gt]: optional #77 +│ │ │ │ │ │ ├─ [gt]: optional 'optional_77' #77 │ │ │ │ │ │ │ └─ item: float #76 -│ │ │ │ │ │ ├─ [gte]: optional #77 +│ │ │ │ │ │ ├─ [gte]: optional 'optional_77' #77 │ │ │ │ │ │ │ └─ item: float #76 -│ │ │ │ │ │ ├─ [lt]: optional #77 +│ │ │ │ │ │ ├─ [lt]: optional 'optional_77' #77 │ │ │ │ │ │ │ └─ item: float #76 -│ │ │ │ │ │ └─ [lte]: optional #77 +│ │ │ │ │ │ └─ [lte]: optional 'optional_77' #77 │ │ │ │ │ │ └─ item: float #76 │ │ │ │ │ ├─ variant_4: struct #82 -│ │ │ │ │ │ └─ [in]: list #78 +│ │ │ │ │ │ └─ [in]: list 'list_78' #78 │ │ │ │ │ │ └─ item: float #76 │ │ │ │ │ └─ variant_5: struct #83 -│ │ │ │ │ └─ [notIn]: list #78 +│ │ │ │ │ └─ [notIn]: list 'list_78' #78 │ │ │ │ │ └─ item: float #76 │ │ │ │ ├─ variant_4: struct #88 │ │ │ │ │ └─ [_min]: either '_integer_filter' #33 @@ -1084,19 +1084,19 @@ root: struct '_User_QueryInput_group_by' #192 │ │ │ │ │ ├─ variant_2: struct #29 │ │ │ │ │ │ └─ [not]: integer #25 │ │ │ │ │ ├─ variant_3: struct #30 -│ │ │ │ │ │ ├─ [gt]: optional #26 +│ │ │ │ │ │ ├─ [gt]: optional 'optional_26' #26 │ │ │ │ │ │ │ └─ item: integer #25 -│ │ │ │ │ │ ├─ [gte]: optional #26 +│ │ │ │ │ │ ├─ [gte]: optional 'optional_26' #26 │ │ │ │ │ │ │ └─ item: integer #25 -│ │ │ │ │ │ ├─ [lt]: optional #26 +│ │ │ │ │ │ ├─ [lt]: optional 'optional_26' #26 │ │ │ │ │ │ │ └─ item: integer #25 -│ │ │ │ │ │ └─ [lte]: optional #26 +│ │ │ │ │ │ └─ [lte]: optional 'optional_26' #26 │ │ │ │ │ │ └─ item: integer #25 │ │ │ │ │ ├─ variant_4: struct #31 -│ │ │ │ │ │ └─ [in]: list #27 +│ │ │ │ │ │ └─ [in]: list 'list_27' #27 │ │ │ │ │ │ └─ item: integer #25 │ │ │ │ │ └─ variant_5: struct #32 -│ │ │ │ │ └─ [notIn]: list #27 +│ │ │ │ │ └─ [notIn]: list 'list_27' #27 │ │ │ │ │ └─ item: integer #25 │ │ │ │ └─ variant_5: struct #89 │ │ │ │ └─ [_max]: either '_integer_filter' #33 @@ -1106,19 +1106,19 @@ root: struct '_User_QueryInput_group_by' #192 │ │ │ │ ├─ variant_2: struct #29 │ │ │ │ │ └─ [not]: integer #25 │ │ │ │ ├─ variant_3: struct #30 -│ │ │ │ │ ├─ [gt]: optional #26 +│ │ │ │ │ ├─ [gt]: optional 'optional_26' #26 │ │ │ │ │ │ └─ item: integer #25 -│ │ │ │ │ ├─ [gte]: optional #26 +│ │ │ │ │ ├─ [gte]: optional 'optional_26' #26 │ │ │ │ │ │ └─ item: integer #25 -│ │ │ │ │ ├─ [lt]: optional #26 +│ │ │ │ │ ├─ [lt]: optional 'optional_26' #26 │ │ │ │ │ │ └─ item: integer #25 -│ │ │ │ │ └─ [lte]: optional #26 +│ │ │ │ │ └─ [lte]: optional 'optional_26' #26 │ │ │ │ │ └─ item: integer #25 │ │ │ │ ├─ variant_4: struct #31 -│ │ │ │ │ └─ [in]: list #27 +│ │ │ │ │ └─ [in]: list 'list_27' #27 │ │ │ │ │ └─ item: integer #25 │ │ │ │ └─ variant_5: struct #32 -│ │ │ │ └─ [notIn]: list #27 +│ │ │ │ └─ [notIn]: list 'list_27' #27 │ │ │ │ └─ item: integer #25 │ │ │ └─ variant_1: struct #91 │ │ │ └─ [not]: union '_integer_filter_with_aggregates' #90 @@ -1129,19 +1129,19 @@ root: struct '_User_QueryInput_group_by' #192 │ │ │ │ ├─ variant_2: struct #29 │ │ │ │ │ └─ [not]: integer #25 │ │ │ │ ├─ variant_3: struct #30 -│ │ │ │ │ ├─ [gt]: optional #26 +│ │ │ │ │ ├─ [gt]: optional 'optional_26' #26 │ │ │ │ │ │ └─ item: integer #25 -│ │ │ │ │ ├─ [gte]: optional #26 +│ │ │ │ │ ├─ [gte]: optional 'optional_26' #26 │ │ │ │ │ │ └─ item: integer #25 -│ │ │ │ │ ├─ [lt]: optional #26 +│ │ │ │ │ ├─ [lt]: optional 'optional_26' #26 │ │ │ │ │ │ └─ item: integer #25 -│ │ │ │ │ └─ [lte]: optional #26 +│ │ │ │ │ └─ [lte]: optional 'optional_26' #26 │ │ │ │ │ └─ item: integer #25 │ │ │ │ ├─ variant_4: struct #31 -│ │ │ │ │ └─ [in]: list #27 +│ │ │ │ │ └─ [in]: list 'list_27' #27 │ │ │ │ │ └─ item: integer #25 │ │ │ │ └─ variant_5: struct #32 -│ │ │ │ └─ [notIn]: list #27 +│ │ │ │ └─ [notIn]: list 'list_27' #27 │ │ │ │ └─ item: integer #25 │ │ │ ├─ variant_1: struct #85 │ │ │ │ └─ [_count]: either '_integer_filter' #33 @@ -1151,19 +1151,19 @@ root: struct '_User_QueryInput_group_by' #192 │ │ │ │ ├─ variant_2: struct #29 │ │ │ │ │ └─ [not]: integer #25 │ │ │ │ ├─ variant_3: struct #30 -│ │ │ │ │ ├─ [gt]: optional #26 +│ │ │ │ │ ├─ [gt]: optional 'optional_26' #26 │ │ │ │ │ │ └─ item: integer #25 -│ │ │ │ │ ├─ [gte]: optional #26 +│ │ │ │ │ ├─ [gte]: optional 'optional_26' #26 │ │ │ │ │ │ └─ item: integer #25 -│ │ │ │ │ ├─ [lt]: optional #26 +│ │ │ │ │ ├─ [lt]: optional 'optional_26' #26 │ │ │ │ │ │ └─ item: integer #25 -│ │ │ │ │ └─ [lte]: optional #26 +│ │ │ │ │ └─ [lte]: optional 'optional_26' #26 │ │ │ │ │ └─ item: integer #25 │ │ │ │ ├─ variant_4: struct #31 -│ │ │ │ │ └─ [in]: list #27 +│ │ │ │ │ └─ [in]: list 'list_27' #27 │ │ │ │ │ └─ item: integer #25 │ │ │ │ └─ variant_5: struct #32 -│ │ │ │ └─ [notIn]: list #27 +│ │ │ │ └─ [notIn]: list 'list_27' #27 │ │ │ │ └─ item: integer #25 │ │ │ ├─ variant_2: struct #86 │ │ │ │ └─ [_sum]: either '_integer_filter' #33 @@ -1173,19 +1173,19 @@ root: struct '_User_QueryInput_group_by' #192 │ │ │ │ ├─ variant_2: struct #29 │ │ │ │ │ └─ [not]: integer #25 │ │ │ │ ├─ variant_3: struct #30 -│ │ │ │ │ ├─ [gt]: optional #26 +│ │ │ │ │ ├─ [gt]: optional 'optional_26' #26 │ │ │ │ │ │ └─ item: integer #25 -│ │ │ │ │ ├─ [gte]: optional #26 +│ │ │ │ │ ├─ [gte]: optional 'optional_26' #26 │ │ │ │ │ │ └─ item: integer #25 -│ │ │ │ │ ├─ [lt]: optional #26 +│ │ │ │ │ ├─ [lt]: optional 'optional_26' #26 │ │ │ │ │ │ └─ item: integer #25 -│ │ │ │ │ └─ [lte]: optional #26 +│ │ │ │ │ └─ [lte]: optional 'optional_26' #26 │ │ │ │ │ └─ item: integer #25 │ │ │ │ ├─ variant_4: struct #31 -│ │ │ │ │ └─ [in]: list #27 +│ │ │ │ │ └─ [in]: list 'list_27' #27 │ │ │ │ │ └─ item: integer #25 │ │ │ │ └─ variant_5: struct #32 -│ │ │ │ └─ [notIn]: list #27 +│ │ │ │ └─ [notIn]: list 'list_27' #27 │ │ │ │ └─ item: integer #25 │ │ │ ├─ variant_3: struct #87 │ │ │ │ └─ [_avg]: either '_float_filter' #84 @@ -1195,19 +1195,19 @@ root: struct '_User_QueryInput_group_by' #192 │ │ │ │ ├─ variant_2: struct #80 │ │ │ │ │ └─ [not]: float #76 │ │ │ │ ├─ variant_3: struct #81 -│ │ │ │ │ ├─ [gt]: optional #77 +│ │ │ │ │ ├─ [gt]: optional 'optional_77' #77 │ │ │ │ │ │ └─ item: float #76 -│ │ │ │ │ ├─ [gte]: optional #77 +│ │ │ │ │ ├─ [gte]: optional 'optional_77' #77 │ │ │ │ │ │ └─ item: float #76 -│ │ │ │ │ ├─ [lt]: optional #77 +│ │ │ │ │ ├─ [lt]: optional 'optional_77' #77 │ │ │ │ │ │ └─ item: float #76 -│ │ │ │ │ └─ [lte]: optional #77 +│ │ │ │ │ └─ [lte]: optional 'optional_77' #77 │ │ │ │ │ └─ item: float #76 │ │ │ │ ├─ variant_4: struct #82 -│ │ │ │ │ └─ [in]: list #78 +│ │ │ │ │ └─ [in]: list 'list_78' #78 │ │ │ │ │ └─ item: float #76 │ │ │ │ └─ variant_5: struct #83 -│ │ │ │ └─ [notIn]: list #78 +│ │ │ │ └─ [notIn]: list 'list_78' #78 │ │ │ │ └─ item: float #76 │ │ │ ├─ variant_4: struct #88 │ │ │ │ └─ [_min]: either '_integer_filter' #33 @@ -1217,19 +1217,19 @@ root: struct '_User_QueryInput_group_by' #192 │ │ │ │ ├─ variant_2: struct #29 │ │ │ │ │ └─ [not]: integer #25 │ │ │ │ ├─ variant_3: struct #30 -│ │ │ │ │ ├─ [gt]: optional #26 +│ │ │ │ │ ├─ [gt]: optional 'optional_26' #26 │ │ │ │ │ │ └─ item: integer #25 -│ │ │ │ │ ├─ [gte]: optional #26 +│ │ │ │ │ ├─ [gte]: optional 'optional_26' #26 │ │ │ │ │ │ └─ item: integer #25 -│ │ │ │ │ ├─ [lt]: optional #26 +│ │ │ │ │ ├─ [lt]: optional 'optional_26' #26 │ │ │ │ │ │ └─ item: integer #25 -│ │ │ │ │ └─ [lte]: optional #26 +│ │ │ │ │ └─ [lte]: optional 'optional_26' #26 │ │ │ │ │ └─ item: integer #25 │ │ │ │ ├─ variant_4: struct #31 -│ │ │ │ │ └─ [in]: list #27 +│ │ │ │ │ └─ [in]: list 'list_27' #27 │ │ │ │ │ └─ item: integer #25 │ │ │ │ └─ variant_5: struct #32 -│ │ │ │ └─ [notIn]: list #27 +│ │ │ │ └─ [notIn]: list 'list_27' #27 │ │ │ │ └─ item: integer #25 │ │ │ └─ variant_5: struct #89 │ │ │ └─ [_max]: either '_integer_filter' #33 @@ -1239,21 +1239,21 @@ root: struct '_User_QueryInput_group_by' #192 │ │ │ ├─ variant_2: struct #29 │ │ │ │ └─ [not]: integer #25 │ │ │ ├─ variant_3: struct #30 -│ │ │ │ ├─ [gt]: optional #26 +│ │ │ │ ├─ [gt]: optional 'optional_26' #26 │ │ │ │ │ └─ item: integer #25 -│ │ │ │ ├─ [gte]: optional #26 +│ │ │ │ ├─ [gte]: optional 'optional_26' #26 │ │ │ │ │ └─ item: integer #25 -│ │ │ │ ├─ [lt]: optional #26 +│ │ │ │ ├─ [lt]: optional 'optional_26' #26 │ │ │ │ │ └─ item: integer #25 -│ │ │ │ └─ [lte]: optional #26 +│ │ │ │ └─ [lte]: optional 'optional_26' #26 │ │ │ │ └─ item: integer #25 │ │ │ ├─ variant_4: struct #31 -│ │ │ │ └─ [in]: list #27 +│ │ │ │ └─ [in]: list 'list_27' #27 │ │ │ │ └─ item: integer #25 │ │ │ └─ variant_5: struct #32 -│ │ │ └─ [notIn]: list #27 +│ │ │ └─ [notIn]: list 'list_27' #27 │ │ │ └─ item: integer #25 -│ │ └─ [title]: optional '_171__string_filter_c?' #171 +│ │ └─ [title]: optional 'optional_171' #171 │ │ └─ item: optional '_string_filter_c' #22 │ │ └─ item: union #21 │ │ ├─ variant_0: union '_string_filter' #19 @@ -1263,21 +1263,21 @@ root: struct '_User_QueryInput_group_by' #192 │ │ │ ├─ variant_2: struct #11 │ │ │ │ └─ [not]: string #7 │ │ │ ├─ variant_3: struct #12 -│ │ │ │ └─ [in]: list #9 +│ │ │ │ └─ [in]: list 'list_9' #9 │ │ │ │ └─ item: string #7 │ │ │ ├─ variant_4: struct #13 -│ │ │ │ └─ [notIn]: list #9 +│ │ │ │ └─ [notIn]: list 'list_9' #9 │ │ │ │ └─ item: string #7 │ │ │ ├─ variant_5: struct #16 │ │ │ │ ├─ [contains]: string #7 -│ │ │ │ └─ [mode]: optional #15 +│ │ │ │ └─ [mode]: optional 'optional_15' #15 │ │ │ │ └─ item: string #14 enum{ '"insensitive"' } │ │ │ ├─ variant_6: struct #17 │ │ │ │ └─ [search]: string #7 │ │ │ └─ variant_7: struct #18 -│ │ │ ├─ [endsWith]: optional #8 +│ │ │ ├─ [endsWith]: optional 'optional_8' #8 │ │ │ │ └─ item: string #7 -│ │ │ └─ [startsWith]: optional #8 +│ │ │ └─ [startsWith]: optional 'optional_8' #8 │ │ │ └─ item: string #7 │ │ └─ variant_1: struct #20 │ │ └─ [not]: union '_string_filter' #19 @@ -1287,41 +1287,41 @@ root: struct '_User_QueryInput_group_by' #192 │ │ ├─ variant_2: struct #11 │ │ │ └─ [not]: string #7 │ │ ├─ variant_3: struct #12 -│ │ │ └─ [in]: list #9 +│ │ │ └─ [in]: list 'list_9' #9 │ │ │ └─ item: string #7 │ │ ├─ variant_4: struct #13 -│ │ │ └─ [notIn]: list #9 +│ │ │ └─ [notIn]: list 'list_9' #9 │ │ │ └─ item: string #7 │ │ ├─ variant_5: struct #16 │ │ │ ├─ [contains]: string #7 -│ │ │ └─ [mode]: optional #15 +│ │ │ └─ [mode]: optional 'optional_15' #15 │ │ │ └─ item: string #14 enum{ '"insensitive"' } │ │ ├─ variant_6: struct #17 │ │ │ └─ [search]: string #7 │ │ └─ variant_7: struct #18 -│ │ ├─ [endsWith]: optional #8 +│ │ ├─ [endsWith]: optional 'optional_8' #8 │ │ │ └─ item: string #7 -│ │ └─ [startsWith]: optional #8 +│ │ └─ [startsWith]: optional 'optional_8' #8 │ │ └─ item: string #7 │ ├─ variant_1: struct #186 -│ │ └─ [AND]: list '_185__User_Having[]' #185 +│ │ └─ [AND]: list 'list_185' #185 │ │ └─ item: &_User_Having #184 │ ├─ variant_2: struct #188 -│ │ └─ [OR]: list '_187__User_Having[]' #187 +│ │ └─ [OR]: list 'list_187' #187 │ │ └─ item: &_User_Having #184 │ └─ variant_3: struct #189 │ └─ [NOT]: &_User_Having #184 -├─ [orderBy]: optional '_159__User_OrderBy_with_aggregates?' #159 +├─ [orderBy]: optional 'optional_159' #159 │ └─ item: list '_User_OrderBy_with_aggregates' #158 │ └─ item: struct #157 -│ ├─ [_avg]: optional #153 +│ ├─ [_avg]: optional 'optional_153' #153 │ │ └─ item: struct #152 │ │ └─ [id]: optional '_Sort' #50 │ │ └─ item: union #49 │ │ ├─ variant_0: struct #48 │ │ │ └─ [sort]: string '_SortOrder' #46 enum{ '"asc"', '"desc"' } │ │ └─ variant_1: string '_SortOrder' #46 enum{ '"asc"', '"desc"' } -│ ├─ [_count]: optional #151 +│ ├─ [_count]: optional 'optional_151' #151 │ │ └─ item: struct #150 │ │ ├─ [id]: optional '_Sort' #50 │ │ │ └─ item: union #49 @@ -1338,21 +1338,21 @@ root: struct '_User_QueryInput_group_by' #192 │ │ ├─ variant_0: struct #48 │ │ │ └─ [sort]: string '_SortOrder' #46 enum{ '"asc"', '"desc"' } │ │ └─ variant_1: string '_SortOrder' #46 enum{ '"asc"', '"desc"' } -│ ├─ [_max]: optional #153 +│ ├─ [_max]: optional 'optional_153' #153 │ │ └─ item: struct #152 │ │ └─ [id]: optional '_Sort' #50 │ │ └─ item: union #49 │ │ ├─ variant_0: struct #48 │ │ │ └─ [sort]: string '_SortOrder' #46 enum{ '"asc"', '"desc"' } │ │ └─ variant_1: string '_SortOrder' #46 enum{ '"asc"', '"desc"' } -│ ├─ [_min]: optional #153 +│ ├─ [_min]: optional 'optional_153' #153 │ │ └─ item: struct #152 │ │ └─ [id]: optional '_Sort' #50 │ │ └─ item: union #49 │ │ ├─ variant_0: struct #48 │ │ │ └─ [sort]: string '_SortOrder' #46 enum{ '"asc"', '"desc"' } │ │ └─ variant_1: string '_SortOrder' #46 enum{ '"asc"', '"desc"' } -│ ├─ [_sum]: optional #153 +│ ├─ [_sum]: optional 'optional_153' #153 │ │ └─ item: struct #152 │ │ └─ [id]: optional '_Sort' #50 │ │ └─ item: union #49 @@ -1396,21 +1396,21 @@ root: struct '_User_QueryInput_group_by' #192 │ ├─ variant_0: struct #48 │ │ └─ [sort]: string '_SortOrder' #46 enum{ '"asc"', '"desc"' } │ └─ variant_1: string '_SortOrder' #46 enum{ '"asc"', '"desc"' } -├─ [skip]: optional '_161__Skip?' #161 +├─ [skip]: optional 'optional_161' #161 │ └─ item: integer '_Skip' #64 -├─ [take]: optional '_160__Take?' #160 +├─ [take]: optional 'optional_160' #160 │ └─ item: integer '_Take' #62 -└─ [where]: optional '_149_QueryUserWhereInput?' #149 +└─ [where]: optional 'optional_149' #149 └─ item: struct 'QueryUserWhereInput' #148 - ├─ [AND]: optional '_146__145_QueryUserWhereInput[]?' #146 - │ └─ item: list '_145_QueryUserWhereInput[]' #145 + ├─ [AND]: optional 'optional_146' #146 + │ └─ item: list 'list_145' #145 │ └─ item: &QueryUserWhereInput #144 - ├─ [NOT]: optional '_147_QueryUserWhereInput?' #147 + ├─ [NOT]: optional 'optional_147' #147 │ └─ item: &QueryUserWhereInput #144 - ├─ [OR]: optional '_146__145_QueryUserWhereInput[]?' #146 - │ └─ item: list '_145_QueryUserWhereInput[]' #145 + ├─ [OR]: optional 'optional_146' #146 + │ └─ item: list 'list_145' #145 │ └─ item: &QueryUserWhereInput #144 - ├─ [id]: optional '_128__integer_filter_c?' #128 + ├─ [id]: optional 'optional_128' #128 │ └─ item: optional '_integer_filter_c' #36 │ └─ item: union #35 │ ├─ variant_0: either '_integer_filter' #33 @@ -1420,19 +1420,19 @@ root: struct '_User_QueryInput_group_by' #192 │ │ ├─ variant_2: struct #29 │ │ │ └─ [not]: integer #25 │ │ ├─ variant_3: struct #30 - │ │ │ ├─ [gt]: optional #26 + │ │ │ ├─ [gt]: optional 'optional_26' #26 │ │ │ │ └─ item: integer #25 - │ │ │ ├─ [gte]: optional #26 + │ │ │ ├─ [gte]: optional 'optional_26' #26 │ │ │ │ └─ item: integer #25 - │ │ │ ├─ [lt]: optional #26 + │ │ │ ├─ [lt]: optional 'optional_26' #26 │ │ │ │ └─ item: integer #25 - │ │ │ └─ [lte]: optional #26 + │ │ │ └─ [lte]: optional 'optional_26' #26 │ │ │ └─ item: integer #25 │ │ ├─ variant_4: struct #31 - │ │ │ └─ [in]: list #27 + │ │ │ └─ [in]: list 'list_27' #27 │ │ │ └─ item: integer #25 │ │ └─ variant_5: struct #32 - │ │ └─ [notIn]: list #27 + │ │ └─ [notIn]: list 'list_27' #27 │ │ └─ item: integer #25 │ └─ variant_1: struct #34 │ └─ [not]: either '_integer_filter' #33 @@ -1442,21 +1442,21 @@ root: struct '_User_QueryInput_group_by' #192 │ ├─ variant_2: struct #29 │ │ └─ [not]: integer #25 │ ├─ variant_3: struct #30 - │ │ ├─ [gt]: optional #26 + │ │ ├─ [gt]: optional 'optional_26' #26 │ │ │ └─ item: integer #25 - │ │ ├─ [gte]: optional #26 + │ │ ├─ [gte]: optional 'optional_26' #26 │ │ │ └─ item: integer #25 - │ │ ├─ [lt]: optional #26 + │ │ ├─ [lt]: optional 'optional_26' #26 │ │ │ └─ item: integer #25 - │ │ └─ [lte]: optional #26 + │ │ └─ [lte]: optional 'optional_26' #26 │ │ └─ item: integer #25 │ ├─ variant_4: struct #31 - │ │ └─ [in]: list #27 + │ │ └─ [in]: list 'list_27' #27 │ │ └─ item: integer #25 │ └─ variant_5: struct #32 - │ └─ [notIn]: list #27 + │ └─ [notIn]: list 'list_27' #27 │ └─ item: integer #25 - ├─ [name]: optional '_129__string_filter_c?' #129 + ├─ [name]: optional 'optional_129' #129 │ └─ item: optional '_string_filter_c' #22 │ └─ item: union #21 │ ├─ variant_0: union '_string_filter' #19 @@ -1466,21 +1466,21 @@ root: struct '_User_QueryInput_group_by' #192 │ │ ├─ variant_2: struct #11 │ │ │ └─ [not]: string #7 │ │ ├─ variant_3: struct #12 - │ │ │ └─ [in]: list #9 + │ │ │ └─ [in]: list 'list_9' #9 │ │ │ └─ item: string #7 │ │ ├─ variant_4: struct #13 - │ │ │ └─ [notIn]: list #9 + │ │ │ └─ [notIn]: list 'list_9' #9 │ │ │ └─ item: string #7 │ │ ├─ variant_5: struct #16 │ │ │ ├─ [contains]: string #7 - │ │ │ └─ [mode]: optional #15 + │ │ │ └─ [mode]: optional 'optional_15' #15 │ │ │ └─ item: string #14 enum{ '"insensitive"' } │ │ ├─ variant_6: struct #17 │ │ │ └─ [search]: string #7 │ │ └─ variant_7: struct #18 - │ │ ├─ [endsWith]: optional #8 + │ │ ├─ [endsWith]: optional 'optional_8' #8 │ │ │ └─ item: string #7 - │ │ └─ [startsWith]: optional #8 + │ │ └─ [startsWith]: optional 'optional_8' #8 │ │ └─ item: string #7 │ └─ variant_1: struct #20 │ └─ [not]: union '_string_filter' #19 @@ -1490,30 +1490,30 @@ root: struct '_User_QueryInput_group_by' #192 │ ├─ variant_2: struct #11 │ │ └─ [not]: string #7 │ ├─ variant_3: struct #12 - │ │ └─ [in]: list #9 + │ │ └─ [in]: list 'list_9' #9 │ │ └─ item: string #7 │ ├─ variant_4: struct #13 - │ │ └─ [notIn]: list #9 + │ │ └─ [notIn]: list 'list_9' #9 │ │ └─ item: string #7 │ ├─ variant_5: struct #16 │ │ ├─ [contains]: string #7 - │ │ └─ [mode]: optional #15 + │ │ └─ [mode]: optional 'optional_15' #15 │ │ └─ item: string #14 enum{ '"insensitive"' } │ ├─ variant_6: struct #17 │ │ └─ [search]: string #7 │ └─ variant_7: struct #18 - │ ├─ [endsWith]: optional #8 + │ ├─ [endsWith]: optional 'optional_8' #8 │ │ └─ item: string #7 - │ └─ [startsWith]: optional #8 + │ └─ [startsWith]: optional 'optional_8' #8 │ └─ item: string #7 - └─ [posts]: optional #142 + └─ [posts]: optional 'optional_142' #142 └─ item: union #141 ├─ variant_0: struct #136 - │ └─ [every]: optional '_135_PostWhere__skip_123_UserWhere?' #135 + │ └─ [every]: optional 'optional_135' #135 │ └─ item: struct 'PostWhere__skip_123_UserWhere' #134 - │ ├─ [author]: optional '_133_UserWhere?' #133 + │ ├─ [author]: optional 'optional_133' #133 │ │ └─ item: &UserWhere #132 - │ ├─ [id]: optional '_130__integer_filter_c?' #130 + │ ├─ [id]: optional 'optional_130' #130 │ │ └─ item: optional '_integer_filter_c' #36 │ │ └─ item: union #35 │ │ ├─ variant_0: either '_integer_filter' #33 @@ -1523,19 +1523,19 @@ root: struct '_User_QueryInput_group_by' #192 │ │ │ ├─ variant_2: struct #29 │ │ │ │ └─ [not]: integer #25 │ │ │ ├─ variant_3: struct #30 - │ │ │ │ ├─ [gt]: optional #26 + │ │ │ │ ├─ [gt]: optional 'optional_26' #26 │ │ │ │ │ └─ item: integer #25 - │ │ │ │ ├─ [gte]: optional #26 + │ │ │ │ ├─ [gte]: optional 'optional_26' #26 │ │ │ │ │ └─ item: integer #25 - │ │ │ │ ├─ [lt]: optional #26 + │ │ │ │ ├─ [lt]: optional 'optional_26' #26 │ │ │ │ │ └─ item: integer #25 - │ │ │ │ └─ [lte]: optional #26 + │ │ │ │ └─ [lte]: optional 'optional_26' #26 │ │ │ │ └─ item: integer #25 │ │ │ ├─ variant_4: struct #31 - │ │ │ │ └─ [in]: list #27 + │ │ │ │ └─ [in]: list 'list_27' #27 │ │ │ │ └─ item: integer #25 │ │ │ └─ variant_5: struct #32 - │ │ │ └─ [notIn]: list #27 + │ │ │ └─ [notIn]: list 'list_27' #27 │ │ │ └─ item: integer #25 │ │ └─ variant_1: struct #34 │ │ └─ [not]: either '_integer_filter' #33 @@ -1545,21 +1545,21 @@ root: struct '_User_QueryInput_group_by' #192 │ │ ├─ variant_2: struct #29 │ │ │ └─ [not]: integer #25 │ │ ├─ variant_3: struct #30 - │ │ │ ├─ [gt]: optional #26 + │ │ │ ├─ [gt]: optional 'optional_26' #26 │ │ │ │ └─ item: integer #25 - │ │ │ ├─ [gte]: optional #26 + │ │ │ ├─ [gte]: optional 'optional_26' #26 │ │ │ │ └─ item: integer #25 - │ │ │ ├─ [lt]: optional #26 + │ │ │ ├─ [lt]: optional 'optional_26' #26 │ │ │ │ └─ item: integer #25 - │ │ │ └─ [lte]: optional #26 + │ │ │ └─ [lte]: optional 'optional_26' #26 │ │ │ └─ item: integer #25 │ │ ├─ variant_4: struct #31 - │ │ │ └─ [in]: list #27 + │ │ │ └─ [in]: list 'list_27' #27 │ │ │ └─ item: integer #25 │ │ └─ variant_5: struct #32 - │ │ └─ [notIn]: list #27 + │ │ └─ [notIn]: list 'list_27' #27 │ │ └─ item: integer #25 - │ └─ [title]: optional '_131__string_filter_c?' #131 + │ └─ [title]: optional 'optional_131' #131 │ └─ item: optional '_string_filter_c' #22 │ └─ item: union #21 │ ├─ variant_0: union '_string_filter' #19 @@ -1569,21 +1569,21 @@ root: struct '_User_QueryInput_group_by' #192 │ │ ├─ variant_2: struct #11 │ │ │ └─ [not]: string #7 │ │ ├─ variant_3: struct #12 - │ │ │ └─ [in]: list #9 + │ │ │ └─ [in]: list 'list_9' #9 │ │ │ └─ item: string #7 │ │ ├─ variant_4: struct #13 - │ │ │ └─ [notIn]: list #9 + │ │ │ └─ [notIn]: list 'list_9' #9 │ │ │ └─ item: string #7 │ │ ├─ variant_5: struct #16 │ │ │ ├─ [contains]: string #7 - │ │ │ └─ [mode]: optional #15 + │ │ │ └─ [mode]: optional 'optional_15' #15 │ │ │ └─ item: string #14 enum{ '"insensitive"' } │ │ ├─ variant_6: struct #17 │ │ │ └─ [search]: string #7 │ │ └─ variant_7: struct #18 - │ │ ├─ [endsWith]: optional #8 + │ │ ├─ [endsWith]: optional 'optional_8' #8 │ │ │ └─ item: string #7 - │ │ └─ [startsWith]: optional #8 + │ │ └─ [startsWith]: optional 'optional_8' #8 │ │ └─ item: string #7 │ └─ variant_1: struct #20 │ └─ [not]: union '_string_filter' #19 @@ -1593,28 +1593,28 @@ root: struct '_User_QueryInput_group_by' #192 │ ├─ variant_2: struct #11 │ │ └─ [not]: string #7 │ ├─ variant_3: struct #12 - │ │ └─ [in]: list #9 + │ │ └─ [in]: list 'list_9' #9 │ │ └─ item: string #7 │ ├─ variant_4: struct #13 - │ │ └─ [notIn]: list #9 + │ │ └─ [notIn]: list 'list_9' #9 │ │ └─ item: string #7 │ ├─ variant_5: struct #16 │ │ ├─ [contains]: string #7 - │ │ └─ [mode]: optional #15 + │ │ └─ [mode]: optional 'optional_15' #15 │ │ └─ item: string #14 enum{ '"insensitive"' } │ ├─ variant_6: struct #17 │ │ └─ [search]: string #7 │ └─ variant_7: struct #18 - │ ├─ [endsWith]: optional #8 + │ ├─ [endsWith]: optional 'optional_8' #8 │ │ └─ item: string #7 - │ └─ [startsWith]: optional #8 + │ └─ [startsWith]: optional 'optional_8' #8 │ └─ item: string #7 ├─ variant_1: struct #138 - │ └─ [some]: optional '_137_PostWhere__skip_123_UserWhere?' #137 + │ └─ [some]: optional 'optional_137' #137 │ └─ item: struct 'PostWhere__skip_123_UserWhere' #134 - │ ├─ [author]: optional '_133_UserWhere?' #133 + │ ├─ [author]: optional 'optional_133' #133 │ │ └─ item: &UserWhere #132 - │ ├─ [id]: optional '_130__integer_filter_c?' #130 + │ ├─ [id]: optional 'optional_130' #130 │ │ └─ item: optional '_integer_filter_c' #36 │ │ └─ item: union #35 │ │ ├─ variant_0: either '_integer_filter' #33 @@ -1624,19 +1624,19 @@ root: struct '_User_QueryInput_group_by' #192 │ │ │ ├─ variant_2: struct #29 │ │ │ │ └─ [not]: integer #25 │ │ │ ├─ variant_3: struct #30 - │ │ │ │ ├─ [gt]: optional #26 + │ │ │ │ ├─ [gt]: optional 'optional_26' #26 │ │ │ │ │ └─ item: integer #25 - │ │ │ │ ├─ [gte]: optional #26 + │ │ │ │ ├─ [gte]: optional 'optional_26' #26 │ │ │ │ │ └─ item: integer #25 - │ │ │ │ ├─ [lt]: optional #26 + │ │ │ │ ├─ [lt]: optional 'optional_26' #26 │ │ │ │ │ └─ item: integer #25 - │ │ │ │ └─ [lte]: optional #26 + │ │ │ │ └─ [lte]: optional 'optional_26' #26 │ │ │ │ └─ item: integer #25 │ │ │ ├─ variant_4: struct #31 - │ │ │ │ └─ [in]: list #27 + │ │ │ │ └─ [in]: list 'list_27' #27 │ │ │ │ └─ item: integer #25 │ │ │ └─ variant_5: struct #32 - │ │ │ └─ [notIn]: list #27 + │ │ │ └─ [notIn]: list 'list_27' #27 │ │ │ └─ item: integer #25 │ │ └─ variant_1: struct #34 │ │ └─ [not]: either '_integer_filter' #33 @@ -1646,21 +1646,21 @@ root: struct '_User_QueryInput_group_by' #192 │ │ ├─ variant_2: struct #29 │ │ │ └─ [not]: integer #25 │ │ ├─ variant_3: struct #30 - │ │ │ ├─ [gt]: optional #26 + │ │ │ ├─ [gt]: optional 'optional_26' #26 │ │ │ │ └─ item: integer #25 - │ │ │ ├─ [gte]: optional #26 + │ │ │ ├─ [gte]: optional 'optional_26' #26 │ │ │ │ └─ item: integer #25 - │ │ │ ├─ [lt]: optional #26 + │ │ │ ├─ [lt]: optional 'optional_26' #26 │ │ │ │ └─ item: integer #25 - │ │ │ └─ [lte]: optional #26 + │ │ │ └─ [lte]: optional 'optional_26' #26 │ │ │ └─ item: integer #25 │ │ ├─ variant_4: struct #31 - │ │ │ └─ [in]: list #27 + │ │ │ └─ [in]: list 'list_27' #27 │ │ │ └─ item: integer #25 │ │ └─ variant_5: struct #32 - │ │ └─ [notIn]: list #27 + │ │ └─ [notIn]: list 'list_27' #27 │ │ └─ item: integer #25 - │ └─ [title]: optional '_131__string_filter_c?' #131 + │ └─ [title]: optional 'optional_131' #131 │ └─ item: optional '_string_filter_c' #22 │ └─ item: union #21 │ ├─ variant_0: union '_string_filter' #19 @@ -1670,21 +1670,21 @@ root: struct '_User_QueryInput_group_by' #192 │ │ ├─ variant_2: struct #11 │ │ │ └─ [not]: string #7 │ │ ├─ variant_3: struct #12 - │ │ │ └─ [in]: list #9 + │ │ │ └─ [in]: list 'list_9' #9 │ │ │ └─ item: string #7 │ │ ├─ variant_4: struct #13 - │ │ │ └─ [notIn]: list #9 + │ │ │ └─ [notIn]: list 'list_9' #9 │ │ │ └─ item: string #7 │ │ ├─ variant_5: struct #16 │ │ │ ├─ [contains]: string #7 - │ │ │ └─ [mode]: optional #15 + │ │ │ └─ [mode]: optional 'optional_15' #15 │ │ │ └─ item: string #14 enum{ '"insensitive"' } │ │ ├─ variant_6: struct #17 │ │ │ └─ [search]: string #7 │ │ └─ variant_7: struct #18 - │ │ ├─ [endsWith]: optional #8 + │ │ ├─ [endsWith]: optional 'optional_8' #8 │ │ │ └─ item: string #7 - │ │ └─ [startsWith]: optional #8 + │ │ └─ [startsWith]: optional 'optional_8' #8 │ │ └─ item: string #7 │ └─ variant_1: struct #20 │ └─ [not]: union '_string_filter' #19 @@ -1694,28 +1694,28 @@ root: struct '_User_QueryInput_group_by' #192 │ ├─ variant_2: struct #11 │ │ └─ [not]: string #7 │ ├─ variant_3: struct #12 - │ │ └─ [in]: list #9 + │ │ └─ [in]: list 'list_9' #9 │ │ └─ item: string #7 │ ├─ variant_4: struct #13 - │ │ └─ [notIn]: list #9 + │ │ └─ [notIn]: list 'list_9' #9 │ │ └─ item: string #7 │ ├─ variant_5: struct #16 │ │ ├─ [contains]: string #7 - │ │ └─ [mode]: optional #15 + │ │ └─ [mode]: optional 'optional_15' #15 │ │ └─ item: string #14 enum{ '"insensitive"' } │ ├─ variant_6: struct #17 │ │ └─ [search]: string #7 │ └─ variant_7: struct #18 - │ ├─ [endsWith]: optional #8 + │ ├─ [endsWith]: optional 'optional_8' #8 │ │ └─ item: string #7 - │ └─ [startsWith]: optional #8 + │ └─ [startsWith]: optional 'optional_8' #8 │ └─ item: string #7 └─ variant_2: struct #140 - └─ [none]: optional '_139_PostWhere__skip_123_UserWhere?' #139 + └─ [none]: optional 'optional_139' #139 └─ item: struct 'PostWhere__skip_123_UserWhere' #134 - ├─ [author]: optional '_133_UserWhere?' #133 + ├─ [author]: optional 'optional_133' #133 │ └─ item: &UserWhere #132 - ├─ [id]: optional '_130__integer_filter_c?' #130 + ├─ [id]: optional 'optional_130' #130 │ └─ item: optional '_integer_filter_c' #36 │ └─ item: union #35 │ ├─ variant_0: either '_integer_filter' #33 @@ -1725,19 +1725,19 @@ root: struct '_User_QueryInput_group_by' #192 │ │ ├─ variant_2: struct #29 │ │ │ └─ [not]: integer #25 │ │ ├─ variant_3: struct #30 - │ │ │ ├─ [gt]: optional #26 + │ │ │ ├─ [gt]: optional 'optional_26' #26 │ │ │ │ └─ item: integer #25 - │ │ │ ├─ [gte]: optional #26 + │ │ │ ├─ [gte]: optional 'optional_26' #26 │ │ │ │ └─ item: integer #25 - │ │ │ ├─ [lt]: optional #26 + │ │ │ ├─ [lt]: optional 'optional_26' #26 │ │ │ │ └─ item: integer #25 - │ │ │ └─ [lte]: optional #26 + │ │ │ └─ [lte]: optional 'optional_26' #26 │ │ │ └─ item: integer #25 │ │ ├─ variant_4: struct #31 - │ │ │ └─ [in]: list #27 + │ │ │ └─ [in]: list 'list_27' #27 │ │ │ └─ item: integer #25 │ │ └─ variant_5: struct #32 - │ │ └─ [notIn]: list #27 + │ │ └─ [notIn]: list 'list_27' #27 │ │ └─ item: integer #25 │ └─ variant_1: struct #34 │ └─ [not]: either '_integer_filter' #33 @@ -1747,21 +1747,21 @@ root: struct '_User_QueryInput_group_by' #192 │ ├─ variant_2: struct #29 │ │ └─ [not]: integer #25 │ ├─ variant_3: struct #30 - │ │ ├─ [gt]: optional #26 + │ │ ├─ [gt]: optional 'optional_26' #26 │ │ │ └─ item: integer #25 - │ │ ├─ [gte]: optional #26 + │ │ ├─ [gte]: optional 'optional_26' #26 │ │ │ └─ item: integer #25 - │ │ ├─ [lt]: optional #26 + │ │ ├─ [lt]: optional 'optional_26' #26 │ │ │ └─ item: integer #25 - │ │ └─ [lte]: optional #26 + │ │ └─ [lte]: optional 'optional_26' #26 │ │ └─ item: integer #25 │ ├─ variant_4: struct #31 - │ │ └─ [in]: list #27 + │ │ └─ [in]: list 'list_27' #27 │ │ └─ item: integer #25 │ └─ variant_5: struct #32 - │ └─ [notIn]: list #27 + │ └─ [notIn]: list 'list_27' #27 │ └─ item: integer #25 - └─ [title]: optional '_131__string_filter_c?' #131 + └─ [title]: optional 'optional_131' #131 └─ item: optional '_string_filter_c' #22 └─ item: union #21 ├─ variant_0: union '_string_filter' #19 @@ -1771,21 +1771,21 @@ root: struct '_User_QueryInput_group_by' #192 │ ├─ variant_2: struct #11 │ │ └─ [not]: string #7 │ ├─ variant_3: struct #12 - │ │ └─ [in]: list #9 + │ │ └─ [in]: list 'list_9' #9 │ │ └─ item: string #7 │ ├─ variant_4: struct #13 - │ │ └─ [notIn]: list #9 + │ │ └─ [notIn]: list 'list_9' #9 │ │ └─ item: string #7 │ ├─ variant_5: struct #16 │ │ ├─ [contains]: string #7 - │ │ └─ [mode]: optional #15 + │ │ └─ [mode]: optional 'optional_15' #15 │ │ └─ item: string #14 enum{ '"insensitive"' } │ ├─ variant_6: struct #17 │ │ └─ [search]: string #7 │ └─ variant_7: struct #18 - │ ├─ [endsWith]: optional #8 + │ ├─ [endsWith]: optional 'optional_8' #8 │ │ └─ item: string #7 - │ └─ [startsWith]: optional #8 + │ └─ [startsWith]: optional 'optional_8' #8 │ └─ item: string #7 └─ variant_1: struct #20 └─ [not]: union '_string_filter' #19 @@ -1795,20 +1795,19 @@ root: struct '_User_QueryInput_group_by' #192 ├─ variant_2: struct #11 │ └─ [not]: string #7 ├─ variant_3: struct #12 - │ └─ [in]: list #9 + │ └─ [in]: list 'list_9' #9 │ └─ item: string #7 ├─ variant_4: struct #13 - │ └─ [notIn]: list #9 + │ └─ [notIn]: list 'list_9' #9 │ └─ item: string #7 ├─ variant_5: struct #16 │ ├─ [contains]: string #7 - │ └─ [mode]: optional #15 + │ └─ [mode]: optional 'optional_15' #15 │ └─ item: string #14 enum{ '"insensitive"' } ├─ variant_6: struct #17 │ └─ [search]: string #7 └─ variant_7: struct #18 - ├─ [endsWith]: optional #8 + ├─ [endsWith]: optional 'optional_8' #8 │ └─ item: string #7 - └─ [startsWith]: optional #8 + └─ [startsWith]: optional 'optional_8' #8 └─ item: string #7 - diff --git a/src/typegraph/core/src/runtimes/prisma/type_generation/snapshots/typegraph_core__runtimes__prisma__type_generation__test__group_by User out.snap b/src/typegraph/core/src/runtimes/prisma/type_generation/snapshots/typegraph_core__runtimes__prisma__type_generation__test__group_by User out.snap index 112be94a51..ed826e11b5 100644 --- a/src/typegraph/core/src/runtimes/prisma/type_generation/snapshots/typegraph_core__runtimes__prisma__type_generation__test__group_by User out.snap +++ b/src/typegraph/core/src/runtimes/prisma/type_generation/snapshots/typegraph_core__runtimes__prisma__type_generation__test__group_by User out.snap @@ -1,32 +1,31 @@ --- -source: typegraph/core/src/runtimes/prisma/type_generation/mod.rs +source: src/typegraph/core/src/runtimes/prisma/type_generation/mod.rs expression: tp.print(out) --- root: list '_User_GroupByResult' #205 └─ item: struct #204 ├─ [_avg]: struct '_User_SelectNumbers__1' #198 - │ └─ [id]: optional #197 + │ └─ [id]: optional 'optional_197' #197 │ └─ item: float #196 ├─ [_count]: struct '_User_AggrCount' #195 - │ ├─ [_all]: optional #194 + │ ├─ [_all]: optional 'optional_194' #194 │ │ └─ item: integer #193 - │ ├─ [id]: optional #194 + │ ├─ [id]: optional 'optional_194' #194 │ │ └─ item: integer #193 - │ ├─ [name]: optional #194 + │ ├─ [name]: optional 'optional_194' #194 │ │ └─ item: integer #193 - │ └─ [posts]: optional #194 + │ └─ [posts]: optional 'optional_194' #194 │ └─ item: integer #193 ├─ [_max]: struct '_User_SelectNumbers_' #203 - │ └─ [id]: optional #202 + │ └─ [id]: optional 'optional_202' #202 │ └─ item: integer #201 ├─ [_min]: struct '_User_SelectNumbers_' #203 - │ └─ [id]: optional #202 + │ └─ [id]: optional 'optional_202' #202 │ └─ item: integer #201 ├─ [_sum]: struct '_User_SelectNumbers_' #203 - │ └─ [id]: optional #202 + │ └─ [id]: optional 'optional_202' #202 │ └─ item: integer #201 ├─ [id]: integer #119 ├─ [name]: string #120 - └─ [posts]: list '_122_Post[]' #122 + └─ [posts]: list 'list_122' #122 └─ item: &Post #121 - diff --git a/src/typegraph/core/src/runtimes/prisma/type_generation/snapshots/typegraph_core__runtimes__prisma__type_generation__test__update_many Post inp.snap b/src/typegraph/core/src/runtimes/prisma/type_generation/snapshots/typegraph_core__runtimes__prisma__type_generation__test__update_many Post inp.snap index 4c79f30dc4..c024fede67 100644 --- a/src/typegraph/core/src/runtimes/prisma/type_generation/snapshots/typegraph_core__runtimes__prisma__type_generation__test__update_many Post inp.snap +++ b/src/typegraph/core/src/runtimes/prisma/type_generation/snapshots/typegraph_core__runtimes__prisma__type_generation__test__update_many Post inp.snap @@ -1,10 +1,10 @@ --- -source: typegraph/core/src/runtimes/prisma/type_generation/mod.rs +source: src/typegraph/core/src/runtimes/prisma/type_generation/mod.rs expression: tp.print(inp) --- root: struct #188 ├─ [data]: struct '_Post_UpdateInput' #181 -│ ├─ [author]: optional #180 +│ ├─ [author]: optional 'optional_180' #180 │ │ └─ item: union #179 │ │ ├─ variant_0: struct #165 │ │ │ └─ [create]: struct '_User_CreateInput_excluding___rel_Post_User_1' #163 @@ -12,7 +12,7 @@ root: struct #188 │ │ │ └─ [name]: string #64 │ │ ├─ variant_1: struct #166 │ │ │ └─ [connect]: struct 'UserWhere' #146 -│ │ │ ├─ [id]: optional '_131__integer_filter_c?' #131 +│ │ │ ├─ [id]: optional 'optional_131' #131 │ │ │ │ └─ item: optional '_integer_filter_c' #52 │ │ │ │ └─ item: union #51 │ │ │ │ ├─ variant_0: either '_integer_filter' #49 @@ -22,19 +22,19 @@ root: struct #188 │ │ │ │ │ ├─ variant_2: struct #45 │ │ │ │ │ │ └─ [not]: integer #41 │ │ │ │ │ ├─ variant_3: struct #46 -│ │ │ │ │ │ ├─ [gt]: optional #42 +│ │ │ │ │ │ ├─ [gt]: optional 'optional_42' #42 │ │ │ │ │ │ │ └─ item: integer #41 -│ │ │ │ │ │ ├─ [gte]: optional #42 +│ │ │ │ │ │ ├─ [gte]: optional 'optional_42' #42 │ │ │ │ │ │ │ └─ item: integer #41 -│ │ │ │ │ │ ├─ [lt]: optional #42 +│ │ │ │ │ │ ├─ [lt]: optional 'optional_42' #42 │ │ │ │ │ │ │ └─ item: integer #41 -│ │ │ │ │ │ └─ [lte]: optional #42 +│ │ │ │ │ │ └─ [lte]: optional 'optional_42' #42 │ │ │ │ │ │ └─ item: integer #41 │ │ │ │ │ ├─ variant_4: struct #47 -│ │ │ │ │ │ └─ [in]: list #43 +│ │ │ │ │ │ └─ [in]: list 'list_43' #43 │ │ │ │ │ │ └─ item: integer #41 │ │ │ │ │ └─ variant_5: struct #48 -│ │ │ │ │ └─ [notIn]: list #43 +│ │ │ │ │ └─ [notIn]: list 'list_43' #43 │ │ │ │ │ └─ item: integer #41 │ │ │ │ └─ variant_1: struct #50 │ │ │ │ └─ [not]: either '_integer_filter' #49 @@ -44,21 +44,21 @@ root: struct #188 │ │ │ │ ├─ variant_2: struct #45 │ │ │ │ │ └─ [not]: integer #41 │ │ │ │ ├─ variant_3: struct #46 -│ │ │ │ │ ├─ [gt]: optional #42 +│ │ │ │ │ ├─ [gt]: optional 'optional_42' #42 │ │ │ │ │ │ └─ item: integer #41 -│ │ │ │ │ ├─ [gte]: optional #42 +│ │ │ │ │ ├─ [gte]: optional 'optional_42' #42 │ │ │ │ │ │ └─ item: integer #41 -│ │ │ │ │ ├─ [lt]: optional #42 +│ │ │ │ │ ├─ [lt]: optional 'optional_42' #42 │ │ │ │ │ │ └─ item: integer #41 -│ │ │ │ │ └─ [lte]: optional #42 +│ │ │ │ │ └─ [lte]: optional 'optional_42' #42 │ │ │ │ │ └─ item: integer #41 │ │ │ │ ├─ variant_4: struct #47 -│ │ │ │ │ └─ [in]: list #43 +│ │ │ │ │ └─ [in]: list 'list_43' #43 │ │ │ │ │ └─ item: integer #41 │ │ │ │ └─ variant_5: struct #48 -│ │ │ │ └─ [notIn]: list #43 +│ │ │ │ └─ [notIn]: list 'list_43' #43 │ │ │ │ └─ item: integer #41 -│ │ │ ├─ [name]: optional '_132__string_filter_c?' #132 +│ │ │ ├─ [name]: optional 'optional_132' #132 │ │ │ │ └─ item: optional '_string_filter_c' #38 │ │ │ │ └─ item: union #37 │ │ │ │ ├─ variant_0: union '_string_filter' #35 @@ -68,21 +68,21 @@ root: struct #188 │ │ │ │ │ ├─ variant_2: struct #27 │ │ │ │ │ │ └─ [not]: string #23 │ │ │ │ │ ├─ variant_3: struct #28 -│ │ │ │ │ │ └─ [in]: list #25 +│ │ │ │ │ │ └─ [in]: list 'list_25' #25 │ │ │ │ │ │ └─ item: string #23 │ │ │ │ │ ├─ variant_4: struct #29 -│ │ │ │ │ │ └─ [notIn]: list #25 +│ │ │ │ │ │ └─ [notIn]: list 'list_25' #25 │ │ │ │ │ │ └─ item: string #23 │ │ │ │ │ ├─ variant_5: struct #32 │ │ │ │ │ │ ├─ [contains]: string #23 -│ │ │ │ │ │ └─ [mode]: optional #31 +│ │ │ │ │ │ └─ [mode]: optional 'optional_31' #31 │ │ │ │ │ │ └─ item: string #30 enum{ '"insensitive"' } │ │ │ │ │ ├─ variant_6: struct #33 │ │ │ │ │ │ └─ [search]: string #23 │ │ │ │ │ └─ variant_7: struct #34 -│ │ │ │ │ ├─ [endsWith]: optional #24 +│ │ │ │ │ ├─ [endsWith]: optional 'optional_24' #24 │ │ │ │ │ │ └─ item: string #23 -│ │ │ │ │ └─ [startsWith]: optional #24 +│ │ │ │ │ └─ [startsWith]: optional 'optional_24' #24 │ │ │ │ │ └─ item: string #23 │ │ │ │ └─ variant_1: struct #36 │ │ │ │ └─ [not]: union '_string_filter' #35 @@ -92,30 +92,30 @@ root: struct #188 │ │ │ │ ├─ variant_2: struct #27 │ │ │ │ │ └─ [not]: string #23 │ │ │ │ ├─ variant_3: struct #28 -│ │ │ │ │ └─ [in]: list #25 +│ │ │ │ │ └─ [in]: list 'list_25' #25 │ │ │ │ │ └─ item: string #23 │ │ │ │ ├─ variant_4: struct #29 -│ │ │ │ │ └─ [notIn]: list #25 +│ │ │ │ │ └─ [notIn]: list 'list_25' #25 │ │ │ │ │ └─ item: string #23 │ │ │ │ ├─ variant_5: struct #32 │ │ │ │ │ ├─ [contains]: string #23 -│ │ │ │ │ └─ [mode]: optional #31 +│ │ │ │ │ └─ [mode]: optional 'optional_31' #31 │ │ │ │ │ └─ item: string #30 enum{ '"insensitive"' } │ │ │ │ ├─ variant_6: struct #33 │ │ │ │ │ └─ [search]: string #23 │ │ │ │ └─ variant_7: struct #34 -│ │ │ │ ├─ [endsWith]: optional #24 +│ │ │ │ ├─ [endsWith]: optional 'optional_24' #24 │ │ │ │ │ └─ item: string #23 -│ │ │ │ └─ [startsWith]: optional #24 +│ │ │ │ └─ [startsWith]: optional 'optional_24' #24 │ │ │ │ └─ item: string #23 -│ │ │ └─ [posts]: optional #145 +│ │ │ └─ [posts]: optional 'optional_145' #145 │ │ │ └─ item: union #144 │ │ │ ├─ variant_0: struct #139 -│ │ │ │ └─ [every]: optional '_138_PostWhere__skip_67_UserWhere?' #138 +│ │ │ │ └─ [every]: optional 'optional_138' #138 │ │ │ │ └─ item: struct 'PostWhere__skip_67_UserWhere' #137 -│ │ │ │ ├─ [author]: optional '_136_UserWhere?' #136 +│ │ │ │ ├─ [author]: optional 'optional_136' #136 │ │ │ │ │ └─ item: &UserWhere #135 -│ │ │ │ ├─ [id]: optional '_133__integer_filter_c?' #133 +│ │ │ │ ├─ [id]: optional 'optional_133' #133 │ │ │ │ │ └─ item: optional '_integer_filter_c' #52 │ │ │ │ │ └─ item: union #51 │ │ │ │ │ ├─ variant_0: either '_integer_filter' #49 @@ -125,19 +125,19 @@ root: struct #188 │ │ │ │ │ │ ├─ variant_2: struct #45 │ │ │ │ │ │ │ └─ [not]: integer #41 │ │ │ │ │ │ ├─ variant_3: struct #46 -│ │ │ │ │ │ │ ├─ [gt]: optional #42 +│ │ │ │ │ │ │ ├─ [gt]: optional 'optional_42' #42 │ │ │ │ │ │ │ │ └─ item: integer #41 -│ │ │ │ │ │ │ ├─ [gte]: optional #42 +│ │ │ │ │ │ │ ├─ [gte]: optional 'optional_42' #42 │ │ │ │ │ │ │ │ └─ item: integer #41 -│ │ │ │ │ │ │ ├─ [lt]: optional #42 +│ │ │ │ │ │ │ ├─ [lt]: optional 'optional_42' #42 │ │ │ │ │ │ │ │ └─ item: integer #41 -│ │ │ │ │ │ │ └─ [lte]: optional #42 +│ │ │ │ │ │ │ └─ [lte]: optional 'optional_42' #42 │ │ │ │ │ │ │ └─ item: integer #41 │ │ │ │ │ │ ├─ variant_4: struct #47 -│ │ │ │ │ │ │ └─ [in]: list #43 +│ │ │ │ │ │ │ └─ [in]: list 'list_43' #43 │ │ │ │ │ │ │ └─ item: integer #41 │ │ │ │ │ │ └─ variant_5: struct #48 -│ │ │ │ │ │ └─ [notIn]: list #43 +│ │ │ │ │ │ └─ [notIn]: list 'list_43' #43 │ │ │ │ │ │ └─ item: integer #41 │ │ │ │ │ └─ variant_1: struct #50 │ │ │ │ │ └─ [not]: either '_integer_filter' #49 @@ -147,21 +147,21 @@ root: struct #188 │ │ │ │ │ ├─ variant_2: struct #45 │ │ │ │ │ │ └─ [not]: integer #41 │ │ │ │ │ ├─ variant_3: struct #46 -│ │ │ │ │ │ ├─ [gt]: optional #42 +│ │ │ │ │ │ ├─ [gt]: optional 'optional_42' #42 │ │ │ │ │ │ │ └─ item: integer #41 -│ │ │ │ │ │ ├─ [gte]: optional #42 +│ │ │ │ │ │ ├─ [gte]: optional 'optional_42' #42 │ │ │ │ │ │ │ └─ item: integer #41 -│ │ │ │ │ │ ├─ [lt]: optional #42 +│ │ │ │ │ │ ├─ [lt]: optional 'optional_42' #42 │ │ │ │ │ │ │ └─ item: integer #41 -│ │ │ │ │ │ └─ [lte]: optional #42 +│ │ │ │ │ │ └─ [lte]: optional 'optional_42' #42 │ │ │ │ │ │ └─ item: integer #41 │ │ │ │ │ ├─ variant_4: struct #47 -│ │ │ │ │ │ └─ [in]: list #43 +│ │ │ │ │ │ └─ [in]: list 'list_43' #43 │ │ │ │ │ │ └─ item: integer #41 │ │ │ │ │ └─ variant_5: struct #48 -│ │ │ │ │ └─ [notIn]: list #43 +│ │ │ │ │ └─ [notIn]: list 'list_43' #43 │ │ │ │ │ └─ item: integer #41 -│ │ │ │ └─ [title]: optional '_134__string_filter_c?' #134 +│ │ │ │ └─ [title]: optional 'optional_134' #134 │ │ │ │ └─ item: optional '_string_filter_c' #38 │ │ │ │ └─ item: union #37 │ │ │ │ ├─ variant_0: union '_string_filter' #35 @@ -171,21 +171,21 @@ root: struct #188 │ │ │ │ │ ├─ variant_2: struct #27 │ │ │ │ │ │ └─ [not]: string #23 │ │ │ │ │ ├─ variant_3: struct #28 -│ │ │ │ │ │ └─ [in]: list #25 +│ │ │ │ │ │ └─ [in]: list 'list_25' #25 │ │ │ │ │ │ └─ item: string #23 │ │ │ │ │ ├─ variant_4: struct #29 -│ │ │ │ │ │ └─ [notIn]: list #25 +│ │ │ │ │ │ └─ [notIn]: list 'list_25' #25 │ │ │ │ │ │ └─ item: string #23 │ │ │ │ │ ├─ variant_5: struct #32 │ │ │ │ │ │ ├─ [contains]: string #23 -│ │ │ │ │ │ └─ [mode]: optional #31 +│ │ │ │ │ │ └─ [mode]: optional 'optional_31' #31 │ │ │ │ │ │ └─ item: string #30 enum{ '"insensitive"' } │ │ │ │ │ ├─ variant_6: struct #33 │ │ │ │ │ │ └─ [search]: string #23 │ │ │ │ │ └─ variant_7: struct #34 -│ │ │ │ │ ├─ [endsWith]: optional #24 +│ │ │ │ │ ├─ [endsWith]: optional 'optional_24' #24 │ │ │ │ │ │ └─ item: string #23 -│ │ │ │ │ └─ [startsWith]: optional #24 +│ │ │ │ │ └─ [startsWith]: optional 'optional_24' #24 │ │ │ │ │ └─ item: string #23 │ │ │ │ └─ variant_1: struct #36 │ │ │ │ └─ [not]: union '_string_filter' #35 @@ -195,28 +195,28 @@ root: struct #188 │ │ │ │ ├─ variant_2: struct #27 │ │ │ │ │ └─ [not]: string #23 │ │ │ │ ├─ variant_3: struct #28 -│ │ │ │ │ └─ [in]: list #25 +│ │ │ │ │ └─ [in]: list 'list_25' #25 │ │ │ │ │ └─ item: string #23 │ │ │ │ ├─ variant_4: struct #29 -│ │ │ │ │ └─ [notIn]: list #25 +│ │ │ │ │ └─ [notIn]: list 'list_25' #25 │ │ │ │ │ └─ item: string #23 │ │ │ │ ├─ variant_5: struct #32 │ │ │ │ │ ├─ [contains]: string #23 -│ │ │ │ │ └─ [mode]: optional #31 +│ │ │ │ │ └─ [mode]: optional 'optional_31' #31 │ │ │ │ │ └─ item: string #30 enum{ '"insensitive"' } │ │ │ │ ├─ variant_6: struct #33 │ │ │ │ │ └─ [search]: string #23 │ │ │ │ └─ variant_7: struct #34 -│ │ │ │ ├─ [endsWith]: optional #24 +│ │ │ │ ├─ [endsWith]: optional 'optional_24' #24 │ │ │ │ │ └─ item: string #23 -│ │ │ │ └─ [startsWith]: optional #24 +│ │ │ │ └─ [startsWith]: optional 'optional_24' #24 │ │ │ │ └─ item: string #23 │ │ │ ├─ variant_1: struct #141 -│ │ │ │ └─ [some]: optional '_140_PostWhere__skip_67_UserWhere?' #140 +│ │ │ │ └─ [some]: optional 'optional_140' #140 │ │ │ │ └─ item: struct 'PostWhere__skip_67_UserWhere' #137 -│ │ │ │ ├─ [author]: optional '_136_UserWhere?' #136 +│ │ │ │ ├─ [author]: optional 'optional_136' #136 │ │ │ │ │ └─ item: &UserWhere #135 -│ │ │ │ ├─ [id]: optional '_133__integer_filter_c?' #133 +│ │ │ │ ├─ [id]: optional 'optional_133' #133 │ │ │ │ │ └─ item: optional '_integer_filter_c' #52 │ │ │ │ │ └─ item: union #51 │ │ │ │ │ ├─ variant_0: either '_integer_filter' #49 @@ -226,19 +226,19 @@ root: struct #188 │ │ │ │ │ │ ├─ variant_2: struct #45 │ │ │ │ │ │ │ └─ [not]: integer #41 │ │ │ │ │ │ ├─ variant_3: struct #46 -│ │ │ │ │ │ │ ├─ [gt]: optional #42 +│ │ │ │ │ │ │ ├─ [gt]: optional 'optional_42' #42 │ │ │ │ │ │ │ │ └─ item: integer #41 -│ │ │ │ │ │ │ ├─ [gte]: optional #42 +│ │ │ │ │ │ │ ├─ [gte]: optional 'optional_42' #42 │ │ │ │ │ │ │ │ └─ item: integer #41 -│ │ │ │ │ │ │ ├─ [lt]: optional #42 +│ │ │ │ │ │ │ ├─ [lt]: optional 'optional_42' #42 │ │ │ │ │ │ │ │ └─ item: integer #41 -│ │ │ │ │ │ │ └─ [lte]: optional #42 +│ │ │ │ │ │ │ └─ [lte]: optional 'optional_42' #42 │ │ │ │ │ │ │ └─ item: integer #41 │ │ │ │ │ │ ├─ variant_4: struct #47 -│ │ │ │ │ │ │ └─ [in]: list #43 +│ │ │ │ │ │ │ └─ [in]: list 'list_43' #43 │ │ │ │ │ │ │ └─ item: integer #41 │ │ │ │ │ │ └─ variant_5: struct #48 -│ │ │ │ │ │ └─ [notIn]: list #43 +│ │ │ │ │ │ └─ [notIn]: list 'list_43' #43 │ │ │ │ │ │ └─ item: integer #41 │ │ │ │ │ └─ variant_1: struct #50 │ │ │ │ │ └─ [not]: either '_integer_filter' #49 @@ -248,21 +248,21 @@ root: struct #188 │ │ │ │ │ ├─ variant_2: struct #45 │ │ │ │ │ │ └─ [not]: integer #41 │ │ │ │ │ ├─ variant_3: struct #46 -│ │ │ │ │ │ ├─ [gt]: optional #42 +│ │ │ │ │ │ ├─ [gt]: optional 'optional_42' #42 │ │ │ │ │ │ │ └─ item: integer #41 -│ │ │ │ │ │ ├─ [gte]: optional #42 +│ │ │ │ │ │ ├─ [gte]: optional 'optional_42' #42 │ │ │ │ │ │ │ └─ item: integer #41 -│ │ │ │ │ │ ├─ [lt]: optional #42 +│ │ │ │ │ │ ├─ [lt]: optional 'optional_42' #42 │ │ │ │ │ │ │ └─ item: integer #41 -│ │ │ │ │ │ └─ [lte]: optional #42 +│ │ │ │ │ │ └─ [lte]: optional 'optional_42' #42 │ │ │ │ │ │ └─ item: integer #41 │ │ │ │ │ ├─ variant_4: struct #47 -│ │ │ │ │ │ └─ [in]: list #43 +│ │ │ │ │ │ └─ [in]: list 'list_43' #43 │ │ │ │ │ │ └─ item: integer #41 │ │ │ │ │ └─ variant_5: struct #48 -│ │ │ │ │ └─ [notIn]: list #43 +│ │ │ │ │ └─ [notIn]: list 'list_43' #43 │ │ │ │ │ └─ item: integer #41 -│ │ │ │ └─ [title]: optional '_134__string_filter_c?' #134 +│ │ │ │ └─ [title]: optional 'optional_134' #134 │ │ │ │ └─ item: optional '_string_filter_c' #38 │ │ │ │ └─ item: union #37 │ │ │ │ ├─ variant_0: union '_string_filter' #35 @@ -272,21 +272,21 @@ root: struct #188 │ │ │ │ │ ├─ variant_2: struct #27 │ │ │ │ │ │ └─ [not]: string #23 │ │ │ │ │ ├─ variant_3: struct #28 -│ │ │ │ │ │ └─ [in]: list #25 +│ │ │ │ │ │ └─ [in]: list 'list_25' #25 │ │ │ │ │ │ └─ item: string #23 │ │ │ │ │ ├─ variant_4: struct #29 -│ │ │ │ │ │ └─ [notIn]: list #25 +│ │ │ │ │ │ └─ [notIn]: list 'list_25' #25 │ │ │ │ │ │ └─ item: string #23 │ │ │ │ │ ├─ variant_5: struct #32 │ │ │ │ │ │ ├─ [contains]: string #23 -│ │ │ │ │ │ └─ [mode]: optional #31 +│ │ │ │ │ │ └─ [mode]: optional 'optional_31' #31 │ │ │ │ │ │ └─ item: string #30 enum{ '"insensitive"' } │ │ │ │ │ ├─ variant_6: struct #33 │ │ │ │ │ │ └─ [search]: string #23 │ │ │ │ │ └─ variant_7: struct #34 -│ │ │ │ │ ├─ [endsWith]: optional #24 +│ │ │ │ │ ├─ [endsWith]: optional 'optional_24' #24 │ │ │ │ │ │ └─ item: string #23 -│ │ │ │ │ └─ [startsWith]: optional #24 +│ │ │ │ │ └─ [startsWith]: optional 'optional_24' #24 │ │ │ │ │ └─ item: string #23 │ │ │ │ └─ variant_1: struct #36 │ │ │ │ └─ [not]: union '_string_filter' #35 @@ -296,28 +296,28 @@ root: struct #188 │ │ │ │ ├─ variant_2: struct #27 │ │ │ │ │ └─ [not]: string #23 │ │ │ │ ├─ variant_3: struct #28 -│ │ │ │ │ └─ [in]: list #25 +│ │ │ │ │ └─ [in]: list 'list_25' #25 │ │ │ │ │ └─ item: string #23 │ │ │ │ ├─ variant_4: struct #29 -│ │ │ │ │ └─ [notIn]: list #25 +│ │ │ │ │ └─ [notIn]: list 'list_25' #25 │ │ │ │ │ └─ item: string #23 │ │ │ │ ├─ variant_5: struct #32 │ │ │ │ │ ├─ [contains]: string #23 -│ │ │ │ │ └─ [mode]: optional #31 +│ │ │ │ │ └─ [mode]: optional 'optional_31' #31 │ │ │ │ │ └─ item: string #30 enum{ '"insensitive"' } │ │ │ │ ├─ variant_6: struct #33 │ │ │ │ │ └─ [search]: string #23 │ │ │ │ └─ variant_7: struct #34 -│ │ │ │ ├─ [endsWith]: optional #24 +│ │ │ │ ├─ [endsWith]: optional 'optional_24' #24 │ │ │ │ │ └─ item: string #23 -│ │ │ │ └─ [startsWith]: optional #24 +│ │ │ │ └─ [startsWith]: optional 'optional_24' #24 │ │ │ │ └─ item: string #23 │ │ │ └─ variant_2: struct #143 -│ │ │ └─ [none]: optional '_142_PostWhere__skip_67_UserWhere?' #142 +│ │ │ └─ [none]: optional 'optional_142' #142 │ │ │ └─ item: struct 'PostWhere__skip_67_UserWhere' #137 -│ │ │ ├─ [author]: optional '_136_UserWhere?' #136 +│ │ │ ├─ [author]: optional 'optional_136' #136 │ │ │ │ └─ item: &UserWhere #135 -│ │ │ ├─ [id]: optional '_133__integer_filter_c?' #133 +│ │ │ ├─ [id]: optional 'optional_133' #133 │ │ │ │ └─ item: optional '_integer_filter_c' #52 │ │ │ │ └─ item: union #51 │ │ │ │ ├─ variant_0: either '_integer_filter' #49 @@ -327,19 +327,19 @@ root: struct #188 │ │ │ │ │ ├─ variant_2: struct #45 │ │ │ │ │ │ └─ [not]: integer #41 │ │ │ │ │ ├─ variant_3: struct #46 -│ │ │ │ │ │ ├─ [gt]: optional #42 +│ │ │ │ │ │ ├─ [gt]: optional 'optional_42' #42 │ │ │ │ │ │ │ └─ item: integer #41 -│ │ │ │ │ │ ├─ [gte]: optional #42 +│ │ │ │ │ │ ├─ [gte]: optional 'optional_42' #42 │ │ │ │ │ │ │ └─ item: integer #41 -│ │ │ │ │ │ ├─ [lt]: optional #42 +│ │ │ │ │ │ ├─ [lt]: optional 'optional_42' #42 │ │ │ │ │ │ │ └─ item: integer #41 -│ │ │ │ │ │ └─ [lte]: optional #42 +│ │ │ │ │ │ └─ [lte]: optional 'optional_42' #42 │ │ │ │ │ │ └─ item: integer #41 │ │ │ │ │ ├─ variant_4: struct #47 -│ │ │ │ │ │ └─ [in]: list #43 +│ │ │ │ │ │ └─ [in]: list 'list_43' #43 │ │ │ │ │ │ └─ item: integer #41 │ │ │ │ │ └─ variant_5: struct #48 -│ │ │ │ │ └─ [notIn]: list #43 +│ │ │ │ │ └─ [notIn]: list 'list_43' #43 │ │ │ │ │ └─ item: integer #41 │ │ │ │ └─ variant_1: struct #50 │ │ │ │ └─ [not]: either '_integer_filter' #49 @@ -349,21 +349,21 @@ root: struct #188 │ │ │ │ ├─ variant_2: struct #45 │ │ │ │ │ └─ [not]: integer #41 │ │ │ │ ├─ variant_3: struct #46 -│ │ │ │ │ ├─ [gt]: optional #42 +│ │ │ │ │ ├─ [gt]: optional 'optional_42' #42 │ │ │ │ │ │ └─ item: integer #41 -│ │ │ │ │ ├─ [gte]: optional #42 +│ │ │ │ │ ├─ [gte]: optional 'optional_42' #42 │ │ │ │ │ │ └─ item: integer #41 -│ │ │ │ │ ├─ [lt]: optional #42 +│ │ │ │ │ ├─ [lt]: optional 'optional_42' #42 │ │ │ │ │ │ └─ item: integer #41 -│ │ │ │ │ └─ [lte]: optional #42 +│ │ │ │ │ └─ [lte]: optional 'optional_42' #42 │ │ │ │ │ └─ item: integer #41 │ │ │ │ ├─ variant_4: struct #47 -│ │ │ │ │ └─ [in]: list #43 +│ │ │ │ │ └─ [in]: list 'list_43' #43 │ │ │ │ │ └─ item: integer #41 │ │ │ │ └─ variant_5: struct #48 -│ │ │ │ └─ [notIn]: list #43 +│ │ │ │ └─ [notIn]: list 'list_43' #43 │ │ │ │ └─ item: integer #41 -│ │ │ └─ [title]: optional '_134__string_filter_c?' #134 +│ │ │ └─ [title]: optional 'optional_134' #134 │ │ │ └─ item: optional '_string_filter_c' #38 │ │ │ └─ item: union #37 │ │ │ ├─ variant_0: union '_string_filter' #35 @@ -373,21 +373,21 @@ root: struct #188 │ │ │ │ ├─ variant_2: struct #27 │ │ │ │ │ └─ [not]: string #23 │ │ │ │ ├─ variant_3: struct #28 -│ │ │ │ │ └─ [in]: list #25 +│ │ │ │ │ └─ [in]: list 'list_25' #25 │ │ │ │ │ └─ item: string #23 │ │ │ │ ├─ variant_4: struct #29 -│ │ │ │ │ └─ [notIn]: list #25 +│ │ │ │ │ └─ [notIn]: list 'list_25' #25 │ │ │ │ │ └─ item: string #23 │ │ │ │ ├─ variant_5: struct #32 │ │ │ │ │ ├─ [contains]: string #23 -│ │ │ │ │ └─ [mode]: optional #31 +│ │ │ │ │ └─ [mode]: optional 'optional_31' #31 │ │ │ │ │ └─ item: string #30 enum{ '"insensitive"' } │ │ │ │ ├─ variant_6: struct #33 │ │ │ │ │ └─ [search]: string #23 │ │ │ │ └─ variant_7: struct #34 -│ │ │ │ ├─ [endsWith]: optional #24 +│ │ │ │ ├─ [endsWith]: optional 'optional_24' #24 │ │ │ │ │ └─ item: string #23 -│ │ │ │ └─ [startsWith]: optional #24 +│ │ │ │ └─ [startsWith]: optional 'optional_24' #24 │ │ │ │ └─ item: string #23 │ │ │ └─ variant_1: struct #36 │ │ │ └─ [not]: union '_string_filter' #35 @@ -397,21 +397,21 @@ root: struct #188 │ │ │ ├─ variant_2: struct #27 │ │ │ │ └─ [not]: string #23 │ │ │ ├─ variant_3: struct #28 -│ │ │ │ └─ [in]: list #25 +│ │ │ │ └─ [in]: list 'list_25' #25 │ │ │ │ └─ item: string #23 │ │ │ ├─ variant_4: struct #29 -│ │ │ │ └─ [notIn]: list #25 +│ │ │ │ └─ [notIn]: list 'list_25' #25 │ │ │ │ └─ item: string #23 │ │ │ ├─ variant_5: struct #32 │ │ │ │ ├─ [contains]: string #23 -│ │ │ │ └─ [mode]: optional #31 +│ │ │ │ └─ [mode]: optional 'optional_31' #31 │ │ │ │ └─ item: string #30 enum{ '"insensitive"' } │ │ │ ├─ variant_6: struct #33 │ │ │ │ └─ [search]: string #23 │ │ │ └─ variant_7: struct #34 -│ │ │ ├─ [endsWith]: optional #24 +│ │ │ ├─ [endsWith]: optional 'optional_24' #24 │ │ │ │ └─ item: string #23 -│ │ │ └─ [startsWith]: optional #24 +│ │ │ └─ [startsWith]: optional 'optional_24' #24 │ │ │ └─ item: string #23 │ │ ├─ variant_2: struct #167 │ │ │ └─ [connectOrCreate]: struct #164 @@ -419,7 +419,7 @@ root: struct #188 │ │ │ │ ├─ [id]: integer #63 │ │ │ │ └─ [name]: string #64 │ │ │ └─ [where]: struct 'UserWhere' #146 -│ │ │ ├─ [id]: optional '_131__integer_filter_c?' #131 +│ │ │ ├─ [id]: optional 'optional_131' #131 │ │ │ │ └─ item: optional '_integer_filter_c' #52 │ │ │ │ └─ item: union #51 │ │ │ │ ├─ variant_0: either '_integer_filter' #49 @@ -429,19 +429,19 @@ root: struct #188 │ │ │ │ │ ├─ variant_2: struct #45 │ │ │ │ │ │ └─ [not]: integer #41 │ │ │ │ │ ├─ variant_3: struct #46 -│ │ │ │ │ │ ├─ [gt]: optional #42 +│ │ │ │ │ │ ├─ [gt]: optional 'optional_42' #42 │ │ │ │ │ │ │ └─ item: integer #41 -│ │ │ │ │ │ ├─ [gte]: optional #42 +│ │ │ │ │ │ ├─ [gte]: optional 'optional_42' #42 │ │ │ │ │ │ │ └─ item: integer #41 -│ │ │ │ │ │ ├─ [lt]: optional #42 +│ │ │ │ │ │ ├─ [lt]: optional 'optional_42' #42 │ │ │ │ │ │ │ └─ item: integer #41 -│ │ │ │ │ │ └─ [lte]: optional #42 +│ │ │ │ │ │ └─ [lte]: optional 'optional_42' #42 │ │ │ │ │ │ └─ item: integer #41 │ │ │ │ │ ├─ variant_4: struct #47 -│ │ │ │ │ │ └─ [in]: list #43 +│ │ │ │ │ │ └─ [in]: list 'list_43' #43 │ │ │ │ │ │ └─ item: integer #41 │ │ │ │ │ └─ variant_5: struct #48 -│ │ │ │ │ └─ [notIn]: list #43 +│ │ │ │ │ └─ [notIn]: list 'list_43' #43 │ │ │ │ │ └─ item: integer #41 │ │ │ │ └─ variant_1: struct #50 │ │ │ │ └─ [not]: either '_integer_filter' #49 @@ -451,21 +451,21 @@ root: struct #188 │ │ │ │ ├─ variant_2: struct #45 │ │ │ │ │ └─ [not]: integer #41 │ │ │ │ ├─ variant_3: struct #46 -│ │ │ │ │ ├─ [gt]: optional #42 +│ │ │ │ │ ├─ [gt]: optional 'optional_42' #42 │ │ │ │ │ │ └─ item: integer #41 -│ │ │ │ │ ├─ [gte]: optional #42 +│ │ │ │ │ ├─ [gte]: optional 'optional_42' #42 │ │ │ │ │ │ └─ item: integer #41 -│ │ │ │ │ ├─ [lt]: optional #42 +│ │ │ │ │ ├─ [lt]: optional 'optional_42' #42 │ │ │ │ │ │ └─ item: integer #41 -│ │ │ │ │ └─ [lte]: optional #42 +│ │ │ │ │ └─ [lte]: optional 'optional_42' #42 │ │ │ │ │ └─ item: integer #41 │ │ │ │ ├─ variant_4: struct #47 -│ │ │ │ │ └─ [in]: list #43 +│ │ │ │ │ └─ [in]: list 'list_43' #43 │ │ │ │ │ └─ item: integer #41 │ │ │ │ └─ variant_5: struct #48 -│ │ │ │ └─ [notIn]: list #43 +│ │ │ │ └─ [notIn]: list 'list_43' #43 │ │ │ │ └─ item: integer #41 -│ │ │ ├─ [name]: optional '_132__string_filter_c?' #132 +│ │ │ ├─ [name]: optional 'optional_132' #132 │ │ │ │ └─ item: optional '_string_filter_c' #38 │ │ │ │ └─ item: union #37 │ │ │ │ ├─ variant_0: union '_string_filter' #35 @@ -475,21 +475,21 @@ root: struct #188 │ │ │ │ │ ├─ variant_2: struct #27 │ │ │ │ │ │ └─ [not]: string #23 │ │ │ │ │ ├─ variant_3: struct #28 -│ │ │ │ │ │ └─ [in]: list #25 +│ │ │ │ │ │ └─ [in]: list 'list_25' #25 │ │ │ │ │ │ └─ item: string #23 │ │ │ │ │ ├─ variant_4: struct #29 -│ │ │ │ │ │ └─ [notIn]: list #25 +│ │ │ │ │ │ └─ [notIn]: list 'list_25' #25 │ │ │ │ │ │ └─ item: string #23 │ │ │ │ │ ├─ variant_5: struct #32 │ │ │ │ │ │ ├─ [contains]: string #23 -│ │ │ │ │ │ └─ [mode]: optional #31 +│ │ │ │ │ │ └─ [mode]: optional 'optional_31' #31 │ │ │ │ │ │ └─ item: string #30 enum{ '"insensitive"' } │ │ │ │ │ ├─ variant_6: struct #33 │ │ │ │ │ │ └─ [search]: string #23 │ │ │ │ │ └─ variant_7: struct #34 -│ │ │ │ │ ├─ [endsWith]: optional #24 +│ │ │ │ │ ├─ [endsWith]: optional 'optional_24' #24 │ │ │ │ │ │ └─ item: string #23 -│ │ │ │ │ └─ [startsWith]: optional #24 +│ │ │ │ │ └─ [startsWith]: optional 'optional_24' #24 │ │ │ │ │ └─ item: string #23 │ │ │ │ └─ variant_1: struct #36 │ │ │ │ └─ [not]: union '_string_filter' #35 @@ -499,30 +499,30 @@ root: struct #188 │ │ │ │ ├─ variant_2: struct #27 │ │ │ │ │ └─ [not]: string #23 │ │ │ │ ├─ variant_3: struct #28 -│ │ │ │ │ └─ [in]: list #25 +│ │ │ │ │ └─ [in]: list 'list_25' #25 │ │ │ │ │ └─ item: string #23 │ │ │ │ ├─ variant_4: struct #29 -│ │ │ │ │ └─ [notIn]: list #25 +│ │ │ │ │ └─ [notIn]: list 'list_25' #25 │ │ │ │ │ └─ item: string #23 │ │ │ │ ├─ variant_5: struct #32 │ │ │ │ │ ├─ [contains]: string #23 -│ │ │ │ │ └─ [mode]: optional #31 +│ │ │ │ │ └─ [mode]: optional 'optional_31' #31 │ │ │ │ │ └─ item: string #30 enum{ '"insensitive"' } │ │ │ │ ├─ variant_6: struct #33 │ │ │ │ │ └─ [search]: string #23 │ │ │ │ └─ variant_7: struct #34 -│ │ │ │ ├─ [endsWith]: optional #24 +│ │ │ │ ├─ [endsWith]: optional 'optional_24' #24 │ │ │ │ │ └─ item: string #23 -│ │ │ │ └─ [startsWith]: optional #24 +│ │ │ │ └─ [startsWith]: optional 'optional_24' #24 │ │ │ │ └─ item: string #23 -│ │ │ └─ [posts]: optional #145 +│ │ │ └─ [posts]: optional 'optional_145' #145 │ │ │ └─ item: union #144 │ │ │ ├─ variant_0: struct #139 -│ │ │ │ └─ [every]: optional '_138_PostWhere__skip_67_UserWhere?' #138 +│ │ │ │ └─ [every]: optional 'optional_138' #138 │ │ │ │ └─ item: struct 'PostWhere__skip_67_UserWhere' #137 -│ │ │ │ ├─ [author]: optional '_136_UserWhere?' #136 +│ │ │ │ ├─ [author]: optional 'optional_136' #136 │ │ │ │ │ └─ item: &UserWhere #135 -│ │ │ │ ├─ [id]: optional '_133__integer_filter_c?' #133 +│ │ │ │ ├─ [id]: optional 'optional_133' #133 │ │ │ │ │ └─ item: optional '_integer_filter_c' #52 │ │ │ │ │ └─ item: union #51 │ │ │ │ │ ├─ variant_0: either '_integer_filter' #49 @@ -532,19 +532,19 @@ root: struct #188 │ │ │ │ │ │ ├─ variant_2: struct #45 │ │ │ │ │ │ │ └─ [not]: integer #41 │ │ │ │ │ │ ├─ variant_3: struct #46 -│ │ │ │ │ │ │ ├─ [gt]: optional #42 +│ │ │ │ │ │ │ ├─ [gt]: optional 'optional_42' #42 │ │ │ │ │ │ │ │ └─ item: integer #41 -│ │ │ │ │ │ │ ├─ [gte]: optional #42 +│ │ │ │ │ │ │ ├─ [gte]: optional 'optional_42' #42 │ │ │ │ │ │ │ │ └─ item: integer #41 -│ │ │ │ │ │ │ ├─ [lt]: optional #42 +│ │ │ │ │ │ │ ├─ [lt]: optional 'optional_42' #42 │ │ │ │ │ │ │ │ └─ item: integer #41 -│ │ │ │ │ │ │ └─ [lte]: optional #42 +│ │ │ │ │ │ │ └─ [lte]: optional 'optional_42' #42 │ │ │ │ │ │ │ └─ item: integer #41 │ │ │ │ │ │ ├─ variant_4: struct #47 -│ │ │ │ │ │ │ └─ [in]: list #43 +│ │ │ │ │ │ │ └─ [in]: list 'list_43' #43 │ │ │ │ │ │ │ └─ item: integer #41 │ │ │ │ │ │ └─ variant_5: struct #48 -│ │ │ │ │ │ └─ [notIn]: list #43 +│ │ │ │ │ │ └─ [notIn]: list 'list_43' #43 │ │ │ │ │ │ └─ item: integer #41 │ │ │ │ │ └─ variant_1: struct #50 │ │ │ │ │ └─ [not]: either '_integer_filter' #49 @@ -554,21 +554,21 @@ root: struct #188 │ │ │ │ │ ├─ variant_2: struct #45 │ │ │ │ │ │ └─ [not]: integer #41 │ │ │ │ │ ├─ variant_3: struct #46 -│ │ │ │ │ │ ├─ [gt]: optional #42 +│ │ │ │ │ │ ├─ [gt]: optional 'optional_42' #42 │ │ │ │ │ │ │ └─ item: integer #41 -│ │ │ │ │ │ ├─ [gte]: optional #42 +│ │ │ │ │ │ ├─ [gte]: optional 'optional_42' #42 │ │ │ │ │ │ │ └─ item: integer #41 -│ │ │ │ │ │ ├─ [lt]: optional #42 +│ │ │ │ │ │ ├─ [lt]: optional 'optional_42' #42 │ │ │ │ │ │ │ └─ item: integer #41 -│ │ │ │ │ │ └─ [lte]: optional #42 +│ │ │ │ │ │ └─ [lte]: optional 'optional_42' #42 │ │ │ │ │ │ └─ item: integer #41 │ │ │ │ │ ├─ variant_4: struct #47 -│ │ │ │ │ │ └─ [in]: list #43 +│ │ │ │ │ │ └─ [in]: list 'list_43' #43 │ │ │ │ │ │ └─ item: integer #41 │ │ │ │ │ └─ variant_5: struct #48 -│ │ │ │ │ └─ [notIn]: list #43 +│ │ │ │ │ └─ [notIn]: list 'list_43' #43 │ │ │ │ │ └─ item: integer #41 -│ │ │ │ └─ [title]: optional '_134__string_filter_c?' #134 +│ │ │ │ └─ [title]: optional 'optional_134' #134 │ │ │ │ └─ item: optional '_string_filter_c' #38 │ │ │ │ └─ item: union #37 │ │ │ │ ├─ variant_0: union '_string_filter' #35 @@ -578,21 +578,21 @@ root: struct #188 │ │ │ │ │ ├─ variant_2: struct #27 │ │ │ │ │ │ └─ [not]: string #23 │ │ │ │ │ ├─ variant_3: struct #28 -│ │ │ │ │ │ └─ [in]: list #25 +│ │ │ │ │ │ └─ [in]: list 'list_25' #25 │ │ │ │ │ │ └─ item: string #23 │ │ │ │ │ ├─ variant_4: struct #29 -│ │ │ │ │ │ └─ [notIn]: list #25 +│ │ │ │ │ │ └─ [notIn]: list 'list_25' #25 │ │ │ │ │ │ └─ item: string #23 │ │ │ │ │ ├─ variant_5: struct #32 │ │ │ │ │ │ ├─ [contains]: string #23 -│ │ │ │ │ │ └─ [mode]: optional #31 +│ │ │ │ │ │ └─ [mode]: optional 'optional_31' #31 │ │ │ │ │ │ └─ item: string #30 enum{ '"insensitive"' } │ │ │ │ │ ├─ variant_6: struct #33 │ │ │ │ │ │ └─ [search]: string #23 │ │ │ │ │ └─ variant_7: struct #34 -│ │ │ │ │ ├─ [endsWith]: optional #24 +│ │ │ │ │ ├─ [endsWith]: optional 'optional_24' #24 │ │ │ │ │ │ └─ item: string #23 -│ │ │ │ │ └─ [startsWith]: optional #24 +│ │ │ │ │ └─ [startsWith]: optional 'optional_24' #24 │ │ │ │ │ └─ item: string #23 │ │ │ │ └─ variant_1: struct #36 │ │ │ │ └─ [not]: union '_string_filter' #35 @@ -602,28 +602,28 @@ root: struct #188 │ │ │ │ ├─ variant_2: struct #27 │ │ │ │ │ └─ [not]: string #23 │ │ │ │ ├─ variant_3: struct #28 -│ │ │ │ │ └─ [in]: list #25 +│ │ │ │ │ └─ [in]: list 'list_25' #25 │ │ │ │ │ └─ item: string #23 │ │ │ │ ├─ variant_4: struct #29 -│ │ │ │ │ └─ [notIn]: list #25 +│ │ │ │ │ └─ [notIn]: list 'list_25' #25 │ │ │ │ │ └─ item: string #23 │ │ │ │ ├─ variant_5: struct #32 │ │ │ │ │ ├─ [contains]: string #23 -│ │ │ │ │ └─ [mode]: optional #31 +│ │ │ │ │ └─ [mode]: optional 'optional_31' #31 │ │ │ │ │ └─ item: string #30 enum{ '"insensitive"' } │ │ │ │ ├─ variant_6: struct #33 │ │ │ │ │ └─ [search]: string #23 │ │ │ │ └─ variant_7: struct #34 -│ │ │ │ ├─ [endsWith]: optional #24 +│ │ │ │ ├─ [endsWith]: optional 'optional_24' #24 │ │ │ │ │ └─ item: string #23 -│ │ │ │ └─ [startsWith]: optional #24 +│ │ │ │ └─ [startsWith]: optional 'optional_24' #24 │ │ │ │ └─ item: string #23 │ │ │ ├─ variant_1: struct #141 -│ │ │ │ └─ [some]: optional '_140_PostWhere__skip_67_UserWhere?' #140 +│ │ │ │ └─ [some]: optional 'optional_140' #140 │ │ │ │ └─ item: struct 'PostWhere__skip_67_UserWhere' #137 -│ │ │ │ ├─ [author]: optional '_136_UserWhere?' #136 +│ │ │ │ ├─ [author]: optional 'optional_136' #136 │ │ │ │ │ └─ item: &UserWhere #135 -│ │ │ │ ├─ [id]: optional '_133__integer_filter_c?' #133 +│ │ │ │ ├─ [id]: optional 'optional_133' #133 │ │ │ │ │ └─ item: optional '_integer_filter_c' #52 │ │ │ │ │ └─ item: union #51 │ │ │ │ │ ├─ variant_0: either '_integer_filter' #49 @@ -633,19 +633,19 @@ root: struct #188 │ │ │ │ │ │ ├─ variant_2: struct #45 │ │ │ │ │ │ │ └─ [not]: integer #41 │ │ │ │ │ │ ├─ variant_3: struct #46 -│ │ │ │ │ │ │ ├─ [gt]: optional #42 +│ │ │ │ │ │ │ ├─ [gt]: optional 'optional_42' #42 │ │ │ │ │ │ │ │ └─ item: integer #41 -│ │ │ │ │ │ │ ├─ [gte]: optional #42 +│ │ │ │ │ │ │ ├─ [gte]: optional 'optional_42' #42 │ │ │ │ │ │ │ │ └─ item: integer #41 -│ │ │ │ │ │ │ ├─ [lt]: optional #42 +│ │ │ │ │ │ │ ├─ [lt]: optional 'optional_42' #42 │ │ │ │ │ │ │ │ └─ item: integer #41 -│ │ │ │ │ │ │ └─ [lte]: optional #42 +│ │ │ │ │ │ │ └─ [lte]: optional 'optional_42' #42 │ │ │ │ │ │ │ └─ item: integer #41 │ │ │ │ │ │ ├─ variant_4: struct #47 -│ │ │ │ │ │ │ └─ [in]: list #43 +│ │ │ │ │ │ │ └─ [in]: list 'list_43' #43 │ │ │ │ │ │ │ └─ item: integer #41 │ │ │ │ │ │ └─ variant_5: struct #48 -│ │ │ │ │ │ └─ [notIn]: list #43 +│ │ │ │ │ │ └─ [notIn]: list 'list_43' #43 │ │ │ │ │ │ └─ item: integer #41 │ │ │ │ │ └─ variant_1: struct #50 │ │ │ │ │ └─ [not]: either '_integer_filter' #49 @@ -655,21 +655,21 @@ root: struct #188 │ │ │ │ │ ├─ variant_2: struct #45 │ │ │ │ │ │ └─ [not]: integer #41 │ │ │ │ │ ├─ variant_3: struct #46 -│ │ │ │ │ │ ├─ [gt]: optional #42 +│ │ │ │ │ │ ├─ [gt]: optional 'optional_42' #42 │ │ │ │ │ │ │ └─ item: integer #41 -│ │ │ │ │ │ ├─ [gte]: optional #42 +│ │ │ │ │ │ ├─ [gte]: optional 'optional_42' #42 │ │ │ │ │ │ │ └─ item: integer #41 -│ │ │ │ │ │ ├─ [lt]: optional #42 +│ │ │ │ │ │ ├─ [lt]: optional 'optional_42' #42 │ │ │ │ │ │ │ └─ item: integer #41 -│ │ │ │ │ │ └─ [lte]: optional #42 +│ │ │ │ │ │ └─ [lte]: optional 'optional_42' #42 │ │ │ │ │ │ └─ item: integer #41 │ │ │ │ │ ├─ variant_4: struct #47 -│ │ │ │ │ │ └─ [in]: list #43 +│ │ │ │ │ │ └─ [in]: list 'list_43' #43 │ │ │ │ │ │ └─ item: integer #41 │ │ │ │ │ └─ variant_5: struct #48 -│ │ │ │ │ └─ [notIn]: list #43 +│ │ │ │ │ └─ [notIn]: list 'list_43' #43 │ │ │ │ │ └─ item: integer #41 -│ │ │ │ └─ [title]: optional '_134__string_filter_c?' #134 +│ │ │ │ └─ [title]: optional 'optional_134' #134 │ │ │ │ └─ item: optional '_string_filter_c' #38 │ │ │ │ └─ item: union #37 │ │ │ │ ├─ variant_0: union '_string_filter' #35 @@ -679,21 +679,21 @@ root: struct #188 │ │ │ │ │ ├─ variant_2: struct #27 │ │ │ │ │ │ └─ [not]: string #23 │ │ │ │ │ ├─ variant_3: struct #28 -│ │ │ │ │ │ └─ [in]: list #25 +│ │ │ │ │ │ └─ [in]: list 'list_25' #25 │ │ │ │ │ │ └─ item: string #23 │ │ │ │ │ ├─ variant_4: struct #29 -│ │ │ │ │ │ └─ [notIn]: list #25 +│ │ │ │ │ │ └─ [notIn]: list 'list_25' #25 │ │ │ │ │ │ └─ item: string #23 │ │ │ │ │ ├─ variant_5: struct #32 │ │ │ │ │ │ ├─ [contains]: string #23 -│ │ │ │ │ │ └─ [mode]: optional #31 +│ │ │ │ │ │ └─ [mode]: optional 'optional_31' #31 │ │ │ │ │ │ └─ item: string #30 enum{ '"insensitive"' } │ │ │ │ │ ├─ variant_6: struct #33 │ │ │ │ │ │ └─ [search]: string #23 │ │ │ │ │ └─ variant_7: struct #34 -│ │ │ │ │ ├─ [endsWith]: optional #24 +│ │ │ │ │ ├─ [endsWith]: optional 'optional_24' #24 │ │ │ │ │ │ └─ item: string #23 -│ │ │ │ │ └─ [startsWith]: optional #24 +│ │ │ │ │ └─ [startsWith]: optional 'optional_24' #24 │ │ │ │ │ └─ item: string #23 │ │ │ │ └─ variant_1: struct #36 │ │ │ │ └─ [not]: union '_string_filter' #35 @@ -703,28 +703,28 @@ root: struct #188 │ │ │ │ ├─ variant_2: struct #27 │ │ │ │ │ └─ [not]: string #23 │ │ │ │ ├─ variant_3: struct #28 -│ │ │ │ │ └─ [in]: list #25 +│ │ │ │ │ └─ [in]: list 'list_25' #25 │ │ │ │ │ └─ item: string #23 │ │ │ │ ├─ variant_4: struct #29 -│ │ │ │ │ └─ [notIn]: list #25 +│ │ │ │ │ └─ [notIn]: list 'list_25' #25 │ │ │ │ │ └─ item: string #23 │ │ │ │ ├─ variant_5: struct #32 │ │ │ │ │ ├─ [contains]: string #23 -│ │ │ │ │ └─ [mode]: optional #31 +│ │ │ │ │ └─ [mode]: optional 'optional_31' #31 │ │ │ │ │ └─ item: string #30 enum{ '"insensitive"' } │ │ │ │ ├─ variant_6: struct #33 │ │ │ │ │ └─ [search]: string #23 │ │ │ │ └─ variant_7: struct #34 -│ │ │ │ ├─ [endsWith]: optional #24 +│ │ │ │ ├─ [endsWith]: optional 'optional_24' #24 │ │ │ │ │ └─ item: string #23 -│ │ │ │ └─ [startsWith]: optional #24 +│ │ │ │ └─ [startsWith]: optional 'optional_24' #24 │ │ │ │ └─ item: string #23 │ │ │ └─ variant_2: struct #143 -│ │ │ └─ [none]: optional '_142_PostWhere__skip_67_UserWhere?' #142 +│ │ │ └─ [none]: optional 'optional_142' #142 │ │ │ └─ item: struct 'PostWhere__skip_67_UserWhere' #137 -│ │ │ ├─ [author]: optional '_136_UserWhere?' #136 +│ │ │ ├─ [author]: optional 'optional_136' #136 │ │ │ │ └─ item: &UserWhere #135 -│ │ │ ├─ [id]: optional '_133__integer_filter_c?' #133 +│ │ │ ├─ [id]: optional 'optional_133' #133 │ │ │ │ └─ item: optional '_integer_filter_c' #52 │ │ │ │ └─ item: union #51 │ │ │ │ ├─ variant_0: either '_integer_filter' #49 @@ -734,19 +734,19 @@ root: struct #188 │ │ │ │ │ ├─ variant_2: struct #45 │ │ │ │ │ │ └─ [not]: integer #41 │ │ │ │ │ ├─ variant_3: struct #46 -│ │ │ │ │ │ ├─ [gt]: optional #42 +│ │ │ │ │ │ ├─ [gt]: optional 'optional_42' #42 │ │ │ │ │ │ │ └─ item: integer #41 -│ │ │ │ │ │ ├─ [gte]: optional #42 +│ │ │ │ │ │ ├─ [gte]: optional 'optional_42' #42 │ │ │ │ │ │ │ └─ item: integer #41 -│ │ │ │ │ │ ├─ [lt]: optional #42 +│ │ │ │ │ │ ├─ [lt]: optional 'optional_42' #42 │ │ │ │ │ │ │ └─ item: integer #41 -│ │ │ │ │ │ └─ [lte]: optional #42 +│ │ │ │ │ │ └─ [lte]: optional 'optional_42' #42 │ │ │ │ │ │ └─ item: integer #41 │ │ │ │ │ ├─ variant_4: struct #47 -│ │ │ │ │ │ └─ [in]: list #43 +│ │ │ │ │ │ └─ [in]: list 'list_43' #43 │ │ │ │ │ │ └─ item: integer #41 │ │ │ │ │ └─ variant_5: struct #48 -│ │ │ │ │ └─ [notIn]: list #43 +│ │ │ │ │ └─ [notIn]: list 'list_43' #43 │ │ │ │ │ └─ item: integer #41 │ │ │ │ └─ variant_1: struct #50 │ │ │ │ └─ [not]: either '_integer_filter' #49 @@ -756,21 +756,21 @@ root: struct #188 │ │ │ │ ├─ variant_2: struct #45 │ │ │ │ │ └─ [not]: integer #41 │ │ │ │ ├─ variant_3: struct #46 -│ │ │ │ │ ├─ [gt]: optional #42 +│ │ │ │ │ ├─ [gt]: optional 'optional_42' #42 │ │ │ │ │ │ └─ item: integer #41 -│ │ │ │ │ ├─ [gte]: optional #42 +│ │ │ │ │ ├─ [gte]: optional 'optional_42' #42 │ │ │ │ │ │ └─ item: integer #41 -│ │ │ │ │ ├─ [lt]: optional #42 +│ │ │ │ │ ├─ [lt]: optional 'optional_42' #42 │ │ │ │ │ │ └─ item: integer #41 -│ │ │ │ │ └─ [lte]: optional #42 +│ │ │ │ │ └─ [lte]: optional 'optional_42' #42 │ │ │ │ │ └─ item: integer #41 │ │ │ │ ├─ variant_4: struct #47 -│ │ │ │ │ └─ [in]: list #43 +│ │ │ │ │ └─ [in]: list 'list_43' #43 │ │ │ │ │ └─ item: integer #41 │ │ │ │ └─ variant_5: struct #48 -│ │ │ │ └─ [notIn]: list #43 +│ │ │ │ └─ [notIn]: list 'list_43' #43 │ │ │ │ └─ item: integer #41 -│ │ │ └─ [title]: optional '_134__string_filter_c?' #134 +│ │ │ └─ [title]: optional 'optional_134' #134 │ │ │ └─ item: optional '_string_filter_c' #38 │ │ │ └─ item: union #37 │ │ │ ├─ variant_0: union '_string_filter' #35 @@ -780,21 +780,21 @@ root: struct #188 │ │ │ │ ├─ variant_2: struct #27 │ │ │ │ │ └─ [not]: string #23 │ │ │ │ ├─ variant_3: struct #28 -│ │ │ │ │ └─ [in]: list #25 +│ │ │ │ │ └─ [in]: list 'list_25' #25 │ │ │ │ │ └─ item: string #23 │ │ │ │ ├─ variant_4: struct #29 -│ │ │ │ │ └─ [notIn]: list #25 +│ │ │ │ │ └─ [notIn]: list 'list_25' #25 │ │ │ │ │ └─ item: string #23 │ │ │ │ ├─ variant_5: struct #32 │ │ │ │ │ ├─ [contains]: string #23 -│ │ │ │ │ └─ [mode]: optional #31 +│ │ │ │ │ └─ [mode]: optional 'optional_31' #31 │ │ │ │ │ └─ item: string #30 enum{ '"insensitive"' } │ │ │ │ ├─ variant_6: struct #33 │ │ │ │ │ └─ [search]: string #23 │ │ │ │ └─ variant_7: struct #34 -│ │ │ │ ├─ [endsWith]: optional #24 +│ │ │ │ ├─ [endsWith]: optional 'optional_24' #24 │ │ │ │ │ └─ item: string #23 -│ │ │ │ └─ [startsWith]: optional #24 +│ │ │ │ └─ [startsWith]: optional 'optional_24' #24 │ │ │ │ └─ item: string #23 │ │ │ └─ variant_1: struct #36 │ │ │ └─ [not]: union '_string_filter' #35 @@ -804,25 +804,25 @@ root: struct #188 │ │ │ ├─ variant_2: struct #27 │ │ │ │ └─ [not]: string #23 │ │ │ ├─ variant_3: struct #28 -│ │ │ │ └─ [in]: list #25 +│ │ │ │ └─ [in]: list 'list_25' #25 │ │ │ │ └─ item: string #23 │ │ │ ├─ variant_4: struct #29 -│ │ │ │ └─ [notIn]: list #25 +│ │ │ │ └─ [notIn]: list 'list_25' #25 │ │ │ │ └─ item: string #23 │ │ │ ├─ variant_5: struct #32 │ │ │ │ ├─ [contains]: string #23 -│ │ │ │ └─ [mode]: optional #31 +│ │ │ │ └─ [mode]: optional 'optional_31' #31 │ │ │ │ └─ item: string #30 enum{ '"insensitive"' } │ │ │ ├─ variant_6: struct #33 │ │ │ │ └─ [search]: string #23 │ │ │ └─ variant_7: struct #34 -│ │ │ ├─ [endsWith]: optional #24 +│ │ │ ├─ [endsWith]: optional 'optional_24' #24 │ │ │ │ └─ item: string #23 -│ │ │ └─ [startsWith]: optional #24 +│ │ │ └─ [startsWith]: optional 'optional_24' #24 │ │ │ └─ item: string #23 │ │ └─ variant_3: struct #178 │ │ └─ [update]: struct '_User_UpdateInput_excluding___rel_Post_User_1' #177 -│ │ ├─ [id]: optional #173 +│ │ ├─ [id]: optional 'optional_173' #173 │ │ │ └─ item: union #172 │ │ │ ├─ variant_0: integer #63 │ │ │ ├─ variant_1: struct #168 @@ -833,12 +833,12 @@ root: struct #188 │ │ │ │ └─ [decrement]: integer #63 │ │ │ └─ variant_4: struct #171 │ │ │ └─ [increment]: integer #63 -│ │ └─ [name]: optional #176 +│ │ └─ [name]: optional 'optional_176' #176 │ │ └─ item: union #175 │ │ ├─ variant_0: string #64 │ │ └─ variant_1: struct #174 │ │ └─ [set]: string #64 -│ ├─ [id]: optional #159 +│ ├─ [id]: optional 'optional_159' #159 │ │ └─ item: union #158 │ │ ├─ variant_0: integer #68 │ │ ├─ variant_1: struct #154 @@ -849,24 +849,24 @@ root: struct #188 │ │ │ └─ [decrement]: integer #68 │ │ └─ variant_4: struct #157 │ │ └─ [increment]: integer #68 -│ └─ [title]: optional #162 +│ └─ [title]: optional 'optional_162' #162 │ └─ item: union #161 │ ├─ variant_0: string #69 │ └─ variant_1: struct #160 │ └─ [set]: string #69 -└─ [where]: optional '_187_QueryPostWhereInput?' #187 +└─ [where]: optional 'optional_187' #187 └─ item: struct 'QueryPostWhereInput' #186 - ├─ [AND]: optional '_184__183_QueryPostWhereInput[]?' #184 - │ └─ item: list '_183_QueryPostWhereInput[]' #183 + ├─ [AND]: optional 'optional_184' #184 + │ └─ item: list 'list_183' #183 │ └─ item: &QueryPostWhereInput #182 - ├─ [NOT]: optional '_185_QueryPostWhereInput?' #185 + ├─ [NOT]: optional 'optional_185' #185 │ └─ item: &QueryPostWhereInput #182 - ├─ [OR]: optional '_184__183_QueryPostWhereInput[]?' #184 - │ └─ item: list '_183_QueryPostWhereInput[]' #183 + ├─ [OR]: optional 'optional_184' #184 + │ └─ item: list 'list_183' #183 │ └─ item: &QueryPostWhereInput #182 - ├─ [author]: optional '_99_UserWhere__skip_71_PostWhere?' #99 + ├─ [author]: optional 'optional_99' #99 │ └─ item: struct 'UserWhere__skip_71_PostWhere' #98 - │ ├─ [id]: optional '_87__integer_filter_c?' #87 + │ ├─ [id]: optional 'optional_87' #87 │ │ └─ item: optional '_integer_filter_c' #52 │ │ └─ item: union #51 │ │ ├─ variant_0: either '_integer_filter' #49 @@ -876,19 +876,19 @@ root: struct #188 │ │ │ ├─ variant_2: struct #45 │ │ │ │ └─ [not]: integer #41 │ │ │ ├─ variant_3: struct #46 - │ │ │ │ ├─ [gt]: optional #42 + │ │ │ │ ├─ [gt]: optional 'optional_42' #42 │ │ │ │ │ └─ item: integer #41 - │ │ │ │ ├─ [gte]: optional #42 + │ │ │ │ ├─ [gte]: optional 'optional_42' #42 │ │ │ │ │ └─ item: integer #41 - │ │ │ │ ├─ [lt]: optional #42 + │ │ │ │ ├─ [lt]: optional 'optional_42' #42 │ │ │ │ │ └─ item: integer #41 - │ │ │ │ └─ [lte]: optional #42 + │ │ │ │ └─ [lte]: optional 'optional_42' #42 │ │ │ │ └─ item: integer #41 │ │ │ ├─ variant_4: struct #47 - │ │ │ │ └─ [in]: list #43 + │ │ │ │ └─ [in]: list 'list_43' #43 │ │ │ │ └─ item: integer #41 │ │ │ └─ variant_5: struct #48 - │ │ │ └─ [notIn]: list #43 + │ │ │ └─ [notIn]: list 'list_43' #43 │ │ │ └─ item: integer #41 │ │ └─ variant_1: struct #50 │ │ └─ [not]: either '_integer_filter' #49 @@ -898,21 +898,21 @@ root: struct #188 │ │ ├─ variant_2: struct #45 │ │ │ └─ [not]: integer #41 │ │ ├─ variant_3: struct #46 - │ │ │ ├─ [gt]: optional #42 + │ │ │ ├─ [gt]: optional 'optional_42' #42 │ │ │ │ └─ item: integer #41 - │ │ │ ├─ [gte]: optional #42 + │ │ │ ├─ [gte]: optional 'optional_42' #42 │ │ │ │ └─ item: integer #41 - │ │ │ ├─ [lt]: optional #42 + │ │ │ ├─ [lt]: optional 'optional_42' #42 │ │ │ │ └─ item: integer #41 - │ │ │ └─ [lte]: optional #42 + │ │ │ └─ [lte]: optional 'optional_42' #42 │ │ │ └─ item: integer #41 │ │ ├─ variant_4: struct #47 - │ │ │ └─ [in]: list #43 + │ │ │ └─ [in]: list 'list_43' #43 │ │ │ └─ item: integer #41 │ │ └─ variant_5: struct #48 - │ │ └─ [notIn]: list #43 + │ │ └─ [notIn]: list 'list_43' #43 │ │ └─ item: integer #41 - │ ├─ [name]: optional '_88__string_filter_c?' #88 + │ ├─ [name]: optional 'optional_88' #88 │ │ └─ item: optional '_string_filter_c' #38 │ │ └─ item: union #37 │ │ ├─ variant_0: union '_string_filter' #35 @@ -922,21 +922,21 @@ root: struct #188 │ │ │ ├─ variant_2: struct #27 │ │ │ │ └─ [not]: string #23 │ │ │ ├─ variant_3: struct #28 - │ │ │ │ └─ [in]: list #25 + │ │ │ │ └─ [in]: list 'list_25' #25 │ │ │ │ └─ item: string #23 │ │ │ ├─ variant_4: struct #29 - │ │ │ │ └─ [notIn]: list #25 + │ │ │ │ └─ [notIn]: list 'list_25' #25 │ │ │ │ └─ item: string #23 │ │ │ ├─ variant_5: struct #32 │ │ │ │ ├─ [contains]: string #23 - │ │ │ │ └─ [mode]: optional #31 + │ │ │ │ └─ [mode]: optional 'optional_31' #31 │ │ │ │ └─ item: string #30 enum{ '"insensitive"' } │ │ │ ├─ variant_6: struct #33 │ │ │ │ └─ [search]: string #23 │ │ │ └─ variant_7: struct #34 - │ │ │ ├─ [endsWith]: optional #24 + │ │ │ ├─ [endsWith]: optional 'optional_24' #24 │ │ │ │ └─ item: string #23 - │ │ │ └─ [startsWith]: optional #24 + │ │ │ └─ [startsWith]: optional 'optional_24' #24 │ │ │ └─ item: string #23 │ │ └─ variant_1: struct #36 │ │ └─ [not]: union '_string_filter' #35 @@ -946,34 +946,34 @@ root: struct #188 │ │ ├─ variant_2: struct #27 │ │ │ └─ [not]: string #23 │ │ ├─ variant_3: struct #28 - │ │ │ └─ [in]: list #25 + │ │ │ └─ [in]: list 'list_25' #25 │ │ │ └─ item: string #23 │ │ ├─ variant_4: struct #29 - │ │ │ └─ [notIn]: list #25 + │ │ │ └─ [notIn]: list 'list_25' #25 │ │ │ └─ item: string #23 │ │ ├─ variant_5: struct #32 │ │ │ ├─ [contains]: string #23 - │ │ │ └─ [mode]: optional #31 + │ │ │ └─ [mode]: optional 'optional_31' #31 │ │ │ └─ item: string #30 enum{ '"insensitive"' } │ │ ├─ variant_6: struct #33 │ │ │ └─ [search]: string #23 │ │ └─ variant_7: struct #34 - │ │ ├─ [endsWith]: optional #24 + │ │ ├─ [endsWith]: optional 'optional_24' #24 │ │ │ └─ item: string #23 - │ │ └─ [startsWith]: optional #24 + │ │ └─ [startsWith]: optional 'optional_24' #24 │ │ └─ item: string #23 - │ └─ [posts]: optional #97 + │ └─ [posts]: optional 'optional_97' #97 │ └─ item: union #96 │ ├─ variant_0: struct #91 - │ │ └─ [every]: optional '_90_PostWhere?' #90 + │ │ └─ [every]: optional 'optional_90' #90 │ │ └─ item: &PostWhere #89 │ ├─ variant_1: struct #93 - │ │ └─ [some]: optional '_92_PostWhere?' #92 + │ │ └─ [some]: optional 'optional_92' #92 │ │ └─ item: &PostWhere #89 │ └─ variant_2: struct #95 - │ └─ [none]: optional '_94_PostWhere?' #94 + │ └─ [none]: optional 'optional_94' #94 │ └─ item: &PostWhere #89 - ├─ [id]: optional '_85__integer_filter_c?' #85 + ├─ [id]: optional 'optional_85' #85 │ └─ item: optional '_integer_filter_c' #52 │ └─ item: union #51 │ ├─ variant_0: either '_integer_filter' #49 @@ -983,19 +983,19 @@ root: struct #188 │ │ ├─ variant_2: struct #45 │ │ │ └─ [not]: integer #41 │ │ ├─ variant_3: struct #46 - │ │ │ ├─ [gt]: optional #42 + │ │ │ ├─ [gt]: optional 'optional_42' #42 │ │ │ │ └─ item: integer #41 - │ │ │ ├─ [gte]: optional #42 + │ │ │ ├─ [gte]: optional 'optional_42' #42 │ │ │ │ └─ item: integer #41 - │ │ │ ├─ [lt]: optional #42 + │ │ │ ├─ [lt]: optional 'optional_42' #42 │ │ │ │ └─ item: integer #41 - │ │ │ └─ [lte]: optional #42 + │ │ │ └─ [lte]: optional 'optional_42' #42 │ │ │ └─ item: integer #41 │ │ ├─ variant_4: struct #47 - │ │ │ └─ [in]: list #43 + │ │ │ └─ [in]: list 'list_43' #43 │ │ │ └─ item: integer #41 │ │ └─ variant_5: struct #48 - │ │ └─ [notIn]: list #43 + │ │ └─ [notIn]: list 'list_43' #43 │ │ └─ item: integer #41 │ └─ variant_1: struct #50 │ └─ [not]: either '_integer_filter' #49 @@ -1005,21 +1005,21 @@ root: struct #188 │ ├─ variant_2: struct #45 │ │ └─ [not]: integer #41 │ ├─ variant_3: struct #46 - │ │ ├─ [gt]: optional #42 + │ │ ├─ [gt]: optional 'optional_42' #42 │ │ │ └─ item: integer #41 - │ │ ├─ [gte]: optional #42 + │ │ ├─ [gte]: optional 'optional_42' #42 │ │ │ └─ item: integer #41 - │ │ ├─ [lt]: optional #42 + │ │ ├─ [lt]: optional 'optional_42' #42 │ │ │ └─ item: integer #41 - │ │ └─ [lte]: optional #42 + │ │ └─ [lte]: optional 'optional_42' #42 │ │ └─ item: integer #41 │ ├─ variant_4: struct #47 - │ │ └─ [in]: list #43 + │ │ └─ [in]: list 'list_43' #43 │ │ └─ item: integer #41 │ └─ variant_5: struct #48 - │ └─ [notIn]: list #43 + │ └─ [notIn]: list 'list_43' #43 │ └─ item: integer #41 - └─ [title]: optional '_86__string_filter_c?' #86 + └─ [title]: optional 'optional_86' #86 └─ item: optional '_string_filter_c' #38 └─ item: union #37 ├─ variant_0: union '_string_filter' #35 @@ -1029,21 +1029,21 @@ root: struct #188 │ ├─ variant_2: struct #27 │ │ └─ [not]: string #23 │ ├─ variant_3: struct #28 - │ │ └─ [in]: list #25 + │ │ └─ [in]: list 'list_25' #25 │ │ └─ item: string #23 │ ├─ variant_4: struct #29 - │ │ └─ [notIn]: list #25 + │ │ └─ [notIn]: list 'list_25' #25 │ │ └─ item: string #23 │ ├─ variant_5: struct #32 │ │ ├─ [contains]: string #23 - │ │ └─ [mode]: optional #31 + │ │ └─ [mode]: optional 'optional_31' #31 │ │ └─ item: string #30 enum{ '"insensitive"' } │ ├─ variant_6: struct #33 │ │ └─ [search]: string #23 │ └─ variant_7: struct #34 - │ ├─ [endsWith]: optional #24 + │ ├─ [endsWith]: optional 'optional_24' #24 │ │ └─ item: string #23 - │ └─ [startsWith]: optional #24 + │ └─ [startsWith]: optional 'optional_24' #24 │ └─ item: string #23 └─ variant_1: struct #36 └─ [not]: union '_string_filter' #35 @@ -1053,20 +1053,19 @@ root: struct #188 ├─ variant_2: struct #27 │ └─ [not]: string #23 ├─ variant_3: struct #28 - │ └─ [in]: list #25 + │ └─ [in]: list 'list_25' #25 │ └─ item: string #23 ├─ variant_4: struct #29 - │ └─ [notIn]: list #25 + │ └─ [notIn]: list 'list_25' #25 │ └─ item: string #23 ├─ variant_5: struct #32 │ ├─ [contains]: string #23 - │ └─ [mode]: optional #31 + │ └─ [mode]: optional 'optional_31' #31 │ └─ item: string #30 enum{ '"insensitive"' } ├─ variant_6: struct #33 │ └─ [search]: string #23 └─ variant_7: struct #34 - ├─ [endsWith]: optional #24 + ├─ [endsWith]: optional 'optional_24' #24 │ └─ item: string #23 - └─ [startsWith]: optional #24 + └─ [startsWith]: optional 'optional_24' #24 └─ item: string #23 - diff --git a/src/typegraph/core/src/runtimes/prisma/type_generation/snapshots/typegraph_core__runtimes__prisma__type_generation__test__update_many Record inp.snap b/src/typegraph/core/src/runtimes/prisma/type_generation/snapshots/typegraph_core__runtimes__prisma__type_generation__test__update_many Record inp.snap index b47536a875..c44eca1b75 100644 --- a/src/typegraph/core/src/runtimes/prisma/type_generation/snapshots/typegraph_core__runtimes__prisma__type_generation__test__update_many Record inp.snap +++ b/src/typegraph/core/src/runtimes/prisma/type_generation/snapshots/typegraph_core__runtimes__prisma__type_generation__test__update_many Record inp.snap @@ -1,15 +1,15 @@ --- -source: typegraph/core/src/runtimes/prisma/type_generation/mod.rs +source: src/typegraph/core/src/runtimes/prisma/type_generation/mod.rs expression: tp.print(inp) --- root: struct #62 ├─ [data]: struct '_Record_UpdateInput' #22 -│ ├─ [age]: optional #18 +│ ├─ [age]: optional 'optional_18' #18 │ │ └─ item: union #17 -│ │ ├─ variant_0: optional #5 +│ │ ├─ variant_0: optional 'optional_5' #5 │ │ │ └─ item: integer #4 │ │ ├─ variant_1: struct #13 -│ │ │ └─ [set]: optional #5 +│ │ │ └─ [set]: optional 'optional_5' #5 │ │ │ └─ item: integer #4 │ │ ├─ variant_2: struct #14 │ │ │ └─ [multiply]: integer #4 @@ -17,32 +17,32 @@ root: struct #62 │ │ │ └─ [decrement]: integer #4 │ │ └─ variant_4: struct #16 │ │ └─ [increment]: integer #4 -│ ├─ [created_at]: optional #21 +│ ├─ [created_at]: optional 'optional_21' #21 │ │ └─ item: union #20 │ │ ├─ variant_0: string #1 │ │ └─ variant_1: struct #19 │ │ └─ [set]: string #1 -│ ├─ [id]: optional #9 +│ ├─ [id]: optional 'optional_9' #9 │ │ └─ item: union #8 │ │ ├─ variant_0: string #2 │ │ └─ variant_1: struct #7 │ │ └─ [set]: string #2 -│ └─ [name]: optional #12 +│ └─ [name]: optional 'optional_12' #12 │ └─ item: union #11 │ ├─ variant_0: string #3 │ └─ variant_1: struct #10 │ └─ [set]: string #3 -└─ [where]: optional '_61_QueryRecordWhereInput?' #61 +└─ [where]: optional 'optional_61' #61 └─ item: struct 'QueryRecordWhereInput' #60 - ├─ [AND]: optional '_58__57_QueryRecordWhereInput[]?' #58 - │ └─ item: list '_57_QueryRecordWhereInput[]' #57 + ├─ [AND]: optional 'optional_58' #58 + │ └─ item: list 'list_57' #57 │ └─ item: &QueryRecordWhereInput #56 - ├─ [NOT]: optional '_59_QueryRecordWhereInput?' #59 + ├─ [NOT]: optional 'optional_59' #59 │ └─ item: &QueryRecordWhereInput #56 - ├─ [OR]: optional '_58__57_QueryRecordWhereInput[]?' #58 - │ └─ item: list '_57_QueryRecordWhereInput[]' #57 + ├─ [OR]: optional 'optional_58' #58 + │ └─ item: list 'list_57' #57 │ └─ item: &QueryRecordWhereInput #56 - ├─ [age]: optional '_53__integer_filter_c?' #53 + ├─ [age]: optional 'optional_53' #53 │ └─ item: optional '_integer_filter_c' #52 │ └─ item: union #51 │ ├─ variant_0: either '_integer_filter' #49 @@ -52,19 +52,19 @@ root: struct #62 │ │ ├─ variant_2: struct #45 │ │ │ └─ [not]: integer #41 │ │ ├─ variant_3: struct #46 - │ │ │ ├─ [gt]: optional #42 + │ │ │ ├─ [gt]: optional 'optional_42' #42 │ │ │ │ └─ item: integer #41 - │ │ │ ├─ [gte]: optional #42 + │ │ │ ├─ [gte]: optional 'optional_42' #42 │ │ │ │ └─ item: integer #41 - │ │ │ ├─ [lt]: optional #42 + │ │ │ ├─ [lt]: optional 'optional_42' #42 │ │ │ │ └─ item: integer #41 - │ │ │ └─ [lte]: optional #42 + │ │ │ └─ [lte]: optional 'optional_42' #42 │ │ │ └─ item: integer #41 │ │ ├─ variant_4: struct #47 - │ │ │ └─ [in]: list #43 + │ │ │ └─ [in]: list 'list_43' #43 │ │ │ └─ item: integer #41 │ │ └─ variant_5: struct #48 - │ │ └─ [notIn]: list #43 + │ │ └─ [notIn]: list 'list_43' #43 │ │ └─ item: integer #41 │ └─ variant_1: struct #50 │ └─ [not]: either '_integer_filter' #49 @@ -74,21 +74,21 @@ root: struct #62 │ ├─ variant_2: struct #45 │ │ └─ [not]: integer #41 │ ├─ variant_3: struct #46 - │ │ ├─ [gt]: optional #42 + │ │ ├─ [gt]: optional 'optional_42' #42 │ │ │ └─ item: integer #41 - │ │ ├─ [gte]: optional #42 + │ │ ├─ [gte]: optional 'optional_42' #42 │ │ │ └─ item: integer #41 - │ │ ├─ [lt]: optional #42 + │ │ ├─ [lt]: optional 'optional_42' #42 │ │ │ └─ item: integer #41 - │ │ └─ [lte]: optional #42 + │ │ └─ [lte]: optional 'optional_42' #42 │ │ └─ item: integer #41 │ ├─ variant_4: struct #47 - │ │ └─ [in]: list #43 + │ │ └─ [in]: list 'list_43' #43 │ │ └─ item: integer #41 │ └─ variant_5: struct #48 - │ └─ [notIn]: list #43 + │ └─ [notIn]: list 'list_43' #43 │ └─ item: integer #41 - ├─ [created_at]: optional '_54__string_filter_c?' #54 + ├─ [created_at]: optional 'optional_54' #54 │ └─ item: optional '_string_filter_c' #38 │ └─ item: union #37 │ ├─ variant_0: union '_string_filter' #35 @@ -98,21 +98,21 @@ root: struct #62 │ │ ├─ variant_2: struct #27 │ │ │ └─ [not]: string #23 │ │ ├─ variant_3: struct #28 - │ │ │ └─ [in]: list #25 + │ │ │ └─ [in]: list 'list_25' #25 │ │ │ └─ item: string #23 │ │ ├─ variant_4: struct #29 - │ │ │ └─ [notIn]: list #25 + │ │ │ └─ [notIn]: list 'list_25' #25 │ │ │ └─ item: string #23 │ │ ├─ variant_5: struct #32 │ │ │ ├─ [contains]: string #23 - │ │ │ └─ [mode]: optional #31 + │ │ │ └─ [mode]: optional 'optional_31' #31 │ │ │ └─ item: string #30 enum{ '"insensitive"' } │ │ ├─ variant_6: struct #33 │ │ │ └─ [search]: string #23 │ │ └─ variant_7: struct #34 - │ │ ├─ [endsWith]: optional #24 + │ │ ├─ [endsWith]: optional 'optional_24' #24 │ │ │ └─ item: string #23 - │ │ └─ [startsWith]: optional #24 + │ │ └─ [startsWith]: optional 'optional_24' #24 │ │ └─ item: string #23 │ └─ variant_1: struct #36 │ └─ [not]: union '_string_filter' #35 @@ -122,23 +122,23 @@ root: struct #62 │ ├─ variant_2: struct #27 │ │ └─ [not]: string #23 │ ├─ variant_3: struct #28 - │ │ └─ [in]: list #25 + │ │ └─ [in]: list 'list_25' #25 │ │ └─ item: string #23 │ ├─ variant_4: struct #29 - │ │ └─ [notIn]: list #25 + │ │ └─ [notIn]: list 'list_25' #25 │ │ └─ item: string #23 │ ├─ variant_5: struct #32 │ │ ├─ [contains]: string #23 - │ │ └─ [mode]: optional #31 + │ │ └─ [mode]: optional 'optional_31' #31 │ │ └─ item: string #30 enum{ '"insensitive"' } │ ├─ variant_6: struct #33 │ │ └─ [search]: string #23 │ └─ variant_7: struct #34 - │ ├─ [endsWith]: optional #24 + │ ├─ [endsWith]: optional 'optional_24' #24 │ │ └─ item: string #23 - │ └─ [startsWith]: optional #24 + │ └─ [startsWith]: optional 'optional_24' #24 │ └─ item: string #23 - ├─ [id]: optional '_39__string_filter_c?' #39 + ├─ [id]: optional 'optional_39' #39 │ └─ item: optional '_string_filter_c' #38 │ └─ item: union #37 │ ├─ variant_0: union '_string_filter' #35 @@ -148,21 +148,21 @@ root: struct #62 │ │ ├─ variant_2: struct #27 │ │ │ └─ [not]: string #23 │ │ ├─ variant_3: struct #28 - │ │ │ └─ [in]: list #25 + │ │ │ └─ [in]: list 'list_25' #25 │ │ │ └─ item: string #23 │ │ ├─ variant_4: struct #29 - │ │ │ └─ [notIn]: list #25 + │ │ │ └─ [notIn]: list 'list_25' #25 │ │ │ └─ item: string #23 │ │ ├─ variant_5: struct #32 │ │ │ ├─ [contains]: string #23 - │ │ │ └─ [mode]: optional #31 + │ │ │ └─ [mode]: optional 'optional_31' #31 │ │ │ └─ item: string #30 enum{ '"insensitive"' } │ │ ├─ variant_6: struct #33 │ │ │ └─ [search]: string #23 │ │ └─ variant_7: struct #34 - │ │ ├─ [endsWith]: optional #24 + │ │ ├─ [endsWith]: optional 'optional_24' #24 │ │ │ └─ item: string #23 - │ │ └─ [startsWith]: optional #24 + │ │ └─ [startsWith]: optional 'optional_24' #24 │ │ └─ item: string #23 │ └─ variant_1: struct #36 │ └─ [not]: union '_string_filter' #35 @@ -172,23 +172,23 @@ root: struct #62 │ ├─ variant_2: struct #27 │ │ └─ [not]: string #23 │ ├─ variant_3: struct #28 - │ │ └─ [in]: list #25 + │ │ └─ [in]: list 'list_25' #25 │ │ └─ item: string #23 │ ├─ variant_4: struct #29 - │ │ └─ [notIn]: list #25 + │ │ └─ [notIn]: list 'list_25' #25 │ │ └─ item: string #23 │ ├─ variant_5: struct #32 │ │ ├─ [contains]: string #23 - │ │ └─ [mode]: optional #31 + │ │ └─ [mode]: optional 'optional_31' #31 │ │ └─ item: string #30 enum{ '"insensitive"' } │ ├─ variant_6: struct #33 │ │ └─ [search]: string #23 │ └─ variant_7: struct #34 - │ ├─ [endsWith]: optional #24 + │ ├─ [endsWith]: optional 'optional_24' #24 │ │ └─ item: string #23 - │ └─ [startsWith]: optional #24 + │ └─ [startsWith]: optional 'optional_24' #24 │ └─ item: string #23 - └─ [name]: optional '_40__string_filter_c?' #40 + └─ [name]: optional 'optional_40' #40 └─ item: optional '_string_filter_c' #38 └─ item: union #37 ├─ variant_0: union '_string_filter' #35 @@ -198,21 +198,21 @@ root: struct #62 │ ├─ variant_2: struct #27 │ │ └─ [not]: string #23 │ ├─ variant_3: struct #28 - │ │ └─ [in]: list #25 + │ │ └─ [in]: list 'list_25' #25 │ │ └─ item: string #23 │ ├─ variant_4: struct #29 - │ │ └─ [notIn]: list #25 + │ │ └─ [notIn]: list 'list_25' #25 │ │ └─ item: string #23 │ ├─ variant_5: struct #32 │ │ ├─ [contains]: string #23 - │ │ └─ [mode]: optional #31 + │ │ └─ [mode]: optional 'optional_31' #31 │ │ └─ item: string #30 enum{ '"insensitive"' } │ ├─ variant_6: struct #33 │ │ └─ [search]: string #23 │ └─ variant_7: struct #34 - │ ├─ [endsWith]: optional #24 + │ ├─ [endsWith]: optional 'optional_24' #24 │ │ └─ item: string #23 - │ └─ [startsWith]: optional #24 + │ └─ [startsWith]: optional 'optional_24' #24 │ └─ item: string #23 └─ variant_1: struct #36 └─ [not]: union '_string_filter' #35 @@ -222,20 +222,19 @@ root: struct #62 ├─ variant_2: struct #27 │ └─ [not]: string #23 ├─ variant_3: struct #28 - │ └─ [in]: list #25 + │ └─ [in]: list 'list_25' #25 │ └─ item: string #23 ├─ variant_4: struct #29 - │ └─ [notIn]: list #25 + │ └─ [notIn]: list 'list_25' #25 │ └─ item: string #23 ├─ variant_5: struct #32 │ ├─ [contains]: string #23 - │ └─ [mode]: optional #31 + │ └─ [mode]: optional 'optional_31' #31 │ └─ item: string #30 enum{ '"insensitive"' } ├─ variant_6: struct #33 │ └─ [search]: string #23 └─ variant_7: struct #34 - ├─ [endsWith]: optional #24 + ├─ [endsWith]: optional 'optional_24' #24 │ └─ item: string #23 - └─ [startsWith]: optional #24 + └─ [startsWith]: optional 'optional_24' #24 └─ item: string #23 - diff --git a/src/typegraph/core/src/runtimes/prisma/type_generation/snapshots/typegraph_core__runtimes__prisma__type_generation__test__update_many User inp.snap b/src/typegraph/core/src/runtimes/prisma/type_generation/snapshots/typegraph_core__runtimes__prisma__type_generation__test__update_many User inp.snap index b811e2218b..489078ae82 100644 --- a/src/typegraph/core/src/runtimes/prisma/type_generation/snapshots/typegraph_core__runtimes__prisma__type_generation__test__update_many User inp.snap +++ b/src/typegraph/core/src/runtimes/prisma/type_generation/snapshots/typegraph_core__runtimes__prisma__type_generation__test__update_many User inp.snap @@ -1,10 +1,10 @@ --- -source: typegraph/core/src/runtimes/prisma/type_generation/mod.rs +source: src/typegraph/core/src/runtimes/prisma/type_generation/mod.rs expression: tp.print(inp) --- root: struct #153 ├─ [data]: struct '_User_UpdateInput' #130 -│ ├─ [id]: optional #77 +│ ├─ [id]: optional 'optional_77' #77 │ │ └─ item: union #76 │ │ ├─ variant_0: integer #63 │ │ ├─ variant_1: struct #72 @@ -15,30 +15,30 @@ root: struct #153 │ │ │ └─ [decrement]: integer #63 │ │ └─ variant_4: struct #75 │ │ └─ [increment]: integer #63 -│ ├─ [name]: optional #80 +│ ├─ [name]: optional 'optional_80' #80 │ │ └─ item: union #79 │ │ ├─ variant_0: string #64 │ │ └─ variant_1: struct #78 │ │ └─ [set]: string #64 -│ └─ [posts]: optional #129 +│ └─ [posts]: optional 'optional_129' #129 │ └─ item: union #128 │ ├─ variant_0: struct #104 │ │ └─ [create]: union #84 │ │ ├─ variant_0: struct '_Post_CreateInput_excluding___rel_Post_User_1' #82 -│ │ │ ├─ [id]: optional #81 +│ │ │ ├─ [id]: optional 'optional_81' #81 │ │ │ │ └─ item: integer #68 │ │ │ └─ [title]: string #69 -│ │ └─ variant_1: list '_83__Post_CreateInput_excluding___rel_Post_User_1[]' #83 +│ │ └─ variant_1: list 'list_83' #83 │ │ └─ item: struct '_Post_CreateInput_excluding___rel_Post_User_1' #82 -│ │ ├─ [id]: optional #81 +│ │ ├─ [id]: optional 'optional_81' #81 │ │ │ └─ item: integer #68 │ │ └─ [title]: string #69 │ ├─ variant_1: struct #105 │ │ └─ [connect]: union #102 │ │ ├─ variant_0: struct 'PostWhere' #100 -│ │ │ ├─ [author]: optional '_99_UserWhere__skip_71_PostWhere?' #99 +│ │ │ ├─ [author]: optional 'optional_99' #99 │ │ │ │ └─ item: struct 'UserWhere__skip_71_PostWhere' #98 -│ │ │ │ ├─ [id]: optional '_87__integer_filter_c?' #87 +│ │ │ │ ├─ [id]: optional 'optional_87' #87 │ │ │ │ │ └─ item: optional '_integer_filter_c' #52 │ │ │ │ │ └─ item: union #51 │ │ │ │ │ ├─ variant_0: either '_integer_filter' #49 @@ -48,19 +48,19 @@ root: struct #153 │ │ │ │ │ │ ├─ variant_2: struct #45 │ │ │ │ │ │ │ └─ [not]: integer #41 │ │ │ │ │ │ ├─ variant_3: struct #46 -│ │ │ │ │ │ │ ├─ [gt]: optional #42 +│ │ │ │ │ │ │ ├─ [gt]: optional 'optional_42' #42 │ │ │ │ │ │ │ │ └─ item: integer #41 -│ │ │ │ │ │ │ ├─ [gte]: optional #42 +│ │ │ │ │ │ │ ├─ [gte]: optional 'optional_42' #42 │ │ │ │ │ │ │ │ └─ item: integer #41 -│ │ │ │ │ │ │ ├─ [lt]: optional #42 +│ │ │ │ │ │ │ ├─ [lt]: optional 'optional_42' #42 │ │ │ │ │ │ │ │ └─ item: integer #41 -│ │ │ │ │ │ │ └─ [lte]: optional #42 +│ │ │ │ │ │ │ └─ [lte]: optional 'optional_42' #42 │ │ │ │ │ │ │ └─ item: integer #41 │ │ │ │ │ │ ├─ variant_4: struct #47 -│ │ │ │ │ │ │ └─ [in]: list #43 +│ │ │ │ │ │ │ └─ [in]: list 'list_43' #43 │ │ │ │ │ │ │ └─ item: integer #41 │ │ │ │ │ │ └─ variant_5: struct #48 -│ │ │ │ │ │ └─ [notIn]: list #43 +│ │ │ │ │ │ └─ [notIn]: list 'list_43' #43 │ │ │ │ │ │ └─ item: integer #41 │ │ │ │ │ └─ variant_1: struct #50 │ │ │ │ │ └─ [not]: either '_integer_filter' #49 @@ -70,21 +70,21 @@ root: struct #153 │ │ │ │ │ ├─ variant_2: struct #45 │ │ │ │ │ │ └─ [not]: integer #41 │ │ │ │ │ ├─ variant_3: struct #46 -│ │ │ │ │ │ ├─ [gt]: optional #42 +│ │ │ │ │ │ ├─ [gt]: optional 'optional_42' #42 │ │ │ │ │ │ │ └─ item: integer #41 -│ │ │ │ │ │ ├─ [gte]: optional #42 +│ │ │ │ │ │ ├─ [gte]: optional 'optional_42' #42 │ │ │ │ │ │ │ └─ item: integer #41 -│ │ │ │ │ │ ├─ [lt]: optional #42 +│ │ │ │ │ │ ├─ [lt]: optional 'optional_42' #42 │ │ │ │ │ │ │ └─ item: integer #41 -│ │ │ │ │ │ └─ [lte]: optional #42 +│ │ │ │ │ │ └─ [lte]: optional 'optional_42' #42 │ │ │ │ │ │ └─ item: integer #41 │ │ │ │ │ ├─ variant_4: struct #47 -│ │ │ │ │ │ └─ [in]: list #43 +│ │ │ │ │ │ └─ [in]: list 'list_43' #43 │ │ │ │ │ │ └─ item: integer #41 │ │ │ │ │ └─ variant_5: struct #48 -│ │ │ │ │ └─ [notIn]: list #43 +│ │ │ │ │ └─ [notIn]: list 'list_43' #43 │ │ │ │ │ └─ item: integer #41 -│ │ │ │ ├─ [name]: optional '_88__string_filter_c?' #88 +│ │ │ │ ├─ [name]: optional 'optional_88' #88 │ │ │ │ │ └─ item: optional '_string_filter_c' #38 │ │ │ │ │ └─ item: union #37 │ │ │ │ │ ├─ variant_0: union '_string_filter' #35 @@ -94,21 +94,21 @@ root: struct #153 │ │ │ │ │ │ ├─ variant_2: struct #27 │ │ │ │ │ │ │ └─ [not]: string #23 │ │ │ │ │ │ ├─ variant_3: struct #28 -│ │ │ │ │ │ │ └─ [in]: list #25 +│ │ │ │ │ │ │ └─ [in]: list 'list_25' #25 │ │ │ │ │ │ │ └─ item: string #23 │ │ │ │ │ │ ├─ variant_4: struct #29 -│ │ │ │ │ │ │ └─ [notIn]: list #25 +│ │ │ │ │ │ │ └─ [notIn]: list 'list_25' #25 │ │ │ │ │ │ │ └─ item: string #23 │ │ │ │ │ │ ├─ variant_5: struct #32 │ │ │ │ │ │ │ ├─ [contains]: string #23 -│ │ │ │ │ │ │ └─ [mode]: optional #31 +│ │ │ │ │ │ │ └─ [mode]: optional 'optional_31' #31 │ │ │ │ │ │ │ └─ item: string #30 enum{ '"insensitive"' } │ │ │ │ │ │ ├─ variant_6: struct #33 │ │ │ │ │ │ │ └─ [search]: string #23 │ │ │ │ │ │ └─ variant_7: struct #34 -│ │ │ │ │ │ ├─ [endsWith]: optional #24 +│ │ │ │ │ │ ├─ [endsWith]: optional 'optional_24' #24 │ │ │ │ │ │ │ └─ item: string #23 -│ │ │ │ │ │ └─ [startsWith]: optional #24 +│ │ │ │ │ │ └─ [startsWith]: optional 'optional_24' #24 │ │ │ │ │ │ └─ item: string #23 │ │ │ │ │ └─ variant_1: struct #36 │ │ │ │ │ └─ [not]: union '_string_filter' #35 @@ -118,34 +118,34 @@ root: struct #153 │ │ │ │ │ ├─ variant_2: struct #27 │ │ │ │ │ │ └─ [not]: string #23 │ │ │ │ │ ├─ variant_3: struct #28 -│ │ │ │ │ │ └─ [in]: list #25 +│ │ │ │ │ │ └─ [in]: list 'list_25' #25 │ │ │ │ │ │ └─ item: string #23 │ │ │ │ │ ├─ variant_4: struct #29 -│ │ │ │ │ │ └─ [notIn]: list #25 +│ │ │ │ │ │ └─ [notIn]: list 'list_25' #25 │ │ │ │ │ │ └─ item: string #23 │ │ │ │ │ ├─ variant_5: struct #32 │ │ │ │ │ │ ├─ [contains]: string #23 -│ │ │ │ │ │ └─ [mode]: optional #31 +│ │ │ │ │ │ └─ [mode]: optional 'optional_31' #31 │ │ │ │ │ │ └─ item: string #30 enum{ '"insensitive"' } │ │ │ │ │ ├─ variant_6: struct #33 │ │ │ │ │ │ └─ [search]: string #23 │ │ │ │ │ └─ variant_7: struct #34 -│ │ │ │ │ ├─ [endsWith]: optional #24 +│ │ │ │ │ ├─ [endsWith]: optional 'optional_24' #24 │ │ │ │ │ │ └─ item: string #23 -│ │ │ │ │ └─ [startsWith]: optional #24 +│ │ │ │ │ └─ [startsWith]: optional 'optional_24' #24 │ │ │ │ │ └─ item: string #23 -│ │ │ │ └─ [posts]: optional #97 +│ │ │ │ └─ [posts]: optional 'optional_97' #97 │ │ │ │ └─ item: union #96 │ │ │ │ ├─ variant_0: struct #91 -│ │ │ │ │ └─ [every]: optional '_90_PostWhere?' #90 +│ │ │ │ │ └─ [every]: optional 'optional_90' #90 │ │ │ │ │ └─ item: &PostWhere #89 │ │ │ │ ├─ variant_1: struct #93 -│ │ │ │ │ └─ [some]: optional '_92_PostWhere?' #92 +│ │ │ │ │ └─ [some]: optional 'optional_92' #92 │ │ │ │ │ └─ item: &PostWhere #89 │ │ │ │ └─ variant_2: struct #95 -│ │ │ │ └─ [none]: optional '_94_PostWhere?' #94 +│ │ │ │ └─ [none]: optional 'optional_94' #94 │ │ │ │ └─ item: &PostWhere #89 -│ │ │ ├─ [id]: optional '_85__integer_filter_c?' #85 +│ │ │ ├─ [id]: optional 'optional_85' #85 │ │ │ │ └─ item: optional '_integer_filter_c' #52 │ │ │ │ └─ item: union #51 │ │ │ │ ├─ variant_0: either '_integer_filter' #49 @@ -155,19 +155,19 @@ root: struct #153 │ │ │ │ │ ├─ variant_2: struct #45 │ │ │ │ │ │ └─ [not]: integer #41 │ │ │ │ │ ├─ variant_3: struct #46 -│ │ │ │ │ │ ├─ [gt]: optional #42 +│ │ │ │ │ │ ├─ [gt]: optional 'optional_42' #42 │ │ │ │ │ │ │ └─ item: integer #41 -│ │ │ │ │ │ ├─ [gte]: optional #42 +│ │ │ │ │ │ ├─ [gte]: optional 'optional_42' #42 │ │ │ │ │ │ │ └─ item: integer #41 -│ │ │ │ │ │ ├─ [lt]: optional #42 +│ │ │ │ │ │ ├─ [lt]: optional 'optional_42' #42 │ │ │ │ │ │ │ └─ item: integer #41 -│ │ │ │ │ │ └─ [lte]: optional #42 +│ │ │ │ │ │ └─ [lte]: optional 'optional_42' #42 │ │ │ │ │ │ └─ item: integer #41 │ │ │ │ │ ├─ variant_4: struct #47 -│ │ │ │ │ │ └─ [in]: list #43 +│ │ │ │ │ │ └─ [in]: list 'list_43' #43 │ │ │ │ │ │ └─ item: integer #41 │ │ │ │ │ └─ variant_5: struct #48 -│ │ │ │ │ └─ [notIn]: list #43 +│ │ │ │ │ └─ [notIn]: list 'list_43' #43 │ │ │ │ │ └─ item: integer #41 │ │ │ │ └─ variant_1: struct #50 │ │ │ │ └─ [not]: either '_integer_filter' #49 @@ -177,21 +177,21 @@ root: struct #153 │ │ │ │ ├─ variant_2: struct #45 │ │ │ │ │ └─ [not]: integer #41 │ │ │ │ ├─ variant_3: struct #46 -│ │ │ │ │ ├─ [gt]: optional #42 +│ │ │ │ │ ├─ [gt]: optional 'optional_42' #42 │ │ │ │ │ │ └─ item: integer #41 -│ │ │ │ │ ├─ [gte]: optional #42 +│ │ │ │ │ ├─ [gte]: optional 'optional_42' #42 │ │ │ │ │ │ └─ item: integer #41 -│ │ │ │ │ ├─ [lt]: optional #42 +│ │ │ │ │ ├─ [lt]: optional 'optional_42' #42 │ │ │ │ │ │ └─ item: integer #41 -│ │ │ │ │ └─ [lte]: optional #42 +│ │ │ │ │ └─ [lte]: optional 'optional_42' #42 │ │ │ │ │ └─ item: integer #41 │ │ │ │ ├─ variant_4: struct #47 -│ │ │ │ │ └─ [in]: list #43 +│ │ │ │ │ └─ [in]: list 'list_43' #43 │ │ │ │ │ └─ item: integer #41 │ │ │ │ └─ variant_5: struct #48 -│ │ │ │ └─ [notIn]: list #43 +│ │ │ │ └─ [notIn]: list 'list_43' #43 │ │ │ │ └─ item: integer #41 -│ │ │ └─ [title]: optional '_86__string_filter_c?' #86 +│ │ │ └─ [title]: optional 'optional_86' #86 │ │ │ └─ item: optional '_string_filter_c' #38 │ │ │ └─ item: union #37 │ │ │ ├─ variant_0: union '_string_filter' #35 @@ -201,21 +201,21 @@ root: struct #153 │ │ │ │ ├─ variant_2: struct #27 │ │ │ │ │ └─ [not]: string #23 │ │ │ │ ├─ variant_3: struct #28 -│ │ │ │ │ └─ [in]: list #25 +│ │ │ │ │ └─ [in]: list 'list_25' #25 │ │ │ │ │ └─ item: string #23 │ │ │ │ ├─ variant_4: struct #29 -│ │ │ │ │ └─ [notIn]: list #25 +│ │ │ │ │ └─ [notIn]: list 'list_25' #25 │ │ │ │ │ └─ item: string #23 │ │ │ │ ├─ variant_5: struct #32 │ │ │ │ │ ├─ [contains]: string #23 -│ │ │ │ │ └─ [mode]: optional #31 +│ │ │ │ │ └─ [mode]: optional 'optional_31' #31 │ │ │ │ │ └─ item: string #30 enum{ '"insensitive"' } │ │ │ │ ├─ variant_6: struct #33 │ │ │ │ │ └─ [search]: string #23 │ │ │ │ └─ variant_7: struct #34 -│ │ │ │ ├─ [endsWith]: optional #24 +│ │ │ │ ├─ [endsWith]: optional 'optional_24' #24 │ │ │ │ │ └─ item: string #23 -│ │ │ │ └─ [startsWith]: optional #24 +│ │ │ │ └─ [startsWith]: optional 'optional_24' #24 │ │ │ │ └─ item: string #23 │ │ │ └─ variant_1: struct #36 │ │ │ └─ [not]: union '_string_filter' #35 @@ -225,27 +225,27 @@ root: struct #153 │ │ │ ├─ variant_2: struct #27 │ │ │ │ └─ [not]: string #23 │ │ │ ├─ variant_3: struct #28 -│ │ │ │ └─ [in]: list #25 +│ │ │ │ └─ [in]: list 'list_25' #25 │ │ │ │ └─ item: string #23 │ │ │ ├─ variant_4: struct #29 -│ │ │ │ └─ [notIn]: list #25 +│ │ │ │ └─ [notIn]: list 'list_25' #25 │ │ │ │ └─ item: string #23 │ │ │ ├─ variant_5: struct #32 │ │ │ │ ├─ [contains]: string #23 -│ │ │ │ └─ [mode]: optional #31 +│ │ │ │ └─ [mode]: optional 'optional_31' #31 │ │ │ │ └─ item: string #30 enum{ '"insensitive"' } │ │ │ ├─ variant_6: struct #33 │ │ │ │ └─ [search]: string #23 │ │ │ └─ variant_7: struct #34 -│ │ │ ├─ [endsWith]: optional #24 +│ │ │ ├─ [endsWith]: optional 'optional_24' #24 │ │ │ │ └─ item: string #23 -│ │ │ └─ [startsWith]: optional #24 +│ │ │ └─ [startsWith]: optional 'optional_24' #24 │ │ │ └─ item: string #23 -│ │ └─ variant_1: list '_101_PostWhere[]' #101 +│ │ └─ variant_1: list 'list_101' #101 │ │ └─ item: struct 'PostWhere' #100 -│ │ ├─ [author]: optional '_99_UserWhere__skip_71_PostWhere?' #99 +│ │ ├─ [author]: optional 'optional_99' #99 │ │ │ └─ item: struct 'UserWhere__skip_71_PostWhere' #98 -│ │ │ ├─ [id]: optional '_87__integer_filter_c?' #87 +│ │ │ ├─ [id]: optional 'optional_87' #87 │ │ │ │ └─ item: optional '_integer_filter_c' #52 │ │ │ │ └─ item: union #51 │ │ │ │ ├─ variant_0: either '_integer_filter' #49 @@ -255,19 +255,19 @@ root: struct #153 │ │ │ │ │ ├─ variant_2: struct #45 │ │ │ │ │ │ └─ [not]: integer #41 │ │ │ │ │ ├─ variant_3: struct #46 -│ │ │ │ │ │ ├─ [gt]: optional #42 +│ │ │ │ │ │ ├─ [gt]: optional 'optional_42' #42 │ │ │ │ │ │ │ └─ item: integer #41 -│ │ │ │ │ │ ├─ [gte]: optional #42 +│ │ │ │ │ │ ├─ [gte]: optional 'optional_42' #42 │ │ │ │ │ │ │ └─ item: integer #41 -│ │ │ │ │ │ ├─ [lt]: optional #42 +│ │ │ │ │ │ ├─ [lt]: optional 'optional_42' #42 │ │ │ │ │ │ │ └─ item: integer #41 -│ │ │ │ │ │ └─ [lte]: optional #42 +│ │ │ │ │ │ └─ [lte]: optional 'optional_42' #42 │ │ │ │ │ │ └─ item: integer #41 │ │ │ │ │ ├─ variant_4: struct #47 -│ │ │ │ │ │ └─ [in]: list #43 +│ │ │ │ │ │ └─ [in]: list 'list_43' #43 │ │ │ │ │ │ └─ item: integer #41 │ │ │ │ │ └─ variant_5: struct #48 -│ │ │ │ │ └─ [notIn]: list #43 +│ │ │ │ │ └─ [notIn]: list 'list_43' #43 │ │ │ │ │ └─ item: integer #41 │ │ │ │ └─ variant_1: struct #50 │ │ │ │ └─ [not]: either '_integer_filter' #49 @@ -277,21 +277,21 @@ root: struct #153 │ │ │ │ ├─ variant_2: struct #45 │ │ │ │ │ └─ [not]: integer #41 │ │ │ │ ├─ variant_3: struct #46 -│ │ │ │ │ ├─ [gt]: optional #42 +│ │ │ │ │ ├─ [gt]: optional 'optional_42' #42 │ │ │ │ │ │ └─ item: integer #41 -│ │ │ │ │ ├─ [gte]: optional #42 +│ │ │ │ │ ├─ [gte]: optional 'optional_42' #42 │ │ │ │ │ │ └─ item: integer #41 -│ │ │ │ │ ├─ [lt]: optional #42 +│ │ │ │ │ ├─ [lt]: optional 'optional_42' #42 │ │ │ │ │ │ └─ item: integer #41 -│ │ │ │ │ └─ [lte]: optional #42 +│ │ │ │ │ └─ [lte]: optional 'optional_42' #42 │ │ │ │ │ └─ item: integer #41 │ │ │ │ ├─ variant_4: struct #47 -│ │ │ │ │ └─ [in]: list #43 +│ │ │ │ │ └─ [in]: list 'list_43' #43 │ │ │ │ │ └─ item: integer #41 │ │ │ │ └─ variant_5: struct #48 -│ │ │ │ └─ [notIn]: list #43 +│ │ │ │ └─ [notIn]: list 'list_43' #43 │ │ │ │ └─ item: integer #41 -│ │ │ ├─ [name]: optional '_88__string_filter_c?' #88 +│ │ │ ├─ [name]: optional 'optional_88' #88 │ │ │ │ └─ item: optional '_string_filter_c' #38 │ │ │ │ └─ item: union #37 │ │ │ │ ├─ variant_0: union '_string_filter' #35 @@ -301,21 +301,21 @@ root: struct #153 │ │ │ │ │ ├─ variant_2: struct #27 │ │ │ │ │ │ └─ [not]: string #23 │ │ │ │ │ ├─ variant_3: struct #28 -│ │ │ │ │ │ └─ [in]: list #25 +│ │ │ │ │ │ └─ [in]: list 'list_25' #25 │ │ │ │ │ │ └─ item: string #23 │ │ │ │ │ ├─ variant_4: struct #29 -│ │ │ │ │ │ └─ [notIn]: list #25 +│ │ │ │ │ │ └─ [notIn]: list 'list_25' #25 │ │ │ │ │ │ └─ item: string #23 │ │ │ │ │ ├─ variant_5: struct #32 │ │ │ │ │ │ ├─ [contains]: string #23 -│ │ │ │ │ │ └─ [mode]: optional #31 +│ │ │ │ │ │ └─ [mode]: optional 'optional_31' #31 │ │ │ │ │ │ └─ item: string #30 enum{ '"insensitive"' } │ │ │ │ │ ├─ variant_6: struct #33 │ │ │ │ │ │ └─ [search]: string #23 │ │ │ │ │ └─ variant_7: struct #34 -│ │ │ │ │ ├─ [endsWith]: optional #24 +│ │ │ │ │ ├─ [endsWith]: optional 'optional_24' #24 │ │ │ │ │ │ └─ item: string #23 -│ │ │ │ │ └─ [startsWith]: optional #24 +│ │ │ │ │ └─ [startsWith]: optional 'optional_24' #24 │ │ │ │ │ └─ item: string #23 │ │ │ │ └─ variant_1: struct #36 │ │ │ │ └─ [not]: union '_string_filter' #35 @@ -325,34 +325,34 @@ root: struct #153 │ │ │ │ ├─ variant_2: struct #27 │ │ │ │ │ └─ [not]: string #23 │ │ │ │ ├─ variant_3: struct #28 -│ │ │ │ │ └─ [in]: list #25 +│ │ │ │ │ └─ [in]: list 'list_25' #25 │ │ │ │ │ └─ item: string #23 │ │ │ │ ├─ variant_4: struct #29 -│ │ │ │ │ └─ [notIn]: list #25 +│ │ │ │ │ └─ [notIn]: list 'list_25' #25 │ │ │ │ │ └─ item: string #23 │ │ │ │ ├─ variant_5: struct #32 │ │ │ │ │ ├─ [contains]: string #23 -│ │ │ │ │ └─ [mode]: optional #31 +│ │ │ │ │ └─ [mode]: optional 'optional_31' #31 │ │ │ │ │ └─ item: string #30 enum{ '"insensitive"' } │ │ │ │ ├─ variant_6: struct #33 │ │ │ │ │ └─ [search]: string #23 │ │ │ │ └─ variant_7: struct #34 -│ │ │ │ ├─ [endsWith]: optional #24 +│ │ │ │ ├─ [endsWith]: optional 'optional_24' #24 │ │ │ │ │ └─ item: string #23 -│ │ │ │ └─ [startsWith]: optional #24 +│ │ │ │ └─ [startsWith]: optional 'optional_24' #24 │ │ │ │ └─ item: string #23 -│ │ │ └─ [posts]: optional #97 +│ │ │ └─ [posts]: optional 'optional_97' #97 │ │ │ └─ item: union #96 │ │ │ ├─ variant_0: struct #91 -│ │ │ │ └─ [every]: optional '_90_PostWhere?' #90 +│ │ │ │ └─ [every]: optional 'optional_90' #90 │ │ │ │ └─ item: &PostWhere #89 │ │ │ ├─ variant_1: struct #93 -│ │ │ │ └─ [some]: optional '_92_PostWhere?' #92 +│ │ │ │ └─ [some]: optional 'optional_92' #92 │ │ │ │ └─ item: &PostWhere #89 │ │ │ └─ variant_2: struct #95 -│ │ │ └─ [none]: optional '_94_PostWhere?' #94 +│ │ │ └─ [none]: optional 'optional_94' #94 │ │ │ └─ item: &PostWhere #89 -│ │ ├─ [id]: optional '_85__integer_filter_c?' #85 +│ │ ├─ [id]: optional 'optional_85' #85 │ │ │ └─ item: optional '_integer_filter_c' #52 │ │ │ └─ item: union #51 │ │ │ ├─ variant_0: either '_integer_filter' #49 @@ -362,19 +362,19 @@ root: struct #153 │ │ │ │ ├─ variant_2: struct #45 │ │ │ │ │ └─ [not]: integer #41 │ │ │ │ ├─ variant_3: struct #46 -│ │ │ │ │ ├─ [gt]: optional #42 +│ │ │ │ │ ├─ [gt]: optional 'optional_42' #42 │ │ │ │ │ │ └─ item: integer #41 -│ │ │ │ │ ├─ [gte]: optional #42 +│ │ │ │ │ ├─ [gte]: optional 'optional_42' #42 │ │ │ │ │ │ └─ item: integer #41 -│ │ │ │ │ ├─ [lt]: optional #42 +│ │ │ │ │ ├─ [lt]: optional 'optional_42' #42 │ │ │ │ │ │ └─ item: integer #41 -│ │ │ │ │ └─ [lte]: optional #42 +│ │ │ │ │ └─ [lte]: optional 'optional_42' #42 │ │ │ │ │ └─ item: integer #41 │ │ │ │ ├─ variant_4: struct #47 -│ │ │ │ │ └─ [in]: list #43 +│ │ │ │ │ └─ [in]: list 'list_43' #43 │ │ │ │ │ └─ item: integer #41 │ │ │ │ └─ variant_5: struct #48 -│ │ │ │ └─ [notIn]: list #43 +│ │ │ │ └─ [notIn]: list 'list_43' #43 │ │ │ │ └─ item: integer #41 │ │ │ └─ variant_1: struct #50 │ │ │ └─ [not]: either '_integer_filter' #49 @@ -384,21 +384,21 @@ root: struct #153 │ │ │ ├─ variant_2: struct #45 │ │ │ │ └─ [not]: integer #41 │ │ │ ├─ variant_3: struct #46 -│ │ │ │ ├─ [gt]: optional #42 +│ │ │ │ ├─ [gt]: optional 'optional_42' #42 │ │ │ │ │ └─ item: integer #41 -│ │ │ │ ├─ [gte]: optional #42 +│ │ │ │ ├─ [gte]: optional 'optional_42' #42 │ │ │ │ │ └─ item: integer #41 -│ │ │ │ ├─ [lt]: optional #42 +│ │ │ │ ├─ [lt]: optional 'optional_42' #42 │ │ │ │ │ └─ item: integer #41 -│ │ │ │ └─ [lte]: optional #42 +│ │ │ │ └─ [lte]: optional 'optional_42' #42 │ │ │ │ └─ item: integer #41 │ │ │ ├─ variant_4: struct #47 -│ │ │ │ └─ [in]: list #43 +│ │ │ │ └─ [in]: list 'list_43' #43 │ │ │ │ └─ item: integer #41 │ │ │ └─ variant_5: struct #48 -│ │ │ └─ [notIn]: list #43 +│ │ │ └─ [notIn]: list 'list_43' #43 │ │ │ └─ item: integer #41 -│ │ └─ [title]: optional '_86__string_filter_c?' #86 +│ │ └─ [title]: optional 'optional_86' #86 │ │ └─ item: optional '_string_filter_c' #38 │ │ └─ item: union #37 │ │ ├─ variant_0: union '_string_filter' #35 @@ -408,21 +408,21 @@ root: struct #153 │ │ │ ├─ variant_2: struct #27 │ │ │ │ └─ [not]: string #23 │ │ │ ├─ variant_3: struct #28 -│ │ │ │ └─ [in]: list #25 +│ │ │ │ └─ [in]: list 'list_25' #25 │ │ │ │ └─ item: string #23 │ │ │ ├─ variant_4: struct #29 -│ │ │ │ └─ [notIn]: list #25 +│ │ │ │ └─ [notIn]: list 'list_25' #25 │ │ │ │ └─ item: string #23 │ │ │ ├─ variant_5: struct #32 │ │ │ │ ├─ [contains]: string #23 -│ │ │ │ └─ [mode]: optional #31 +│ │ │ │ └─ [mode]: optional 'optional_31' #31 │ │ │ │ └─ item: string #30 enum{ '"insensitive"' } │ │ │ ├─ variant_6: struct #33 │ │ │ │ └─ [search]: string #23 │ │ │ └─ variant_7: struct #34 -│ │ │ ├─ [endsWith]: optional #24 +│ │ │ ├─ [endsWith]: optional 'optional_24' #24 │ │ │ │ └─ item: string #23 -│ │ │ └─ [startsWith]: optional #24 +│ │ │ └─ [startsWith]: optional 'optional_24' #24 │ │ │ └─ item: string #23 │ │ └─ variant_1: struct #36 │ │ └─ [not]: union '_string_filter' #35 @@ -432,39 +432,39 @@ root: struct #153 │ │ ├─ variant_2: struct #27 │ │ │ └─ [not]: string #23 │ │ ├─ variant_3: struct #28 -│ │ │ └─ [in]: list #25 +│ │ │ └─ [in]: list 'list_25' #25 │ │ │ └─ item: string #23 │ │ ├─ variant_4: struct #29 -│ │ │ └─ [notIn]: list #25 +│ │ │ └─ [notIn]: list 'list_25' #25 │ │ │ └─ item: string #23 │ │ ├─ variant_5: struct #32 │ │ │ ├─ [contains]: string #23 -│ │ │ └─ [mode]: optional #31 +│ │ │ └─ [mode]: optional 'optional_31' #31 │ │ │ └─ item: string #30 enum{ '"insensitive"' } │ │ ├─ variant_6: struct #33 │ │ │ └─ [search]: string #23 │ │ └─ variant_7: struct #34 -│ │ ├─ [endsWith]: optional #24 +│ │ ├─ [endsWith]: optional 'optional_24' #24 │ │ │ └─ item: string #23 -│ │ └─ [startsWith]: optional #24 +│ │ └─ [startsWith]: optional 'optional_24' #24 │ │ └─ item: string #23 │ ├─ variant_2: struct #106 │ │ └─ [connectOrCreate]: struct #103 │ │ ├─ [create]: union #84 │ │ │ ├─ variant_0: struct '_Post_CreateInput_excluding___rel_Post_User_1' #82 -│ │ │ │ ├─ [id]: optional #81 +│ │ │ │ ├─ [id]: optional 'optional_81' #81 │ │ │ │ │ └─ item: integer #68 │ │ │ │ └─ [title]: string #69 -│ │ │ └─ variant_1: list '_83__Post_CreateInput_excluding___rel_Post_User_1[]' #83 +│ │ │ └─ variant_1: list 'list_83' #83 │ │ │ └─ item: struct '_Post_CreateInput_excluding___rel_Post_User_1' #82 -│ │ │ ├─ [id]: optional #81 +│ │ │ ├─ [id]: optional 'optional_81' #81 │ │ │ │ └─ item: integer #68 │ │ │ └─ [title]: string #69 │ │ └─ [where]: union #102 │ │ ├─ variant_0: struct 'PostWhere' #100 -│ │ │ ├─ [author]: optional '_99_UserWhere__skip_71_PostWhere?' #99 +│ │ │ ├─ [author]: optional 'optional_99' #99 │ │ │ │ └─ item: struct 'UserWhere__skip_71_PostWhere' #98 -│ │ │ │ ├─ [id]: optional '_87__integer_filter_c?' #87 +│ │ │ │ ├─ [id]: optional 'optional_87' #87 │ │ │ │ │ └─ item: optional '_integer_filter_c' #52 │ │ │ │ │ └─ item: union #51 │ │ │ │ │ ├─ variant_0: either '_integer_filter' #49 @@ -474,19 +474,19 @@ root: struct #153 │ │ │ │ │ │ ├─ variant_2: struct #45 │ │ │ │ │ │ │ └─ [not]: integer #41 │ │ │ │ │ │ ├─ variant_3: struct #46 -│ │ │ │ │ │ │ ├─ [gt]: optional #42 +│ │ │ │ │ │ │ ├─ [gt]: optional 'optional_42' #42 │ │ │ │ │ │ │ │ └─ item: integer #41 -│ │ │ │ │ │ │ ├─ [gte]: optional #42 +│ │ │ │ │ │ │ ├─ [gte]: optional 'optional_42' #42 │ │ │ │ │ │ │ │ └─ item: integer #41 -│ │ │ │ │ │ │ ├─ [lt]: optional #42 +│ │ │ │ │ │ │ ├─ [lt]: optional 'optional_42' #42 │ │ │ │ │ │ │ │ └─ item: integer #41 -│ │ │ │ │ │ │ └─ [lte]: optional #42 +│ │ │ │ │ │ │ └─ [lte]: optional 'optional_42' #42 │ │ │ │ │ │ │ └─ item: integer #41 │ │ │ │ │ │ ├─ variant_4: struct #47 -│ │ │ │ │ │ │ └─ [in]: list #43 +│ │ │ │ │ │ │ └─ [in]: list 'list_43' #43 │ │ │ │ │ │ │ └─ item: integer #41 │ │ │ │ │ │ └─ variant_5: struct #48 -│ │ │ │ │ │ └─ [notIn]: list #43 +│ │ │ │ │ │ └─ [notIn]: list 'list_43' #43 │ │ │ │ │ │ └─ item: integer #41 │ │ │ │ │ └─ variant_1: struct #50 │ │ │ │ │ └─ [not]: either '_integer_filter' #49 @@ -496,21 +496,21 @@ root: struct #153 │ │ │ │ │ ├─ variant_2: struct #45 │ │ │ │ │ │ └─ [not]: integer #41 │ │ │ │ │ ├─ variant_3: struct #46 -│ │ │ │ │ │ ├─ [gt]: optional #42 +│ │ │ │ │ │ ├─ [gt]: optional 'optional_42' #42 │ │ │ │ │ │ │ └─ item: integer #41 -│ │ │ │ │ │ ├─ [gte]: optional #42 +│ │ │ │ │ │ ├─ [gte]: optional 'optional_42' #42 │ │ │ │ │ │ │ └─ item: integer #41 -│ │ │ │ │ │ ├─ [lt]: optional #42 +│ │ │ │ │ │ ├─ [lt]: optional 'optional_42' #42 │ │ │ │ │ │ │ └─ item: integer #41 -│ │ │ │ │ │ └─ [lte]: optional #42 +│ │ │ │ │ │ └─ [lte]: optional 'optional_42' #42 │ │ │ │ │ │ └─ item: integer #41 │ │ │ │ │ ├─ variant_4: struct #47 -│ │ │ │ │ │ └─ [in]: list #43 +│ │ │ │ │ │ └─ [in]: list 'list_43' #43 │ │ │ │ │ │ └─ item: integer #41 │ │ │ │ │ └─ variant_5: struct #48 -│ │ │ │ │ └─ [notIn]: list #43 +│ │ │ │ │ └─ [notIn]: list 'list_43' #43 │ │ │ │ │ └─ item: integer #41 -│ │ │ │ ├─ [name]: optional '_88__string_filter_c?' #88 +│ │ │ │ ├─ [name]: optional 'optional_88' #88 │ │ │ │ │ └─ item: optional '_string_filter_c' #38 │ │ │ │ │ └─ item: union #37 │ │ │ │ │ ├─ variant_0: union '_string_filter' #35 @@ -520,21 +520,21 @@ root: struct #153 │ │ │ │ │ │ ├─ variant_2: struct #27 │ │ │ │ │ │ │ └─ [not]: string #23 │ │ │ │ │ │ ├─ variant_3: struct #28 -│ │ │ │ │ │ │ └─ [in]: list #25 +│ │ │ │ │ │ │ └─ [in]: list 'list_25' #25 │ │ │ │ │ │ │ └─ item: string #23 │ │ │ │ │ │ ├─ variant_4: struct #29 -│ │ │ │ │ │ │ └─ [notIn]: list #25 +│ │ │ │ │ │ │ └─ [notIn]: list 'list_25' #25 │ │ │ │ │ │ │ └─ item: string #23 │ │ │ │ │ │ ├─ variant_5: struct #32 │ │ │ │ │ │ │ ├─ [contains]: string #23 -│ │ │ │ │ │ │ └─ [mode]: optional #31 +│ │ │ │ │ │ │ └─ [mode]: optional 'optional_31' #31 │ │ │ │ │ │ │ └─ item: string #30 enum{ '"insensitive"' } │ │ │ │ │ │ ├─ variant_6: struct #33 │ │ │ │ │ │ │ └─ [search]: string #23 │ │ │ │ │ │ └─ variant_7: struct #34 -│ │ │ │ │ │ ├─ [endsWith]: optional #24 +│ │ │ │ │ │ ├─ [endsWith]: optional 'optional_24' #24 │ │ │ │ │ │ │ └─ item: string #23 -│ │ │ │ │ │ └─ [startsWith]: optional #24 +│ │ │ │ │ │ └─ [startsWith]: optional 'optional_24' #24 │ │ │ │ │ │ └─ item: string #23 │ │ │ │ │ └─ variant_1: struct #36 │ │ │ │ │ └─ [not]: union '_string_filter' #35 @@ -544,34 +544,34 @@ root: struct #153 │ │ │ │ │ ├─ variant_2: struct #27 │ │ │ │ │ │ └─ [not]: string #23 │ │ │ │ │ ├─ variant_3: struct #28 -│ │ │ │ │ │ └─ [in]: list #25 +│ │ │ │ │ │ └─ [in]: list 'list_25' #25 │ │ │ │ │ │ └─ item: string #23 │ │ │ │ │ ├─ variant_4: struct #29 -│ │ │ │ │ │ └─ [notIn]: list #25 +│ │ │ │ │ │ └─ [notIn]: list 'list_25' #25 │ │ │ │ │ │ └─ item: string #23 │ │ │ │ │ ├─ variant_5: struct #32 │ │ │ │ │ │ ├─ [contains]: string #23 -│ │ │ │ │ │ └─ [mode]: optional #31 +│ │ │ │ │ │ └─ [mode]: optional 'optional_31' #31 │ │ │ │ │ │ └─ item: string #30 enum{ '"insensitive"' } │ │ │ │ │ ├─ variant_6: struct #33 │ │ │ │ │ │ └─ [search]: string #23 │ │ │ │ │ └─ variant_7: struct #34 -│ │ │ │ │ ├─ [endsWith]: optional #24 +│ │ │ │ │ ├─ [endsWith]: optional 'optional_24' #24 │ │ │ │ │ │ └─ item: string #23 -│ │ │ │ │ └─ [startsWith]: optional #24 +│ │ │ │ │ └─ [startsWith]: optional 'optional_24' #24 │ │ │ │ │ └─ item: string #23 -│ │ │ │ └─ [posts]: optional #97 +│ │ │ │ └─ [posts]: optional 'optional_97' #97 │ │ │ │ └─ item: union #96 │ │ │ │ ├─ variant_0: struct #91 -│ │ │ │ │ └─ [every]: optional '_90_PostWhere?' #90 +│ │ │ │ │ └─ [every]: optional 'optional_90' #90 │ │ │ │ │ └─ item: &PostWhere #89 │ │ │ │ ├─ variant_1: struct #93 -│ │ │ │ │ └─ [some]: optional '_92_PostWhere?' #92 +│ │ │ │ │ └─ [some]: optional 'optional_92' #92 │ │ │ │ │ └─ item: &PostWhere #89 │ │ │ │ └─ variant_2: struct #95 -│ │ │ │ └─ [none]: optional '_94_PostWhere?' #94 +│ │ │ │ └─ [none]: optional 'optional_94' #94 │ │ │ │ └─ item: &PostWhere #89 -│ │ │ ├─ [id]: optional '_85__integer_filter_c?' #85 +│ │ │ ├─ [id]: optional 'optional_85' #85 │ │ │ │ └─ item: optional '_integer_filter_c' #52 │ │ │ │ └─ item: union #51 │ │ │ │ ├─ variant_0: either '_integer_filter' #49 @@ -581,19 +581,19 @@ root: struct #153 │ │ │ │ │ ├─ variant_2: struct #45 │ │ │ │ │ │ └─ [not]: integer #41 │ │ │ │ │ ├─ variant_3: struct #46 -│ │ │ │ │ │ ├─ [gt]: optional #42 +│ │ │ │ │ │ ├─ [gt]: optional 'optional_42' #42 │ │ │ │ │ │ │ └─ item: integer #41 -│ │ │ │ │ │ ├─ [gte]: optional #42 +│ │ │ │ │ │ ├─ [gte]: optional 'optional_42' #42 │ │ │ │ │ │ │ └─ item: integer #41 -│ │ │ │ │ │ ├─ [lt]: optional #42 +│ │ │ │ │ │ ├─ [lt]: optional 'optional_42' #42 │ │ │ │ │ │ │ └─ item: integer #41 -│ │ │ │ │ │ └─ [lte]: optional #42 +│ │ │ │ │ │ └─ [lte]: optional 'optional_42' #42 │ │ │ │ │ │ └─ item: integer #41 │ │ │ │ │ ├─ variant_4: struct #47 -│ │ │ │ │ │ └─ [in]: list #43 +│ │ │ │ │ │ └─ [in]: list 'list_43' #43 │ │ │ │ │ │ └─ item: integer #41 │ │ │ │ │ └─ variant_5: struct #48 -│ │ │ │ │ └─ [notIn]: list #43 +│ │ │ │ │ └─ [notIn]: list 'list_43' #43 │ │ │ │ │ └─ item: integer #41 │ │ │ │ └─ variant_1: struct #50 │ │ │ │ └─ [not]: either '_integer_filter' #49 @@ -603,21 +603,21 @@ root: struct #153 │ │ │ │ ├─ variant_2: struct #45 │ │ │ │ │ └─ [not]: integer #41 │ │ │ │ ├─ variant_3: struct #46 -│ │ │ │ │ ├─ [gt]: optional #42 +│ │ │ │ │ ├─ [gt]: optional 'optional_42' #42 │ │ │ │ │ │ └─ item: integer #41 -│ │ │ │ │ ├─ [gte]: optional #42 +│ │ │ │ │ ├─ [gte]: optional 'optional_42' #42 │ │ │ │ │ │ └─ item: integer #41 -│ │ │ │ │ ├─ [lt]: optional #42 +│ │ │ │ │ ├─ [lt]: optional 'optional_42' #42 │ │ │ │ │ │ └─ item: integer #41 -│ │ │ │ │ └─ [lte]: optional #42 +│ │ │ │ │ └─ [lte]: optional 'optional_42' #42 │ │ │ │ │ └─ item: integer #41 │ │ │ │ ├─ variant_4: struct #47 -│ │ │ │ │ └─ [in]: list #43 +│ │ │ │ │ └─ [in]: list 'list_43' #43 │ │ │ │ │ └─ item: integer #41 │ │ │ │ └─ variant_5: struct #48 -│ │ │ │ └─ [notIn]: list #43 +│ │ │ │ └─ [notIn]: list 'list_43' #43 │ │ │ │ └─ item: integer #41 -│ │ │ └─ [title]: optional '_86__string_filter_c?' #86 +│ │ │ └─ [title]: optional 'optional_86' #86 │ │ │ └─ item: optional '_string_filter_c' #38 │ │ │ └─ item: union #37 │ │ │ ├─ variant_0: union '_string_filter' #35 @@ -627,21 +627,21 @@ root: struct #153 │ │ │ │ ├─ variant_2: struct #27 │ │ │ │ │ └─ [not]: string #23 │ │ │ │ ├─ variant_3: struct #28 -│ │ │ │ │ └─ [in]: list #25 +│ │ │ │ │ └─ [in]: list 'list_25' #25 │ │ │ │ │ └─ item: string #23 │ │ │ │ ├─ variant_4: struct #29 -│ │ │ │ │ └─ [notIn]: list #25 +│ │ │ │ │ └─ [notIn]: list 'list_25' #25 │ │ │ │ │ └─ item: string #23 │ │ │ │ ├─ variant_5: struct #32 │ │ │ │ │ ├─ [contains]: string #23 -│ │ │ │ │ └─ [mode]: optional #31 +│ │ │ │ │ └─ [mode]: optional 'optional_31' #31 │ │ │ │ │ └─ item: string #30 enum{ '"insensitive"' } │ │ │ │ ├─ variant_6: struct #33 │ │ │ │ │ └─ [search]: string #23 │ │ │ │ └─ variant_7: struct #34 -│ │ │ │ ├─ [endsWith]: optional #24 +│ │ │ │ ├─ [endsWith]: optional 'optional_24' #24 │ │ │ │ │ └─ item: string #23 -│ │ │ │ └─ [startsWith]: optional #24 +│ │ │ │ └─ [startsWith]: optional 'optional_24' #24 │ │ │ │ └─ item: string #23 │ │ │ └─ variant_1: struct #36 │ │ │ └─ [not]: union '_string_filter' #35 @@ -651,27 +651,27 @@ root: struct #153 │ │ │ ├─ variant_2: struct #27 │ │ │ │ └─ [not]: string #23 │ │ │ ├─ variant_3: struct #28 -│ │ │ │ └─ [in]: list #25 +│ │ │ │ └─ [in]: list 'list_25' #25 │ │ │ │ └─ item: string #23 │ │ │ ├─ variant_4: struct #29 -│ │ │ │ └─ [notIn]: list #25 +│ │ │ │ └─ [notIn]: list 'list_25' #25 │ │ │ │ └─ item: string #23 │ │ │ ├─ variant_5: struct #32 │ │ │ │ ├─ [contains]: string #23 -│ │ │ │ └─ [mode]: optional #31 +│ │ │ │ └─ [mode]: optional 'optional_31' #31 │ │ │ │ └─ item: string #30 enum{ '"insensitive"' } │ │ │ ├─ variant_6: struct #33 │ │ │ │ └─ [search]: string #23 │ │ │ └─ variant_7: struct #34 -│ │ │ ├─ [endsWith]: optional #24 +│ │ │ ├─ [endsWith]: optional 'optional_24' #24 │ │ │ │ └─ item: string #23 -│ │ │ └─ [startsWith]: optional #24 +│ │ │ └─ [startsWith]: optional 'optional_24' #24 │ │ │ └─ item: string #23 -│ │ └─ variant_1: list '_101_PostWhere[]' #101 +│ │ └─ variant_1: list 'list_101' #101 │ │ └─ item: struct 'PostWhere' #100 -│ │ ├─ [author]: optional '_99_UserWhere__skip_71_PostWhere?' #99 +│ │ ├─ [author]: optional 'optional_99' #99 │ │ │ └─ item: struct 'UserWhere__skip_71_PostWhere' #98 -│ │ │ ├─ [id]: optional '_87__integer_filter_c?' #87 +│ │ │ ├─ [id]: optional 'optional_87' #87 │ │ │ │ └─ item: optional '_integer_filter_c' #52 │ │ │ │ └─ item: union #51 │ │ │ │ ├─ variant_0: either '_integer_filter' #49 @@ -681,19 +681,19 @@ root: struct #153 │ │ │ │ │ ├─ variant_2: struct #45 │ │ │ │ │ │ └─ [not]: integer #41 │ │ │ │ │ ├─ variant_3: struct #46 -│ │ │ │ │ │ ├─ [gt]: optional #42 +│ │ │ │ │ │ ├─ [gt]: optional 'optional_42' #42 │ │ │ │ │ │ │ └─ item: integer #41 -│ │ │ │ │ │ ├─ [gte]: optional #42 +│ │ │ │ │ │ ├─ [gte]: optional 'optional_42' #42 │ │ │ │ │ │ │ └─ item: integer #41 -│ │ │ │ │ │ ├─ [lt]: optional #42 +│ │ │ │ │ │ ├─ [lt]: optional 'optional_42' #42 │ │ │ │ │ │ │ └─ item: integer #41 -│ │ │ │ │ │ └─ [lte]: optional #42 +│ │ │ │ │ │ └─ [lte]: optional 'optional_42' #42 │ │ │ │ │ │ └─ item: integer #41 │ │ │ │ │ ├─ variant_4: struct #47 -│ │ │ │ │ │ └─ [in]: list #43 +│ │ │ │ │ │ └─ [in]: list 'list_43' #43 │ │ │ │ │ │ └─ item: integer #41 │ │ │ │ │ └─ variant_5: struct #48 -│ │ │ │ │ └─ [notIn]: list #43 +│ │ │ │ │ └─ [notIn]: list 'list_43' #43 │ │ │ │ │ └─ item: integer #41 │ │ │ │ └─ variant_1: struct #50 │ │ │ │ └─ [not]: either '_integer_filter' #49 @@ -703,21 +703,21 @@ root: struct #153 │ │ │ │ ├─ variant_2: struct #45 │ │ │ │ │ └─ [not]: integer #41 │ │ │ │ ├─ variant_3: struct #46 -│ │ │ │ │ ├─ [gt]: optional #42 +│ │ │ │ │ ├─ [gt]: optional 'optional_42' #42 │ │ │ │ │ │ └─ item: integer #41 -│ │ │ │ │ ├─ [gte]: optional #42 +│ │ │ │ │ ├─ [gte]: optional 'optional_42' #42 │ │ │ │ │ │ └─ item: integer #41 -│ │ │ │ │ ├─ [lt]: optional #42 +│ │ │ │ │ ├─ [lt]: optional 'optional_42' #42 │ │ │ │ │ │ └─ item: integer #41 -│ │ │ │ │ └─ [lte]: optional #42 +│ │ │ │ │ └─ [lte]: optional 'optional_42' #42 │ │ │ │ │ └─ item: integer #41 │ │ │ │ ├─ variant_4: struct #47 -│ │ │ │ │ └─ [in]: list #43 +│ │ │ │ │ └─ [in]: list 'list_43' #43 │ │ │ │ │ └─ item: integer #41 │ │ │ │ └─ variant_5: struct #48 -│ │ │ │ └─ [notIn]: list #43 +│ │ │ │ └─ [notIn]: list 'list_43' #43 │ │ │ │ └─ item: integer #41 -│ │ │ ├─ [name]: optional '_88__string_filter_c?' #88 +│ │ │ ├─ [name]: optional 'optional_88' #88 │ │ │ │ └─ item: optional '_string_filter_c' #38 │ │ │ │ └─ item: union #37 │ │ │ │ ├─ variant_0: union '_string_filter' #35 @@ -727,21 +727,21 @@ root: struct #153 │ │ │ │ │ ├─ variant_2: struct #27 │ │ │ │ │ │ └─ [not]: string #23 │ │ │ │ │ ├─ variant_3: struct #28 -│ │ │ │ │ │ └─ [in]: list #25 +│ │ │ │ │ │ └─ [in]: list 'list_25' #25 │ │ │ │ │ │ └─ item: string #23 │ │ │ │ │ ├─ variant_4: struct #29 -│ │ │ │ │ │ └─ [notIn]: list #25 +│ │ │ │ │ │ └─ [notIn]: list 'list_25' #25 │ │ │ │ │ │ └─ item: string #23 │ │ │ │ │ ├─ variant_5: struct #32 │ │ │ │ │ │ ├─ [contains]: string #23 -│ │ │ │ │ │ └─ [mode]: optional #31 +│ │ │ │ │ │ └─ [mode]: optional 'optional_31' #31 │ │ │ │ │ │ └─ item: string #30 enum{ '"insensitive"' } │ │ │ │ │ ├─ variant_6: struct #33 │ │ │ │ │ │ └─ [search]: string #23 │ │ │ │ │ └─ variant_7: struct #34 -│ │ │ │ │ ├─ [endsWith]: optional #24 +│ │ │ │ │ ├─ [endsWith]: optional 'optional_24' #24 │ │ │ │ │ │ └─ item: string #23 -│ │ │ │ │ └─ [startsWith]: optional #24 +│ │ │ │ │ └─ [startsWith]: optional 'optional_24' #24 │ │ │ │ │ └─ item: string #23 │ │ │ │ └─ variant_1: struct #36 │ │ │ │ └─ [not]: union '_string_filter' #35 @@ -751,34 +751,34 @@ root: struct #153 │ │ │ │ ├─ variant_2: struct #27 │ │ │ │ │ └─ [not]: string #23 │ │ │ │ ├─ variant_3: struct #28 -│ │ │ │ │ └─ [in]: list #25 +│ │ │ │ │ └─ [in]: list 'list_25' #25 │ │ │ │ │ └─ item: string #23 │ │ │ │ ├─ variant_4: struct #29 -│ │ │ │ │ └─ [notIn]: list #25 +│ │ │ │ │ └─ [notIn]: list 'list_25' #25 │ │ │ │ │ └─ item: string #23 │ │ │ │ ├─ variant_5: struct #32 │ │ │ │ │ ├─ [contains]: string #23 -│ │ │ │ │ └─ [mode]: optional #31 +│ │ │ │ │ └─ [mode]: optional 'optional_31' #31 │ │ │ │ │ └─ item: string #30 enum{ '"insensitive"' } │ │ │ │ ├─ variant_6: struct #33 │ │ │ │ │ └─ [search]: string #23 │ │ │ │ └─ variant_7: struct #34 -│ │ │ │ ├─ [endsWith]: optional #24 +│ │ │ │ ├─ [endsWith]: optional 'optional_24' #24 │ │ │ │ │ └─ item: string #23 -│ │ │ │ └─ [startsWith]: optional #24 +│ │ │ │ └─ [startsWith]: optional 'optional_24' #24 │ │ │ │ └─ item: string #23 -│ │ │ └─ [posts]: optional #97 +│ │ │ └─ [posts]: optional 'optional_97' #97 │ │ │ └─ item: union #96 │ │ │ ├─ variant_0: struct #91 -│ │ │ │ └─ [every]: optional '_90_PostWhere?' #90 +│ │ │ │ └─ [every]: optional 'optional_90' #90 │ │ │ │ └─ item: &PostWhere #89 │ │ │ ├─ variant_1: struct #93 -│ │ │ │ └─ [some]: optional '_92_PostWhere?' #92 +│ │ │ │ └─ [some]: optional 'optional_92' #92 │ │ │ │ └─ item: &PostWhere #89 │ │ │ └─ variant_2: struct #95 -│ │ │ └─ [none]: optional '_94_PostWhere?' #94 +│ │ │ └─ [none]: optional 'optional_94' #94 │ │ │ └─ item: &PostWhere #89 -│ │ ├─ [id]: optional '_85__integer_filter_c?' #85 +│ │ ├─ [id]: optional 'optional_85' #85 │ │ │ └─ item: optional '_integer_filter_c' #52 │ │ │ └─ item: union #51 │ │ │ ├─ variant_0: either '_integer_filter' #49 @@ -788,19 +788,19 @@ root: struct #153 │ │ │ │ ├─ variant_2: struct #45 │ │ │ │ │ └─ [not]: integer #41 │ │ │ │ ├─ variant_3: struct #46 -│ │ │ │ │ ├─ [gt]: optional #42 +│ │ │ │ │ ├─ [gt]: optional 'optional_42' #42 │ │ │ │ │ │ └─ item: integer #41 -│ │ │ │ │ ├─ [gte]: optional #42 +│ │ │ │ │ ├─ [gte]: optional 'optional_42' #42 │ │ │ │ │ │ └─ item: integer #41 -│ │ │ │ │ ├─ [lt]: optional #42 +│ │ │ │ │ ├─ [lt]: optional 'optional_42' #42 │ │ │ │ │ │ └─ item: integer #41 -│ │ │ │ │ └─ [lte]: optional #42 +│ │ │ │ │ └─ [lte]: optional 'optional_42' #42 │ │ │ │ │ └─ item: integer #41 │ │ │ │ ├─ variant_4: struct #47 -│ │ │ │ │ └─ [in]: list #43 +│ │ │ │ │ └─ [in]: list 'list_43' #43 │ │ │ │ │ └─ item: integer #41 │ │ │ │ └─ variant_5: struct #48 -│ │ │ │ └─ [notIn]: list #43 +│ │ │ │ └─ [notIn]: list 'list_43' #43 │ │ │ │ └─ item: integer #41 │ │ │ └─ variant_1: struct #50 │ │ │ └─ [not]: either '_integer_filter' #49 @@ -810,21 +810,21 @@ root: struct #153 │ │ │ ├─ variant_2: struct #45 │ │ │ │ └─ [not]: integer #41 │ │ │ ├─ variant_3: struct #46 -│ │ │ │ ├─ [gt]: optional #42 +│ │ │ │ ├─ [gt]: optional 'optional_42' #42 │ │ │ │ │ └─ item: integer #41 -│ │ │ │ ├─ [gte]: optional #42 +│ │ │ │ ├─ [gte]: optional 'optional_42' #42 │ │ │ │ │ └─ item: integer #41 -│ │ │ │ ├─ [lt]: optional #42 +│ │ │ │ ├─ [lt]: optional 'optional_42' #42 │ │ │ │ │ └─ item: integer #41 -│ │ │ │ └─ [lte]: optional #42 +│ │ │ │ └─ [lte]: optional 'optional_42' #42 │ │ │ │ └─ item: integer #41 │ │ │ ├─ variant_4: struct #47 -│ │ │ │ └─ [in]: list #43 +│ │ │ │ └─ [in]: list 'list_43' #43 │ │ │ │ └─ item: integer #41 │ │ │ └─ variant_5: struct #48 -│ │ │ └─ [notIn]: list #43 +│ │ │ └─ [notIn]: list 'list_43' #43 │ │ │ └─ item: integer #41 -│ │ └─ [title]: optional '_86__string_filter_c?' #86 +│ │ └─ [title]: optional 'optional_86' #86 │ │ └─ item: optional '_string_filter_c' #38 │ │ └─ item: union #37 │ │ ├─ variant_0: union '_string_filter' #35 @@ -834,21 +834,21 @@ root: struct #153 │ │ │ ├─ variant_2: struct #27 │ │ │ │ └─ [not]: string #23 │ │ │ ├─ variant_3: struct #28 -│ │ │ │ └─ [in]: list #25 +│ │ │ │ └─ [in]: list 'list_25' #25 │ │ │ │ └─ item: string #23 │ │ │ ├─ variant_4: struct #29 -│ │ │ │ └─ [notIn]: list #25 +│ │ │ │ └─ [notIn]: list 'list_25' #25 │ │ │ │ └─ item: string #23 │ │ │ ├─ variant_5: struct #32 │ │ │ │ ├─ [contains]: string #23 -│ │ │ │ └─ [mode]: optional #31 +│ │ │ │ └─ [mode]: optional 'optional_31' #31 │ │ │ │ └─ item: string #30 enum{ '"insensitive"' } │ │ │ ├─ variant_6: struct #33 │ │ │ │ └─ [search]: string #23 │ │ │ └─ variant_7: struct #34 -│ │ │ ├─ [endsWith]: optional #24 +│ │ │ ├─ [endsWith]: optional 'optional_24' #24 │ │ │ │ └─ item: string #23 -│ │ │ └─ [startsWith]: optional #24 +│ │ │ └─ [startsWith]: optional 'optional_24' #24 │ │ │ └─ item: string #23 │ │ └─ variant_1: struct #36 │ │ └─ [not]: union '_string_filter' #35 @@ -858,25 +858,25 @@ root: struct #153 │ │ ├─ variant_2: struct #27 │ │ │ └─ [not]: string #23 │ │ ├─ variant_3: struct #28 -│ │ │ └─ [in]: list #25 +│ │ │ └─ [in]: list 'list_25' #25 │ │ │ └─ item: string #23 │ │ ├─ variant_4: struct #29 -│ │ │ └─ [notIn]: list #25 +│ │ │ └─ [notIn]: list 'list_25' #25 │ │ │ └─ item: string #23 │ │ ├─ variant_5: struct #32 │ │ │ ├─ [contains]: string #23 -│ │ │ └─ [mode]: optional #31 +│ │ │ └─ [mode]: optional 'optional_31' #31 │ │ │ └─ item: string #30 enum{ '"insensitive"' } │ │ ├─ variant_6: struct #33 │ │ │ └─ [search]: string #23 │ │ └─ variant_7: struct #34 -│ │ ├─ [endsWith]: optional #24 +│ │ ├─ [endsWith]: optional 'optional_24' #24 │ │ │ └─ item: string #23 -│ │ └─ [startsWith]: optional #24 +│ │ └─ [startsWith]: optional 'optional_24' #24 │ │ └─ item: string #23 │ ├─ variant_3: struct #117 │ │ └─ [update]: struct '_Post_UpdateInput_excluding___rel_Post_User_1' #116 -│ │ ├─ [id]: optional #112 +│ │ ├─ [id]: optional 'optional_112' #112 │ │ │ └─ item: union #111 │ │ │ ├─ variant_0: integer #68 │ │ │ ├─ variant_1: struct #107 @@ -887,7 +887,7 @@ root: struct #153 │ │ │ │ └─ [decrement]: integer #68 │ │ │ └─ variant_4: struct #110 │ │ │ └─ [increment]: integer #68 -│ │ └─ [title]: optional #115 +│ │ └─ [title]: optional 'optional_115' #115 │ │ └─ item: union #114 │ │ ├─ variant_0: string #69 │ │ └─ variant_1: struct #113 @@ -895,7 +895,7 @@ root: struct #153 │ ├─ variant_4: struct #120 │ │ └─ [updateMany]: struct #119 │ │ ├─ [data]: struct '_Post_UpdateInput_excluding___rel_Post_User_1' #116 -│ │ │ ├─ [id]: optional #112 +│ │ │ ├─ [id]: optional 'optional_112' #112 │ │ │ │ └─ item: union #111 │ │ │ │ ├─ variant_0: integer #68 │ │ │ │ ├─ variant_1: struct #107 @@ -906,17 +906,17 @@ root: struct #153 │ │ │ │ │ └─ [decrement]: integer #68 │ │ │ │ └─ variant_4: struct #110 │ │ │ │ └─ [increment]: integer #68 -│ │ │ └─ [title]: optional #115 +│ │ │ └─ [title]: optional 'optional_115' #115 │ │ │ └─ item: union #114 │ │ │ ├─ variant_0: string #69 │ │ │ └─ variant_1: struct #113 │ │ │ └─ [set]: string #69 -│ │ └─ [where]: optional #118 +│ │ └─ [where]: optional 'optional_118' #118 │ │ └─ item: union #102 │ │ ├─ variant_0: struct 'PostWhere' #100 -│ │ │ ├─ [author]: optional '_99_UserWhere__skip_71_PostWhere?' #99 +│ │ │ ├─ [author]: optional 'optional_99' #99 │ │ │ │ └─ item: struct 'UserWhere__skip_71_PostWhere' #98 -│ │ │ │ ├─ [id]: optional '_87__integer_filter_c?' #87 +│ │ │ │ ├─ [id]: optional 'optional_87' #87 │ │ │ │ │ └─ item: optional '_integer_filter_c' #52 │ │ │ │ │ └─ item: union #51 │ │ │ │ │ ├─ variant_0: either '_integer_filter' #49 @@ -926,19 +926,19 @@ root: struct #153 │ │ │ │ │ │ ├─ variant_2: struct #45 │ │ │ │ │ │ │ └─ [not]: integer #41 │ │ │ │ │ │ ├─ variant_3: struct #46 -│ │ │ │ │ │ │ ├─ [gt]: optional #42 +│ │ │ │ │ │ │ ├─ [gt]: optional 'optional_42' #42 │ │ │ │ │ │ │ │ └─ item: integer #41 -│ │ │ │ │ │ │ ├─ [gte]: optional #42 +│ │ │ │ │ │ │ ├─ [gte]: optional 'optional_42' #42 │ │ │ │ │ │ │ │ └─ item: integer #41 -│ │ │ │ │ │ │ ├─ [lt]: optional #42 +│ │ │ │ │ │ │ ├─ [lt]: optional 'optional_42' #42 │ │ │ │ │ │ │ │ └─ item: integer #41 -│ │ │ │ │ │ │ └─ [lte]: optional #42 +│ │ │ │ │ │ │ └─ [lte]: optional 'optional_42' #42 │ │ │ │ │ │ │ └─ item: integer #41 │ │ │ │ │ │ ├─ variant_4: struct #47 -│ │ │ │ │ │ │ └─ [in]: list #43 +│ │ │ │ │ │ │ └─ [in]: list 'list_43' #43 │ │ │ │ │ │ │ └─ item: integer #41 │ │ │ │ │ │ └─ variant_5: struct #48 -│ │ │ │ │ │ └─ [notIn]: list #43 +│ │ │ │ │ │ └─ [notIn]: list 'list_43' #43 │ │ │ │ │ │ └─ item: integer #41 │ │ │ │ │ └─ variant_1: struct #50 │ │ │ │ │ └─ [not]: either '_integer_filter' #49 @@ -948,21 +948,21 @@ root: struct #153 │ │ │ │ │ ├─ variant_2: struct #45 │ │ │ │ │ │ └─ [not]: integer #41 │ │ │ │ │ ├─ variant_3: struct #46 -│ │ │ │ │ │ ├─ [gt]: optional #42 +│ │ │ │ │ │ ├─ [gt]: optional 'optional_42' #42 │ │ │ │ │ │ │ └─ item: integer #41 -│ │ │ │ │ │ ├─ [gte]: optional #42 +│ │ │ │ │ │ ├─ [gte]: optional 'optional_42' #42 │ │ │ │ │ │ │ └─ item: integer #41 -│ │ │ │ │ │ ├─ [lt]: optional #42 +│ │ │ │ │ │ ├─ [lt]: optional 'optional_42' #42 │ │ │ │ │ │ │ └─ item: integer #41 -│ │ │ │ │ │ └─ [lte]: optional #42 +│ │ │ │ │ │ └─ [lte]: optional 'optional_42' #42 │ │ │ │ │ │ └─ item: integer #41 │ │ │ │ │ ├─ variant_4: struct #47 -│ │ │ │ │ │ └─ [in]: list #43 +│ │ │ │ │ │ └─ [in]: list 'list_43' #43 │ │ │ │ │ │ └─ item: integer #41 │ │ │ │ │ └─ variant_5: struct #48 -│ │ │ │ │ └─ [notIn]: list #43 +│ │ │ │ │ └─ [notIn]: list 'list_43' #43 │ │ │ │ │ └─ item: integer #41 -│ │ │ │ ├─ [name]: optional '_88__string_filter_c?' #88 +│ │ │ │ ├─ [name]: optional 'optional_88' #88 │ │ │ │ │ └─ item: optional '_string_filter_c' #38 │ │ │ │ │ └─ item: union #37 │ │ │ │ │ ├─ variant_0: union '_string_filter' #35 @@ -972,21 +972,21 @@ root: struct #153 │ │ │ │ │ │ ├─ variant_2: struct #27 │ │ │ │ │ │ │ └─ [not]: string #23 │ │ │ │ │ │ ├─ variant_3: struct #28 -│ │ │ │ │ │ │ └─ [in]: list #25 +│ │ │ │ │ │ │ └─ [in]: list 'list_25' #25 │ │ │ │ │ │ │ └─ item: string #23 │ │ │ │ │ │ ├─ variant_4: struct #29 -│ │ │ │ │ │ │ └─ [notIn]: list #25 +│ │ │ │ │ │ │ └─ [notIn]: list 'list_25' #25 │ │ │ │ │ │ │ └─ item: string #23 │ │ │ │ │ │ ├─ variant_5: struct #32 │ │ │ │ │ │ │ ├─ [contains]: string #23 -│ │ │ │ │ │ │ └─ [mode]: optional #31 +│ │ │ │ │ │ │ └─ [mode]: optional 'optional_31' #31 │ │ │ │ │ │ │ └─ item: string #30 enum{ '"insensitive"' } │ │ │ │ │ │ ├─ variant_6: struct #33 │ │ │ │ │ │ │ └─ [search]: string #23 │ │ │ │ │ │ └─ variant_7: struct #34 -│ │ │ │ │ │ ├─ [endsWith]: optional #24 +│ │ │ │ │ │ ├─ [endsWith]: optional 'optional_24' #24 │ │ │ │ │ │ │ └─ item: string #23 -│ │ │ │ │ │ └─ [startsWith]: optional #24 +│ │ │ │ │ │ └─ [startsWith]: optional 'optional_24' #24 │ │ │ │ │ │ └─ item: string #23 │ │ │ │ │ └─ variant_1: struct #36 │ │ │ │ │ └─ [not]: union '_string_filter' #35 @@ -996,34 +996,34 @@ root: struct #153 │ │ │ │ │ ├─ variant_2: struct #27 │ │ │ │ │ │ └─ [not]: string #23 │ │ │ │ │ ├─ variant_3: struct #28 -│ │ │ │ │ │ └─ [in]: list #25 +│ │ │ │ │ │ └─ [in]: list 'list_25' #25 │ │ │ │ │ │ └─ item: string #23 │ │ │ │ │ ├─ variant_4: struct #29 -│ │ │ │ │ │ └─ [notIn]: list #25 +│ │ │ │ │ │ └─ [notIn]: list 'list_25' #25 │ │ │ │ │ │ └─ item: string #23 │ │ │ │ │ ├─ variant_5: struct #32 │ │ │ │ │ │ ├─ [contains]: string #23 -│ │ │ │ │ │ └─ [mode]: optional #31 +│ │ │ │ │ │ └─ [mode]: optional 'optional_31' #31 │ │ │ │ │ │ └─ item: string #30 enum{ '"insensitive"' } │ │ │ │ │ ├─ variant_6: struct #33 │ │ │ │ │ │ └─ [search]: string #23 │ │ │ │ │ └─ variant_7: struct #34 -│ │ │ │ │ ├─ [endsWith]: optional #24 +│ │ │ │ │ ├─ [endsWith]: optional 'optional_24' #24 │ │ │ │ │ │ └─ item: string #23 -│ │ │ │ │ └─ [startsWith]: optional #24 +│ │ │ │ │ └─ [startsWith]: optional 'optional_24' #24 │ │ │ │ │ └─ item: string #23 -│ │ │ │ └─ [posts]: optional #97 +│ │ │ │ └─ [posts]: optional 'optional_97' #97 │ │ │ │ └─ item: union #96 │ │ │ │ ├─ variant_0: struct #91 -│ │ │ │ │ └─ [every]: optional '_90_PostWhere?' #90 +│ │ │ │ │ └─ [every]: optional 'optional_90' #90 │ │ │ │ │ └─ item: &PostWhere #89 │ │ │ │ ├─ variant_1: struct #93 -│ │ │ │ │ └─ [some]: optional '_92_PostWhere?' #92 +│ │ │ │ │ └─ [some]: optional 'optional_92' #92 │ │ │ │ │ └─ item: &PostWhere #89 │ │ │ │ └─ variant_2: struct #95 -│ │ │ │ └─ [none]: optional '_94_PostWhere?' #94 +│ │ │ │ └─ [none]: optional 'optional_94' #94 │ │ │ │ └─ item: &PostWhere #89 -│ │ │ ├─ [id]: optional '_85__integer_filter_c?' #85 +│ │ │ ├─ [id]: optional 'optional_85' #85 │ │ │ │ └─ item: optional '_integer_filter_c' #52 │ │ │ │ └─ item: union #51 │ │ │ │ ├─ variant_0: either '_integer_filter' #49 @@ -1033,19 +1033,19 @@ root: struct #153 │ │ │ │ │ ├─ variant_2: struct #45 │ │ │ │ │ │ └─ [not]: integer #41 │ │ │ │ │ ├─ variant_3: struct #46 -│ │ │ │ │ │ ├─ [gt]: optional #42 +│ │ │ │ │ │ ├─ [gt]: optional 'optional_42' #42 │ │ │ │ │ │ │ └─ item: integer #41 -│ │ │ │ │ │ ├─ [gte]: optional #42 +│ │ │ │ │ │ ├─ [gte]: optional 'optional_42' #42 │ │ │ │ │ │ │ └─ item: integer #41 -│ │ │ │ │ │ ├─ [lt]: optional #42 +│ │ │ │ │ │ ├─ [lt]: optional 'optional_42' #42 │ │ │ │ │ │ │ └─ item: integer #41 -│ │ │ │ │ │ └─ [lte]: optional #42 +│ │ │ │ │ │ └─ [lte]: optional 'optional_42' #42 │ │ │ │ │ │ └─ item: integer #41 │ │ │ │ │ ├─ variant_4: struct #47 -│ │ │ │ │ │ └─ [in]: list #43 +│ │ │ │ │ │ └─ [in]: list 'list_43' #43 │ │ │ │ │ │ └─ item: integer #41 │ │ │ │ │ └─ variant_5: struct #48 -│ │ │ │ │ └─ [notIn]: list #43 +│ │ │ │ │ └─ [notIn]: list 'list_43' #43 │ │ │ │ │ └─ item: integer #41 │ │ │ │ └─ variant_1: struct #50 │ │ │ │ └─ [not]: either '_integer_filter' #49 @@ -1055,21 +1055,21 @@ root: struct #153 │ │ │ │ ├─ variant_2: struct #45 │ │ │ │ │ └─ [not]: integer #41 │ │ │ │ ├─ variant_3: struct #46 -│ │ │ │ │ ├─ [gt]: optional #42 +│ │ │ │ │ ├─ [gt]: optional 'optional_42' #42 │ │ │ │ │ │ └─ item: integer #41 -│ │ │ │ │ ├─ [gte]: optional #42 +│ │ │ │ │ ├─ [gte]: optional 'optional_42' #42 │ │ │ │ │ │ └─ item: integer #41 -│ │ │ │ │ ├─ [lt]: optional #42 +│ │ │ │ │ ├─ [lt]: optional 'optional_42' #42 │ │ │ │ │ │ └─ item: integer #41 -│ │ │ │ │ └─ [lte]: optional #42 +│ │ │ │ │ └─ [lte]: optional 'optional_42' #42 │ │ │ │ │ └─ item: integer #41 │ │ │ │ ├─ variant_4: struct #47 -│ │ │ │ │ └─ [in]: list #43 +│ │ │ │ │ └─ [in]: list 'list_43' #43 │ │ │ │ │ └─ item: integer #41 │ │ │ │ └─ variant_5: struct #48 -│ │ │ │ └─ [notIn]: list #43 +│ │ │ │ └─ [notIn]: list 'list_43' #43 │ │ │ │ └─ item: integer #41 -│ │ │ └─ [title]: optional '_86__string_filter_c?' #86 +│ │ │ └─ [title]: optional 'optional_86' #86 │ │ │ └─ item: optional '_string_filter_c' #38 │ │ │ └─ item: union #37 │ │ │ ├─ variant_0: union '_string_filter' #35 @@ -1079,21 +1079,21 @@ root: struct #153 │ │ │ │ ├─ variant_2: struct #27 │ │ │ │ │ └─ [not]: string #23 │ │ │ │ ├─ variant_3: struct #28 -│ │ │ │ │ └─ [in]: list #25 +│ │ │ │ │ └─ [in]: list 'list_25' #25 │ │ │ │ │ └─ item: string #23 │ │ │ │ ├─ variant_4: struct #29 -│ │ │ │ │ └─ [notIn]: list #25 +│ │ │ │ │ └─ [notIn]: list 'list_25' #25 │ │ │ │ │ └─ item: string #23 │ │ │ │ ├─ variant_5: struct #32 │ │ │ │ │ ├─ [contains]: string #23 -│ │ │ │ │ └─ [mode]: optional #31 +│ │ │ │ │ └─ [mode]: optional 'optional_31' #31 │ │ │ │ │ └─ item: string #30 enum{ '"insensitive"' } │ │ │ │ ├─ variant_6: struct #33 │ │ │ │ │ └─ [search]: string #23 │ │ │ │ └─ variant_7: struct #34 -│ │ │ │ ├─ [endsWith]: optional #24 +│ │ │ │ ├─ [endsWith]: optional 'optional_24' #24 │ │ │ │ │ └─ item: string #23 -│ │ │ │ └─ [startsWith]: optional #24 +│ │ │ │ └─ [startsWith]: optional 'optional_24' #24 │ │ │ │ └─ item: string #23 │ │ │ └─ variant_1: struct #36 │ │ │ └─ [not]: union '_string_filter' #35 @@ -1103,27 +1103,27 @@ root: struct #153 │ │ │ ├─ variant_2: struct #27 │ │ │ │ └─ [not]: string #23 │ │ │ ├─ variant_3: struct #28 -│ │ │ │ └─ [in]: list #25 +│ │ │ │ └─ [in]: list 'list_25' #25 │ │ │ │ └─ item: string #23 │ │ │ ├─ variant_4: struct #29 -│ │ │ │ └─ [notIn]: list #25 +│ │ │ │ └─ [notIn]: list 'list_25' #25 │ │ │ │ └─ item: string #23 │ │ │ ├─ variant_5: struct #32 │ │ │ │ ├─ [contains]: string #23 -│ │ │ │ └─ [mode]: optional #31 +│ │ │ │ └─ [mode]: optional 'optional_31' #31 │ │ │ │ └─ item: string #30 enum{ '"insensitive"' } │ │ │ ├─ variant_6: struct #33 │ │ │ │ └─ [search]: string #23 │ │ │ └─ variant_7: struct #34 -│ │ │ ├─ [endsWith]: optional #24 +│ │ │ ├─ [endsWith]: optional 'optional_24' #24 │ │ │ │ └─ item: string #23 -│ │ │ └─ [startsWith]: optional #24 +│ │ │ └─ [startsWith]: optional 'optional_24' #24 │ │ │ └─ item: string #23 -│ │ └─ variant_1: list '_101_PostWhere[]' #101 +│ │ └─ variant_1: list 'list_101' #101 │ │ └─ item: struct 'PostWhere' #100 -│ │ ├─ [author]: optional '_99_UserWhere__skip_71_PostWhere?' #99 +│ │ ├─ [author]: optional 'optional_99' #99 │ │ │ └─ item: struct 'UserWhere__skip_71_PostWhere' #98 -│ │ │ ├─ [id]: optional '_87__integer_filter_c?' #87 +│ │ │ ├─ [id]: optional 'optional_87' #87 │ │ │ │ └─ item: optional '_integer_filter_c' #52 │ │ │ │ └─ item: union #51 │ │ │ │ ├─ variant_0: either '_integer_filter' #49 @@ -1133,19 +1133,19 @@ root: struct #153 │ │ │ │ │ ├─ variant_2: struct #45 │ │ │ │ │ │ └─ [not]: integer #41 │ │ │ │ │ ├─ variant_3: struct #46 -│ │ │ │ │ │ ├─ [gt]: optional #42 +│ │ │ │ │ │ ├─ [gt]: optional 'optional_42' #42 │ │ │ │ │ │ │ └─ item: integer #41 -│ │ │ │ │ │ ├─ [gte]: optional #42 +│ │ │ │ │ │ ├─ [gte]: optional 'optional_42' #42 │ │ │ │ │ │ │ └─ item: integer #41 -│ │ │ │ │ │ ├─ [lt]: optional #42 +│ │ │ │ │ │ ├─ [lt]: optional 'optional_42' #42 │ │ │ │ │ │ │ └─ item: integer #41 -│ │ │ │ │ │ └─ [lte]: optional #42 +│ │ │ │ │ │ └─ [lte]: optional 'optional_42' #42 │ │ │ │ │ │ └─ item: integer #41 │ │ │ │ │ ├─ variant_4: struct #47 -│ │ │ │ │ │ └─ [in]: list #43 +│ │ │ │ │ │ └─ [in]: list 'list_43' #43 │ │ │ │ │ │ └─ item: integer #41 │ │ │ │ │ └─ variant_5: struct #48 -│ │ │ │ │ └─ [notIn]: list #43 +│ │ │ │ │ └─ [notIn]: list 'list_43' #43 │ │ │ │ │ └─ item: integer #41 │ │ │ │ └─ variant_1: struct #50 │ │ │ │ └─ [not]: either '_integer_filter' #49 @@ -1155,21 +1155,21 @@ root: struct #153 │ │ │ │ ├─ variant_2: struct #45 │ │ │ │ │ └─ [not]: integer #41 │ │ │ │ ├─ variant_3: struct #46 -│ │ │ │ │ ├─ [gt]: optional #42 +│ │ │ │ │ ├─ [gt]: optional 'optional_42' #42 │ │ │ │ │ │ └─ item: integer #41 -│ │ │ │ │ ├─ [gte]: optional #42 +│ │ │ │ │ ├─ [gte]: optional 'optional_42' #42 │ │ │ │ │ │ └─ item: integer #41 -│ │ │ │ │ ├─ [lt]: optional #42 +│ │ │ │ │ ├─ [lt]: optional 'optional_42' #42 │ │ │ │ │ │ └─ item: integer #41 -│ │ │ │ │ └─ [lte]: optional #42 +│ │ │ │ │ └─ [lte]: optional 'optional_42' #42 │ │ │ │ │ └─ item: integer #41 │ │ │ │ ├─ variant_4: struct #47 -│ │ │ │ │ └─ [in]: list #43 +│ │ │ │ │ └─ [in]: list 'list_43' #43 │ │ │ │ │ └─ item: integer #41 │ │ │ │ └─ variant_5: struct #48 -│ │ │ │ └─ [notIn]: list #43 +│ │ │ │ └─ [notIn]: list 'list_43' #43 │ │ │ │ └─ item: integer #41 -│ │ │ ├─ [name]: optional '_88__string_filter_c?' #88 +│ │ │ ├─ [name]: optional 'optional_88' #88 │ │ │ │ └─ item: optional '_string_filter_c' #38 │ │ │ │ └─ item: union #37 │ │ │ │ ├─ variant_0: union '_string_filter' #35 @@ -1179,21 +1179,21 @@ root: struct #153 │ │ │ │ │ ├─ variant_2: struct #27 │ │ │ │ │ │ └─ [not]: string #23 │ │ │ │ │ ├─ variant_3: struct #28 -│ │ │ │ │ │ └─ [in]: list #25 +│ │ │ │ │ │ └─ [in]: list 'list_25' #25 │ │ │ │ │ │ └─ item: string #23 │ │ │ │ │ ├─ variant_4: struct #29 -│ │ │ │ │ │ └─ [notIn]: list #25 +│ │ │ │ │ │ └─ [notIn]: list 'list_25' #25 │ │ │ │ │ │ └─ item: string #23 │ │ │ │ │ ├─ variant_5: struct #32 │ │ │ │ │ │ ├─ [contains]: string #23 -│ │ │ │ │ │ └─ [mode]: optional #31 +│ │ │ │ │ │ └─ [mode]: optional 'optional_31' #31 │ │ │ │ │ │ └─ item: string #30 enum{ '"insensitive"' } │ │ │ │ │ ├─ variant_6: struct #33 │ │ │ │ │ │ └─ [search]: string #23 │ │ │ │ │ └─ variant_7: struct #34 -│ │ │ │ │ ├─ [endsWith]: optional #24 +│ │ │ │ │ ├─ [endsWith]: optional 'optional_24' #24 │ │ │ │ │ │ └─ item: string #23 -│ │ │ │ │ └─ [startsWith]: optional #24 +│ │ │ │ │ └─ [startsWith]: optional 'optional_24' #24 │ │ │ │ │ └─ item: string #23 │ │ │ │ └─ variant_1: struct #36 │ │ │ │ └─ [not]: union '_string_filter' #35 @@ -1203,34 +1203,34 @@ root: struct #153 │ │ │ │ ├─ variant_2: struct #27 │ │ │ │ │ └─ [not]: string #23 │ │ │ │ ├─ variant_3: struct #28 -│ │ │ │ │ └─ [in]: list #25 +│ │ │ │ │ └─ [in]: list 'list_25' #25 │ │ │ │ │ └─ item: string #23 │ │ │ │ ├─ variant_4: struct #29 -│ │ │ │ │ └─ [notIn]: list #25 +│ │ │ │ │ └─ [notIn]: list 'list_25' #25 │ │ │ │ │ └─ item: string #23 │ │ │ │ ├─ variant_5: struct #32 │ │ │ │ │ ├─ [contains]: string #23 -│ │ │ │ │ └─ [mode]: optional #31 +│ │ │ │ │ └─ [mode]: optional 'optional_31' #31 │ │ │ │ │ └─ item: string #30 enum{ '"insensitive"' } │ │ │ │ ├─ variant_6: struct #33 │ │ │ │ │ └─ [search]: string #23 │ │ │ │ └─ variant_7: struct #34 -│ │ │ │ ├─ [endsWith]: optional #24 +│ │ │ │ ├─ [endsWith]: optional 'optional_24' #24 │ │ │ │ │ └─ item: string #23 -│ │ │ │ └─ [startsWith]: optional #24 +│ │ │ │ └─ [startsWith]: optional 'optional_24' #24 │ │ │ │ └─ item: string #23 -│ │ │ └─ [posts]: optional #97 +│ │ │ └─ [posts]: optional 'optional_97' #97 │ │ │ └─ item: union #96 │ │ │ ├─ variant_0: struct #91 -│ │ │ │ └─ [every]: optional '_90_PostWhere?' #90 +│ │ │ │ └─ [every]: optional 'optional_90' #90 │ │ │ │ └─ item: &PostWhere #89 │ │ │ ├─ variant_1: struct #93 -│ │ │ │ └─ [some]: optional '_92_PostWhere?' #92 +│ │ │ │ └─ [some]: optional 'optional_92' #92 │ │ │ │ └─ item: &PostWhere #89 │ │ │ └─ variant_2: struct #95 -│ │ │ └─ [none]: optional '_94_PostWhere?' #94 +│ │ │ └─ [none]: optional 'optional_94' #94 │ │ │ └─ item: &PostWhere #89 -│ │ ├─ [id]: optional '_85__integer_filter_c?' #85 +│ │ ├─ [id]: optional 'optional_85' #85 │ │ │ └─ item: optional '_integer_filter_c' #52 │ │ │ └─ item: union #51 │ │ │ ├─ variant_0: either '_integer_filter' #49 @@ -1240,19 +1240,19 @@ root: struct #153 │ │ │ │ ├─ variant_2: struct #45 │ │ │ │ │ └─ [not]: integer #41 │ │ │ │ ├─ variant_3: struct #46 -│ │ │ │ │ ├─ [gt]: optional #42 +│ │ │ │ │ ├─ [gt]: optional 'optional_42' #42 │ │ │ │ │ │ └─ item: integer #41 -│ │ │ │ │ ├─ [gte]: optional #42 +│ │ │ │ │ ├─ [gte]: optional 'optional_42' #42 │ │ │ │ │ │ └─ item: integer #41 -│ │ │ │ │ ├─ [lt]: optional #42 +│ │ │ │ │ ├─ [lt]: optional 'optional_42' #42 │ │ │ │ │ │ └─ item: integer #41 -│ │ │ │ │ └─ [lte]: optional #42 +│ │ │ │ │ └─ [lte]: optional 'optional_42' #42 │ │ │ │ │ └─ item: integer #41 │ │ │ │ ├─ variant_4: struct #47 -│ │ │ │ │ └─ [in]: list #43 +│ │ │ │ │ └─ [in]: list 'list_43' #43 │ │ │ │ │ └─ item: integer #41 │ │ │ │ └─ variant_5: struct #48 -│ │ │ │ └─ [notIn]: list #43 +│ │ │ │ └─ [notIn]: list 'list_43' #43 │ │ │ │ └─ item: integer #41 │ │ │ └─ variant_1: struct #50 │ │ │ └─ [not]: either '_integer_filter' #49 @@ -1262,21 +1262,21 @@ root: struct #153 │ │ │ ├─ variant_2: struct #45 │ │ │ │ └─ [not]: integer #41 │ │ │ ├─ variant_3: struct #46 -│ │ │ │ ├─ [gt]: optional #42 +│ │ │ │ ├─ [gt]: optional 'optional_42' #42 │ │ │ │ │ └─ item: integer #41 -│ │ │ │ ├─ [gte]: optional #42 +│ │ │ │ ├─ [gte]: optional 'optional_42' #42 │ │ │ │ │ └─ item: integer #41 -│ │ │ │ ├─ [lt]: optional #42 +│ │ │ │ ├─ [lt]: optional 'optional_42' #42 │ │ │ │ │ └─ item: integer #41 -│ │ │ │ └─ [lte]: optional #42 +│ │ │ │ └─ [lte]: optional 'optional_42' #42 │ │ │ │ └─ item: integer #41 │ │ │ ├─ variant_4: struct #47 -│ │ │ │ └─ [in]: list #43 +│ │ │ │ └─ [in]: list 'list_43' #43 │ │ │ │ └─ item: integer #41 │ │ │ └─ variant_5: struct #48 -│ │ │ └─ [notIn]: list #43 +│ │ │ └─ [notIn]: list 'list_43' #43 │ │ │ └─ item: integer #41 -│ │ └─ [title]: optional '_86__string_filter_c?' #86 +│ │ └─ [title]: optional 'optional_86' #86 │ │ └─ item: optional '_string_filter_c' #38 │ │ └─ item: union #37 │ │ ├─ variant_0: union '_string_filter' #35 @@ -1286,21 +1286,21 @@ root: struct #153 │ │ │ ├─ variant_2: struct #27 │ │ │ │ └─ [not]: string #23 │ │ │ ├─ variant_3: struct #28 -│ │ │ │ └─ [in]: list #25 +│ │ │ │ └─ [in]: list 'list_25' #25 │ │ │ │ └─ item: string #23 │ │ │ ├─ variant_4: struct #29 -│ │ │ │ └─ [notIn]: list #25 +│ │ │ │ └─ [notIn]: list 'list_25' #25 │ │ │ │ └─ item: string #23 │ │ │ ├─ variant_5: struct #32 │ │ │ │ ├─ [contains]: string #23 -│ │ │ │ └─ [mode]: optional #31 +│ │ │ │ └─ [mode]: optional 'optional_31' #31 │ │ │ │ └─ item: string #30 enum{ '"insensitive"' } │ │ │ ├─ variant_6: struct #33 │ │ │ │ └─ [search]: string #23 │ │ │ └─ variant_7: struct #34 -│ │ │ ├─ [endsWith]: optional #24 +│ │ │ ├─ [endsWith]: optional 'optional_24' #24 │ │ │ │ └─ item: string #23 -│ │ │ └─ [startsWith]: optional #24 +│ │ │ └─ [startsWith]: optional 'optional_24' #24 │ │ │ └─ item: string #23 │ │ └─ variant_1: struct #36 │ │ └─ [not]: union '_string_filter' #35 @@ -1310,30 +1310,30 @@ root: struct #153 │ │ ├─ variant_2: struct #27 │ │ │ └─ [not]: string #23 │ │ ├─ variant_3: struct #28 -│ │ │ └─ [in]: list #25 +│ │ │ └─ [in]: list 'list_25' #25 │ │ │ └─ item: string #23 │ │ ├─ variant_4: struct #29 -│ │ │ └─ [notIn]: list #25 +│ │ │ └─ [notIn]: list 'list_25' #25 │ │ │ └─ item: string #23 │ │ ├─ variant_5: struct #32 │ │ │ ├─ [contains]: string #23 -│ │ │ └─ [mode]: optional #31 +│ │ │ └─ [mode]: optional 'optional_31' #31 │ │ │ └─ item: string #30 enum{ '"insensitive"' } │ │ ├─ variant_6: struct #33 │ │ │ └─ [search]: string #23 │ │ └─ variant_7: struct #34 -│ │ ├─ [endsWith]: optional #24 +│ │ ├─ [endsWith]: optional 'optional_24' #24 │ │ │ └─ item: string #23 -│ │ └─ [startsWith]: optional #24 +│ │ └─ [startsWith]: optional 'optional_24' #24 │ │ └─ item: string #23 │ ├─ variant_5: struct #123 │ │ └─ [deleteMany]: struct #122 -│ │ └─ [where]: optional #121 +│ │ └─ [where]: optional 'optional_121' #121 │ │ └─ item: union #102 │ │ ├─ variant_0: struct 'PostWhere' #100 -│ │ │ ├─ [author]: optional '_99_UserWhere__skip_71_PostWhere?' #99 +│ │ │ ├─ [author]: optional 'optional_99' #99 │ │ │ │ └─ item: struct 'UserWhere__skip_71_PostWhere' #98 -│ │ │ │ ├─ [id]: optional '_87__integer_filter_c?' #87 +│ │ │ │ ├─ [id]: optional 'optional_87' #87 │ │ │ │ │ └─ item: optional '_integer_filter_c' #52 │ │ │ │ │ └─ item: union #51 │ │ │ │ │ ├─ variant_0: either '_integer_filter' #49 @@ -1343,19 +1343,19 @@ root: struct #153 │ │ │ │ │ │ ├─ variant_2: struct #45 │ │ │ │ │ │ │ └─ [not]: integer #41 │ │ │ │ │ │ ├─ variant_3: struct #46 -│ │ │ │ │ │ │ ├─ [gt]: optional #42 +│ │ │ │ │ │ │ ├─ [gt]: optional 'optional_42' #42 │ │ │ │ │ │ │ │ └─ item: integer #41 -│ │ │ │ │ │ │ ├─ [gte]: optional #42 +│ │ │ │ │ │ │ ├─ [gte]: optional 'optional_42' #42 │ │ │ │ │ │ │ │ └─ item: integer #41 -│ │ │ │ │ │ │ ├─ [lt]: optional #42 +│ │ │ │ │ │ │ ├─ [lt]: optional 'optional_42' #42 │ │ │ │ │ │ │ │ └─ item: integer #41 -│ │ │ │ │ │ │ └─ [lte]: optional #42 +│ │ │ │ │ │ │ └─ [lte]: optional 'optional_42' #42 │ │ │ │ │ │ │ └─ item: integer #41 │ │ │ │ │ │ ├─ variant_4: struct #47 -│ │ │ │ │ │ │ └─ [in]: list #43 +│ │ │ │ │ │ │ └─ [in]: list 'list_43' #43 │ │ │ │ │ │ │ └─ item: integer #41 │ │ │ │ │ │ └─ variant_5: struct #48 -│ │ │ │ │ │ └─ [notIn]: list #43 +│ │ │ │ │ │ └─ [notIn]: list 'list_43' #43 │ │ │ │ │ │ └─ item: integer #41 │ │ │ │ │ └─ variant_1: struct #50 │ │ │ │ │ └─ [not]: either '_integer_filter' #49 @@ -1365,21 +1365,21 @@ root: struct #153 │ │ │ │ │ ├─ variant_2: struct #45 │ │ │ │ │ │ └─ [not]: integer #41 │ │ │ │ │ ├─ variant_3: struct #46 -│ │ │ │ │ │ ├─ [gt]: optional #42 +│ │ │ │ │ │ ├─ [gt]: optional 'optional_42' #42 │ │ │ │ │ │ │ └─ item: integer #41 -│ │ │ │ │ │ ├─ [gte]: optional #42 +│ │ │ │ │ │ ├─ [gte]: optional 'optional_42' #42 │ │ │ │ │ │ │ └─ item: integer #41 -│ │ │ │ │ │ ├─ [lt]: optional #42 +│ │ │ │ │ │ ├─ [lt]: optional 'optional_42' #42 │ │ │ │ │ │ │ └─ item: integer #41 -│ │ │ │ │ │ └─ [lte]: optional #42 +│ │ │ │ │ │ └─ [lte]: optional 'optional_42' #42 │ │ │ │ │ │ └─ item: integer #41 │ │ │ │ │ ├─ variant_4: struct #47 -│ │ │ │ │ │ └─ [in]: list #43 +│ │ │ │ │ │ └─ [in]: list 'list_43' #43 │ │ │ │ │ │ └─ item: integer #41 │ │ │ │ │ └─ variant_5: struct #48 -│ │ │ │ │ └─ [notIn]: list #43 +│ │ │ │ │ └─ [notIn]: list 'list_43' #43 │ │ │ │ │ └─ item: integer #41 -│ │ │ │ ├─ [name]: optional '_88__string_filter_c?' #88 +│ │ │ │ ├─ [name]: optional 'optional_88' #88 │ │ │ │ │ └─ item: optional '_string_filter_c' #38 │ │ │ │ │ └─ item: union #37 │ │ │ │ │ ├─ variant_0: union '_string_filter' #35 @@ -1389,21 +1389,21 @@ root: struct #153 │ │ │ │ │ │ ├─ variant_2: struct #27 │ │ │ │ │ │ │ └─ [not]: string #23 │ │ │ │ │ │ ├─ variant_3: struct #28 -│ │ │ │ │ │ │ └─ [in]: list #25 +│ │ │ │ │ │ │ └─ [in]: list 'list_25' #25 │ │ │ │ │ │ │ └─ item: string #23 │ │ │ │ │ │ ├─ variant_4: struct #29 -│ │ │ │ │ │ │ └─ [notIn]: list #25 +│ │ │ │ │ │ │ └─ [notIn]: list 'list_25' #25 │ │ │ │ │ │ │ └─ item: string #23 │ │ │ │ │ │ ├─ variant_5: struct #32 │ │ │ │ │ │ │ ├─ [contains]: string #23 -│ │ │ │ │ │ │ └─ [mode]: optional #31 +│ │ │ │ │ │ │ └─ [mode]: optional 'optional_31' #31 │ │ │ │ │ │ │ └─ item: string #30 enum{ '"insensitive"' } │ │ │ │ │ │ ├─ variant_6: struct #33 │ │ │ │ │ │ │ └─ [search]: string #23 │ │ │ │ │ │ └─ variant_7: struct #34 -│ │ │ │ │ │ ├─ [endsWith]: optional #24 +│ │ │ │ │ │ ├─ [endsWith]: optional 'optional_24' #24 │ │ │ │ │ │ │ └─ item: string #23 -│ │ │ │ │ │ └─ [startsWith]: optional #24 +│ │ │ │ │ │ └─ [startsWith]: optional 'optional_24' #24 │ │ │ │ │ │ └─ item: string #23 │ │ │ │ │ └─ variant_1: struct #36 │ │ │ │ │ └─ [not]: union '_string_filter' #35 @@ -1413,34 +1413,34 @@ root: struct #153 │ │ │ │ │ ├─ variant_2: struct #27 │ │ │ │ │ │ └─ [not]: string #23 │ │ │ │ │ ├─ variant_3: struct #28 -│ │ │ │ │ │ └─ [in]: list #25 +│ │ │ │ │ │ └─ [in]: list 'list_25' #25 │ │ │ │ │ │ └─ item: string #23 │ │ │ │ │ ├─ variant_4: struct #29 -│ │ │ │ │ │ └─ [notIn]: list #25 +│ │ │ │ │ │ └─ [notIn]: list 'list_25' #25 │ │ │ │ │ │ └─ item: string #23 │ │ │ │ │ ├─ variant_5: struct #32 │ │ │ │ │ │ ├─ [contains]: string #23 -│ │ │ │ │ │ └─ [mode]: optional #31 +│ │ │ │ │ │ └─ [mode]: optional 'optional_31' #31 │ │ │ │ │ │ └─ item: string #30 enum{ '"insensitive"' } │ │ │ │ │ ├─ variant_6: struct #33 │ │ │ │ │ │ └─ [search]: string #23 │ │ │ │ │ └─ variant_7: struct #34 -│ │ │ │ │ ├─ [endsWith]: optional #24 +│ │ │ │ │ ├─ [endsWith]: optional 'optional_24' #24 │ │ │ │ │ │ └─ item: string #23 -│ │ │ │ │ └─ [startsWith]: optional #24 +│ │ │ │ │ └─ [startsWith]: optional 'optional_24' #24 │ │ │ │ │ └─ item: string #23 -│ │ │ │ └─ [posts]: optional #97 +│ │ │ │ └─ [posts]: optional 'optional_97' #97 │ │ │ │ └─ item: union #96 │ │ │ │ ├─ variant_0: struct #91 -│ │ │ │ │ └─ [every]: optional '_90_PostWhere?' #90 +│ │ │ │ │ └─ [every]: optional 'optional_90' #90 │ │ │ │ │ └─ item: &PostWhere #89 │ │ │ │ ├─ variant_1: struct #93 -│ │ │ │ │ └─ [some]: optional '_92_PostWhere?' #92 +│ │ │ │ │ └─ [some]: optional 'optional_92' #92 │ │ │ │ │ └─ item: &PostWhere #89 │ │ │ │ └─ variant_2: struct #95 -│ │ │ │ └─ [none]: optional '_94_PostWhere?' #94 +│ │ │ │ └─ [none]: optional 'optional_94' #94 │ │ │ │ └─ item: &PostWhere #89 -│ │ │ ├─ [id]: optional '_85__integer_filter_c?' #85 +│ │ │ ├─ [id]: optional 'optional_85' #85 │ │ │ │ └─ item: optional '_integer_filter_c' #52 │ │ │ │ └─ item: union #51 │ │ │ │ ├─ variant_0: either '_integer_filter' #49 @@ -1450,19 +1450,19 @@ root: struct #153 │ │ │ │ │ ├─ variant_2: struct #45 │ │ │ │ │ │ └─ [not]: integer #41 │ │ │ │ │ ├─ variant_3: struct #46 -│ │ │ │ │ │ ├─ [gt]: optional #42 +│ │ │ │ │ │ ├─ [gt]: optional 'optional_42' #42 │ │ │ │ │ │ │ └─ item: integer #41 -│ │ │ │ │ │ ├─ [gte]: optional #42 +│ │ │ │ │ │ ├─ [gte]: optional 'optional_42' #42 │ │ │ │ │ │ │ └─ item: integer #41 -│ │ │ │ │ │ ├─ [lt]: optional #42 +│ │ │ │ │ │ ├─ [lt]: optional 'optional_42' #42 │ │ │ │ │ │ │ └─ item: integer #41 -│ │ │ │ │ │ └─ [lte]: optional #42 +│ │ │ │ │ │ └─ [lte]: optional 'optional_42' #42 │ │ │ │ │ │ └─ item: integer #41 │ │ │ │ │ ├─ variant_4: struct #47 -│ │ │ │ │ │ └─ [in]: list #43 +│ │ │ │ │ │ └─ [in]: list 'list_43' #43 │ │ │ │ │ │ └─ item: integer #41 │ │ │ │ │ └─ variant_5: struct #48 -│ │ │ │ │ └─ [notIn]: list #43 +│ │ │ │ │ └─ [notIn]: list 'list_43' #43 │ │ │ │ │ └─ item: integer #41 │ │ │ │ └─ variant_1: struct #50 │ │ │ │ └─ [not]: either '_integer_filter' #49 @@ -1472,21 +1472,21 @@ root: struct #153 │ │ │ │ ├─ variant_2: struct #45 │ │ │ │ │ └─ [not]: integer #41 │ │ │ │ ├─ variant_3: struct #46 -│ │ │ │ │ ├─ [gt]: optional #42 +│ │ │ │ │ ├─ [gt]: optional 'optional_42' #42 │ │ │ │ │ │ └─ item: integer #41 -│ │ │ │ │ ├─ [gte]: optional #42 +│ │ │ │ │ ├─ [gte]: optional 'optional_42' #42 │ │ │ │ │ │ └─ item: integer #41 -│ │ │ │ │ ├─ [lt]: optional #42 +│ │ │ │ │ ├─ [lt]: optional 'optional_42' #42 │ │ │ │ │ │ └─ item: integer #41 -│ │ │ │ │ └─ [lte]: optional #42 +│ │ │ │ │ └─ [lte]: optional 'optional_42' #42 │ │ │ │ │ └─ item: integer #41 │ │ │ │ ├─ variant_4: struct #47 -│ │ │ │ │ └─ [in]: list #43 +│ │ │ │ │ └─ [in]: list 'list_43' #43 │ │ │ │ │ └─ item: integer #41 │ │ │ │ └─ variant_5: struct #48 -│ │ │ │ └─ [notIn]: list #43 +│ │ │ │ └─ [notIn]: list 'list_43' #43 │ │ │ │ └─ item: integer #41 -│ │ │ └─ [title]: optional '_86__string_filter_c?' #86 +│ │ │ └─ [title]: optional 'optional_86' #86 │ │ │ └─ item: optional '_string_filter_c' #38 │ │ │ └─ item: union #37 │ │ │ ├─ variant_0: union '_string_filter' #35 @@ -1496,21 +1496,21 @@ root: struct #153 │ │ │ │ ├─ variant_2: struct #27 │ │ │ │ │ └─ [not]: string #23 │ │ │ │ ├─ variant_3: struct #28 -│ │ │ │ │ └─ [in]: list #25 +│ │ │ │ │ └─ [in]: list 'list_25' #25 │ │ │ │ │ └─ item: string #23 │ │ │ │ ├─ variant_4: struct #29 -│ │ │ │ │ └─ [notIn]: list #25 +│ │ │ │ │ └─ [notIn]: list 'list_25' #25 │ │ │ │ │ └─ item: string #23 │ │ │ │ ├─ variant_5: struct #32 │ │ │ │ │ ├─ [contains]: string #23 -│ │ │ │ │ └─ [mode]: optional #31 +│ │ │ │ │ └─ [mode]: optional 'optional_31' #31 │ │ │ │ │ └─ item: string #30 enum{ '"insensitive"' } │ │ │ │ ├─ variant_6: struct #33 │ │ │ │ │ └─ [search]: string #23 │ │ │ │ └─ variant_7: struct #34 -│ │ │ │ ├─ [endsWith]: optional #24 +│ │ │ │ ├─ [endsWith]: optional 'optional_24' #24 │ │ │ │ │ └─ item: string #23 -│ │ │ │ └─ [startsWith]: optional #24 +│ │ │ │ └─ [startsWith]: optional 'optional_24' #24 │ │ │ │ └─ item: string #23 │ │ │ └─ variant_1: struct #36 │ │ │ └─ [not]: union '_string_filter' #35 @@ -1520,27 +1520,27 @@ root: struct #153 │ │ │ ├─ variant_2: struct #27 │ │ │ │ └─ [not]: string #23 │ │ │ ├─ variant_3: struct #28 -│ │ │ │ └─ [in]: list #25 +│ │ │ │ └─ [in]: list 'list_25' #25 │ │ │ │ └─ item: string #23 │ │ │ ├─ variant_4: struct #29 -│ │ │ │ └─ [notIn]: list #25 +│ │ │ │ └─ [notIn]: list 'list_25' #25 │ │ │ │ └─ item: string #23 │ │ │ ├─ variant_5: struct #32 │ │ │ │ ├─ [contains]: string #23 -│ │ │ │ └─ [mode]: optional #31 +│ │ │ │ └─ [mode]: optional 'optional_31' #31 │ │ │ │ └─ item: string #30 enum{ '"insensitive"' } │ │ │ ├─ variant_6: struct #33 │ │ │ │ └─ [search]: string #23 │ │ │ └─ variant_7: struct #34 -│ │ │ ├─ [endsWith]: optional #24 +│ │ │ ├─ [endsWith]: optional 'optional_24' #24 │ │ │ │ └─ item: string #23 -│ │ │ └─ [startsWith]: optional #24 +│ │ │ └─ [startsWith]: optional 'optional_24' #24 │ │ │ └─ item: string #23 -│ │ └─ variant_1: list '_101_PostWhere[]' #101 +│ │ └─ variant_1: list 'list_101' #101 │ │ └─ item: struct 'PostWhere' #100 -│ │ ├─ [author]: optional '_99_UserWhere__skip_71_PostWhere?' #99 +│ │ ├─ [author]: optional 'optional_99' #99 │ │ │ └─ item: struct 'UserWhere__skip_71_PostWhere' #98 -│ │ │ ├─ [id]: optional '_87__integer_filter_c?' #87 +│ │ │ ├─ [id]: optional 'optional_87' #87 │ │ │ │ └─ item: optional '_integer_filter_c' #52 │ │ │ │ └─ item: union #51 │ │ │ │ ├─ variant_0: either '_integer_filter' #49 @@ -1550,19 +1550,19 @@ root: struct #153 │ │ │ │ │ ├─ variant_2: struct #45 │ │ │ │ │ │ └─ [not]: integer #41 │ │ │ │ │ ├─ variant_3: struct #46 -│ │ │ │ │ │ ├─ [gt]: optional #42 +│ │ │ │ │ │ ├─ [gt]: optional 'optional_42' #42 │ │ │ │ │ │ │ └─ item: integer #41 -│ │ │ │ │ │ ├─ [gte]: optional #42 +│ │ │ │ │ │ ├─ [gte]: optional 'optional_42' #42 │ │ │ │ │ │ │ └─ item: integer #41 -│ │ │ │ │ │ ├─ [lt]: optional #42 +│ │ │ │ │ │ ├─ [lt]: optional 'optional_42' #42 │ │ │ │ │ │ │ └─ item: integer #41 -│ │ │ │ │ │ └─ [lte]: optional #42 +│ │ │ │ │ │ └─ [lte]: optional 'optional_42' #42 │ │ │ │ │ │ └─ item: integer #41 │ │ │ │ │ ├─ variant_4: struct #47 -│ │ │ │ │ │ └─ [in]: list #43 +│ │ │ │ │ │ └─ [in]: list 'list_43' #43 │ │ │ │ │ │ └─ item: integer #41 │ │ │ │ │ └─ variant_5: struct #48 -│ │ │ │ │ └─ [notIn]: list #43 +│ │ │ │ │ └─ [notIn]: list 'list_43' #43 │ │ │ │ │ └─ item: integer #41 │ │ │ │ └─ variant_1: struct #50 │ │ │ │ └─ [not]: either '_integer_filter' #49 @@ -1572,21 +1572,21 @@ root: struct #153 │ │ │ │ ├─ variant_2: struct #45 │ │ │ │ │ └─ [not]: integer #41 │ │ │ │ ├─ variant_3: struct #46 -│ │ │ │ │ ├─ [gt]: optional #42 +│ │ │ │ │ ├─ [gt]: optional 'optional_42' #42 │ │ │ │ │ │ └─ item: integer #41 -│ │ │ │ │ ├─ [gte]: optional #42 +│ │ │ │ │ ├─ [gte]: optional 'optional_42' #42 │ │ │ │ │ │ └─ item: integer #41 -│ │ │ │ │ ├─ [lt]: optional #42 +│ │ │ │ │ ├─ [lt]: optional 'optional_42' #42 │ │ │ │ │ │ └─ item: integer #41 -│ │ │ │ │ └─ [lte]: optional #42 +│ │ │ │ │ └─ [lte]: optional 'optional_42' #42 │ │ │ │ │ └─ item: integer #41 │ │ │ │ ├─ variant_4: struct #47 -│ │ │ │ │ └─ [in]: list #43 +│ │ │ │ │ └─ [in]: list 'list_43' #43 │ │ │ │ │ └─ item: integer #41 │ │ │ │ └─ variant_5: struct #48 -│ │ │ │ └─ [notIn]: list #43 +│ │ │ │ └─ [notIn]: list 'list_43' #43 │ │ │ │ └─ item: integer #41 -│ │ │ ├─ [name]: optional '_88__string_filter_c?' #88 +│ │ │ ├─ [name]: optional 'optional_88' #88 │ │ │ │ └─ item: optional '_string_filter_c' #38 │ │ │ │ └─ item: union #37 │ │ │ │ ├─ variant_0: union '_string_filter' #35 @@ -1596,21 +1596,21 @@ root: struct #153 │ │ │ │ │ ├─ variant_2: struct #27 │ │ │ │ │ │ └─ [not]: string #23 │ │ │ │ │ ├─ variant_3: struct #28 -│ │ │ │ │ │ └─ [in]: list #25 +│ │ │ │ │ │ └─ [in]: list 'list_25' #25 │ │ │ │ │ │ └─ item: string #23 │ │ │ │ │ ├─ variant_4: struct #29 -│ │ │ │ │ │ └─ [notIn]: list #25 +│ │ │ │ │ │ └─ [notIn]: list 'list_25' #25 │ │ │ │ │ │ └─ item: string #23 │ │ │ │ │ ├─ variant_5: struct #32 │ │ │ │ │ │ ├─ [contains]: string #23 -│ │ │ │ │ │ └─ [mode]: optional #31 +│ │ │ │ │ │ └─ [mode]: optional 'optional_31' #31 │ │ │ │ │ │ └─ item: string #30 enum{ '"insensitive"' } │ │ │ │ │ ├─ variant_6: struct #33 │ │ │ │ │ │ └─ [search]: string #23 │ │ │ │ │ └─ variant_7: struct #34 -│ │ │ │ │ ├─ [endsWith]: optional #24 +│ │ │ │ │ ├─ [endsWith]: optional 'optional_24' #24 │ │ │ │ │ │ └─ item: string #23 -│ │ │ │ │ └─ [startsWith]: optional #24 +│ │ │ │ │ └─ [startsWith]: optional 'optional_24' #24 │ │ │ │ │ └─ item: string #23 │ │ │ │ └─ variant_1: struct #36 │ │ │ │ └─ [not]: union '_string_filter' #35 @@ -1620,34 +1620,34 @@ root: struct #153 │ │ │ │ ├─ variant_2: struct #27 │ │ │ │ │ └─ [not]: string #23 │ │ │ │ ├─ variant_3: struct #28 -│ │ │ │ │ └─ [in]: list #25 +│ │ │ │ │ └─ [in]: list 'list_25' #25 │ │ │ │ │ └─ item: string #23 │ │ │ │ ├─ variant_4: struct #29 -│ │ │ │ │ └─ [notIn]: list #25 +│ │ │ │ │ └─ [notIn]: list 'list_25' #25 │ │ │ │ │ └─ item: string #23 │ │ │ │ ├─ variant_5: struct #32 │ │ │ │ │ ├─ [contains]: string #23 -│ │ │ │ │ └─ [mode]: optional #31 +│ │ │ │ │ └─ [mode]: optional 'optional_31' #31 │ │ │ │ │ └─ item: string #30 enum{ '"insensitive"' } │ │ │ │ ├─ variant_6: struct #33 │ │ │ │ │ └─ [search]: string #23 │ │ │ │ └─ variant_7: struct #34 -│ │ │ │ ├─ [endsWith]: optional #24 +│ │ │ │ ├─ [endsWith]: optional 'optional_24' #24 │ │ │ │ │ └─ item: string #23 -│ │ │ │ └─ [startsWith]: optional #24 +│ │ │ │ └─ [startsWith]: optional 'optional_24' #24 │ │ │ │ └─ item: string #23 -│ │ │ └─ [posts]: optional #97 +│ │ │ └─ [posts]: optional 'optional_97' #97 │ │ │ └─ item: union #96 │ │ │ ├─ variant_0: struct #91 -│ │ │ │ └─ [every]: optional '_90_PostWhere?' #90 +│ │ │ │ └─ [every]: optional 'optional_90' #90 │ │ │ │ └─ item: &PostWhere #89 │ │ │ ├─ variant_1: struct #93 -│ │ │ │ └─ [some]: optional '_92_PostWhere?' #92 +│ │ │ │ └─ [some]: optional 'optional_92' #92 │ │ │ │ └─ item: &PostWhere #89 │ │ │ └─ variant_2: struct #95 -│ │ │ └─ [none]: optional '_94_PostWhere?' #94 +│ │ │ └─ [none]: optional 'optional_94' #94 │ │ │ └─ item: &PostWhere #89 -│ │ ├─ [id]: optional '_85__integer_filter_c?' #85 +│ │ ├─ [id]: optional 'optional_85' #85 │ │ │ └─ item: optional '_integer_filter_c' #52 │ │ │ └─ item: union #51 │ │ │ ├─ variant_0: either '_integer_filter' #49 @@ -1657,19 +1657,19 @@ root: struct #153 │ │ │ │ ├─ variant_2: struct #45 │ │ │ │ │ └─ [not]: integer #41 │ │ │ │ ├─ variant_3: struct #46 -│ │ │ │ │ ├─ [gt]: optional #42 +│ │ │ │ │ ├─ [gt]: optional 'optional_42' #42 │ │ │ │ │ │ └─ item: integer #41 -│ │ │ │ │ ├─ [gte]: optional #42 +│ │ │ │ │ ├─ [gte]: optional 'optional_42' #42 │ │ │ │ │ │ └─ item: integer #41 -│ │ │ │ │ ├─ [lt]: optional #42 +│ │ │ │ │ ├─ [lt]: optional 'optional_42' #42 │ │ │ │ │ │ └─ item: integer #41 -│ │ │ │ │ └─ [lte]: optional #42 +│ │ │ │ │ └─ [lte]: optional 'optional_42' #42 │ │ │ │ │ └─ item: integer #41 │ │ │ │ ├─ variant_4: struct #47 -│ │ │ │ │ └─ [in]: list #43 +│ │ │ │ │ └─ [in]: list 'list_43' #43 │ │ │ │ │ └─ item: integer #41 │ │ │ │ └─ variant_5: struct #48 -│ │ │ │ └─ [notIn]: list #43 +│ │ │ │ └─ [notIn]: list 'list_43' #43 │ │ │ │ └─ item: integer #41 │ │ │ └─ variant_1: struct #50 │ │ │ └─ [not]: either '_integer_filter' #49 @@ -1679,21 +1679,21 @@ root: struct #153 │ │ │ ├─ variant_2: struct #45 │ │ │ │ └─ [not]: integer #41 │ │ │ ├─ variant_3: struct #46 -│ │ │ │ ├─ [gt]: optional #42 +│ │ │ │ ├─ [gt]: optional 'optional_42' #42 │ │ │ │ │ └─ item: integer #41 -│ │ │ │ ├─ [gte]: optional #42 +│ │ │ │ ├─ [gte]: optional 'optional_42' #42 │ │ │ │ │ └─ item: integer #41 -│ │ │ │ ├─ [lt]: optional #42 +│ │ │ │ ├─ [lt]: optional 'optional_42' #42 │ │ │ │ │ └─ item: integer #41 -│ │ │ │ └─ [lte]: optional #42 +│ │ │ │ └─ [lte]: optional 'optional_42' #42 │ │ │ │ └─ item: integer #41 │ │ │ ├─ variant_4: struct #47 -│ │ │ │ └─ [in]: list #43 +│ │ │ │ └─ [in]: list 'list_43' #43 │ │ │ │ └─ item: integer #41 │ │ │ └─ variant_5: struct #48 -│ │ │ └─ [notIn]: list #43 +│ │ │ └─ [notIn]: list 'list_43' #43 │ │ │ └─ item: integer #41 -│ │ └─ [title]: optional '_86__string_filter_c?' #86 +│ │ └─ [title]: optional 'optional_86' #86 │ │ └─ item: optional '_string_filter_c' #38 │ │ └─ item: union #37 │ │ ├─ variant_0: union '_string_filter' #35 @@ -1703,21 +1703,21 @@ root: struct #153 │ │ │ ├─ variant_2: struct #27 │ │ │ │ └─ [not]: string #23 │ │ │ ├─ variant_3: struct #28 -│ │ │ │ └─ [in]: list #25 +│ │ │ │ └─ [in]: list 'list_25' #25 │ │ │ │ └─ item: string #23 │ │ │ ├─ variant_4: struct #29 -│ │ │ │ └─ [notIn]: list #25 +│ │ │ │ └─ [notIn]: list 'list_25' #25 │ │ │ │ └─ item: string #23 │ │ │ ├─ variant_5: struct #32 │ │ │ │ ├─ [contains]: string #23 -│ │ │ │ └─ [mode]: optional #31 +│ │ │ │ └─ [mode]: optional 'optional_31' #31 │ │ │ │ └─ item: string #30 enum{ '"insensitive"' } │ │ │ ├─ variant_6: struct #33 │ │ │ │ └─ [search]: string #23 │ │ │ └─ variant_7: struct #34 -│ │ │ ├─ [endsWith]: optional #24 +│ │ │ ├─ [endsWith]: optional 'optional_24' #24 │ │ │ │ └─ item: string #23 -│ │ │ └─ [startsWith]: optional #24 +│ │ │ └─ [startsWith]: optional 'optional_24' #24 │ │ │ └─ item: string #23 │ │ └─ variant_1: struct #36 │ │ └─ [not]: union '_string_filter' #35 @@ -1727,47 +1727,47 @@ root: struct #153 │ │ ├─ variant_2: struct #27 │ │ │ └─ [not]: string #23 │ │ ├─ variant_3: struct #28 -│ │ │ └─ [in]: list #25 +│ │ │ └─ [in]: list 'list_25' #25 │ │ │ └─ item: string #23 │ │ ├─ variant_4: struct #29 -│ │ │ └─ [notIn]: list #25 +│ │ │ └─ [notIn]: list 'list_25' #25 │ │ │ └─ item: string #23 │ │ ├─ variant_5: struct #32 │ │ │ ├─ [contains]: string #23 -│ │ │ └─ [mode]: optional #31 +│ │ │ └─ [mode]: optional 'optional_31' #31 │ │ │ └─ item: string #30 enum{ '"insensitive"' } │ │ ├─ variant_6: struct #33 │ │ │ └─ [search]: string #23 │ │ └─ variant_7: struct #34 -│ │ ├─ [endsWith]: optional #24 +│ │ ├─ [endsWith]: optional 'optional_24' #24 │ │ │ └─ item: string #23 -│ │ └─ [startsWith]: optional #24 +│ │ └─ [startsWith]: optional 'optional_24' #24 │ │ └─ item: string #23 │ └─ variant_6: struct #127 -│ └─ [createMany]: optional #126 +│ └─ [createMany]: optional 'optional_126' #126 │ └─ item: struct #125 -│ └─ [data]: list #124 +│ └─ [data]: list 'list_124' #124 │ └─ item: union #84 │ ├─ variant_0: struct '_Post_CreateInput_excluding___rel_Post_User_1' #82 -│ │ ├─ [id]: optional #81 +│ │ ├─ [id]: optional 'optional_81' #81 │ │ │ └─ item: integer #68 │ │ └─ [title]: string #69 -│ └─ variant_1: list '_83__Post_CreateInput_excluding___rel_Post_User_1[]' #83 +│ └─ variant_1: list 'list_83' #83 │ └─ item: struct '_Post_CreateInput_excluding___rel_Post_User_1' #82 -│ ├─ [id]: optional #81 +│ ├─ [id]: optional 'optional_81' #81 │ │ └─ item: integer #68 │ └─ [title]: string #69 -└─ [where]: optional '_152_QueryUserWhereInput?' #152 +└─ [where]: optional 'optional_152' #152 └─ item: struct 'QueryUserWhereInput' #151 - ├─ [AND]: optional '_149__148_QueryUserWhereInput[]?' #149 - │ └─ item: list '_148_QueryUserWhereInput[]' #148 + ├─ [AND]: optional 'optional_149' #149 + │ └─ item: list 'list_148' #148 │ └─ item: &QueryUserWhereInput #147 - ├─ [NOT]: optional '_150_QueryUserWhereInput?' #150 + ├─ [NOT]: optional 'optional_150' #150 │ └─ item: &QueryUserWhereInput #147 - ├─ [OR]: optional '_149__148_QueryUserWhereInput[]?' #149 - │ └─ item: list '_148_QueryUserWhereInput[]' #148 + ├─ [OR]: optional 'optional_149' #149 + │ └─ item: list 'list_148' #148 │ └─ item: &QueryUserWhereInput #147 - ├─ [id]: optional '_131__integer_filter_c?' #131 + ├─ [id]: optional 'optional_131' #131 │ └─ item: optional '_integer_filter_c' #52 │ └─ item: union #51 │ ├─ variant_0: either '_integer_filter' #49 @@ -1777,19 +1777,19 @@ root: struct #153 │ │ ├─ variant_2: struct #45 │ │ │ └─ [not]: integer #41 │ │ ├─ variant_3: struct #46 - │ │ │ ├─ [gt]: optional #42 + │ │ │ ├─ [gt]: optional 'optional_42' #42 │ │ │ │ └─ item: integer #41 - │ │ │ ├─ [gte]: optional #42 + │ │ │ ├─ [gte]: optional 'optional_42' #42 │ │ │ │ └─ item: integer #41 - │ │ │ ├─ [lt]: optional #42 + │ │ │ ├─ [lt]: optional 'optional_42' #42 │ │ │ │ └─ item: integer #41 - │ │ │ └─ [lte]: optional #42 + │ │ │ └─ [lte]: optional 'optional_42' #42 │ │ │ └─ item: integer #41 │ │ ├─ variant_4: struct #47 - │ │ │ └─ [in]: list #43 + │ │ │ └─ [in]: list 'list_43' #43 │ │ │ └─ item: integer #41 │ │ └─ variant_5: struct #48 - │ │ └─ [notIn]: list #43 + │ │ └─ [notIn]: list 'list_43' #43 │ │ └─ item: integer #41 │ └─ variant_1: struct #50 │ └─ [not]: either '_integer_filter' #49 @@ -1799,21 +1799,21 @@ root: struct #153 │ ├─ variant_2: struct #45 │ │ └─ [not]: integer #41 │ ├─ variant_3: struct #46 - │ │ ├─ [gt]: optional #42 + │ │ ├─ [gt]: optional 'optional_42' #42 │ │ │ └─ item: integer #41 - │ │ ├─ [gte]: optional #42 + │ │ ├─ [gte]: optional 'optional_42' #42 │ │ │ └─ item: integer #41 - │ │ ├─ [lt]: optional #42 + │ │ ├─ [lt]: optional 'optional_42' #42 │ │ │ └─ item: integer #41 - │ │ └─ [lte]: optional #42 + │ │ └─ [lte]: optional 'optional_42' #42 │ │ └─ item: integer #41 │ ├─ variant_4: struct #47 - │ │ └─ [in]: list #43 + │ │ └─ [in]: list 'list_43' #43 │ │ └─ item: integer #41 │ └─ variant_5: struct #48 - │ └─ [notIn]: list #43 + │ └─ [notIn]: list 'list_43' #43 │ └─ item: integer #41 - ├─ [name]: optional '_132__string_filter_c?' #132 + ├─ [name]: optional 'optional_132' #132 │ └─ item: optional '_string_filter_c' #38 │ └─ item: union #37 │ ├─ variant_0: union '_string_filter' #35 @@ -1823,21 +1823,21 @@ root: struct #153 │ │ ├─ variant_2: struct #27 │ │ │ └─ [not]: string #23 │ │ ├─ variant_3: struct #28 - │ │ │ └─ [in]: list #25 + │ │ │ └─ [in]: list 'list_25' #25 │ │ │ └─ item: string #23 │ │ ├─ variant_4: struct #29 - │ │ │ └─ [notIn]: list #25 + │ │ │ └─ [notIn]: list 'list_25' #25 │ │ │ └─ item: string #23 │ │ ├─ variant_5: struct #32 │ │ │ ├─ [contains]: string #23 - │ │ │ └─ [mode]: optional #31 + │ │ │ └─ [mode]: optional 'optional_31' #31 │ │ │ └─ item: string #30 enum{ '"insensitive"' } │ │ ├─ variant_6: struct #33 │ │ │ └─ [search]: string #23 │ │ └─ variant_7: struct #34 - │ │ ├─ [endsWith]: optional #24 + │ │ ├─ [endsWith]: optional 'optional_24' #24 │ │ │ └─ item: string #23 - │ │ └─ [startsWith]: optional #24 + │ │ └─ [startsWith]: optional 'optional_24' #24 │ │ └─ item: string #23 │ └─ variant_1: struct #36 │ └─ [not]: union '_string_filter' #35 @@ -1847,30 +1847,30 @@ root: struct #153 │ ├─ variant_2: struct #27 │ │ └─ [not]: string #23 │ ├─ variant_3: struct #28 - │ │ └─ [in]: list #25 + │ │ └─ [in]: list 'list_25' #25 │ │ └─ item: string #23 │ ├─ variant_4: struct #29 - │ │ └─ [notIn]: list #25 + │ │ └─ [notIn]: list 'list_25' #25 │ │ └─ item: string #23 │ ├─ variant_5: struct #32 │ │ ├─ [contains]: string #23 - │ │ └─ [mode]: optional #31 + │ │ └─ [mode]: optional 'optional_31' #31 │ │ └─ item: string #30 enum{ '"insensitive"' } │ ├─ variant_6: struct #33 │ │ └─ [search]: string #23 │ └─ variant_7: struct #34 - │ ├─ [endsWith]: optional #24 + │ ├─ [endsWith]: optional 'optional_24' #24 │ │ └─ item: string #23 - │ └─ [startsWith]: optional #24 + │ └─ [startsWith]: optional 'optional_24' #24 │ └─ item: string #23 - └─ [posts]: optional #145 + └─ [posts]: optional 'optional_145' #145 └─ item: union #144 ├─ variant_0: struct #139 - │ └─ [every]: optional '_138_PostWhere__skip_67_UserWhere?' #138 + │ └─ [every]: optional 'optional_138' #138 │ └─ item: struct 'PostWhere__skip_67_UserWhere' #137 - │ ├─ [author]: optional '_136_UserWhere?' #136 + │ ├─ [author]: optional 'optional_136' #136 │ │ └─ item: &UserWhere #135 - │ ├─ [id]: optional '_133__integer_filter_c?' #133 + │ ├─ [id]: optional 'optional_133' #133 │ │ └─ item: optional '_integer_filter_c' #52 │ │ └─ item: union #51 │ │ ├─ variant_0: either '_integer_filter' #49 @@ -1880,19 +1880,19 @@ root: struct #153 │ │ │ ├─ variant_2: struct #45 │ │ │ │ └─ [not]: integer #41 │ │ │ ├─ variant_3: struct #46 - │ │ │ │ ├─ [gt]: optional #42 + │ │ │ │ ├─ [gt]: optional 'optional_42' #42 │ │ │ │ │ └─ item: integer #41 - │ │ │ │ ├─ [gte]: optional #42 + │ │ │ │ ├─ [gte]: optional 'optional_42' #42 │ │ │ │ │ └─ item: integer #41 - │ │ │ │ ├─ [lt]: optional #42 + │ │ │ │ ├─ [lt]: optional 'optional_42' #42 │ │ │ │ │ └─ item: integer #41 - │ │ │ │ └─ [lte]: optional #42 + │ │ │ │ └─ [lte]: optional 'optional_42' #42 │ │ │ │ └─ item: integer #41 │ │ │ ├─ variant_4: struct #47 - │ │ │ │ └─ [in]: list #43 + │ │ │ │ └─ [in]: list 'list_43' #43 │ │ │ │ └─ item: integer #41 │ │ │ └─ variant_5: struct #48 - │ │ │ └─ [notIn]: list #43 + │ │ │ └─ [notIn]: list 'list_43' #43 │ │ │ └─ item: integer #41 │ │ └─ variant_1: struct #50 │ │ └─ [not]: either '_integer_filter' #49 @@ -1902,21 +1902,21 @@ root: struct #153 │ │ ├─ variant_2: struct #45 │ │ │ └─ [not]: integer #41 │ │ ├─ variant_3: struct #46 - │ │ │ ├─ [gt]: optional #42 + │ │ │ ├─ [gt]: optional 'optional_42' #42 │ │ │ │ └─ item: integer #41 - │ │ │ ├─ [gte]: optional #42 + │ │ │ ├─ [gte]: optional 'optional_42' #42 │ │ │ │ └─ item: integer #41 - │ │ │ ├─ [lt]: optional #42 + │ │ │ ├─ [lt]: optional 'optional_42' #42 │ │ │ │ └─ item: integer #41 - │ │ │ └─ [lte]: optional #42 + │ │ │ └─ [lte]: optional 'optional_42' #42 │ │ │ └─ item: integer #41 │ │ ├─ variant_4: struct #47 - │ │ │ └─ [in]: list #43 + │ │ │ └─ [in]: list 'list_43' #43 │ │ │ └─ item: integer #41 │ │ └─ variant_5: struct #48 - │ │ └─ [notIn]: list #43 + │ │ └─ [notIn]: list 'list_43' #43 │ │ └─ item: integer #41 - │ └─ [title]: optional '_134__string_filter_c?' #134 + │ └─ [title]: optional 'optional_134' #134 │ └─ item: optional '_string_filter_c' #38 │ └─ item: union #37 │ ├─ variant_0: union '_string_filter' #35 @@ -1926,21 +1926,21 @@ root: struct #153 │ │ ├─ variant_2: struct #27 │ │ │ └─ [not]: string #23 │ │ ├─ variant_3: struct #28 - │ │ │ └─ [in]: list #25 + │ │ │ └─ [in]: list 'list_25' #25 │ │ │ └─ item: string #23 │ │ ├─ variant_4: struct #29 - │ │ │ └─ [notIn]: list #25 + │ │ │ └─ [notIn]: list 'list_25' #25 │ │ │ └─ item: string #23 │ │ ├─ variant_5: struct #32 │ │ │ ├─ [contains]: string #23 - │ │ │ └─ [mode]: optional #31 + │ │ │ └─ [mode]: optional 'optional_31' #31 │ │ │ └─ item: string #30 enum{ '"insensitive"' } │ │ ├─ variant_6: struct #33 │ │ │ └─ [search]: string #23 │ │ └─ variant_7: struct #34 - │ │ ├─ [endsWith]: optional #24 + │ │ ├─ [endsWith]: optional 'optional_24' #24 │ │ │ └─ item: string #23 - │ │ └─ [startsWith]: optional #24 + │ │ └─ [startsWith]: optional 'optional_24' #24 │ │ └─ item: string #23 │ └─ variant_1: struct #36 │ └─ [not]: union '_string_filter' #35 @@ -1950,28 +1950,28 @@ root: struct #153 │ ├─ variant_2: struct #27 │ │ └─ [not]: string #23 │ ├─ variant_3: struct #28 - │ │ └─ [in]: list #25 + │ │ └─ [in]: list 'list_25' #25 │ │ └─ item: string #23 │ ├─ variant_4: struct #29 - │ │ └─ [notIn]: list #25 + │ │ └─ [notIn]: list 'list_25' #25 │ │ └─ item: string #23 │ ├─ variant_5: struct #32 │ │ ├─ [contains]: string #23 - │ │ └─ [mode]: optional #31 + │ │ └─ [mode]: optional 'optional_31' #31 │ │ └─ item: string #30 enum{ '"insensitive"' } │ ├─ variant_6: struct #33 │ │ └─ [search]: string #23 │ └─ variant_7: struct #34 - │ ├─ [endsWith]: optional #24 + │ ├─ [endsWith]: optional 'optional_24' #24 │ │ └─ item: string #23 - │ └─ [startsWith]: optional #24 + │ └─ [startsWith]: optional 'optional_24' #24 │ └─ item: string #23 ├─ variant_1: struct #141 - │ └─ [some]: optional '_140_PostWhere__skip_67_UserWhere?' #140 + │ └─ [some]: optional 'optional_140' #140 │ └─ item: struct 'PostWhere__skip_67_UserWhere' #137 - │ ├─ [author]: optional '_136_UserWhere?' #136 + │ ├─ [author]: optional 'optional_136' #136 │ │ └─ item: &UserWhere #135 - │ ├─ [id]: optional '_133__integer_filter_c?' #133 + │ ├─ [id]: optional 'optional_133' #133 │ │ └─ item: optional '_integer_filter_c' #52 │ │ └─ item: union #51 │ │ ├─ variant_0: either '_integer_filter' #49 @@ -1981,19 +1981,19 @@ root: struct #153 │ │ │ ├─ variant_2: struct #45 │ │ │ │ └─ [not]: integer #41 │ │ │ ├─ variant_3: struct #46 - │ │ │ │ ├─ [gt]: optional #42 + │ │ │ │ ├─ [gt]: optional 'optional_42' #42 │ │ │ │ │ └─ item: integer #41 - │ │ │ │ ├─ [gte]: optional #42 + │ │ │ │ ├─ [gte]: optional 'optional_42' #42 │ │ │ │ │ └─ item: integer #41 - │ │ │ │ ├─ [lt]: optional #42 + │ │ │ │ ├─ [lt]: optional 'optional_42' #42 │ │ │ │ │ └─ item: integer #41 - │ │ │ │ └─ [lte]: optional #42 + │ │ │ │ └─ [lte]: optional 'optional_42' #42 │ │ │ │ └─ item: integer #41 │ │ │ ├─ variant_4: struct #47 - │ │ │ │ └─ [in]: list #43 + │ │ │ │ └─ [in]: list 'list_43' #43 │ │ │ │ └─ item: integer #41 │ │ │ └─ variant_5: struct #48 - │ │ │ └─ [notIn]: list #43 + │ │ │ └─ [notIn]: list 'list_43' #43 │ │ │ └─ item: integer #41 │ │ └─ variant_1: struct #50 │ │ └─ [not]: either '_integer_filter' #49 @@ -2003,21 +2003,21 @@ root: struct #153 │ │ ├─ variant_2: struct #45 │ │ │ └─ [not]: integer #41 │ │ ├─ variant_3: struct #46 - │ │ │ ├─ [gt]: optional #42 + │ │ │ ├─ [gt]: optional 'optional_42' #42 │ │ │ │ └─ item: integer #41 - │ │ │ ├─ [gte]: optional #42 + │ │ │ ├─ [gte]: optional 'optional_42' #42 │ │ │ │ └─ item: integer #41 - │ │ │ ├─ [lt]: optional #42 + │ │ │ ├─ [lt]: optional 'optional_42' #42 │ │ │ │ └─ item: integer #41 - │ │ │ └─ [lte]: optional #42 + │ │ │ └─ [lte]: optional 'optional_42' #42 │ │ │ └─ item: integer #41 │ │ ├─ variant_4: struct #47 - │ │ │ └─ [in]: list #43 + │ │ │ └─ [in]: list 'list_43' #43 │ │ │ └─ item: integer #41 │ │ └─ variant_5: struct #48 - │ │ └─ [notIn]: list #43 + │ │ └─ [notIn]: list 'list_43' #43 │ │ └─ item: integer #41 - │ └─ [title]: optional '_134__string_filter_c?' #134 + │ └─ [title]: optional 'optional_134' #134 │ └─ item: optional '_string_filter_c' #38 │ └─ item: union #37 │ ├─ variant_0: union '_string_filter' #35 @@ -2027,21 +2027,21 @@ root: struct #153 │ │ ├─ variant_2: struct #27 │ │ │ └─ [not]: string #23 │ │ ├─ variant_3: struct #28 - │ │ │ └─ [in]: list #25 + │ │ │ └─ [in]: list 'list_25' #25 │ │ │ └─ item: string #23 │ │ ├─ variant_4: struct #29 - │ │ │ └─ [notIn]: list #25 + │ │ │ └─ [notIn]: list 'list_25' #25 │ │ │ └─ item: string #23 │ │ ├─ variant_5: struct #32 │ │ │ ├─ [contains]: string #23 - │ │ │ └─ [mode]: optional #31 + │ │ │ └─ [mode]: optional 'optional_31' #31 │ │ │ └─ item: string #30 enum{ '"insensitive"' } │ │ ├─ variant_6: struct #33 │ │ │ └─ [search]: string #23 │ │ └─ variant_7: struct #34 - │ │ ├─ [endsWith]: optional #24 + │ │ ├─ [endsWith]: optional 'optional_24' #24 │ │ │ └─ item: string #23 - │ │ └─ [startsWith]: optional #24 + │ │ └─ [startsWith]: optional 'optional_24' #24 │ │ └─ item: string #23 │ └─ variant_1: struct #36 │ └─ [not]: union '_string_filter' #35 @@ -2051,28 +2051,28 @@ root: struct #153 │ ├─ variant_2: struct #27 │ │ └─ [not]: string #23 │ ├─ variant_3: struct #28 - │ │ └─ [in]: list #25 + │ │ └─ [in]: list 'list_25' #25 │ │ └─ item: string #23 │ ├─ variant_4: struct #29 - │ │ └─ [notIn]: list #25 + │ │ └─ [notIn]: list 'list_25' #25 │ │ └─ item: string #23 │ ├─ variant_5: struct #32 │ │ ├─ [contains]: string #23 - │ │ └─ [mode]: optional #31 + │ │ └─ [mode]: optional 'optional_31' #31 │ │ └─ item: string #30 enum{ '"insensitive"' } │ ├─ variant_6: struct #33 │ │ └─ [search]: string #23 │ └─ variant_7: struct #34 - │ ├─ [endsWith]: optional #24 + │ ├─ [endsWith]: optional 'optional_24' #24 │ │ └─ item: string #23 - │ └─ [startsWith]: optional #24 + │ └─ [startsWith]: optional 'optional_24' #24 │ └─ item: string #23 └─ variant_2: struct #143 - └─ [none]: optional '_142_PostWhere__skip_67_UserWhere?' #142 + └─ [none]: optional 'optional_142' #142 └─ item: struct 'PostWhere__skip_67_UserWhere' #137 - ├─ [author]: optional '_136_UserWhere?' #136 + ├─ [author]: optional 'optional_136' #136 │ └─ item: &UserWhere #135 - ├─ [id]: optional '_133__integer_filter_c?' #133 + ├─ [id]: optional 'optional_133' #133 │ └─ item: optional '_integer_filter_c' #52 │ └─ item: union #51 │ ├─ variant_0: either '_integer_filter' #49 @@ -2082,19 +2082,19 @@ root: struct #153 │ │ ├─ variant_2: struct #45 │ │ │ └─ [not]: integer #41 │ │ ├─ variant_3: struct #46 - │ │ │ ├─ [gt]: optional #42 + │ │ │ ├─ [gt]: optional 'optional_42' #42 │ │ │ │ └─ item: integer #41 - │ │ │ ├─ [gte]: optional #42 + │ │ │ ├─ [gte]: optional 'optional_42' #42 │ │ │ │ └─ item: integer #41 - │ │ │ ├─ [lt]: optional #42 + │ │ │ ├─ [lt]: optional 'optional_42' #42 │ │ │ │ └─ item: integer #41 - │ │ │ └─ [lte]: optional #42 + │ │ │ └─ [lte]: optional 'optional_42' #42 │ │ │ └─ item: integer #41 │ │ ├─ variant_4: struct #47 - │ │ │ └─ [in]: list #43 + │ │ │ └─ [in]: list 'list_43' #43 │ │ │ └─ item: integer #41 │ │ └─ variant_5: struct #48 - │ │ └─ [notIn]: list #43 + │ │ └─ [notIn]: list 'list_43' #43 │ │ └─ item: integer #41 │ └─ variant_1: struct #50 │ └─ [not]: either '_integer_filter' #49 @@ -2104,21 +2104,21 @@ root: struct #153 │ ├─ variant_2: struct #45 │ │ └─ [not]: integer #41 │ ├─ variant_3: struct #46 - │ │ ├─ [gt]: optional #42 + │ │ ├─ [gt]: optional 'optional_42' #42 │ │ │ └─ item: integer #41 - │ │ ├─ [gte]: optional #42 + │ │ ├─ [gte]: optional 'optional_42' #42 │ │ │ └─ item: integer #41 - │ │ ├─ [lt]: optional #42 + │ │ ├─ [lt]: optional 'optional_42' #42 │ │ │ └─ item: integer #41 - │ │ └─ [lte]: optional #42 + │ │ └─ [lte]: optional 'optional_42' #42 │ │ └─ item: integer #41 │ ├─ variant_4: struct #47 - │ │ └─ [in]: list #43 + │ │ └─ [in]: list 'list_43' #43 │ │ └─ item: integer #41 │ └─ variant_5: struct #48 - │ └─ [notIn]: list #43 + │ └─ [notIn]: list 'list_43' #43 │ └─ item: integer #41 - └─ [title]: optional '_134__string_filter_c?' #134 + └─ [title]: optional 'optional_134' #134 └─ item: optional '_string_filter_c' #38 └─ item: union #37 ├─ variant_0: union '_string_filter' #35 @@ -2128,21 +2128,21 @@ root: struct #153 │ ├─ variant_2: struct #27 │ │ └─ [not]: string #23 │ ├─ variant_3: struct #28 - │ │ └─ [in]: list #25 + │ │ └─ [in]: list 'list_25' #25 │ │ └─ item: string #23 │ ├─ variant_4: struct #29 - │ │ └─ [notIn]: list #25 + │ │ └─ [notIn]: list 'list_25' #25 │ │ └─ item: string #23 │ ├─ variant_5: struct #32 │ │ ├─ [contains]: string #23 - │ │ └─ [mode]: optional #31 + │ │ └─ [mode]: optional 'optional_31' #31 │ │ └─ item: string #30 enum{ '"insensitive"' } │ ├─ variant_6: struct #33 │ │ └─ [search]: string #23 │ └─ variant_7: struct #34 - │ ├─ [endsWith]: optional #24 + │ ├─ [endsWith]: optional 'optional_24' #24 │ │ └─ item: string #23 - │ └─ [startsWith]: optional #24 + │ └─ [startsWith]: optional 'optional_24' #24 │ └─ item: string #23 └─ variant_1: struct #36 └─ [not]: union '_string_filter' #35 @@ -2152,20 +2152,19 @@ root: struct #153 ├─ variant_2: struct #27 │ └─ [not]: string #23 ├─ variant_3: struct #28 - │ └─ [in]: list #25 + │ └─ [in]: list 'list_25' #25 │ └─ item: string #23 ├─ variant_4: struct #29 - │ └─ [notIn]: list #25 + │ └─ [notIn]: list 'list_25' #25 │ └─ item: string #23 ├─ variant_5: struct #32 │ ├─ [contains]: string #23 - │ └─ [mode]: optional #31 + │ └─ [mode]: optional 'optional_31' #31 │ └─ item: string #30 enum{ '"insensitive"' } ├─ variant_6: struct #33 │ └─ [search]: string #23 └─ variant_7: struct #34 - ├─ [endsWith]: optional #24 + ├─ [endsWith]: optional 'optional_24' #24 │ └─ item: string #23 - └─ [startsWith]: optional #24 + └─ [startsWith]: optional 'optional_24' #24 └─ item: string #23 - diff --git a/src/typegraph/core/src/runtimes/prisma/type_generation/snapshots/typegraph_core__runtimes__prisma__type_generation__test__update_one Post inp.snap b/src/typegraph/core/src/runtimes/prisma/type_generation/snapshots/typegraph_core__runtimes__prisma__type_generation__test__update_one Post inp.snap index 6ffcf09403..db5abdf178 100644 --- a/src/typegraph/core/src/runtimes/prisma/type_generation/snapshots/typegraph_core__runtimes__prisma__type_generation__test__update_one Post inp.snap +++ b/src/typegraph/core/src/runtimes/prisma/type_generation/snapshots/typegraph_core__runtimes__prisma__type_generation__test__update_one Post inp.snap @@ -1,10 +1,10 @@ --- -source: typegraph/core/src/runtimes/prisma/type_generation/mod.rs +source: src/typegraph/core/src/runtimes/prisma/type_generation/mod.rs expression: tp.print(inp) --- root: struct #185 ├─ [data]: struct '_Post_UpdateInput' #179 -│ ├─ [author]: optional #178 +│ ├─ [author]: optional 'optional_178' #178 │ │ └─ item: union #177 │ │ ├─ variant_0: struct #163 │ │ │ └─ [create]: struct '_User_CreateInput_excluding___rel_Post_User_1' #161 @@ -12,7 +12,7 @@ root: struct #185 │ │ │ └─ [name]: string #63 │ │ ├─ variant_1: struct #164 │ │ │ └─ [connect]: struct 'UserWhere' #145 -│ │ │ ├─ [id]: optional '_130__integer_filter_c?' #130 +│ │ │ ├─ [id]: optional 'optional_130' #130 │ │ │ │ └─ item: optional '_integer_filter_c' #52 │ │ │ │ └─ item: union #51 │ │ │ │ ├─ variant_0: either '_integer_filter' #49 @@ -22,19 +22,19 @@ root: struct #185 │ │ │ │ │ ├─ variant_2: struct #45 │ │ │ │ │ │ └─ [not]: integer #41 │ │ │ │ │ ├─ variant_3: struct #46 -│ │ │ │ │ │ ├─ [gt]: optional #42 +│ │ │ │ │ │ ├─ [gt]: optional 'optional_42' #42 │ │ │ │ │ │ │ └─ item: integer #41 -│ │ │ │ │ │ ├─ [gte]: optional #42 +│ │ │ │ │ │ ├─ [gte]: optional 'optional_42' #42 │ │ │ │ │ │ │ └─ item: integer #41 -│ │ │ │ │ │ ├─ [lt]: optional #42 +│ │ │ │ │ │ ├─ [lt]: optional 'optional_42' #42 │ │ │ │ │ │ │ └─ item: integer #41 -│ │ │ │ │ │ └─ [lte]: optional #42 +│ │ │ │ │ │ └─ [lte]: optional 'optional_42' #42 │ │ │ │ │ │ └─ item: integer #41 │ │ │ │ │ ├─ variant_4: struct #47 -│ │ │ │ │ │ └─ [in]: list #43 +│ │ │ │ │ │ └─ [in]: list 'list_43' #43 │ │ │ │ │ │ └─ item: integer #41 │ │ │ │ │ └─ variant_5: struct #48 -│ │ │ │ │ └─ [notIn]: list #43 +│ │ │ │ │ └─ [notIn]: list 'list_43' #43 │ │ │ │ │ └─ item: integer #41 │ │ │ │ └─ variant_1: struct #50 │ │ │ │ └─ [not]: either '_integer_filter' #49 @@ -44,21 +44,21 @@ root: struct #185 │ │ │ │ ├─ variant_2: struct #45 │ │ │ │ │ └─ [not]: integer #41 │ │ │ │ ├─ variant_3: struct #46 -│ │ │ │ │ ├─ [gt]: optional #42 +│ │ │ │ │ ├─ [gt]: optional 'optional_42' #42 │ │ │ │ │ │ └─ item: integer #41 -│ │ │ │ │ ├─ [gte]: optional #42 +│ │ │ │ │ ├─ [gte]: optional 'optional_42' #42 │ │ │ │ │ │ └─ item: integer #41 -│ │ │ │ │ ├─ [lt]: optional #42 +│ │ │ │ │ ├─ [lt]: optional 'optional_42' #42 │ │ │ │ │ │ └─ item: integer #41 -│ │ │ │ │ └─ [lte]: optional #42 +│ │ │ │ │ └─ [lte]: optional 'optional_42' #42 │ │ │ │ │ └─ item: integer #41 │ │ │ │ ├─ variant_4: struct #47 -│ │ │ │ │ └─ [in]: list #43 +│ │ │ │ │ └─ [in]: list 'list_43' #43 │ │ │ │ │ └─ item: integer #41 │ │ │ │ └─ variant_5: struct #48 -│ │ │ │ └─ [notIn]: list #43 +│ │ │ │ └─ [notIn]: list 'list_43' #43 │ │ │ │ └─ item: integer #41 -│ │ │ ├─ [name]: optional '_131__string_filter_c?' #131 +│ │ │ ├─ [name]: optional 'optional_131' #131 │ │ │ │ └─ item: optional '_string_filter_c' #38 │ │ │ │ └─ item: union #37 │ │ │ │ ├─ variant_0: union '_string_filter' #35 @@ -68,21 +68,21 @@ root: struct #185 │ │ │ │ │ ├─ variant_2: struct #27 │ │ │ │ │ │ └─ [not]: string #23 │ │ │ │ │ ├─ variant_3: struct #28 -│ │ │ │ │ │ └─ [in]: list #25 +│ │ │ │ │ │ └─ [in]: list 'list_25' #25 │ │ │ │ │ │ └─ item: string #23 │ │ │ │ │ ├─ variant_4: struct #29 -│ │ │ │ │ │ └─ [notIn]: list #25 +│ │ │ │ │ │ └─ [notIn]: list 'list_25' #25 │ │ │ │ │ │ └─ item: string #23 │ │ │ │ │ ├─ variant_5: struct #32 │ │ │ │ │ │ ├─ [contains]: string #23 -│ │ │ │ │ │ └─ [mode]: optional #31 +│ │ │ │ │ │ └─ [mode]: optional 'optional_31' #31 │ │ │ │ │ │ └─ item: string #30 enum{ '"insensitive"' } │ │ │ │ │ ├─ variant_6: struct #33 │ │ │ │ │ │ └─ [search]: string #23 │ │ │ │ │ └─ variant_7: struct #34 -│ │ │ │ │ ├─ [endsWith]: optional #24 +│ │ │ │ │ ├─ [endsWith]: optional 'optional_24' #24 │ │ │ │ │ │ └─ item: string #23 -│ │ │ │ │ └─ [startsWith]: optional #24 +│ │ │ │ │ └─ [startsWith]: optional 'optional_24' #24 │ │ │ │ │ └─ item: string #23 │ │ │ │ └─ variant_1: struct #36 │ │ │ │ └─ [not]: union '_string_filter' #35 @@ -92,30 +92,30 @@ root: struct #185 │ │ │ │ ├─ variant_2: struct #27 │ │ │ │ │ └─ [not]: string #23 │ │ │ │ ├─ variant_3: struct #28 -│ │ │ │ │ └─ [in]: list #25 +│ │ │ │ │ └─ [in]: list 'list_25' #25 │ │ │ │ │ └─ item: string #23 │ │ │ │ ├─ variant_4: struct #29 -│ │ │ │ │ └─ [notIn]: list #25 +│ │ │ │ │ └─ [notIn]: list 'list_25' #25 │ │ │ │ │ └─ item: string #23 │ │ │ │ ├─ variant_5: struct #32 │ │ │ │ │ ├─ [contains]: string #23 -│ │ │ │ │ └─ [mode]: optional #31 +│ │ │ │ │ └─ [mode]: optional 'optional_31' #31 │ │ │ │ │ └─ item: string #30 enum{ '"insensitive"' } │ │ │ │ ├─ variant_6: struct #33 │ │ │ │ │ └─ [search]: string #23 │ │ │ │ └─ variant_7: struct #34 -│ │ │ │ ├─ [endsWith]: optional #24 +│ │ │ │ ├─ [endsWith]: optional 'optional_24' #24 │ │ │ │ │ └─ item: string #23 -│ │ │ │ └─ [startsWith]: optional #24 +│ │ │ │ └─ [startsWith]: optional 'optional_24' #24 │ │ │ │ └─ item: string #23 -│ │ │ └─ [posts]: optional #144 +│ │ │ └─ [posts]: optional 'optional_144' #144 │ │ │ └─ item: union #143 │ │ │ ├─ variant_0: struct #138 -│ │ │ │ └─ [every]: optional '_137_PostWhere__skip_66_UserWhere?' #137 +│ │ │ │ └─ [every]: optional 'optional_137' #137 │ │ │ │ └─ item: struct 'PostWhere__skip_66_UserWhere' #136 -│ │ │ │ ├─ [author]: optional '_135_UserWhere?' #135 +│ │ │ │ ├─ [author]: optional 'optional_135' #135 │ │ │ │ │ └─ item: &UserWhere #134 -│ │ │ │ ├─ [id]: optional '_132__integer_filter_c?' #132 +│ │ │ │ ├─ [id]: optional 'optional_132' #132 │ │ │ │ │ └─ item: optional '_integer_filter_c' #52 │ │ │ │ │ └─ item: union #51 │ │ │ │ │ ├─ variant_0: either '_integer_filter' #49 @@ -125,19 +125,19 @@ root: struct #185 │ │ │ │ │ │ ├─ variant_2: struct #45 │ │ │ │ │ │ │ └─ [not]: integer #41 │ │ │ │ │ │ ├─ variant_3: struct #46 -│ │ │ │ │ │ │ ├─ [gt]: optional #42 +│ │ │ │ │ │ │ ├─ [gt]: optional 'optional_42' #42 │ │ │ │ │ │ │ │ └─ item: integer #41 -│ │ │ │ │ │ │ ├─ [gte]: optional #42 +│ │ │ │ │ │ │ ├─ [gte]: optional 'optional_42' #42 │ │ │ │ │ │ │ │ └─ item: integer #41 -│ │ │ │ │ │ │ ├─ [lt]: optional #42 +│ │ │ │ │ │ │ ├─ [lt]: optional 'optional_42' #42 │ │ │ │ │ │ │ │ └─ item: integer #41 -│ │ │ │ │ │ │ └─ [lte]: optional #42 +│ │ │ │ │ │ │ └─ [lte]: optional 'optional_42' #42 │ │ │ │ │ │ │ └─ item: integer #41 │ │ │ │ │ │ ├─ variant_4: struct #47 -│ │ │ │ │ │ │ └─ [in]: list #43 +│ │ │ │ │ │ │ └─ [in]: list 'list_43' #43 │ │ │ │ │ │ │ └─ item: integer #41 │ │ │ │ │ │ └─ variant_5: struct #48 -│ │ │ │ │ │ └─ [notIn]: list #43 +│ │ │ │ │ │ └─ [notIn]: list 'list_43' #43 │ │ │ │ │ │ └─ item: integer #41 │ │ │ │ │ └─ variant_1: struct #50 │ │ │ │ │ └─ [not]: either '_integer_filter' #49 @@ -147,21 +147,21 @@ root: struct #185 │ │ │ │ │ ├─ variant_2: struct #45 │ │ │ │ │ │ └─ [not]: integer #41 │ │ │ │ │ ├─ variant_3: struct #46 -│ │ │ │ │ │ ├─ [gt]: optional #42 +│ │ │ │ │ │ ├─ [gt]: optional 'optional_42' #42 │ │ │ │ │ │ │ └─ item: integer #41 -│ │ │ │ │ │ ├─ [gte]: optional #42 +│ │ │ │ │ │ ├─ [gte]: optional 'optional_42' #42 │ │ │ │ │ │ │ └─ item: integer #41 -│ │ │ │ │ │ ├─ [lt]: optional #42 +│ │ │ │ │ │ ├─ [lt]: optional 'optional_42' #42 │ │ │ │ │ │ │ └─ item: integer #41 -│ │ │ │ │ │ └─ [lte]: optional #42 +│ │ │ │ │ │ └─ [lte]: optional 'optional_42' #42 │ │ │ │ │ │ └─ item: integer #41 │ │ │ │ │ ├─ variant_4: struct #47 -│ │ │ │ │ │ └─ [in]: list #43 +│ │ │ │ │ │ └─ [in]: list 'list_43' #43 │ │ │ │ │ │ └─ item: integer #41 │ │ │ │ │ └─ variant_5: struct #48 -│ │ │ │ │ └─ [notIn]: list #43 +│ │ │ │ │ └─ [notIn]: list 'list_43' #43 │ │ │ │ │ └─ item: integer #41 -│ │ │ │ └─ [title]: optional '_133__string_filter_c?' #133 +│ │ │ │ └─ [title]: optional 'optional_133' #133 │ │ │ │ └─ item: optional '_string_filter_c' #38 │ │ │ │ └─ item: union #37 │ │ │ │ ├─ variant_0: union '_string_filter' #35 @@ -171,21 +171,21 @@ root: struct #185 │ │ │ │ │ ├─ variant_2: struct #27 │ │ │ │ │ │ └─ [not]: string #23 │ │ │ │ │ ├─ variant_3: struct #28 -│ │ │ │ │ │ └─ [in]: list #25 +│ │ │ │ │ │ └─ [in]: list 'list_25' #25 │ │ │ │ │ │ └─ item: string #23 │ │ │ │ │ ├─ variant_4: struct #29 -│ │ │ │ │ │ └─ [notIn]: list #25 +│ │ │ │ │ │ └─ [notIn]: list 'list_25' #25 │ │ │ │ │ │ └─ item: string #23 │ │ │ │ │ ├─ variant_5: struct #32 │ │ │ │ │ │ ├─ [contains]: string #23 -│ │ │ │ │ │ └─ [mode]: optional #31 +│ │ │ │ │ │ └─ [mode]: optional 'optional_31' #31 │ │ │ │ │ │ └─ item: string #30 enum{ '"insensitive"' } │ │ │ │ │ ├─ variant_6: struct #33 │ │ │ │ │ │ └─ [search]: string #23 │ │ │ │ │ └─ variant_7: struct #34 -│ │ │ │ │ ├─ [endsWith]: optional #24 +│ │ │ │ │ ├─ [endsWith]: optional 'optional_24' #24 │ │ │ │ │ │ └─ item: string #23 -│ │ │ │ │ └─ [startsWith]: optional #24 +│ │ │ │ │ └─ [startsWith]: optional 'optional_24' #24 │ │ │ │ │ └─ item: string #23 │ │ │ │ └─ variant_1: struct #36 │ │ │ │ └─ [not]: union '_string_filter' #35 @@ -195,28 +195,28 @@ root: struct #185 │ │ │ │ ├─ variant_2: struct #27 │ │ │ │ │ └─ [not]: string #23 │ │ │ │ ├─ variant_3: struct #28 -│ │ │ │ │ └─ [in]: list #25 +│ │ │ │ │ └─ [in]: list 'list_25' #25 │ │ │ │ │ └─ item: string #23 │ │ │ │ ├─ variant_4: struct #29 -│ │ │ │ │ └─ [notIn]: list #25 +│ │ │ │ │ └─ [notIn]: list 'list_25' #25 │ │ │ │ │ └─ item: string #23 │ │ │ │ ├─ variant_5: struct #32 │ │ │ │ │ ├─ [contains]: string #23 -│ │ │ │ │ └─ [mode]: optional #31 +│ │ │ │ │ └─ [mode]: optional 'optional_31' #31 │ │ │ │ │ └─ item: string #30 enum{ '"insensitive"' } │ │ │ │ ├─ variant_6: struct #33 │ │ │ │ │ └─ [search]: string #23 │ │ │ │ └─ variant_7: struct #34 -│ │ │ │ ├─ [endsWith]: optional #24 +│ │ │ │ ├─ [endsWith]: optional 'optional_24' #24 │ │ │ │ │ └─ item: string #23 -│ │ │ │ └─ [startsWith]: optional #24 +│ │ │ │ └─ [startsWith]: optional 'optional_24' #24 │ │ │ │ └─ item: string #23 │ │ │ ├─ variant_1: struct #140 -│ │ │ │ └─ [some]: optional '_139_PostWhere__skip_66_UserWhere?' #139 +│ │ │ │ └─ [some]: optional 'optional_139' #139 │ │ │ │ └─ item: struct 'PostWhere__skip_66_UserWhere' #136 -│ │ │ │ ├─ [author]: optional '_135_UserWhere?' #135 +│ │ │ │ ├─ [author]: optional 'optional_135' #135 │ │ │ │ │ └─ item: &UserWhere #134 -│ │ │ │ ├─ [id]: optional '_132__integer_filter_c?' #132 +│ │ │ │ ├─ [id]: optional 'optional_132' #132 │ │ │ │ │ └─ item: optional '_integer_filter_c' #52 │ │ │ │ │ └─ item: union #51 │ │ │ │ │ ├─ variant_0: either '_integer_filter' #49 @@ -226,19 +226,19 @@ root: struct #185 │ │ │ │ │ │ ├─ variant_2: struct #45 │ │ │ │ │ │ │ └─ [not]: integer #41 │ │ │ │ │ │ ├─ variant_3: struct #46 -│ │ │ │ │ │ │ ├─ [gt]: optional #42 +│ │ │ │ │ │ │ ├─ [gt]: optional 'optional_42' #42 │ │ │ │ │ │ │ │ └─ item: integer #41 -│ │ │ │ │ │ │ ├─ [gte]: optional #42 +│ │ │ │ │ │ │ ├─ [gte]: optional 'optional_42' #42 │ │ │ │ │ │ │ │ └─ item: integer #41 -│ │ │ │ │ │ │ ├─ [lt]: optional #42 +│ │ │ │ │ │ │ ├─ [lt]: optional 'optional_42' #42 │ │ │ │ │ │ │ │ └─ item: integer #41 -│ │ │ │ │ │ │ └─ [lte]: optional #42 +│ │ │ │ │ │ │ └─ [lte]: optional 'optional_42' #42 │ │ │ │ │ │ │ └─ item: integer #41 │ │ │ │ │ │ ├─ variant_4: struct #47 -│ │ │ │ │ │ │ └─ [in]: list #43 +│ │ │ │ │ │ │ └─ [in]: list 'list_43' #43 │ │ │ │ │ │ │ └─ item: integer #41 │ │ │ │ │ │ └─ variant_5: struct #48 -│ │ │ │ │ │ └─ [notIn]: list #43 +│ │ │ │ │ │ └─ [notIn]: list 'list_43' #43 │ │ │ │ │ │ └─ item: integer #41 │ │ │ │ │ └─ variant_1: struct #50 │ │ │ │ │ └─ [not]: either '_integer_filter' #49 @@ -248,21 +248,21 @@ root: struct #185 │ │ │ │ │ ├─ variant_2: struct #45 │ │ │ │ │ │ └─ [not]: integer #41 │ │ │ │ │ ├─ variant_3: struct #46 -│ │ │ │ │ │ ├─ [gt]: optional #42 +│ │ │ │ │ │ ├─ [gt]: optional 'optional_42' #42 │ │ │ │ │ │ │ └─ item: integer #41 -│ │ │ │ │ │ ├─ [gte]: optional #42 +│ │ │ │ │ │ ├─ [gte]: optional 'optional_42' #42 │ │ │ │ │ │ │ └─ item: integer #41 -│ │ │ │ │ │ ├─ [lt]: optional #42 +│ │ │ │ │ │ ├─ [lt]: optional 'optional_42' #42 │ │ │ │ │ │ │ └─ item: integer #41 -│ │ │ │ │ │ └─ [lte]: optional #42 +│ │ │ │ │ │ └─ [lte]: optional 'optional_42' #42 │ │ │ │ │ │ └─ item: integer #41 │ │ │ │ │ ├─ variant_4: struct #47 -│ │ │ │ │ │ └─ [in]: list #43 +│ │ │ │ │ │ └─ [in]: list 'list_43' #43 │ │ │ │ │ │ └─ item: integer #41 │ │ │ │ │ └─ variant_5: struct #48 -│ │ │ │ │ └─ [notIn]: list #43 +│ │ │ │ │ └─ [notIn]: list 'list_43' #43 │ │ │ │ │ └─ item: integer #41 -│ │ │ │ └─ [title]: optional '_133__string_filter_c?' #133 +│ │ │ │ └─ [title]: optional 'optional_133' #133 │ │ │ │ └─ item: optional '_string_filter_c' #38 │ │ │ │ └─ item: union #37 │ │ │ │ ├─ variant_0: union '_string_filter' #35 @@ -272,21 +272,21 @@ root: struct #185 │ │ │ │ │ ├─ variant_2: struct #27 │ │ │ │ │ │ └─ [not]: string #23 │ │ │ │ │ ├─ variant_3: struct #28 -│ │ │ │ │ │ └─ [in]: list #25 +│ │ │ │ │ │ └─ [in]: list 'list_25' #25 │ │ │ │ │ │ └─ item: string #23 │ │ │ │ │ ├─ variant_4: struct #29 -│ │ │ │ │ │ └─ [notIn]: list #25 +│ │ │ │ │ │ └─ [notIn]: list 'list_25' #25 │ │ │ │ │ │ └─ item: string #23 │ │ │ │ │ ├─ variant_5: struct #32 │ │ │ │ │ │ ├─ [contains]: string #23 -│ │ │ │ │ │ └─ [mode]: optional #31 +│ │ │ │ │ │ └─ [mode]: optional 'optional_31' #31 │ │ │ │ │ │ └─ item: string #30 enum{ '"insensitive"' } │ │ │ │ │ ├─ variant_6: struct #33 │ │ │ │ │ │ └─ [search]: string #23 │ │ │ │ │ └─ variant_7: struct #34 -│ │ │ │ │ ├─ [endsWith]: optional #24 +│ │ │ │ │ ├─ [endsWith]: optional 'optional_24' #24 │ │ │ │ │ │ └─ item: string #23 -│ │ │ │ │ └─ [startsWith]: optional #24 +│ │ │ │ │ └─ [startsWith]: optional 'optional_24' #24 │ │ │ │ │ └─ item: string #23 │ │ │ │ └─ variant_1: struct #36 │ │ │ │ └─ [not]: union '_string_filter' #35 @@ -296,28 +296,28 @@ root: struct #185 │ │ │ │ ├─ variant_2: struct #27 │ │ │ │ │ └─ [not]: string #23 │ │ │ │ ├─ variant_3: struct #28 -│ │ │ │ │ └─ [in]: list #25 +│ │ │ │ │ └─ [in]: list 'list_25' #25 │ │ │ │ │ └─ item: string #23 │ │ │ │ ├─ variant_4: struct #29 -│ │ │ │ │ └─ [notIn]: list #25 +│ │ │ │ │ └─ [notIn]: list 'list_25' #25 │ │ │ │ │ └─ item: string #23 │ │ │ │ ├─ variant_5: struct #32 │ │ │ │ │ ├─ [contains]: string #23 -│ │ │ │ │ └─ [mode]: optional #31 +│ │ │ │ │ └─ [mode]: optional 'optional_31' #31 │ │ │ │ │ └─ item: string #30 enum{ '"insensitive"' } │ │ │ │ ├─ variant_6: struct #33 │ │ │ │ │ └─ [search]: string #23 │ │ │ │ └─ variant_7: struct #34 -│ │ │ │ ├─ [endsWith]: optional #24 +│ │ │ │ ├─ [endsWith]: optional 'optional_24' #24 │ │ │ │ │ └─ item: string #23 -│ │ │ │ └─ [startsWith]: optional #24 +│ │ │ │ └─ [startsWith]: optional 'optional_24' #24 │ │ │ │ └─ item: string #23 │ │ │ └─ variant_2: struct #142 -│ │ │ └─ [none]: optional '_141_PostWhere__skip_66_UserWhere?' #141 +│ │ │ └─ [none]: optional 'optional_141' #141 │ │ │ └─ item: struct 'PostWhere__skip_66_UserWhere' #136 -│ │ │ ├─ [author]: optional '_135_UserWhere?' #135 +│ │ │ ├─ [author]: optional 'optional_135' #135 │ │ │ │ └─ item: &UserWhere #134 -│ │ │ ├─ [id]: optional '_132__integer_filter_c?' #132 +│ │ │ ├─ [id]: optional 'optional_132' #132 │ │ │ │ └─ item: optional '_integer_filter_c' #52 │ │ │ │ └─ item: union #51 │ │ │ │ ├─ variant_0: either '_integer_filter' #49 @@ -327,19 +327,19 @@ root: struct #185 │ │ │ │ │ ├─ variant_2: struct #45 │ │ │ │ │ │ └─ [not]: integer #41 │ │ │ │ │ ├─ variant_3: struct #46 -│ │ │ │ │ │ ├─ [gt]: optional #42 +│ │ │ │ │ │ ├─ [gt]: optional 'optional_42' #42 │ │ │ │ │ │ │ └─ item: integer #41 -│ │ │ │ │ │ ├─ [gte]: optional #42 +│ │ │ │ │ │ ├─ [gte]: optional 'optional_42' #42 │ │ │ │ │ │ │ └─ item: integer #41 -│ │ │ │ │ │ ├─ [lt]: optional #42 +│ │ │ │ │ │ ├─ [lt]: optional 'optional_42' #42 │ │ │ │ │ │ │ └─ item: integer #41 -│ │ │ │ │ │ └─ [lte]: optional #42 +│ │ │ │ │ │ └─ [lte]: optional 'optional_42' #42 │ │ │ │ │ │ └─ item: integer #41 │ │ │ │ │ ├─ variant_4: struct #47 -│ │ │ │ │ │ └─ [in]: list #43 +│ │ │ │ │ │ └─ [in]: list 'list_43' #43 │ │ │ │ │ │ └─ item: integer #41 │ │ │ │ │ └─ variant_5: struct #48 -│ │ │ │ │ └─ [notIn]: list #43 +│ │ │ │ │ └─ [notIn]: list 'list_43' #43 │ │ │ │ │ └─ item: integer #41 │ │ │ │ └─ variant_1: struct #50 │ │ │ │ └─ [not]: either '_integer_filter' #49 @@ -349,21 +349,21 @@ root: struct #185 │ │ │ │ ├─ variant_2: struct #45 │ │ │ │ │ └─ [not]: integer #41 │ │ │ │ ├─ variant_3: struct #46 -│ │ │ │ │ ├─ [gt]: optional #42 +│ │ │ │ │ ├─ [gt]: optional 'optional_42' #42 │ │ │ │ │ │ └─ item: integer #41 -│ │ │ │ │ ├─ [gte]: optional #42 +│ │ │ │ │ ├─ [gte]: optional 'optional_42' #42 │ │ │ │ │ │ └─ item: integer #41 -│ │ │ │ │ ├─ [lt]: optional #42 +│ │ │ │ │ ├─ [lt]: optional 'optional_42' #42 │ │ │ │ │ │ └─ item: integer #41 -│ │ │ │ │ └─ [lte]: optional #42 +│ │ │ │ │ └─ [lte]: optional 'optional_42' #42 │ │ │ │ │ └─ item: integer #41 │ │ │ │ ├─ variant_4: struct #47 -│ │ │ │ │ └─ [in]: list #43 +│ │ │ │ │ └─ [in]: list 'list_43' #43 │ │ │ │ │ └─ item: integer #41 │ │ │ │ └─ variant_5: struct #48 -│ │ │ │ └─ [notIn]: list #43 +│ │ │ │ └─ [notIn]: list 'list_43' #43 │ │ │ │ └─ item: integer #41 -│ │ │ └─ [title]: optional '_133__string_filter_c?' #133 +│ │ │ └─ [title]: optional 'optional_133' #133 │ │ │ └─ item: optional '_string_filter_c' #38 │ │ │ └─ item: union #37 │ │ │ ├─ variant_0: union '_string_filter' #35 @@ -373,21 +373,21 @@ root: struct #185 │ │ │ │ ├─ variant_2: struct #27 │ │ │ │ │ └─ [not]: string #23 │ │ │ │ ├─ variant_3: struct #28 -│ │ │ │ │ └─ [in]: list #25 +│ │ │ │ │ └─ [in]: list 'list_25' #25 │ │ │ │ │ └─ item: string #23 │ │ │ │ ├─ variant_4: struct #29 -│ │ │ │ │ └─ [notIn]: list #25 +│ │ │ │ │ └─ [notIn]: list 'list_25' #25 │ │ │ │ │ └─ item: string #23 │ │ │ │ ├─ variant_5: struct #32 │ │ │ │ │ ├─ [contains]: string #23 -│ │ │ │ │ └─ [mode]: optional #31 +│ │ │ │ │ └─ [mode]: optional 'optional_31' #31 │ │ │ │ │ └─ item: string #30 enum{ '"insensitive"' } │ │ │ │ ├─ variant_6: struct #33 │ │ │ │ │ └─ [search]: string #23 │ │ │ │ └─ variant_7: struct #34 -│ │ │ │ ├─ [endsWith]: optional #24 +│ │ │ │ ├─ [endsWith]: optional 'optional_24' #24 │ │ │ │ │ └─ item: string #23 -│ │ │ │ └─ [startsWith]: optional #24 +│ │ │ │ └─ [startsWith]: optional 'optional_24' #24 │ │ │ │ └─ item: string #23 │ │ │ └─ variant_1: struct #36 │ │ │ └─ [not]: union '_string_filter' #35 @@ -397,21 +397,21 @@ root: struct #185 │ │ │ ├─ variant_2: struct #27 │ │ │ │ └─ [not]: string #23 │ │ │ ├─ variant_3: struct #28 -│ │ │ │ └─ [in]: list #25 +│ │ │ │ └─ [in]: list 'list_25' #25 │ │ │ │ └─ item: string #23 │ │ │ ├─ variant_4: struct #29 -│ │ │ │ └─ [notIn]: list #25 +│ │ │ │ └─ [notIn]: list 'list_25' #25 │ │ │ │ └─ item: string #23 │ │ │ ├─ variant_5: struct #32 │ │ │ │ ├─ [contains]: string #23 -│ │ │ │ └─ [mode]: optional #31 +│ │ │ │ └─ [mode]: optional 'optional_31' #31 │ │ │ │ └─ item: string #30 enum{ '"insensitive"' } │ │ │ ├─ variant_6: struct #33 │ │ │ │ └─ [search]: string #23 │ │ │ └─ variant_7: struct #34 -│ │ │ ├─ [endsWith]: optional #24 +│ │ │ ├─ [endsWith]: optional 'optional_24' #24 │ │ │ │ └─ item: string #23 -│ │ │ └─ [startsWith]: optional #24 +│ │ │ └─ [startsWith]: optional 'optional_24' #24 │ │ │ └─ item: string #23 │ │ ├─ variant_2: struct #165 │ │ │ └─ [connectOrCreate]: struct #162 @@ -419,7 +419,7 @@ root: struct #185 │ │ │ │ ├─ [id]: integer #62 │ │ │ │ └─ [name]: string #63 │ │ │ └─ [where]: struct 'UserWhere' #145 -│ │ │ ├─ [id]: optional '_130__integer_filter_c?' #130 +│ │ │ ├─ [id]: optional 'optional_130' #130 │ │ │ │ └─ item: optional '_integer_filter_c' #52 │ │ │ │ └─ item: union #51 │ │ │ │ ├─ variant_0: either '_integer_filter' #49 @@ -429,19 +429,19 @@ root: struct #185 │ │ │ │ │ ├─ variant_2: struct #45 │ │ │ │ │ │ └─ [not]: integer #41 │ │ │ │ │ ├─ variant_3: struct #46 -│ │ │ │ │ │ ├─ [gt]: optional #42 +│ │ │ │ │ │ ├─ [gt]: optional 'optional_42' #42 │ │ │ │ │ │ │ └─ item: integer #41 -│ │ │ │ │ │ ├─ [gte]: optional #42 +│ │ │ │ │ │ ├─ [gte]: optional 'optional_42' #42 │ │ │ │ │ │ │ └─ item: integer #41 -│ │ │ │ │ │ ├─ [lt]: optional #42 +│ │ │ │ │ │ ├─ [lt]: optional 'optional_42' #42 │ │ │ │ │ │ │ └─ item: integer #41 -│ │ │ │ │ │ └─ [lte]: optional #42 +│ │ │ │ │ │ └─ [lte]: optional 'optional_42' #42 │ │ │ │ │ │ └─ item: integer #41 │ │ │ │ │ ├─ variant_4: struct #47 -│ │ │ │ │ │ └─ [in]: list #43 +│ │ │ │ │ │ └─ [in]: list 'list_43' #43 │ │ │ │ │ │ └─ item: integer #41 │ │ │ │ │ └─ variant_5: struct #48 -│ │ │ │ │ └─ [notIn]: list #43 +│ │ │ │ │ └─ [notIn]: list 'list_43' #43 │ │ │ │ │ └─ item: integer #41 │ │ │ │ └─ variant_1: struct #50 │ │ │ │ └─ [not]: either '_integer_filter' #49 @@ -451,21 +451,21 @@ root: struct #185 │ │ │ │ ├─ variant_2: struct #45 │ │ │ │ │ └─ [not]: integer #41 │ │ │ │ ├─ variant_3: struct #46 -│ │ │ │ │ ├─ [gt]: optional #42 +│ │ │ │ │ ├─ [gt]: optional 'optional_42' #42 │ │ │ │ │ │ └─ item: integer #41 -│ │ │ │ │ ├─ [gte]: optional #42 +│ │ │ │ │ ├─ [gte]: optional 'optional_42' #42 │ │ │ │ │ │ └─ item: integer #41 -│ │ │ │ │ ├─ [lt]: optional #42 +│ │ │ │ │ ├─ [lt]: optional 'optional_42' #42 │ │ │ │ │ │ └─ item: integer #41 -│ │ │ │ │ └─ [lte]: optional #42 +│ │ │ │ │ └─ [lte]: optional 'optional_42' #42 │ │ │ │ │ └─ item: integer #41 │ │ │ │ ├─ variant_4: struct #47 -│ │ │ │ │ └─ [in]: list #43 +│ │ │ │ │ └─ [in]: list 'list_43' #43 │ │ │ │ │ └─ item: integer #41 │ │ │ │ └─ variant_5: struct #48 -│ │ │ │ └─ [notIn]: list #43 +│ │ │ │ └─ [notIn]: list 'list_43' #43 │ │ │ │ └─ item: integer #41 -│ │ │ ├─ [name]: optional '_131__string_filter_c?' #131 +│ │ │ ├─ [name]: optional 'optional_131' #131 │ │ │ │ └─ item: optional '_string_filter_c' #38 │ │ │ │ └─ item: union #37 │ │ │ │ ├─ variant_0: union '_string_filter' #35 @@ -475,21 +475,21 @@ root: struct #185 │ │ │ │ │ ├─ variant_2: struct #27 │ │ │ │ │ │ └─ [not]: string #23 │ │ │ │ │ ├─ variant_3: struct #28 -│ │ │ │ │ │ └─ [in]: list #25 +│ │ │ │ │ │ └─ [in]: list 'list_25' #25 │ │ │ │ │ │ └─ item: string #23 │ │ │ │ │ ├─ variant_4: struct #29 -│ │ │ │ │ │ └─ [notIn]: list #25 +│ │ │ │ │ │ └─ [notIn]: list 'list_25' #25 │ │ │ │ │ │ └─ item: string #23 │ │ │ │ │ ├─ variant_5: struct #32 │ │ │ │ │ │ ├─ [contains]: string #23 -│ │ │ │ │ │ └─ [mode]: optional #31 +│ │ │ │ │ │ └─ [mode]: optional 'optional_31' #31 │ │ │ │ │ │ └─ item: string #30 enum{ '"insensitive"' } │ │ │ │ │ ├─ variant_6: struct #33 │ │ │ │ │ │ └─ [search]: string #23 │ │ │ │ │ └─ variant_7: struct #34 -│ │ │ │ │ ├─ [endsWith]: optional #24 +│ │ │ │ │ ├─ [endsWith]: optional 'optional_24' #24 │ │ │ │ │ │ └─ item: string #23 -│ │ │ │ │ └─ [startsWith]: optional #24 +│ │ │ │ │ └─ [startsWith]: optional 'optional_24' #24 │ │ │ │ │ └─ item: string #23 │ │ │ │ └─ variant_1: struct #36 │ │ │ │ └─ [not]: union '_string_filter' #35 @@ -499,30 +499,30 @@ root: struct #185 │ │ │ │ ├─ variant_2: struct #27 │ │ │ │ │ └─ [not]: string #23 │ │ │ │ ├─ variant_3: struct #28 -│ │ │ │ │ └─ [in]: list #25 +│ │ │ │ │ └─ [in]: list 'list_25' #25 │ │ │ │ │ └─ item: string #23 │ │ │ │ ├─ variant_4: struct #29 -│ │ │ │ │ └─ [notIn]: list #25 +│ │ │ │ │ └─ [notIn]: list 'list_25' #25 │ │ │ │ │ └─ item: string #23 │ │ │ │ ├─ variant_5: struct #32 │ │ │ │ │ ├─ [contains]: string #23 -│ │ │ │ │ └─ [mode]: optional #31 +│ │ │ │ │ └─ [mode]: optional 'optional_31' #31 │ │ │ │ │ └─ item: string #30 enum{ '"insensitive"' } │ │ │ │ ├─ variant_6: struct #33 │ │ │ │ │ └─ [search]: string #23 │ │ │ │ └─ variant_7: struct #34 -│ │ │ │ ├─ [endsWith]: optional #24 +│ │ │ │ ├─ [endsWith]: optional 'optional_24' #24 │ │ │ │ │ └─ item: string #23 -│ │ │ │ └─ [startsWith]: optional #24 +│ │ │ │ └─ [startsWith]: optional 'optional_24' #24 │ │ │ │ └─ item: string #23 -│ │ │ └─ [posts]: optional #144 +│ │ │ └─ [posts]: optional 'optional_144' #144 │ │ │ └─ item: union #143 │ │ │ ├─ variant_0: struct #138 -│ │ │ │ └─ [every]: optional '_137_PostWhere__skip_66_UserWhere?' #137 +│ │ │ │ └─ [every]: optional 'optional_137' #137 │ │ │ │ └─ item: struct 'PostWhere__skip_66_UserWhere' #136 -│ │ │ │ ├─ [author]: optional '_135_UserWhere?' #135 +│ │ │ │ ├─ [author]: optional 'optional_135' #135 │ │ │ │ │ └─ item: &UserWhere #134 -│ │ │ │ ├─ [id]: optional '_132__integer_filter_c?' #132 +│ │ │ │ ├─ [id]: optional 'optional_132' #132 │ │ │ │ │ └─ item: optional '_integer_filter_c' #52 │ │ │ │ │ └─ item: union #51 │ │ │ │ │ ├─ variant_0: either '_integer_filter' #49 @@ -532,19 +532,19 @@ root: struct #185 │ │ │ │ │ │ ├─ variant_2: struct #45 │ │ │ │ │ │ │ └─ [not]: integer #41 │ │ │ │ │ │ ├─ variant_3: struct #46 -│ │ │ │ │ │ │ ├─ [gt]: optional #42 +│ │ │ │ │ │ │ ├─ [gt]: optional 'optional_42' #42 │ │ │ │ │ │ │ │ └─ item: integer #41 -│ │ │ │ │ │ │ ├─ [gte]: optional #42 +│ │ │ │ │ │ │ ├─ [gte]: optional 'optional_42' #42 │ │ │ │ │ │ │ │ └─ item: integer #41 -│ │ │ │ │ │ │ ├─ [lt]: optional #42 +│ │ │ │ │ │ │ ├─ [lt]: optional 'optional_42' #42 │ │ │ │ │ │ │ │ └─ item: integer #41 -│ │ │ │ │ │ │ └─ [lte]: optional #42 +│ │ │ │ │ │ │ └─ [lte]: optional 'optional_42' #42 │ │ │ │ │ │ │ └─ item: integer #41 │ │ │ │ │ │ ├─ variant_4: struct #47 -│ │ │ │ │ │ │ └─ [in]: list #43 +│ │ │ │ │ │ │ └─ [in]: list 'list_43' #43 │ │ │ │ │ │ │ └─ item: integer #41 │ │ │ │ │ │ └─ variant_5: struct #48 -│ │ │ │ │ │ └─ [notIn]: list #43 +│ │ │ │ │ │ └─ [notIn]: list 'list_43' #43 │ │ │ │ │ │ └─ item: integer #41 │ │ │ │ │ └─ variant_1: struct #50 │ │ │ │ │ └─ [not]: either '_integer_filter' #49 @@ -554,21 +554,21 @@ root: struct #185 │ │ │ │ │ ├─ variant_2: struct #45 │ │ │ │ │ │ └─ [not]: integer #41 │ │ │ │ │ ├─ variant_3: struct #46 -│ │ │ │ │ │ ├─ [gt]: optional #42 +│ │ │ │ │ │ ├─ [gt]: optional 'optional_42' #42 │ │ │ │ │ │ │ └─ item: integer #41 -│ │ │ │ │ │ ├─ [gte]: optional #42 +│ │ │ │ │ │ ├─ [gte]: optional 'optional_42' #42 │ │ │ │ │ │ │ └─ item: integer #41 -│ │ │ │ │ │ ├─ [lt]: optional #42 +│ │ │ │ │ │ ├─ [lt]: optional 'optional_42' #42 │ │ │ │ │ │ │ └─ item: integer #41 -│ │ │ │ │ │ └─ [lte]: optional #42 +│ │ │ │ │ │ └─ [lte]: optional 'optional_42' #42 │ │ │ │ │ │ └─ item: integer #41 │ │ │ │ │ ├─ variant_4: struct #47 -│ │ │ │ │ │ └─ [in]: list #43 +│ │ │ │ │ │ └─ [in]: list 'list_43' #43 │ │ │ │ │ │ └─ item: integer #41 │ │ │ │ │ └─ variant_5: struct #48 -│ │ │ │ │ └─ [notIn]: list #43 +│ │ │ │ │ └─ [notIn]: list 'list_43' #43 │ │ │ │ │ └─ item: integer #41 -│ │ │ │ └─ [title]: optional '_133__string_filter_c?' #133 +│ │ │ │ └─ [title]: optional 'optional_133' #133 │ │ │ │ └─ item: optional '_string_filter_c' #38 │ │ │ │ └─ item: union #37 │ │ │ │ ├─ variant_0: union '_string_filter' #35 @@ -578,21 +578,21 @@ root: struct #185 │ │ │ │ │ ├─ variant_2: struct #27 │ │ │ │ │ │ └─ [not]: string #23 │ │ │ │ │ ├─ variant_3: struct #28 -│ │ │ │ │ │ └─ [in]: list #25 +│ │ │ │ │ │ └─ [in]: list 'list_25' #25 │ │ │ │ │ │ └─ item: string #23 │ │ │ │ │ ├─ variant_4: struct #29 -│ │ │ │ │ │ └─ [notIn]: list #25 +│ │ │ │ │ │ └─ [notIn]: list 'list_25' #25 │ │ │ │ │ │ └─ item: string #23 │ │ │ │ │ ├─ variant_5: struct #32 │ │ │ │ │ │ ├─ [contains]: string #23 -│ │ │ │ │ │ └─ [mode]: optional #31 +│ │ │ │ │ │ └─ [mode]: optional 'optional_31' #31 │ │ │ │ │ │ └─ item: string #30 enum{ '"insensitive"' } │ │ │ │ │ ├─ variant_6: struct #33 │ │ │ │ │ │ └─ [search]: string #23 │ │ │ │ │ └─ variant_7: struct #34 -│ │ │ │ │ ├─ [endsWith]: optional #24 +│ │ │ │ │ ├─ [endsWith]: optional 'optional_24' #24 │ │ │ │ │ │ └─ item: string #23 -│ │ │ │ │ └─ [startsWith]: optional #24 +│ │ │ │ │ └─ [startsWith]: optional 'optional_24' #24 │ │ │ │ │ └─ item: string #23 │ │ │ │ └─ variant_1: struct #36 │ │ │ │ └─ [not]: union '_string_filter' #35 @@ -602,28 +602,28 @@ root: struct #185 │ │ │ │ ├─ variant_2: struct #27 │ │ │ │ │ └─ [not]: string #23 │ │ │ │ ├─ variant_3: struct #28 -│ │ │ │ │ └─ [in]: list #25 +│ │ │ │ │ └─ [in]: list 'list_25' #25 │ │ │ │ │ └─ item: string #23 │ │ │ │ ├─ variant_4: struct #29 -│ │ │ │ │ └─ [notIn]: list #25 +│ │ │ │ │ └─ [notIn]: list 'list_25' #25 │ │ │ │ │ └─ item: string #23 │ │ │ │ ├─ variant_5: struct #32 │ │ │ │ │ ├─ [contains]: string #23 -│ │ │ │ │ └─ [mode]: optional #31 +│ │ │ │ │ └─ [mode]: optional 'optional_31' #31 │ │ │ │ │ └─ item: string #30 enum{ '"insensitive"' } │ │ │ │ ├─ variant_6: struct #33 │ │ │ │ │ └─ [search]: string #23 │ │ │ │ └─ variant_7: struct #34 -│ │ │ │ ├─ [endsWith]: optional #24 +│ │ │ │ ├─ [endsWith]: optional 'optional_24' #24 │ │ │ │ │ └─ item: string #23 -│ │ │ │ └─ [startsWith]: optional #24 +│ │ │ │ └─ [startsWith]: optional 'optional_24' #24 │ │ │ │ └─ item: string #23 │ │ │ ├─ variant_1: struct #140 -│ │ │ │ └─ [some]: optional '_139_PostWhere__skip_66_UserWhere?' #139 +│ │ │ │ └─ [some]: optional 'optional_139' #139 │ │ │ │ └─ item: struct 'PostWhere__skip_66_UserWhere' #136 -│ │ │ │ ├─ [author]: optional '_135_UserWhere?' #135 +│ │ │ │ ├─ [author]: optional 'optional_135' #135 │ │ │ │ │ └─ item: &UserWhere #134 -│ │ │ │ ├─ [id]: optional '_132__integer_filter_c?' #132 +│ │ │ │ ├─ [id]: optional 'optional_132' #132 │ │ │ │ │ └─ item: optional '_integer_filter_c' #52 │ │ │ │ │ └─ item: union #51 │ │ │ │ │ ├─ variant_0: either '_integer_filter' #49 @@ -633,19 +633,19 @@ root: struct #185 │ │ │ │ │ │ ├─ variant_2: struct #45 │ │ │ │ │ │ │ └─ [not]: integer #41 │ │ │ │ │ │ ├─ variant_3: struct #46 -│ │ │ │ │ │ │ ├─ [gt]: optional #42 +│ │ │ │ │ │ │ ├─ [gt]: optional 'optional_42' #42 │ │ │ │ │ │ │ │ └─ item: integer #41 -│ │ │ │ │ │ │ ├─ [gte]: optional #42 +│ │ │ │ │ │ │ ├─ [gte]: optional 'optional_42' #42 │ │ │ │ │ │ │ │ └─ item: integer #41 -│ │ │ │ │ │ │ ├─ [lt]: optional #42 +│ │ │ │ │ │ │ ├─ [lt]: optional 'optional_42' #42 │ │ │ │ │ │ │ │ └─ item: integer #41 -│ │ │ │ │ │ │ └─ [lte]: optional #42 +│ │ │ │ │ │ │ └─ [lte]: optional 'optional_42' #42 │ │ │ │ │ │ │ └─ item: integer #41 │ │ │ │ │ │ ├─ variant_4: struct #47 -│ │ │ │ │ │ │ └─ [in]: list #43 +│ │ │ │ │ │ │ └─ [in]: list 'list_43' #43 │ │ │ │ │ │ │ └─ item: integer #41 │ │ │ │ │ │ └─ variant_5: struct #48 -│ │ │ │ │ │ └─ [notIn]: list #43 +│ │ │ │ │ │ └─ [notIn]: list 'list_43' #43 │ │ │ │ │ │ └─ item: integer #41 │ │ │ │ │ └─ variant_1: struct #50 │ │ │ │ │ └─ [not]: either '_integer_filter' #49 @@ -655,21 +655,21 @@ root: struct #185 │ │ │ │ │ ├─ variant_2: struct #45 │ │ │ │ │ │ └─ [not]: integer #41 │ │ │ │ │ ├─ variant_3: struct #46 -│ │ │ │ │ │ ├─ [gt]: optional #42 +│ │ │ │ │ │ ├─ [gt]: optional 'optional_42' #42 │ │ │ │ │ │ │ └─ item: integer #41 -│ │ │ │ │ │ ├─ [gte]: optional #42 +│ │ │ │ │ │ ├─ [gte]: optional 'optional_42' #42 │ │ │ │ │ │ │ └─ item: integer #41 -│ │ │ │ │ │ ├─ [lt]: optional #42 +│ │ │ │ │ │ ├─ [lt]: optional 'optional_42' #42 │ │ │ │ │ │ │ └─ item: integer #41 -│ │ │ │ │ │ └─ [lte]: optional #42 +│ │ │ │ │ │ └─ [lte]: optional 'optional_42' #42 │ │ │ │ │ │ └─ item: integer #41 │ │ │ │ │ ├─ variant_4: struct #47 -│ │ │ │ │ │ └─ [in]: list #43 +│ │ │ │ │ │ └─ [in]: list 'list_43' #43 │ │ │ │ │ │ └─ item: integer #41 │ │ │ │ │ └─ variant_5: struct #48 -│ │ │ │ │ └─ [notIn]: list #43 +│ │ │ │ │ └─ [notIn]: list 'list_43' #43 │ │ │ │ │ └─ item: integer #41 -│ │ │ │ └─ [title]: optional '_133__string_filter_c?' #133 +│ │ │ │ └─ [title]: optional 'optional_133' #133 │ │ │ │ └─ item: optional '_string_filter_c' #38 │ │ │ │ └─ item: union #37 │ │ │ │ ├─ variant_0: union '_string_filter' #35 @@ -679,21 +679,21 @@ root: struct #185 │ │ │ │ │ ├─ variant_2: struct #27 │ │ │ │ │ │ └─ [not]: string #23 │ │ │ │ │ ├─ variant_3: struct #28 -│ │ │ │ │ │ └─ [in]: list #25 +│ │ │ │ │ │ └─ [in]: list 'list_25' #25 │ │ │ │ │ │ └─ item: string #23 │ │ │ │ │ ├─ variant_4: struct #29 -│ │ │ │ │ │ └─ [notIn]: list #25 +│ │ │ │ │ │ └─ [notIn]: list 'list_25' #25 │ │ │ │ │ │ └─ item: string #23 │ │ │ │ │ ├─ variant_5: struct #32 │ │ │ │ │ │ ├─ [contains]: string #23 -│ │ │ │ │ │ └─ [mode]: optional #31 +│ │ │ │ │ │ └─ [mode]: optional 'optional_31' #31 │ │ │ │ │ │ └─ item: string #30 enum{ '"insensitive"' } │ │ │ │ │ ├─ variant_6: struct #33 │ │ │ │ │ │ └─ [search]: string #23 │ │ │ │ │ └─ variant_7: struct #34 -│ │ │ │ │ ├─ [endsWith]: optional #24 +│ │ │ │ │ ├─ [endsWith]: optional 'optional_24' #24 │ │ │ │ │ │ └─ item: string #23 -│ │ │ │ │ └─ [startsWith]: optional #24 +│ │ │ │ │ └─ [startsWith]: optional 'optional_24' #24 │ │ │ │ │ └─ item: string #23 │ │ │ │ └─ variant_1: struct #36 │ │ │ │ └─ [not]: union '_string_filter' #35 @@ -703,28 +703,28 @@ root: struct #185 │ │ │ │ ├─ variant_2: struct #27 │ │ │ │ │ └─ [not]: string #23 │ │ │ │ ├─ variant_3: struct #28 -│ │ │ │ │ └─ [in]: list #25 +│ │ │ │ │ └─ [in]: list 'list_25' #25 │ │ │ │ │ └─ item: string #23 │ │ │ │ ├─ variant_4: struct #29 -│ │ │ │ │ └─ [notIn]: list #25 +│ │ │ │ │ └─ [notIn]: list 'list_25' #25 │ │ │ │ │ └─ item: string #23 │ │ │ │ ├─ variant_5: struct #32 │ │ │ │ │ ├─ [contains]: string #23 -│ │ │ │ │ └─ [mode]: optional #31 +│ │ │ │ │ └─ [mode]: optional 'optional_31' #31 │ │ │ │ │ └─ item: string #30 enum{ '"insensitive"' } │ │ │ │ ├─ variant_6: struct #33 │ │ │ │ │ └─ [search]: string #23 │ │ │ │ └─ variant_7: struct #34 -│ │ │ │ ├─ [endsWith]: optional #24 +│ │ │ │ ├─ [endsWith]: optional 'optional_24' #24 │ │ │ │ │ └─ item: string #23 -│ │ │ │ └─ [startsWith]: optional #24 +│ │ │ │ └─ [startsWith]: optional 'optional_24' #24 │ │ │ │ └─ item: string #23 │ │ │ └─ variant_2: struct #142 -│ │ │ └─ [none]: optional '_141_PostWhere__skip_66_UserWhere?' #141 +│ │ │ └─ [none]: optional 'optional_141' #141 │ │ │ └─ item: struct 'PostWhere__skip_66_UserWhere' #136 -│ │ │ ├─ [author]: optional '_135_UserWhere?' #135 +│ │ │ ├─ [author]: optional 'optional_135' #135 │ │ │ │ └─ item: &UserWhere #134 -│ │ │ ├─ [id]: optional '_132__integer_filter_c?' #132 +│ │ │ ├─ [id]: optional 'optional_132' #132 │ │ │ │ └─ item: optional '_integer_filter_c' #52 │ │ │ │ └─ item: union #51 │ │ │ │ ├─ variant_0: either '_integer_filter' #49 @@ -734,19 +734,19 @@ root: struct #185 │ │ │ │ │ ├─ variant_2: struct #45 │ │ │ │ │ │ └─ [not]: integer #41 │ │ │ │ │ ├─ variant_3: struct #46 -│ │ │ │ │ │ ├─ [gt]: optional #42 +│ │ │ │ │ │ ├─ [gt]: optional 'optional_42' #42 │ │ │ │ │ │ │ └─ item: integer #41 -│ │ │ │ │ │ ├─ [gte]: optional #42 +│ │ │ │ │ │ ├─ [gte]: optional 'optional_42' #42 │ │ │ │ │ │ │ └─ item: integer #41 -│ │ │ │ │ │ ├─ [lt]: optional #42 +│ │ │ │ │ │ ├─ [lt]: optional 'optional_42' #42 │ │ │ │ │ │ │ └─ item: integer #41 -│ │ │ │ │ │ └─ [lte]: optional #42 +│ │ │ │ │ │ └─ [lte]: optional 'optional_42' #42 │ │ │ │ │ │ └─ item: integer #41 │ │ │ │ │ ├─ variant_4: struct #47 -│ │ │ │ │ │ └─ [in]: list #43 +│ │ │ │ │ │ └─ [in]: list 'list_43' #43 │ │ │ │ │ │ └─ item: integer #41 │ │ │ │ │ └─ variant_5: struct #48 -│ │ │ │ │ └─ [notIn]: list #43 +│ │ │ │ │ └─ [notIn]: list 'list_43' #43 │ │ │ │ │ └─ item: integer #41 │ │ │ │ └─ variant_1: struct #50 │ │ │ │ └─ [not]: either '_integer_filter' #49 @@ -756,21 +756,21 @@ root: struct #185 │ │ │ │ ├─ variant_2: struct #45 │ │ │ │ │ └─ [not]: integer #41 │ │ │ │ ├─ variant_3: struct #46 -│ │ │ │ │ ├─ [gt]: optional #42 +│ │ │ │ │ ├─ [gt]: optional 'optional_42' #42 │ │ │ │ │ │ └─ item: integer #41 -│ │ │ │ │ ├─ [gte]: optional #42 +│ │ │ │ │ ├─ [gte]: optional 'optional_42' #42 │ │ │ │ │ │ └─ item: integer #41 -│ │ │ │ │ ├─ [lt]: optional #42 +│ │ │ │ │ ├─ [lt]: optional 'optional_42' #42 │ │ │ │ │ │ └─ item: integer #41 -│ │ │ │ │ └─ [lte]: optional #42 +│ │ │ │ │ └─ [lte]: optional 'optional_42' #42 │ │ │ │ │ └─ item: integer #41 │ │ │ │ ├─ variant_4: struct #47 -│ │ │ │ │ └─ [in]: list #43 +│ │ │ │ │ └─ [in]: list 'list_43' #43 │ │ │ │ │ └─ item: integer #41 │ │ │ │ └─ variant_5: struct #48 -│ │ │ │ └─ [notIn]: list #43 +│ │ │ │ └─ [notIn]: list 'list_43' #43 │ │ │ │ └─ item: integer #41 -│ │ │ └─ [title]: optional '_133__string_filter_c?' #133 +│ │ │ └─ [title]: optional 'optional_133' #133 │ │ │ └─ item: optional '_string_filter_c' #38 │ │ │ └─ item: union #37 │ │ │ ├─ variant_0: union '_string_filter' #35 @@ -780,21 +780,21 @@ root: struct #185 │ │ │ │ ├─ variant_2: struct #27 │ │ │ │ │ └─ [not]: string #23 │ │ │ │ ├─ variant_3: struct #28 -│ │ │ │ │ └─ [in]: list #25 +│ │ │ │ │ └─ [in]: list 'list_25' #25 │ │ │ │ │ └─ item: string #23 │ │ │ │ ├─ variant_4: struct #29 -│ │ │ │ │ └─ [notIn]: list #25 +│ │ │ │ │ └─ [notIn]: list 'list_25' #25 │ │ │ │ │ └─ item: string #23 │ │ │ │ ├─ variant_5: struct #32 │ │ │ │ │ ├─ [contains]: string #23 -│ │ │ │ │ └─ [mode]: optional #31 +│ │ │ │ │ └─ [mode]: optional 'optional_31' #31 │ │ │ │ │ └─ item: string #30 enum{ '"insensitive"' } │ │ │ │ ├─ variant_6: struct #33 │ │ │ │ │ └─ [search]: string #23 │ │ │ │ └─ variant_7: struct #34 -│ │ │ │ ├─ [endsWith]: optional #24 +│ │ │ │ ├─ [endsWith]: optional 'optional_24' #24 │ │ │ │ │ └─ item: string #23 -│ │ │ │ └─ [startsWith]: optional #24 +│ │ │ │ └─ [startsWith]: optional 'optional_24' #24 │ │ │ │ └─ item: string #23 │ │ │ └─ variant_1: struct #36 │ │ │ └─ [not]: union '_string_filter' #35 @@ -804,25 +804,25 @@ root: struct #185 │ │ │ ├─ variant_2: struct #27 │ │ │ │ └─ [not]: string #23 │ │ │ ├─ variant_3: struct #28 -│ │ │ │ └─ [in]: list #25 +│ │ │ │ └─ [in]: list 'list_25' #25 │ │ │ │ └─ item: string #23 │ │ │ ├─ variant_4: struct #29 -│ │ │ │ └─ [notIn]: list #25 +│ │ │ │ └─ [notIn]: list 'list_25' #25 │ │ │ │ └─ item: string #23 │ │ │ ├─ variant_5: struct #32 │ │ │ │ ├─ [contains]: string #23 -│ │ │ │ └─ [mode]: optional #31 +│ │ │ │ └─ [mode]: optional 'optional_31' #31 │ │ │ │ └─ item: string #30 enum{ '"insensitive"' } │ │ │ ├─ variant_6: struct #33 │ │ │ │ └─ [search]: string #23 │ │ │ └─ variant_7: struct #34 -│ │ │ ├─ [endsWith]: optional #24 +│ │ │ ├─ [endsWith]: optional 'optional_24' #24 │ │ │ │ └─ item: string #23 -│ │ │ └─ [startsWith]: optional #24 +│ │ │ └─ [startsWith]: optional 'optional_24' #24 │ │ │ └─ item: string #23 │ │ └─ variant_3: struct #176 │ │ └─ [update]: struct '_User_UpdateInput_excluding___rel_Post_User_1' #175 -│ │ ├─ [id]: optional #171 +│ │ ├─ [id]: optional 'optional_171' #171 │ │ │ └─ item: union #170 │ │ │ ├─ variant_0: integer #62 │ │ │ ├─ variant_1: struct #166 @@ -833,12 +833,12 @@ root: struct #185 │ │ │ │ └─ [decrement]: integer #62 │ │ │ └─ variant_4: struct #169 │ │ │ └─ [increment]: integer #62 -│ │ └─ [name]: optional #174 +│ │ └─ [name]: optional 'optional_174' #174 │ │ └─ item: union #173 │ │ ├─ variant_0: string #63 │ │ └─ variant_1: struct #172 │ │ └─ [set]: string #63 -│ ├─ [id]: optional #157 +│ ├─ [id]: optional 'optional_157' #157 │ │ └─ item: union #156 │ │ ├─ variant_0: integer #67 │ │ ├─ variant_1: struct #152 @@ -849,23 +849,23 @@ root: struct #185 │ │ │ └─ [decrement]: integer #67 │ │ └─ variant_4: struct #155 │ │ └─ [increment]: integer #67 -│ └─ [title]: optional #160 +│ └─ [title]: optional 'optional_160' #160 │ └─ item: union #159 │ ├─ variant_0: string #68 │ └─ variant_1: struct #158 │ └─ [set]: string #68 └─ [where]: struct 'QueryPostWhereUniqueInput' #184 - ├─ [AND]: optional '_182__181_QueryPostWhereUniqueInput[]?' #182 - │ └─ item: list '_181_QueryPostWhereUniqueInput[]' #181 + ├─ [AND]: optional 'optional_182' #182 + │ └─ item: list 'list_181' #181 │ └─ item: &QueryPostWhereUniqueInput #180 - ├─ [NOT]: optional '_183_QueryPostWhereUniqueInput?' #183 + ├─ [NOT]: optional 'optional_183' #183 │ └─ item: &QueryPostWhereUniqueInput #180 - ├─ [OR]: optional '_182__181_QueryPostWhereUniqueInput[]?' #182 - │ └─ item: list '_181_QueryPostWhereUniqueInput[]' #181 + ├─ [OR]: optional 'optional_182' #182 + │ └─ item: list 'list_181' #181 │ └─ item: &QueryPostWhereUniqueInput #180 - ├─ [author]: optional '_98_UserWhere__skip_70_PostWhere?' #98 + ├─ [author]: optional 'optional_98' #98 │ └─ item: struct 'UserWhere__skip_70_PostWhere' #97 - │ ├─ [id]: optional '_86__integer_filter_c?' #86 + │ ├─ [id]: optional 'optional_86' #86 │ │ └─ item: optional '_integer_filter_c' #52 │ │ └─ item: union #51 │ │ ├─ variant_0: either '_integer_filter' #49 @@ -875,19 +875,19 @@ root: struct #185 │ │ │ ├─ variant_2: struct #45 │ │ │ │ └─ [not]: integer #41 │ │ │ ├─ variant_3: struct #46 - │ │ │ │ ├─ [gt]: optional #42 + │ │ │ │ ├─ [gt]: optional 'optional_42' #42 │ │ │ │ │ └─ item: integer #41 - │ │ │ │ ├─ [gte]: optional #42 + │ │ │ │ ├─ [gte]: optional 'optional_42' #42 │ │ │ │ │ └─ item: integer #41 - │ │ │ │ ├─ [lt]: optional #42 + │ │ │ │ ├─ [lt]: optional 'optional_42' #42 │ │ │ │ │ └─ item: integer #41 - │ │ │ │ └─ [lte]: optional #42 + │ │ │ │ └─ [lte]: optional 'optional_42' #42 │ │ │ │ └─ item: integer #41 │ │ │ ├─ variant_4: struct #47 - │ │ │ │ └─ [in]: list #43 + │ │ │ │ └─ [in]: list 'list_43' #43 │ │ │ │ └─ item: integer #41 │ │ │ └─ variant_5: struct #48 - │ │ │ └─ [notIn]: list #43 + │ │ │ └─ [notIn]: list 'list_43' #43 │ │ │ └─ item: integer #41 │ │ └─ variant_1: struct #50 │ │ └─ [not]: either '_integer_filter' #49 @@ -897,21 +897,21 @@ root: struct #185 │ │ ├─ variant_2: struct #45 │ │ │ └─ [not]: integer #41 │ │ ├─ variant_3: struct #46 - │ │ │ ├─ [gt]: optional #42 + │ │ │ ├─ [gt]: optional 'optional_42' #42 │ │ │ │ └─ item: integer #41 - │ │ │ ├─ [gte]: optional #42 + │ │ │ ├─ [gte]: optional 'optional_42' #42 │ │ │ │ └─ item: integer #41 - │ │ │ ├─ [lt]: optional #42 + │ │ │ ├─ [lt]: optional 'optional_42' #42 │ │ │ │ └─ item: integer #41 - │ │ │ └─ [lte]: optional #42 + │ │ │ └─ [lte]: optional 'optional_42' #42 │ │ │ └─ item: integer #41 │ │ ├─ variant_4: struct #47 - │ │ │ └─ [in]: list #43 + │ │ │ └─ [in]: list 'list_43' #43 │ │ │ └─ item: integer #41 │ │ └─ variant_5: struct #48 - │ │ └─ [notIn]: list #43 + │ │ └─ [notIn]: list 'list_43' #43 │ │ └─ item: integer #41 - │ ├─ [name]: optional '_87__string_filter_c?' #87 + │ ├─ [name]: optional 'optional_87' #87 │ │ └─ item: optional '_string_filter_c' #38 │ │ └─ item: union #37 │ │ ├─ variant_0: union '_string_filter' #35 @@ -921,21 +921,21 @@ root: struct #185 │ │ │ ├─ variant_2: struct #27 │ │ │ │ └─ [not]: string #23 │ │ │ ├─ variant_3: struct #28 - │ │ │ │ └─ [in]: list #25 + │ │ │ │ └─ [in]: list 'list_25' #25 │ │ │ │ └─ item: string #23 │ │ │ ├─ variant_4: struct #29 - │ │ │ │ └─ [notIn]: list #25 + │ │ │ │ └─ [notIn]: list 'list_25' #25 │ │ │ │ └─ item: string #23 │ │ │ ├─ variant_5: struct #32 │ │ │ │ ├─ [contains]: string #23 - │ │ │ │ └─ [mode]: optional #31 + │ │ │ │ └─ [mode]: optional 'optional_31' #31 │ │ │ │ └─ item: string #30 enum{ '"insensitive"' } │ │ │ ├─ variant_6: struct #33 │ │ │ │ └─ [search]: string #23 │ │ │ └─ variant_7: struct #34 - │ │ │ ├─ [endsWith]: optional #24 + │ │ │ ├─ [endsWith]: optional 'optional_24' #24 │ │ │ │ └─ item: string #23 - │ │ │ └─ [startsWith]: optional #24 + │ │ │ └─ [startsWith]: optional 'optional_24' #24 │ │ │ └─ item: string #23 │ │ └─ variant_1: struct #36 │ │ └─ [not]: union '_string_filter' #35 @@ -945,34 +945,34 @@ root: struct #185 │ │ ├─ variant_2: struct #27 │ │ │ └─ [not]: string #23 │ │ ├─ variant_3: struct #28 - │ │ │ └─ [in]: list #25 + │ │ │ └─ [in]: list 'list_25' #25 │ │ │ └─ item: string #23 │ │ ├─ variant_4: struct #29 - │ │ │ └─ [notIn]: list #25 + │ │ │ └─ [notIn]: list 'list_25' #25 │ │ │ └─ item: string #23 │ │ ├─ variant_5: struct #32 │ │ │ ├─ [contains]: string #23 - │ │ │ └─ [mode]: optional #31 + │ │ │ └─ [mode]: optional 'optional_31' #31 │ │ │ └─ item: string #30 enum{ '"insensitive"' } │ │ ├─ variant_6: struct #33 │ │ │ └─ [search]: string #23 │ │ └─ variant_7: struct #34 - │ │ ├─ [endsWith]: optional #24 + │ │ ├─ [endsWith]: optional 'optional_24' #24 │ │ │ └─ item: string #23 - │ │ └─ [startsWith]: optional #24 + │ │ └─ [startsWith]: optional 'optional_24' #24 │ │ └─ item: string #23 - │ └─ [posts]: optional #96 + │ └─ [posts]: optional 'optional_96' #96 │ └─ item: union #95 │ ├─ variant_0: struct #90 - │ │ └─ [every]: optional '_89_PostWhere?' #89 + │ │ └─ [every]: optional 'optional_89' #89 │ │ └─ item: &PostWhere #88 │ ├─ variant_1: struct #92 - │ │ └─ [some]: optional '_91_PostWhere?' #91 + │ │ └─ [some]: optional 'optional_91' #91 │ │ └─ item: &PostWhere #88 │ └─ variant_2: struct #94 - │ └─ [none]: optional '_93_PostWhere?' #93 + │ └─ [none]: optional 'optional_93' #93 │ └─ item: &PostWhere #88 - ├─ [id]: optional '_84__integer_filter_c?' #84 + ├─ [id]: optional 'optional_84' #84 │ └─ item: optional '_integer_filter_c' #52 │ └─ item: union #51 │ ├─ variant_0: either '_integer_filter' #49 @@ -982,19 +982,19 @@ root: struct #185 │ │ ├─ variant_2: struct #45 │ │ │ └─ [not]: integer #41 │ │ ├─ variant_3: struct #46 - │ │ │ ├─ [gt]: optional #42 + │ │ │ ├─ [gt]: optional 'optional_42' #42 │ │ │ │ └─ item: integer #41 - │ │ │ ├─ [gte]: optional #42 + │ │ │ ├─ [gte]: optional 'optional_42' #42 │ │ │ │ └─ item: integer #41 - │ │ │ ├─ [lt]: optional #42 + │ │ │ ├─ [lt]: optional 'optional_42' #42 │ │ │ │ └─ item: integer #41 - │ │ │ └─ [lte]: optional #42 + │ │ │ └─ [lte]: optional 'optional_42' #42 │ │ │ └─ item: integer #41 │ │ ├─ variant_4: struct #47 - │ │ │ └─ [in]: list #43 + │ │ │ └─ [in]: list 'list_43' #43 │ │ │ └─ item: integer #41 │ │ └─ variant_5: struct #48 - │ │ └─ [notIn]: list #43 + │ │ └─ [notIn]: list 'list_43' #43 │ │ └─ item: integer #41 │ └─ variant_1: struct #50 │ └─ [not]: either '_integer_filter' #49 @@ -1004,21 +1004,21 @@ root: struct #185 │ ├─ variant_2: struct #45 │ │ └─ [not]: integer #41 │ ├─ variant_3: struct #46 - │ │ ├─ [gt]: optional #42 + │ │ ├─ [gt]: optional 'optional_42' #42 │ │ │ └─ item: integer #41 - │ │ ├─ [gte]: optional #42 + │ │ ├─ [gte]: optional 'optional_42' #42 │ │ │ └─ item: integer #41 - │ │ ├─ [lt]: optional #42 + │ │ ├─ [lt]: optional 'optional_42' #42 │ │ │ └─ item: integer #41 - │ │ └─ [lte]: optional #42 + │ │ └─ [lte]: optional 'optional_42' #42 │ │ └─ item: integer #41 │ ├─ variant_4: struct #47 - │ │ └─ [in]: list #43 + │ │ └─ [in]: list 'list_43' #43 │ │ └─ item: integer #41 │ └─ variant_5: struct #48 - │ └─ [notIn]: list #43 + │ └─ [notIn]: list 'list_43' #43 │ └─ item: integer #41 - └─ [title]: optional '_85__string_filter_c?' #85 + └─ [title]: optional 'optional_85' #85 └─ item: optional '_string_filter_c' #38 └─ item: union #37 ├─ variant_0: union '_string_filter' #35 @@ -1028,21 +1028,21 @@ root: struct #185 │ ├─ variant_2: struct #27 │ │ └─ [not]: string #23 │ ├─ variant_3: struct #28 - │ │ └─ [in]: list #25 + │ │ └─ [in]: list 'list_25' #25 │ │ └─ item: string #23 │ ├─ variant_4: struct #29 - │ │ └─ [notIn]: list #25 + │ │ └─ [notIn]: list 'list_25' #25 │ │ └─ item: string #23 │ ├─ variant_5: struct #32 │ │ ├─ [contains]: string #23 - │ │ └─ [mode]: optional #31 + │ │ └─ [mode]: optional 'optional_31' #31 │ │ └─ item: string #30 enum{ '"insensitive"' } │ ├─ variant_6: struct #33 │ │ └─ [search]: string #23 │ └─ variant_7: struct #34 - │ ├─ [endsWith]: optional #24 + │ ├─ [endsWith]: optional 'optional_24' #24 │ │ └─ item: string #23 - │ └─ [startsWith]: optional #24 + │ └─ [startsWith]: optional 'optional_24' #24 │ └─ item: string #23 └─ variant_1: struct #36 └─ [not]: union '_string_filter' #35 @@ -1052,20 +1052,19 @@ root: struct #185 ├─ variant_2: struct #27 │ └─ [not]: string #23 ├─ variant_3: struct #28 - │ └─ [in]: list #25 + │ └─ [in]: list 'list_25' #25 │ └─ item: string #23 ├─ variant_4: struct #29 - │ └─ [notIn]: list #25 + │ └─ [notIn]: list 'list_25' #25 │ └─ item: string #23 ├─ variant_5: struct #32 │ ├─ [contains]: string #23 - │ └─ [mode]: optional #31 + │ └─ [mode]: optional 'optional_31' #31 │ └─ item: string #30 enum{ '"insensitive"' } ├─ variant_6: struct #33 │ └─ [search]: string #23 └─ variant_7: struct #34 - ├─ [endsWith]: optional #24 + ├─ [endsWith]: optional 'optional_24' #24 │ └─ item: string #23 - └─ [startsWith]: optional #24 + └─ [startsWith]: optional 'optional_24' #24 └─ item: string #23 - diff --git a/src/typegraph/core/src/runtimes/prisma/type_generation/snapshots/typegraph_core__runtimes__prisma__type_generation__test__update_one Record inp.snap b/src/typegraph/core/src/runtimes/prisma/type_generation/snapshots/typegraph_core__runtimes__prisma__type_generation__test__update_one Record inp.snap index 9a5cde91f7..310b9fe1f2 100644 --- a/src/typegraph/core/src/runtimes/prisma/type_generation/snapshots/typegraph_core__runtimes__prisma__type_generation__test__update_one Record inp.snap +++ b/src/typegraph/core/src/runtimes/prisma/type_generation/snapshots/typegraph_core__runtimes__prisma__type_generation__test__update_one Record inp.snap @@ -1,15 +1,15 @@ --- -source: typegraph/core/src/runtimes/prisma/type_generation/mod.rs +source: src/typegraph/core/src/runtimes/prisma/type_generation/mod.rs expression: tp.print(inp) --- root: struct #61 ├─ [data]: struct '_Record_UpdateInput' #22 -│ ├─ [age]: optional #18 +│ ├─ [age]: optional 'optional_18' #18 │ │ └─ item: union #17 -│ │ ├─ variant_0: optional #5 +│ │ ├─ variant_0: optional 'optional_5' #5 │ │ │ └─ item: integer #4 │ │ ├─ variant_1: struct #13 -│ │ │ └─ [set]: optional #5 +│ │ │ └─ [set]: optional 'optional_5' #5 │ │ │ └─ item: integer #4 │ │ ├─ variant_2: struct #14 │ │ │ └─ [multiply]: integer #4 @@ -17,31 +17,31 @@ root: struct #61 │ │ │ └─ [decrement]: integer #4 │ │ └─ variant_4: struct #16 │ │ └─ [increment]: integer #4 -│ ├─ [created_at]: optional #21 +│ ├─ [created_at]: optional 'optional_21' #21 │ │ └─ item: union #20 │ │ ├─ variant_0: string #1 │ │ └─ variant_1: struct #19 │ │ └─ [set]: string #1 -│ ├─ [id]: optional #9 +│ ├─ [id]: optional 'optional_9' #9 │ │ └─ item: union #8 │ │ ├─ variant_0: string #2 │ │ └─ variant_1: struct #7 │ │ └─ [set]: string #2 -│ └─ [name]: optional #12 +│ └─ [name]: optional 'optional_12' #12 │ └─ item: union #11 │ ├─ variant_0: string #3 │ └─ variant_1: struct #10 │ └─ [set]: string #3 └─ [where]: struct 'QueryRecordWhereUniqueInput' #60 - ├─ [AND]: optional '_58__57_QueryRecordWhereUniqueInput[]?' #58 - │ └─ item: list '_57_QueryRecordWhereUniqueInput[]' #57 + ├─ [AND]: optional 'optional_58' #58 + │ └─ item: list 'list_57' #57 │ └─ item: &QueryRecordWhereUniqueInput #56 - ├─ [NOT]: optional '_59_QueryRecordWhereUniqueInput?' #59 + ├─ [NOT]: optional 'optional_59' #59 │ └─ item: &QueryRecordWhereUniqueInput #56 - ├─ [OR]: optional '_58__57_QueryRecordWhereUniqueInput[]?' #58 - │ └─ item: list '_57_QueryRecordWhereUniqueInput[]' #57 + ├─ [OR]: optional 'optional_58' #58 + │ └─ item: list 'list_57' #57 │ └─ item: &QueryRecordWhereUniqueInput #56 - ├─ [age]: optional '_53__integer_filter_c?' #53 + ├─ [age]: optional 'optional_53' #53 │ └─ item: optional '_integer_filter_c' #52 │ └─ item: union #51 │ ├─ variant_0: either '_integer_filter' #49 @@ -51,19 +51,19 @@ root: struct #61 │ │ ├─ variant_2: struct #45 │ │ │ └─ [not]: integer #41 │ │ ├─ variant_3: struct #46 - │ │ │ ├─ [gt]: optional #42 + │ │ │ ├─ [gt]: optional 'optional_42' #42 │ │ │ │ └─ item: integer #41 - │ │ │ ├─ [gte]: optional #42 + │ │ │ ├─ [gte]: optional 'optional_42' #42 │ │ │ │ └─ item: integer #41 - │ │ │ ├─ [lt]: optional #42 + │ │ │ ├─ [lt]: optional 'optional_42' #42 │ │ │ │ └─ item: integer #41 - │ │ │ └─ [lte]: optional #42 + │ │ │ └─ [lte]: optional 'optional_42' #42 │ │ │ └─ item: integer #41 │ │ ├─ variant_4: struct #47 - │ │ │ └─ [in]: list #43 + │ │ │ └─ [in]: list 'list_43' #43 │ │ │ └─ item: integer #41 │ │ └─ variant_5: struct #48 - │ │ └─ [notIn]: list #43 + │ │ └─ [notIn]: list 'list_43' #43 │ │ └─ item: integer #41 │ └─ variant_1: struct #50 │ └─ [not]: either '_integer_filter' #49 @@ -73,21 +73,21 @@ root: struct #61 │ ├─ variant_2: struct #45 │ │ └─ [not]: integer #41 │ ├─ variant_3: struct #46 - │ │ ├─ [gt]: optional #42 + │ │ ├─ [gt]: optional 'optional_42' #42 │ │ │ └─ item: integer #41 - │ │ ├─ [gte]: optional #42 + │ │ ├─ [gte]: optional 'optional_42' #42 │ │ │ └─ item: integer #41 - │ │ ├─ [lt]: optional #42 + │ │ ├─ [lt]: optional 'optional_42' #42 │ │ │ └─ item: integer #41 - │ │ └─ [lte]: optional #42 + │ │ └─ [lte]: optional 'optional_42' #42 │ │ └─ item: integer #41 │ ├─ variant_4: struct #47 - │ │ └─ [in]: list #43 + │ │ └─ [in]: list 'list_43' #43 │ │ └─ item: integer #41 │ └─ variant_5: struct #48 - │ └─ [notIn]: list #43 + │ └─ [notIn]: list 'list_43' #43 │ └─ item: integer #41 - ├─ [created_at]: optional '_54__string_filter_c?' #54 + ├─ [created_at]: optional 'optional_54' #54 │ └─ item: optional '_string_filter_c' #38 │ └─ item: union #37 │ ├─ variant_0: union '_string_filter' #35 @@ -97,21 +97,21 @@ root: struct #61 │ │ ├─ variant_2: struct #27 │ │ │ └─ [not]: string #23 │ │ ├─ variant_3: struct #28 - │ │ │ └─ [in]: list #25 + │ │ │ └─ [in]: list 'list_25' #25 │ │ │ └─ item: string #23 │ │ ├─ variant_4: struct #29 - │ │ │ └─ [notIn]: list #25 + │ │ │ └─ [notIn]: list 'list_25' #25 │ │ │ └─ item: string #23 │ │ ├─ variant_5: struct #32 │ │ │ ├─ [contains]: string #23 - │ │ │ └─ [mode]: optional #31 + │ │ │ └─ [mode]: optional 'optional_31' #31 │ │ │ └─ item: string #30 enum{ '"insensitive"' } │ │ ├─ variant_6: struct #33 │ │ │ └─ [search]: string #23 │ │ └─ variant_7: struct #34 - │ │ ├─ [endsWith]: optional #24 + │ │ ├─ [endsWith]: optional 'optional_24' #24 │ │ │ └─ item: string #23 - │ │ └─ [startsWith]: optional #24 + │ │ └─ [startsWith]: optional 'optional_24' #24 │ │ └─ item: string #23 │ └─ variant_1: struct #36 │ └─ [not]: union '_string_filter' #35 @@ -121,23 +121,23 @@ root: struct #61 │ ├─ variant_2: struct #27 │ │ └─ [not]: string #23 │ ├─ variant_3: struct #28 - │ │ └─ [in]: list #25 + │ │ └─ [in]: list 'list_25' #25 │ │ └─ item: string #23 │ ├─ variant_4: struct #29 - │ │ └─ [notIn]: list #25 + │ │ └─ [notIn]: list 'list_25' #25 │ │ └─ item: string #23 │ ├─ variant_5: struct #32 │ │ ├─ [contains]: string #23 - │ │ └─ [mode]: optional #31 + │ │ └─ [mode]: optional 'optional_31' #31 │ │ └─ item: string #30 enum{ '"insensitive"' } │ ├─ variant_6: struct #33 │ │ └─ [search]: string #23 │ └─ variant_7: struct #34 - │ ├─ [endsWith]: optional #24 + │ ├─ [endsWith]: optional 'optional_24' #24 │ │ └─ item: string #23 - │ └─ [startsWith]: optional #24 + │ └─ [startsWith]: optional 'optional_24' #24 │ └─ item: string #23 - ├─ [id]: optional '_39__string_filter_c?' #39 + ├─ [id]: optional 'optional_39' #39 │ └─ item: optional '_string_filter_c' #38 │ └─ item: union #37 │ ├─ variant_0: union '_string_filter' #35 @@ -147,21 +147,21 @@ root: struct #61 │ │ ├─ variant_2: struct #27 │ │ │ └─ [not]: string #23 │ │ ├─ variant_3: struct #28 - │ │ │ └─ [in]: list #25 + │ │ │ └─ [in]: list 'list_25' #25 │ │ │ └─ item: string #23 │ │ ├─ variant_4: struct #29 - │ │ │ └─ [notIn]: list #25 + │ │ │ └─ [notIn]: list 'list_25' #25 │ │ │ └─ item: string #23 │ │ ├─ variant_5: struct #32 │ │ │ ├─ [contains]: string #23 - │ │ │ └─ [mode]: optional #31 + │ │ │ └─ [mode]: optional 'optional_31' #31 │ │ │ └─ item: string #30 enum{ '"insensitive"' } │ │ ├─ variant_6: struct #33 │ │ │ └─ [search]: string #23 │ │ └─ variant_7: struct #34 - │ │ ├─ [endsWith]: optional #24 + │ │ ├─ [endsWith]: optional 'optional_24' #24 │ │ │ └─ item: string #23 - │ │ └─ [startsWith]: optional #24 + │ │ └─ [startsWith]: optional 'optional_24' #24 │ │ └─ item: string #23 │ └─ variant_1: struct #36 │ └─ [not]: union '_string_filter' #35 @@ -171,23 +171,23 @@ root: struct #61 │ ├─ variant_2: struct #27 │ │ └─ [not]: string #23 │ ├─ variant_3: struct #28 - │ │ └─ [in]: list #25 + │ │ └─ [in]: list 'list_25' #25 │ │ └─ item: string #23 │ ├─ variant_4: struct #29 - │ │ └─ [notIn]: list #25 + │ │ └─ [notIn]: list 'list_25' #25 │ │ └─ item: string #23 │ ├─ variant_5: struct #32 │ │ ├─ [contains]: string #23 - │ │ └─ [mode]: optional #31 + │ │ └─ [mode]: optional 'optional_31' #31 │ │ └─ item: string #30 enum{ '"insensitive"' } │ ├─ variant_6: struct #33 │ │ └─ [search]: string #23 │ └─ variant_7: struct #34 - │ ├─ [endsWith]: optional #24 + │ ├─ [endsWith]: optional 'optional_24' #24 │ │ └─ item: string #23 - │ └─ [startsWith]: optional #24 + │ └─ [startsWith]: optional 'optional_24' #24 │ └─ item: string #23 - └─ [name]: optional '_40__string_filter_c?' #40 + └─ [name]: optional 'optional_40' #40 └─ item: optional '_string_filter_c' #38 └─ item: union #37 ├─ variant_0: union '_string_filter' #35 @@ -197,21 +197,21 @@ root: struct #61 │ ├─ variant_2: struct #27 │ │ └─ [not]: string #23 │ ├─ variant_3: struct #28 - │ │ └─ [in]: list #25 + │ │ └─ [in]: list 'list_25' #25 │ │ └─ item: string #23 │ ├─ variant_4: struct #29 - │ │ └─ [notIn]: list #25 + │ │ └─ [notIn]: list 'list_25' #25 │ │ └─ item: string #23 │ ├─ variant_5: struct #32 │ │ ├─ [contains]: string #23 - │ │ └─ [mode]: optional #31 + │ │ └─ [mode]: optional 'optional_31' #31 │ │ └─ item: string #30 enum{ '"insensitive"' } │ ├─ variant_6: struct #33 │ │ └─ [search]: string #23 │ └─ variant_7: struct #34 - │ ├─ [endsWith]: optional #24 + │ ├─ [endsWith]: optional 'optional_24' #24 │ │ └─ item: string #23 - │ └─ [startsWith]: optional #24 + │ └─ [startsWith]: optional 'optional_24' #24 │ └─ item: string #23 └─ variant_1: struct #36 └─ [not]: union '_string_filter' #35 @@ -221,20 +221,19 @@ root: struct #61 ├─ variant_2: struct #27 │ └─ [not]: string #23 ├─ variant_3: struct #28 - │ └─ [in]: list #25 + │ └─ [in]: list 'list_25' #25 │ └─ item: string #23 ├─ variant_4: struct #29 - │ └─ [notIn]: list #25 + │ └─ [notIn]: list 'list_25' #25 │ └─ item: string #23 ├─ variant_5: struct #32 │ ├─ [contains]: string #23 - │ └─ [mode]: optional #31 + │ └─ [mode]: optional 'optional_31' #31 │ └─ item: string #30 enum{ '"insensitive"' } ├─ variant_6: struct #33 │ └─ [search]: string #23 └─ variant_7: struct #34 - ├─ [endsWith]: optional #24 + ├─ [endsWith]: optional 'optional_24' #24 │ └─ item: string #23 - └─ [startsWith]: optional #24 + └─ [startsWith]: optional 'optional_24' #24 └─ item: string #23 - diff --git a/src/typegraph/core/src/runtimes/prisma/type_generation/snapshots/typegraph_core__runtimes__prisma__type_generation__test__update_one User inp.snap b/src/typegraph/core/src/runtimes/prisma/type_generation/snapshots/typegraph_core__runtimes__prisma__type_generation__test__update_one User inp.snap index 62b47303fa..dd4c334012 100644 --- a/src/typegraph/core/src/runtimes/prisma/type_generation/snapshots/typegraph_core__runtimes__prisma__type_generation__test__update_one User inp.snap +++ b/src/typegraph/core/src/runtimes/prisma/type_generation/snapshots/typegraph_core__runtimes__prisma__type_generation__test__update_one User inp.snap @@ -1,10 +1,10 @@ --- -source: typegraph/core/src/runtimes/prisma/type_generation/mod.rs +source: src/typegraph/core/src/runtimes/prisma/type_generation/mod.rs expression: tp.print(inp) --- root: struct #151 ├─ [data]: struct '_User_UpdateInput' #129 -│ ├─ [id]: optional #76 +│ ├─ [id]: optional 'optional_76' #76 │ │ └─ item: union #75 │ │ ├─ variant_0: integer #62 │ │ ├─ variant_1: struct #71 @@ -15,30 +15,30 @@ root: struct #151 │ │ │ └─ [decrement]: integer #62 │ │ └─ variant_4: struct #74 │ │ └─ [increment]: integer #62 -│ ├─ [name]: optional #79 +│ ├─ [name]: optional 'optional_79' #79 │ │ └─ item: union #78 │ │ ├─ variant_0: string #63 │ │ └─ variant_1: struct #77 │ │ └─ [set]: string #63 -│ └─ [posts]: optional #128 +│ └─ [posts]: optional 'optional_128' #128 │ └─ item: union #127 │ ├─ variant_0: struct #103 │ │ └─ [create]: union #83 │ │ ├─ variant_0: struct '_Post_CreateInput_excluding___rel_Post_User_1' #81 -│ │ │ ├─ [id]: optional #80 +│ │ │ ├─ [id]: optional 'optional_80' #80 │ │ │ │ └─ item: integer #67 │ │ │ └─ [title]: string #68 -│ │ └─ variant_1: list '_82__Post_CreateInput_excluding___rel_Post_User_1[]' #82 +│ │ └─ variant_1: list 'list_82' #82 │ │ └─ item: struct '_Post_CreateInput_excluding___rel_Post_User_1' #81 -│ │ ├─ [id]: optional #80 +│ │ ├─ [id]: optional 'optional_80' #80 │ │ │ └─ item: integer #67 │ │ └─ [title]: string #68 │ ├─ variant_1: struct #104 │ │ └─ [connect]: union #101 │ │ ├─ variant_0: struct 'PostWhere' #99 -│ │ │ ├─ [author]: optional '_98_UserWhere__skip_70_PostWhere?' #98 +│ │ │ ├─ [author]: optional 'optional_98' #98 │ │ │ │ └─ item: struct 'UserWhere__skip_70_PostWhere' #97 -│ │ │ │ ├─ [id]: optional '_86__integer_filter_c?' #86 +│ │ │ │ ├─ [id]: optional 'optional_86' #86 │ │ │ │ │ └─ item: optional '_integer_filter_c' #52 │ │ │ │ │ └─ item: union #51 │ │ │ │ │ ├─ variant_0: either '_integer_filter' #49 @@ -48,19 +48,19 @@ root: struct #151 │ │ │ │ │ │ ├─ variant_2: struct #45 │ │ │ │ │ │ │ └─ [not]: integer #41 │ │ │ │ │ │ ├─ variant_3: struct #46 -│ │ │ │ │ │ │ ├─ [gt]: optional #42 +│ │ │ │ │ │ │ ├─ [gt]: optional 'optional_42' #42 │ │ │ │ │ │ │ │ └─ item: integer #41 -│ │ │ │ │ │ │ ├─ [gte]: optional #42 +│ │ │ │ │ │ │ ├─ [gte]: optional 'optional_42' #42 │ │ │ │ │ │ │ │ └─ item: integer #41 -│ │ │ │ │ │ │ ├─ [lt]: optional #42 +│ │ │ │ │ │ │ ├─ [lt]: optional 'optional_42' #42 │ │ │ │ │ │ │ │ └─ item: integer #41 -│ │ │ │ │ │ │ └─ [lte]: optional #42 +│ │ │ │ │ │ │ └─ [lte]: optional 'optional_42' #42 │ │ │ │ │ │ │ └─ item: integer #41 │ │ │ │ │ │ ├─ variant_4: struct #47 -│ │ │ │ │ │ │ └─ [in]: list #43 +│ │ │ │ │ │ │ └─ [in]: list 'list_43' #43 │ │ │ │ │ │ │ └─ item: integer #41 │ │ │ │ │ │ └─ variant_5: struct #48 -│ │ │ │ │ │ └─ [notIn]: list #43 +│ │ │ │ │ │ └─ [notIn]: list 'list_43' #43 │ │ │ │ │ │ └─ item: integer #41 │ │ │ │ │ └─ variant_1: struct #50 │ │ │ │ │ └─ [not]: either '_integer_filter' #49 @@ -70,21 +70,21 @@ root: struct #151 │ │ │ │ │ ├─ variant_2: struct #45 │ │ │ │ │ │ └─ [not]: integer #41 │ │ │ │ │ ├─ variant_3: struct #46 -│ │ │ │ │ │ ├─ [gt]: optional #42 +│ │ │ │ │ │ ├─ [gt]: optional 'optional_42' #42 │ │ │ │ │ │ │ └─ item: integer #41 -│ │ │ │ │ │ ├─ [gte]: optional #42 +│ │ │ │ │ │ ├─ [gte]: optional 'optional_42' #42 │ │ │ │ │ │ │ └─ item: integer #41 -│ │ │ │ │ │ ├─ [lt]: optional #42 +│ │ │ │ │ │ ├─ [lt]: optional 'optional_42' #42 │ │ │ │ │ │ │ └─ item: integer #41 -│ │ │ │ │ │ └─ [lte]: optional #42 +│ │ │ │ │ │ └─ [lte]: optional 'optional_42' #42 │ │ │ │ │ │ └─ item: integer #41 │ │ │ │ │ ├─ variant_4: struct #47 -│ │ │ │ │ │ └─ [in]: list #43 +│ │ │ │ │ │ └─ [in]: list 'list_43' #43 │ │ │ │ │ │ └─ item: integer #41 │ │ │ │ │ └─ variant_5: struct #48 -│ │ │ │ │ └─ [notIn]: list #43 +│ │ │ │ │ └─ [notIn]: list 'list_43' #43 │ │ │ │ │ └─ item: integer #41 -│ │ │ │ ├─ [name]: optional '_87__string_filter_c?' #87 +│ │ │ │ ├─ [name]: optional 'optional_87' #87 │ │ │ │ │ └─ item: optional '_string_filter_c' #38 │ │ │ │ │ └─ item: union #37 │ │ │ │ │ ├─ variant_0: union '_string_filter' #35 @@ -94,21 +94,21 @@ root: struct #151 │ │ │ │ │ │ ├─ variant_2: struct #27 │ │ │ │ │ │ │ └─ [not]: string #23 │ │ │ │ │ │ ├─ variant_3: struct #28 -│ │ │ │ │ │ │ └─ [in]: list #25 +│ │ │ │ │ │ │ └─ [in]: list 'list_25' #25 │ │ │ │ │ │ │ └─ item: string #23 │ │ │ │ │ │ ├─ variant_4: struct #29 -│ │ │ │ │ │ │ └─ [notIn]: list #25 +│ │ │ │ │ │ │ └─ [notIn]: list 'list_25' #25 │ │ │ │ │ │ │ └─ item: string #23 │ │ │ │ │ │ ├─ variant_5: struct #32 │ │ │ │ │ │ │ ├─ [contains]: string #23 -│ │ │ │ │ │ │ └─ [mode]: optional #31 +│ │ │ │ │ │ │ └─ [mode]: optional 'optional_31' #31 │ │ │ │ │ │ │ └─ item: string #30 enum{ '"insensitive"' } │ │ │ │ │ │ ├─ variant_6: struct #33 │ │ │ │ │ │ │ └─ [search]: string #23 │ │ │ │ │ │ └─ variant_7: struct #34 -│ │ │ │ │ │ ├─ [endsWith]: optional #24 +│ │ │ │ │ │ ├─ [endsWith]: optional 'optional_24' #24 │ │ │ │ │ │ │ └─ item: string #23 -│ │ │ │ │ │ └─ [startsWith]: optional #24 +│ │ │ │ │ │ └─ [startsWith]: optional 'optional_24' #24 │ │ │ │ │ │ └─ item: string #23 │ │ │ │ │ └─ variant_1: struct #36 │ │ │ │ │ └─ [not]: union '_string_filter' #35 @@ -118,34 +118,34 @@ root: struct #151 │ │ │ │ │ ├─ variant_2: struct #27 │ │ │ │ │ │ └─ [not]: string #23 │ │ │ │ │ ├─ variant_3: struct #28 -│ │ │ │ │ │ └─ [in]: list #25 +│ │ │ │ │ │ └─ [in]: list 'list_25' #25 │ │ │ │ │ │ └─ item: string #23 │ │ │ │ │ ├─ variant_4: struct #29 -│ │ │ │ │ │ └─ [notIn]: list #25 +│ │ │ │ │ │ └─ [notIn]: list 'list_25' #25 │ │ │ │ │ │ └─ item: string #23 │ │ │ │ │ ├─ variant_5: struct #32 │ │ │ │ │ │ ├─ [contains]: string #23 -│ │ │ │ │ │ └─ [mode]: optional #31 +│ │ │ │ │ │ └─ [mode]: optional 'optional_31' #31 │ │ │ │ │ │ └─ item: string #30 enum{ '"insensitive"' } │ │ │ │ │ ├─ variant_6: struct #33 │ │ │ │ │ │ └─ [search]: string #23 │ │ │ │ │ └─ variant_7: struct #34 -│ │ │ │ │ ├─ [endsWith]: optional #24 +│ │ │ │ │ ├─ [endsWith]: optional 'optional_24' #24 │ │ │ │ │ │ └─ item: string #23 -│ │ │ │ │ └─ [startsWith]: optional #24 +│ │ │ │ │ └─ [startsWith]: optional 'optional_24' #24 │ │ │ │ │ └─ item: string #23 -│ │ │ │ └─ [posts]: optional #96 +│ │ │ │ └─ [posts]: optional 'optional_96' #96 │ │ │ │ └─ item: union #95 │ │ │ │ ├─ variant_0: struct #90 -│ │ │ │ │ └─ [every]: optional '_89_PostWhere?' #89 +│ │ │ │ │ └─ [every]: optional 'optional_89' #89 │ │ │ │ │ └─ item: &PostWhere #88 │ │ │ │ ├─ variant_1: struct #92 -│ │ │ │ │ └─ [some]: optional '_91_PostWhere?' #91 +│ │ │ │ │ └─ [some]: optional 'optional_91' #91 │ │ │ │ │ └─ item: &PostWhere #88 │ │ │ │ └─ variant_2: struct #94 -│ │ │ │ └─ [none]: optional '_93_PostWhere?' #93 +│ │ │ │ └─ [none]: optional 'optional_93' #93 │ │ │ │ └─ item: &PostWhere #88 -│ │ │ ├─ [id]: optional '_84__integer_filter_c?' #84 +│ │ │ ├─ [id]: optional 'optional_84' #84 │ │ │ │ └─ item: optional '_integer_filter_c' #52 │ │ │ │ └─ item: union #51 │ │ │ │ ├─ variant_0: either '_integer_filter' #49 @@ -155,19 +155,19 @@ root: struct #151 │ │ │ │ │ ├─ variant_2: struct #45 │ │ │ │ │ │ └─ [not]: integer #41 │ │ │ │ │ ├─ variant_3: struct #46 -│ │ │ │ │ │ ├─ [gt]: optional #42 +│ │ │ │ │ │ ├─ [gt]: optional 'optional_42' #42 │ │ │ │ │ │ │ └─ item: integer #41 -│ │ │ │ │ │ ├─ [gte]: optional #42 +│ │ │ │ │ │ ├─ [gte]: optional 'optional_42' #42 │ │ │ │ │ │ │ └─ item: integer #41 -│ │ │ │ │ │ ├─ [lt]: optional #42 +│ │ │ │ │ │ ├─ [lt]: optional 'optional_42' #42 │ │ │ │ │ │ │ └─ item: integer #41 -│ │ │ │ │ │ └─ [lte]: optional #42 +│ │ │ │ │ │ └─ [lte]: optional 'optional_42' #42 │ │ │ │ │ │ └─ item: integer #41 │ │ │ │ │ ├─ variant_4: struct #47 -│ │ │ │ │ │ └─ [in]: list #43 +│ │ │ │ │ │ └─ [in]: list 'list_43' #43 │ │ │ │ │ │ └─ item: integer #41 │ │ │ │ │ └─ variant_5: struct #48 -│ │ │ │ │ └─ [notIn]: list #43 +│ │ │ │ │ └─ [notIn]: list 'list_43' #43 │ │ │ │ │ └─ item: integer #41 │ │ │ │ └─ variant_1: struct #50 │ │ │ │ └─ [not]: either '_integer_filter' #49 @@ -177,21 +177,21 @@ root: struct #151 │ │ │ │ ├─ variant_2: struct #45 │ │ │ │ │ └─ [not]: integer #41 │ │ │ │ ├─ variant_3: struct #46 -│ │ │ │ │ ├─ [gt]: optional #42 +│ │ │ │ │ ├─ [gt]: optional 'optional_42' #42 │ │ │ │ │ │ └─ item: integer #41 -│ │ │ │ │ ├─ [gte]: optional #42 +│ │ │ │ │ ├─ [gte]: optional 'optional_42' #42 │ │ │ │ │ │ └─ item: integer #41 -│ │ │ │ │ ├─ [lt]: optional #42 +│ │ │ │ │ ├─ [lt]: optional 'optional_42' #42 │ │ │ │ │ │ └─ item: integer #41 -│ │ │ │ │ └─ [lte]: optional #42 +│ │ │ │ │ └─ [lte]: optional 'optional_42' #42 │ │ │ │ │ └─ item: integer #41 │ │ │ │ ├─ variant_4: struct #47 -│ │ │ │ │ └─ [in]: list #43 +│ │ │ │ │ └─ [in]: list 'list_43' #43 │ │ │ │ │ └─ item: integer #41 │ │ │ │ └─ variant_5: struct #48 -│ │ │ │ └─ [notIn]: list #43 +│ │ │ │ └─ [notIn]: list 'list_43' #43 │ │ │ │ └─ item: integer #41 -│ │ │ └─ [title]: optional '_85__string_filter_c?' #85 +│ │ │ └─ [title]: optional 'optional_85' #85 │ │ │ └─ item: optional '_string_filter_c' #38 │ │ │ └─ item: union #37 │ │ │ ├─ variant_0: union '_string_filter' #35 @@ -201,21 +201,21 @@ root: struct #151 │ │ │ │ ├─ variant_2: struct #27 │ │ │ │ │ └─ [not]: string #23 │ │ │ │ ├─ variant_3: struct #28 -│ │ │ │ │ └─ [in]: list #25 +│ │ │ │ │ └─ [in]: list 'list_25' #25 │ │ │ │ │ └─ item: string #23 │ │ │ │ ├─ variant_4: struct #29 -│ │ │ │ │ └─ [notIn]: list #25 +│ │ │ │ │ └─ [notIn]: list 'list_25' #25 │ │ │ │ │ └─ item: string #23 │ │ │ │ ├─ variant_5: struct #32 │ │ │ │ │ ├─ [contains]: string #23 -│ │ │ │ │ └─ [mode]: optional #31 +│ │ │ │ │ └─ [mode]: optional 'optional_31' #31 │ │ │ │ │ └─ item: string #30 enum{ '"insensitive"' } │ │ │ │ ├─ variant_6: struct #33 │ │ │ │ │ └─ [search]: string #23 │ │ │ │ └─ variant_7: struct #34 -│ │ │ │ ├─ [endsWith]: optional #24 +│ │ │ │ ├─ [endsWith]: optional 'optional_24' #24 │ │ │ │ │ └─ item: string #23 -│ │ │ │ └─ [startsWith]: optional #24 +│ │ │ │ └─ [startsWith]: optional 'optional_24' #24 │ │ │ │ └─ item: string #23 │ │ │ └─ variant_1: struct #36 │ │ │ └─ [not]: union '_string_filter' #35 @@ -225,27 +225,27 @@ root: struct #151 │ │ │ ├─ variant_2: struct #27 │ │ │ │ └─ [not]: string #23 │ │ │ ├─ variant_3: struct #28 -│ │ │ │ └─ [in]: list #25 +│ │ │ │ └─ [in]: list 'list_25' #25 │ │ │ │ └─ item: string #23 │ │ │ ├─ variant_4: struct #29 -│ │ │ │ └─ [notIn]: list #25 +│ │ │ │ └─ [notIn]: list 'list_25' #25 │ │ │ │ └─ item: string #23 │ │ │ ├─ variant_5: struct #32 │ │ │ │ ├─ [contains]: string #23 -│ │ │ │ └─ [mode]: optional #31 +│ │ │ │ └─ [mode]: optional 'optional_31' #31 │ │ │ │ └─ item: string #30 enum{ '"insensitive"' } │ │ │ ├─ variant_6: struct #33 │ │ │ │ └─ [search]: string #23 │ │ │ └─ variant_7: struct #34 -│ │ │ ├─ [endsWith]: optional #24 +│ │ │ ├─ [endsWith]: optional 'optional_24' #24 │ │ │ │ └─ item: string #23 -│ │ │ └─ [startsWith]: optional #24 +│ │ │ └─ [startsWith]: optional 'optional_24' #24 │ │ │ └─ item: string #23 -│ │ └─ variant_1: list '_100_PostWhere[]' #100 +│ │ └─ variant_1: list 'list_100' #100 │ │ └─ item: struct 'PostWhere' #99 -│ │ ├─ [author]: optional '_98_UserWhere__skip_70_PostWhere?' #98 +│ │ ├─ [author]: optional 'optional_98' #98 │ │ │ └─ item: struct 'UserWhere__skip_70_PostWhere' #97 -│ │ │ ├─ [id]: optional '_86__integer_filter_c?' #86 +│ │ │ ├─ [id]: optional 'optional_86' #86 │ │ │ │ └─ item: optional '_integer_filter_c' #52 │ │ │ │ └─ item: union #51 │ │ │ │ ├─ variant_0: either '_integer_filter' #49 @@ -255,19 +255,19 @@ root: struct #151 │ │ │ │ │ ├─ variant_2: struct #45 │ │ │ │ │ │ └─ [not]: integer #41 │ │ │ │ │ ├─ variant_3: struct #46 -│ │ │ │ │ │ ├─ [gt]: optional #42 +│ │ │ │ │ │ ├─ [gt]: optional 'optional_42' #42 │ │ │ │ │ │ │ └─ item: integer #41 -│ │ │ │ │ │ ├─ [gte]: optional #42 +│ │ │ │ │ │ ├─ [gte]: optional 'optional_42' #42 │ │ │ │ │ │ │ └─ item: integer #41 -│ │ │ │ │ │ ├─ [lt]: optional #42 +│ │ │ │ │ │ ├─ [lt]: optional 'optional_42' #42 │ │ │ │ │ │ │ └─ item: integer #41 -│ │ │ │ │ │ └─ [lte]: optional #42 +│ │ │ │ │ │ └─ [lte]: optional 'optional_42' #42 │ │ │ │ │ │ └─ item: integer #41 │ │ │ │ │ ├─ variant_4: struct #47 -│ │ │ │ │ │ └─ [in]: list #43 +│ │ │ │ │ │ └─ [in]: list 'list_43' #43 │ │ │ │ │ │ └─ item: integer #41 │ │ │ │ │ └─ variant_5: struct #48 -│ │ │ │ │ └─ [notIn]: list #43 +│ │ │ │ │ └─ [notIn]: list 'list_43' #43 │ │ │ │ │ └─ item: integer #41 │ │ │ │ └─ variant_1: struct #50 │ │ │ │ └─ [not]: either '_integer_filter' #49 @@ -277,21 +277,21 @@ root: struct #151 │ │ │ │ ├─ variant_2: struct #45 │ │ │ │ │ └─ [not]: integer #41 │ │ │ │ ├─ variant_3: struct #46 -│ │ │ │ │ ├─ [gt]: optional #42 +│ │ │ │ │ ├─ [gt]: optional 'optional_42' #42 │ │ │ │ │ │ └─ item: integer #41 -│ │ │ │ │ ├─ [gte]: optional #42 +│ │ │ │ │ ├─ [gte]: optional 'optional_42' #42 │ │ │ │ │ │ └─ item: integer #41 -│ │ │ │ │ ├─ [lt]: optional #42 +│ │ │ │ │ ├─ [lt]: optional 'optional_42' #42 │ │ │ │ │ │ └─ item: integer #41 -│ │ │ │ │ └─ [lte]: optional #42 +│ │ │ │ │ └─ [lte]: optional 'optional_42' #42 │ │ │ │ │ └─ item: integer #41 │ │ │ │ ├─ variant_4: struct #47 -│ │ │ │ │ └─ [in]: list #43 +│ │ │ │ │ └─ [in]: list 'list_43' #43 │ │ │ │ │ └─ item: integer #41 │ │ │ │ └─ variant_5: struct #48 -│ │ │ │ └─ [notIn]: list #43 +│ │ │ │ └─ [notIn]: list 'list_43' #43 │ │ │ │ └─ item: integer #41 -│ │ │ ├─ [name]: optional '_87__string_filter_c?' #87 +│ │ │ ├─ [name]: optional 'optional_87' #87 │ │ │ │ └─ item: optional '_string_filter_c' #38 │ │ │ │ └─ item: union #37 │ │ │ │ ├─ variant_0: union '_string_filter' #35 @@ -301,21 +301,21 @@ root: struct #151 │ │ │ │ │ ├─ variant_2: struct #27 │ │ │ │ │ │ └─ [not]: string #23 │ │ │ │ │ ├─ variant_3: struct #28 -│ │ │ │ │ │ └─ [in]: list #25 +│ │ │ │ │ │ └─ [in]: list 'list_25' #25 │ │ │ │ │ │ └─ item: string #23 │ │ │ │ │ ├─ variant_4: struct #29 -│ │ │ │ │ │ └─ [notIn]: list #25 +│ │ │ │ │ │ └─ [notIn]: list 'list_25' #25 │ │ │ │ │ │ └─ item: string #23 │ │ │ │ │ ├─ variant_5: struct #32 │ │ │ │ │ │ ├─ [contains]: string #23 -│ │ │ │ │ │ └─ [mode]: optional #31 +│ │ │ │ │ │ └─ [mode]: optional 'optional_31' #31 │ │ │ │ │ │ └─ item: string #30 enum{ '"insensitive"' } │ │ │ │ │ ├─ variant_6: struct #33 │ │ │ │ │ │ └─ [search]: string #23 │ │ │ │ │ └─ variant_7: struct #34 -│ │ │ │ │ ├─ [endsWith]: optional #24 +│ │ │ │ │ ├─ [endsWith]: optional 'optional_24' #24 │ │ │ │ │ │ └─ item: string #23 -│ │ │ │ │ └─ [startsWith]: optional #24 +│ │ │ │ │ └─ [startsWith]: optional 'optional_24' #24 │ │ │ │ │ └─ item: string #23 │ │ │ │ └─ variant_1: struct #36 │ │ │ │ └─ [not]: union '_string_filter' #35 @@ -325,34 +325,34 @@ root: struct #151 │ │ │ │ ├─ variant_2: struct #27 │ │ │ │ │ └─ [not]: string #23 │ │ │ │ ├─ variant_3: struct #28 -│ │ │ │ │ └─ [in]: list #25 +│ │ │ │ │ └─ [in]: list 'list_25' #25 │ │ │ │ │ └─ item: string #23 │ │ │ │ ├─ variant_4: struct #29 -│ │ │ │ │ └─ [notIn]: list #25 +│ │ │ │ │ └─ [notIn]: list 'list_25' #25 │ │ │ │ │ └─ item: string #23 │ │ │ │ ├─ variant_5: struct #32 │ │ │ │ │ ├─ [contains]: string #23 -│ │ │ │ │ └─ [mode]: optional #31 +│ │ │ │ │ └─ [mode]: optional 'optional_31' #31 │ │ │ │ │ └─ item: string #30 enum{ '"insensitive"' } │ │ │ │ ├─ variant_6: struct #33 │ │ │ │ │ └─ [search]: string #23 │ │ │ │ └─ variant_7: struct #34 -│ │ │ │ ├─ [endsWith]: optional #24 +│ │ │ │ ├─ [endsWith]: optional 'optional_24' #24 │ │ │ │ │ └─ item: string #23 -│ │ │ │ └─ [startsWith]: optional #24 +│ │ │ │ └─ [startsWith]: optional 'optional_24' #24 │ │ │ │ └─ item: string #23 -│ │ │ └─ [posts]: optional #96 +│ │ │ └─ [posts]: optional 'optional_96' #96 │ │ │ └─ item: union #95 │ │ │ ├─ variant_0: struct #90 -│ │ │ │ └─ [every]: optional '_89_PostWhere?' #89 +│ │ │ │ └─ [every]: optional 'optional_89' #89 │ │ │ │ └─ item: &PostWhere #88 │ │ │ ├─ variant_1: struct #92 -│ │ │ │ └─ [some]: optional '_91_PostWhere?' #91 +│ │ │ │ └─ [some]: optional 'optional_91' #91 │ │ │ │ └─ item: &PostWhere #88 │ │ │ └─ variant_2: struct #94 -│ │ │ └─ [none]: optional '_93_PostWhere?' #93 +│ │ │ └─ [none]: optional 'optional_93' #93 │ │ │ └─ item: &PostWhere #88 -│ │ ├─ [id]: optional '_84__integer_filter_c?' #84 +│ │ ├─ [id]: optional 'optional_84' #84 │ │ │ └─ item: optional '_integer_filter_c' #52 │ │ │ └─ item: union #51 │ │ │ ├─ variant_0: either '_integer_filter' #49 @@ -362,19 +362,19 @@ root: struct #151 │ │ │ │ ├─ variant_2: struct #45 │ │ │ │ │ └─ [not]: integer #41 │ │ │ │ ├─ variant_3: struct #46 -│ │ │ │ │ ├─ [gt]: optional #42 +│ │ │ │ │ ├─ [gt]: optional 'optional_42' #42 │ │ │ │ │ │ └─ item: integer #41 -│ │ │ │ │ ├─ [gte]: optional #42 +│ │ │ │ │ ├─ [gte]: optional 'optional_42' #42 │ │ │ │ │ │ └─ item: integer #41 -│ │ │ │ │ ├─ [lt]: optional #42 +│ │ │ │ │ ├─ [lt]: optional 'optional_42' #42 │ │ │ │ │ │ └─ item: integer #41 -│ │ │ │ │ └─ [lte]: optional #42 +│ │ │ │ │ └─ [lte]: optional 'optional_42' #42 │ │ │ │ │ └─ item: integer #41 │ │ │ │ ├─ variant_4: struct #47 -│ │ │ │ │ └─ [in]: list #43 +│ │ │ │ │ └─ [in]: list 'list_43' #43 │ │ │ │ │ └─ item: integer #41 │ │ │ │ └─ variant_5: struct #48 -│ │ │ │ └─ [notIn]: list #43 +│ │ │ │ └─ [notIn]: list 'list_43' #43 │ │ │ │ └─ item: integer #41 │ │ │ └─ variant_1: struct #50 │ │ │ └─ [not]: either '_integer_filter' #49 @@ -384,21 +384,21 @@ root: struct #151 │ │ │ ├─ variant_2: struct #45 │ │ │ │ └─ [not]: integer #41 │ │ │ ├─ variant_3: struct #46 -│ │ │ │ ├─ [gt]: optional #42 +│ │ │ │ ├─ [gt]: optional 'optional_42' #42 │ │ │ │ │ └─ item: integer #41 -│ │ │ │ ├─ [gte]: optional #42 +│ │ │ │ ├─ [gte]: optional 'optional_42' #42 │ │ │ │ │ └─ item: integer #41 -│ │ │ │ ├─ [lt]: optional #42 +│ │ │ │ ├─ [lt]: optional 'optional_42' #42 │ │ │ │ │ └─ item: integer #41 -│ │ │ │ └─ [lte]: optional #42 +│ │ │ │ └─ [lte]: optional 'optional_42' #42 │ │ │ │ └─ item: integer #41 │ │ │ ├─ variant_4: struct #47 -│ │ │ │ └─ [in]: list #43 +│ │ │ │ └─ [in]: list 'list_43' #43 │ │ │ │ └─ item: integer #41 │ │ │ └─ variant_5: struct #48 -│ │ │ └─ [notIn]: list #43 +│ │ │ └─ [notIn]: list 'list_43' #43 │ │ │ └─ item: integer #41 -│ │ └─ [title]: optional '_85__string_filter_c?' #85 +│ │ └─ [title]: optional 'optional_85' #85 │ │ └─ item: optional '_string_filter_c' #38 │ │ └─ item: union #37 │ │ ├─ variant_0: union '_string_filter' #35 @@ -408,21 +408,21 @@ root: struct #151 │ │ │ ├─ variant_2: struct #27 │ │ │ │ └─ [not]: string #23 │ │ │ ├─ variant_3: struct #28 -│ │ │ │ └─ [in]: list #25 +│ │ │ │ └─ [in]: list 'list_25' #25 │ │ │ │ └─ item: string #23 │ │ │ ├─ variant_4: struct #29 -│ │ │ │ └─ [notIn]: list #25 +│ │ │ │ └─ [notIn]: list 'list_25' #25 │ │ │ │ └─ item: string #23 │ │ │ ├─ variant_5: struct #32 │ │ │ │ ├─ [contains]: string #23 -│ │ │ │ └─ [mode]: optional #31 +│ │ │ │ └─ [mode]: optional 'optional_31' #31 │ │ │ │ └─ item: string #30 enum{ '"insensitive"' } │ │ │ ├─ variant_6: struct #33 │ │ │ │ └─ [search]: string #23 │ │ │ └─ variant_7: struct #34 -│ │ │ ├─ [endsWith]: optional #24 +│ │ │ ├─ [endsWith]: optional 'optional_24' #24 │ │ │ │ └─ item: string #23 -│ │ │ └─ [startsWith]: optional #24 +│ │ │ └─ [startsWith]: optional 'optional_24' #24 │ │ │ └─ item: string #23 │ │ └─ variant_1: struct #36 │ │ └─ [not]: union '_string_filter' #35 @@ -432,39 +432,39 @@ root: struct #151 │ │ ├─ variant_2: struct #27 │ │ │ └─ [not]: string #23 │ │ ├─ variant_3: struct #28 -│ │ │ └─ [in]: list #25 +│ │ │ └─ [in]: list 'list_25' #25 │ │ │ └─ item: string #23 │ │ ├─ variant_4: struct #29 -│ │ │ └─ [notIn]: list #25 +│ │ │ └─ [notIn]: list 'list_25' #25 │ │ │ └─ item: string #23 │ │ ├─ variant_5: struct #32 │ │ │ ├─ [contains]: string #23 -│ │ │ └─ [mode]: optional #31 +│ │ │ └─ [mode]: optional 'optional_31' #31 │ │ │ └─ item: string #30 enum{ '"insensitive"' } │ │ ├─ variant_6: struct #33 │ │ │ └─ [search]: string #23 │ │ └─ variant_7: struct #34 -│ │ ├─ [endsWith]: optional #24 +│ │ ├─ [endsWith]: optional 'optional_24' #24 │ │ │ └─ item: string #23 -│ │ └─ [startsWith]: optional #24 +│ │ └─ [startsWith]: optional 'optional_24' #24 │ │ └─ item: string #23 │ ├─ variant_2: struct #105 │ │ └─ [connectOrCreate]: struct #102 │ │ ├─ [create]: union #83 │ │ │ ├─ variant_0: struct '_Post_CreateInput_excluding___rel_Post_User_1' #81 -│ │ │ │ ├─ [id]: optional #80 +│ │ │ │ ├─ [id]: optional 'optional_80' #80 │ │ │ │ │ └─ item: integer #67 │ │ │ │ └─ [title]: string #68 -│ │ │ └─ variant_1: list '_82__Post_CreateInput_excluding___rel_Post_User_1[]' #82 +│ │ │ └─ variant_1: list 'list_82' #82 │ │ │ └─ item: struct '_Post_CreateInput_excluding___rel_Post_User_1' #81 -│ │ │ ├─ [id]: optional #80 +│ │ │ ├─ [id]: optional 'optional_80' #80 │ │ │ │ └─ item: integer #67 │ │ │ └─ [title]: string #68 │ │ └─ [where]: union #101 │ │ ├─ variant_0: struct 'PostWhere' #99 -│ │ │ ├─ [author]: optional '_98_UserWhere__skip_70_PostWhere?' #98 +│ │ │ ├─ [author]: optional 'optional_98' #98 │ │ │ │ └─ item: struct 'UserWhere__skip_70_PostWhere' #97 -│ │ │ │ ├─ [id]: optional '_86__integer_filter_c?' #86 +│ │ │ │ ├─ [id]: optional 'optional_86' #86 │ │ │ │ │ └─ item: optional '_integer_filter_c' #52 │ │ │ │ │ └─ item: union #51 │ │ │ │ │ ├─ variant_0: either '_integer_filter' #49 @@ -474,19 +474,19 @@ root: struct #151 │ │ │ │ │ │ ├─ variant_2: struct #45 │ │ │ │ │ │ │ └─ [not]: integer #41 │ │ │ │ │ │ ├─ variant_3: struct #46 -│ │ │ │ │ │ │ ├─ [gt]: optional #42 +│ │ │ │ │ │ │ ├─ [gt]: optional 'optional_42' #42 │ │ │ │ │ │ │ │ └─ item: integer #41 -│ │ │ │ │ │ │ ├─ [gte]: optional #42 +│ │ │ │ │ │ │ ├─ [gte]: optional 'optional_42' #42 │ │ │ │ │ │ │ │ └─ item: integer #41 -│ │ │ │ │ │ │ ├─ [lt]: optional #42 +│ │ │ │ │ │ │ ├─ [lt]: optional 'optional_42' #42 │ │ │ │ │ │ │ │ └─ item: integer #41 -│ │ │ │ │ │ │ └─ [lte]: optional #42 +│ │ │ │ │ │ │ └─ [lte]: optional 'optional_42' #42 │ │ │ │ │ │ │ └─ item: integer #41 │ │ │ │ │ │ ├─ variant_4: struct #47 -│ │ │ │ │ │ │ └─ [in]: list #43 +│ │ │ │ │ │ │ └─ [in]: list 'list_43' #43 │ │ │ │ │ │ │ └─ item: integer #41 │ │ │ │ │ │ └─ variant_5: struct #48 -│ │ │ │ │ │ └─ [notIn]: list #43 +│ │ │ │ │ │ └─ [notIn]: list 'list_43' #43 │ │ │ │ │ │ └─ item: integer #41 │ │ │ │ │ └─ variant_1: struct #50 │ │ │ │ │ └─ [not]: either '_integer_filter' #49 @@ -496,21 +496,21 @@ root: struct #151 │ │ │ │ │ ├─ variant_2: struct #45 │ │ │ │ │ │ └─ [not]: integer #41 │ │ │ │ │ ├─ variant_3: struct #46 -│ │ │ │ │ │ ├─ [gt]: optional #42 +│ │ │ │ │ │ ├─ [gt]: optional 'optional_42' #42 │ │ │ │ │ │ │ └─ item: integer #41 -│ │ │ │ │ │ ├─ [gte]: optional #42 +│ │ │ │ │ │ ├─ [gte]: optional 'optional_42' #42 │ │ │ │ │ │ │ └─ item: integer #41 -│ │ │ │ │ │ ├─ [lt]: optional #42 +│ │ │ │ │ │ ├─ [lt]: optional 'optional_42' #42 │ │ │ │ │ │ │ └─ item: integer #41 -│ │ │ │ │ │ └─ [lte]: optional #42 +│ │ │ │ │ │ └─ [lte]: optional 'optional_42' #42 │ │ │ │ │ │ └─ item: integer #41 │ │ │ │ │ ├─ variant_4: struct #47 -│ │ │ │ │ │ └─ [in]: list #43 +│ │ │ │ │ │ └─ [in]: list 'list_43' #43 │ │ │ │ │ │ └─ item: integer #41 │ │ │ │ │ └─ variant_5: struct #48 -│ │ │ │ │ └─ [notIn]: list #43 +│ │ │ │ │ └─ [notIn]: list 'list_43' #43 │ │ │ │ │ └─ item: integer #41 -│ │ │ │ ├─ [name]: optional '_87__string_filter_c?' #87 +│ │ │ │ ├─ [name]: optional 'optional_87' #87 │ │ │ │ │ └─ item: optional '_string_filter_c' #38 │ │ │ │ │ └─ item: union #37 │ │ │ │ │ ├─ variant_0: union '_string_filter' #35 @@ -520,21 +520,21 @@ root: struct #151 │ │ │ │ │ │ ├─ variant_2: struct #27 │ │ │ │ │ │ │ └─ [not]: string #23 │ │ │ │ │ │ ├─ variant_3: struct #28 -│ │ │ │ │ │ │ └─ [in]: list #25 +│ │ │ │ │ │ │ └─ [in]: list 'list_25' #25 │ │ │ │ │ │ │ └─ item: string #23 │ │ │ │ │ │ ├─ variant_4: struct #29 -│ │ │ │ │ │ │ └─ [notIn]: list #25 +│ │ │ │ │ │ │ └─ [notIn]: list 'list_25' #25 │ │ │ │ │ │ │ └─ item: string #23 │ │ │ │ │ │ ├─ variant_5: struct #32 │ │ │ │ │ │ │ ├─ [contains]: string #23 -│ │ │ │ │ │ │ └─ [mode]: optional #31 +│ │ │ │ │ │ │ └─ [mode]: optional 'optional_31' #31 │ │ │ │ │ │ │ └─ item: string #30 enum{ '"insensitive"' } │ │ │ │ │ │ ├─ variant_6: struct #33 │ │ │ │ │ │ │ └─ [search]: string #23 │ │ │ │ │ │ └─ variant_7: struct #34 -│ │ │ │ │ │ ├─ [endsWith]: optional #24 +│ │ │ │ │ │ ├─ [endsWith]: optional 'optional_24' #24 │ │ │ │ │ │ │ └─ item: string #23 -│ │ │ │ │ │ └─ [startsWith]: optional #24 +│ │ │ │ │ │ └─ [startsWith]: optional 'optional_24' #24 │ │ │ │ │ │ └─ item: string #23 │ │ │ │ │ └─ variant_1: struct #36 │ │ │ │ │ └─ [not]: union '_string_filter' #35 @@ -544,34 +544,34 @@ root: struct #151 │ │ │ │ │ ├─ variant_2: struct #27 │ │ │ │ │ │ └─ [not]: string #23 │ │ │ │ │ ├─ variant_3: struct #28 -│ │ │ │ │ │ └─ [in]: list #25 +│ │ │ │ │ │ └─ [in]: list 'list_25' #25 │ │ │ │ │ │ └─ item: string #23 │ │ │ │ │ ├─ variant_4: struct #29 -│ │ │ │ │ │ └─ [notIn]: list #25 +│ │ │ │ │ │ └─ [notIn]: list 'list_25' #25 │ │ │ │ │ │ └─ item: string #23 │ │ │ │ │ ├─ variant_5: struct #32 │ │ │ │ │ │ ├─ [contains]: string #23 -│ │ │ │ │ │ └─ [mode]: optional #31 +│ │ │ │ │ │ └─ [mode]: optional 'optional_31' #31 │ │ │ │ │ │ └─ item: string #30 enum{ '"insensitive"' } │ │ │ │ │ ├─ variant_6: struct #33 │ │ │ │ │ │ └─ [search]: string #23 │ │ │ │ │ └─ variant_7: struct #34 -│ │ │ │ │ ├─ [endsWith]: optional #24 +│ │ │ │ │ ├─ [endsWith]: optional 'optional_24' #24 │ │ │ │ │ │ └─ item: string #23 -│ │ │ │ │ └─ [startsWith]: optional #24 +│ │ │ │ │ └─ [startsWith]: optional 'optional_24' #24 │ │ │ │ │ └─ item: string #23 -│ │ │ │ └─ [posts]: optional #96 +│ │ │ │ └─ [posts]: optional 'optional_96' #96 │ │ │ │ └─ item: union #95 │ │ │ │ ├─ variant_0: struct #90 -│ │ │ │ │ └─ [every]: optional '_89_PostWhere?' #89 +│ │ │ │ │ └─ [every]: optional 'optional_89' #89 │ │ │ │ │ └─ item: &PostWhere #88 │ │ │ │ ├─ variant_1: struct #92 -│ │ │ │ │ └─ [some]: optional '_91_PostWhere?' #91 +│ │ │ │ │ └─ [some]: optional 'optional_91' #91 │ │ │ │ │ └─ item: &PostWhere #88 │ │ │ │ └─ variant_2: struct #94 -│ │ │ │ └─ [none]: optional '_93_PostWhere?' #93 +│ │ │ │ └─ [none]: optional 'optional_93' #93 │ │ │ │ └─ item: &PostWhere #88 -│ │ │ ├─ [id]: optional '_84__integer_filter_c?' #84 +│ │ │ ├─ [id]: optional 'optional_84' #84 │ │ │ │ └─ item: optional '_integer_filter_c' #52 │ │ │ │ └─ item: union #51 │ │ │ │ ├─ variant_0: either '_integer_filter' #49 @@ -581,19 +581,19 @@ root: struct #151 │ │ │ │ │ ├─ variant_2: struct #45 │ │ │ │ │ │ └─ [not]: integer #41 │ │ │ │ │ ├─ variant_3: struct #46 -│ │ │ │ │ │ ├─ [gt]: optional #42 +│ │ │ │ │ │ ├─ [gt]: optional 'optional_42' #42 │ │ │ │ │ │ │ └─ item: integer #41 -│ │ │ │ │ │ ├─ [gte]: optional #42 +│ │ │ │ │ │ ├─ [gte]: optional 'optional_42' #42 │ │ │ │ │ │ │ └─ item: integer #41 -│ │ │ │ │ │ ├─ [lt]: optional #42 +│ │ │ │ │ │ ├─ [lt]: optional 'optional_42' #42 │ │ │ │ │ │ │ └─ item: integer #41 -│ │ │ │ │ │ └─ [lte]: optional #42 +│ │ │ │ │ │ └─ [lte]: optional 'optional_42' #42 │ │ │ │ │ │ └─ item: integer #41 │ │ │ │ │ ├─ variant_4: struct #47 -│ │ │ │ │ │ └─ [in]: list #43 +│ │ │ │ │ │ └─ [in]: list 'list_43' #43 │ │ │ │ │ │ └─ item: integer #41 │ │ │ │ │ └─ variant_5: struct #48 -│ │ │ │ │ └─ [notIn]: list #43 +│ │ │ │ │ └─ [notIn]: list 'list_43' #43 │ │ │ │ │ └─ item: integer #41 │ │ │ │ └─ variant_1: struct #50 │ │ │ │ └─ [not]: either '_integer_filter' #49 @@ -603,21 +603,21 @@ root: struct #151 │ │ │ │ ├─ variant_2: struct #45 │ │ │ │ │ └─ [not]: integer #41 │ │ │ │ ├─ variant_3: struct #46 -│ │ │ │ │ ├─ [gt]: optional #42 +│ │ │ │ │ ├─ [gt]: optional 'optional_42' #42 │ │ │ │ │ │ └─ item: integer #41 -│ │ │ │ │ ├─ [gte]: optional #42 +│ │ │ │ │ ├─ [gte]: optional 'optional_42' #42 │ │ │ │ │ │ └─ item: integer #41 -│ │ │ │ │ ├─ [lt]: optional #42 +│ │ │ │ │ ├─ [lt]: optional 'optional_42' #42 │ │ │ │ │ │ └─ item: integer #41 -│ │ │ │ │ └─ [lte]: optional #42 +│ │ │ │ │ └─ [lte]: optional 'optional_42' #42 │ │ │ │ │ └─ item: integer #41 │ │ │ │ ├─ variant_4: struct #47 -│ │ │ │ │ └─ [in]: list #43 +│ │ │ │ │ └─ [in]: list 'list_43' #43 │ │ │ │ │ └─ item: integer #41 │ │ │ │ └─ variant_5: struct #48 -│ │ │ │ └─ [notIn]: list #43 +│ │ │ │ └─ [notIn]: list 'list_43' #43 │ │ │ │ └─ item: integer #41 -│ │ │ └─ [title]: optional '_85__string_filter_c?' #85 +│ │ │ └─ [title]: optional 'optional_85' #85 │ │ │ └─ item: optional '_string_filter_c' #38 │ │ │ └─ item: union #37 │ │ │ ├─ variant_0: union '_string_filter' #35 @@ -627,21 +627,21 @@ root: struct #151 │ │ │ │ ├─ variant_2: struct #27 │ │ │ │ │ └─ [not]: string #23 │ │ │ │ ├─ variant_3: struct #28 -│ │ │ │ │ └─ [in]: list #25 +│ │ │ │ │ └─ [in]: list 'list_25' #25 │ │ │ │ │ └─ item: string #23 │ │ │ │ ├─ variant_4: struct #29 -│ │ │ │ │ └─ [notIn]: list #25 +│ │ │ │ │ └─ [notIn]: list 'list_25' #25 │ │ │ │ │ └─ item: string #23 │ │ │ │ ├─ variant_5: struct #32 │ │ │ │ │ ├─ [contains]: string #23 -│ │ │ │ │ └─ [mode]: optional #31 +│ │ │ │ │ └─ [mode]: optional 'optional_31' #31 │ │ │ │ │ └─ item: string #30 enum{ '"insensitive"' } │ │ │ │ ├─ variant_6: struct #33 │ │ │ │ │ └─ [search]: string #23 │ │ │ │ └─ variant_7: struct #34 -│ │ │ │ ├─ [endsWith]: optional #24 +│ │ │ │ ├─ [endsWith]: optional 'optional_24' #24 │ │ │ │ │ └─ item: string #23 -│ │ │ │ └─ [startsWith]: optional #24 +│ │ │ │ └─ [startsWith]: optional 'optional_24' #24 │ │ │ │ └─ item: string #23 │ │ │ └─ variant_1: struct #36 │ │ │ └─ [not]: union '_string_filter' #35 @@ -651,27 +651,27 @@ root: struct #151 │ │ │ ├─ variant_2: struct #27 │ │ │ │ └─ [not]: string #23 │ │ │ ├─ variant_3: struct #28 -│ │ │ │ └─ [in]: list #25 +│ │ │ │ └─ [in]: list 'list_25' #25 │ │ │ │ └─ item: string #23 │ │ │ ├─ variant_4: struct #29 -│ │ │ │ └─ [notIn]: list #25 +│ │ │ │ └─ [notIn]: list 'list_25' #25 │ │ │ │ └─ item: string #23 │ │ │ ├─ variant_5: struct #32 │ │ │ │ ├─ [contains]: string #23 -│ │ │ │ └─ [mode]: optional #31 +│ │ │ │ └─ [mode]: optional 'optional_31' #31 │ │ │ │ └─ item: string #30 enum{ '"insensitive"' } │ │ │ ├─ variant_6: struct #33 │ │ │ │ └─ [search]: string #23 │ │ │ └─ variant_7: struct #34 -│ │ │ ├─ [endsWith]: optional #24 +│ │ │ ├─ [endsWith]: optional 'optional_24' #24 │ │ │ │ └─ item: string #23 -│ │ │ └─ [startsWith]: optional #24 +│ │ │ └─ [startsWith]: optional 'optional_24' #24 │ │ │ └─ item: string #23 -│ │ └─ variant_1: list '_100_PostWhere[]' #100 +│ │ └─ variant_1: list 'list_100' #100 │ │ └─ item: struct 'PostWhere' #99 -│ │ ├─ [author]: optional '_98_UserWhere__skip_70_PostWhere?' #98 +│ │ ├─ [author]: optional 'optional_98' #98 │ │ │ └─ item: struct 'UserWhere__skip_70_PostWhere' #97 -│ │ │ ├─ [id]: optional '_86__integer_filter_c?' #86 +│ │ │ ├─ [id]: optional 'optional_86' #86 │ │ │ │ └─ item: optional '_integer_filter_c' #52 │ │ │ │ └─ item: union #51 │ │ │ │ ├─ variant_0: either '_integer_filter' #49 @@ -681,19 +681,19 @@ root: struct #151 │ │ │ │ │ ├─ variant_2: struct #45 │ │ │ │ │ │ └─ [not]: integer #41 │ │ │ │ │ ├─ variant_3: struct #46 -│ │ │ │ │ │ ├─ [gt]: optional #42 +│ │ │ │ │ │ ├─ [gt]: optional 'optional_42' #42 │ │ │ │ │ │ │ └─ item: integer #41 -│ │ │ │ │ │ ├─ [gte]: optional #42 +│ │ │ │ │ │ ├─ [gte]: optional 'optional_42' #42 │ │ │ │ │ │ │ └─ item: integer #41 -│ │ │ │ │ │ ├─ [lt]: optional #42 +│ │ │ │ │ │ ├─ [lt]: optional 'optional_42' #42 │ │ │ │ │ │ │ └─ item: integer #41 -│ │ │ │ │ │ └─ [lte]: optional #42 +│ │ │ │ │ │ └─ [lte]: optional 'optional_42' #42 │ │ │ │ │ │ └─ item: integer #41 │ │ │ │ │ ├─ variant_4: struct #47 -│ │ │ │ │ │ └─ [in]: list #43 +│ │ │ │ │ │ └─ [in]: list 'list_43' #43 │ │ │ │ │ │ └─ item: integer #41 │ │ │ │ │ └─ variant_5: struct #48 -│ │ │ │ │ └─ [notIn]: list #43 +│ │ │ │ │ └─ [notIn]: list 'list_43' #43 │ │ │ │ │ └─ item: integer #41 │ │ │ │ └─ variant_1: struct #50 │ │ │ │ └─ [not]: either '_integer_filter' #49 @@ -703,21 +703,21 @@ root: struct #151 │ │ │ │ ├─ variant_2: struct #45 │ │ │ │ │ └─ [not]: integer #41 │ │ │ │ ├─ variant_3: struct #46 -│ │ │ │ │ ├─ [gt]: optional #42 +│ │ │ │ │ ├─ [gt]: optional 'optional_42' #42 │ │ │ │ │ │ └─ item: integer #41 -│ │ │ │ │ ├─ [gte]: optional #42 +│ │ │ │ │ ├─ [gte]: optional 'optional_42' #42 │ │ │ │ │ │ └─ item: integer #41 -│ │ │ │ │ ├─ [lt]: optional #42 +│ │ │ │ │ ├─ [lt]: optional 'optional_42' #42 │ │ │ │ │ │ └─ item: integer #41 -│ │ │ │ │ └─ [lte]: optional #42 +│ │ │ │ │ └─ [lte]: optional 'optional_42' #42 │ │ │ │ │ └─ item: integer #41 │ │ │ │ ├─ variant_4: struct #47 -│ │ │ │ │ └─ [in]: list #43 +│ │ │ │ │ └─ [in]: list 'list_43' #43 │ │ │ │ │ └─ item: integer #41 │ │ │ │ └─ variant_5: struct #48 -│ │ │ │ └─ [notIn]: list #43 +│ │ │ │ └─ [notIn]: list 'list_43' #43 │ │ │ │ └─ item: integer #41 -│ │ │ ├─ [name]: optional '_87__string_filter_c?' #87 +│ │ │ ├─ [name]: optional 'optional_87' #87 │ │ │ │ └─ item: optional '_string_filter_c' #38 │ │ │ │ └─ item: union #37 │ │ │ │ ├─ variant_0: union '_string_filter' #35 @@ -727,21 +727,21 @@ root: struct #151 │ │ │ │ │ ├─ variant_2: struct #27 │ │ │ │ │ │ └─ [not]: string #23 │ │ │ │ │ ├─ variant_3: struct #28 -│ │ │ │ │ │ └─ [in]: list #25 +│ │ │ │ │ │ └─ [in]: list 'list_25' #25 │ │ │ │ │ │ └─ item: string #23 │ │ │ │ │ ├─ variant_4: struct #29 -│ │ │ │ │ │ └─ [notIn]: list #25 +│ │ │ │ │ │ └─ [notIn]: list 'list_25' #25 │ │ │ │ │ │ └─ item: string #23 │ │ │ │ │ ├─ variant_5: struct #32 │ │ │ │ │ │ ├─ [contains]: string #23 -│ │ │ │ │ │ └─ [mode]: optional #31 +│ │ │ │ │ │ └─ [mode]: optional 'optional_31' #31 │ │ │ │ │ │ └─ item: string #30 enum{ '"insensitive"' } │ │ │ │ │ ├─ variant_6: struct #33 │ │ │ │ │ │ └─ [search]: string #23 │ │ │ │ │ └─ variant_7: struct #34 -│ │ │ │ │ ├─ [endsWith]: optional #24 +│ │ │ │ │ ├─ [endsWith]: optional 'optional_24' #24 │ │ │ │ │ │ └─ item: string #23 -│ │ │ │ │ └─ [startsWith]: optional #24 +│ │ │ │ │ └─ [startsWith]: optional 'optional_24' #24 │ │ │ │ │ └─ item: string #23 │ │ │ │ └─ variant_1: struct #36 │ │ │ │ └─ [not]: union '_string_filter' #35 @@ -751,34 +751,34 @@ root: struct #151 │ │ │ │ ├─ variant_2: struct #27 │ │ │ │ │ └─ [not]: string #23 │ │ │ │ ├─ variant_3: struct #28 -│ │ │ │ │ └─ [in]: list #25 +│ │ │ │ │ └─ [in]: list 'list_25' #25 │ │ │ │ │ └─ item: string #23 │ │ │ │ ├─ variant_4: struct #29 -│ │ │ │ │ └─ [notIn]: list #25 +│ │ │ │ │ └─ [notIn]: list 'list_25' #25 │ │ │ │ │ └─ item: string #23 │ │ │ │ ├─ variant_5: struct #32 │ │ │ │ │ ├─ [contains]: string #23 -│ │ │ │ │ └─ [mode]: optional #31 +│ │ │ │ │ └─ [mode]: optional 'optional_31' #31 │ │ │ │ │ └─ item: string #30 enum{ '"insensitive"' } │ │ │ │ ├─ variant_6: struct #33 │ │ │ │ │ └─ [search]: string #23 │ │ │ │ └─ variant_7: struct #34 -│ │ │ │ ├─ [endsWith]: optional #24 +│ │ │ │ ├─ [endsWith]: optional 'optional_24' #24 │ │ │ │ │ └─ item: string #23 -│ │ │ │ └─ [startsWith]: optional #24 +│ │ │ │ └─ [startsWith]: optional 'optional_24' #24 │ │ │ │ └─ item: string #23 -│ │ │ └─ [posts]: optional #96 +│ │ │ └─ [posts]: optional 'optional_96' #96 │ │ │ └─ item: union #95 │ │ │ ├─ variant_0: struct #90 -│ │ │ │ └─ [every]: optional '_89_PostWhere?' #89 +│ │ │ │ └─ [every]: optional 'optional_89' #89 │ │ │ │ └─ item: &PostWhere #88 │ │ │ ├─ variant_1: struct #92 -│ │ │ │ └─ [some]: optional '_91_PostWhere?' #91 +│ │ │ │ └─ [some]: optional 'optional_91' #91 │ │ │ │ └─ item: &PostWhere #88 │ │ │ └─ variant_2: struct #94 -│ │ │ └─ [none]: optional '_93_PostWhere?' #93 +│ │ │ └─ [none]: optional 'optional_93' #93 │ │ │ └─ item: &PostWhere #88 -│ │ ├─ [id]: optional '_84__integer_filter_c?' #84 +│ │ ├─ [id]: optional 'optional_84' #84 │ │ │ └─ item: optional '_integer_filter_c' #52 │ │ │ └─ item: union #51 │ │ │ ├─ variant_0: either '_integer_filter' #49 @@ -788,19 +788,19 @@ root: struct #151 │ │ │ │ ├─ variant_2: struct #45 │ │ │ │ │ └─ [not]: integer #41 │ │ │ │ ├─ variant_3: struct #46 -│ │ │ │ │ ├─ [gt]: optional #42 +│ │ │ │ │ ├─ [gt]: optional 'optional_42' #42 │ │ │ │ │ │ └─ item: integer #41 -│ │ │ │ │ ├─ [gte]: optional #42 +│ │ │ │ │ ├─ [gte]: optional 'optional_42' #42 │ │ │ │ │ │ └─ item: integer #41 -│ │ │ │ │ ├─ [lt]: optional #42 +│ │ │ │ │ ├─ [lt]: optional 'optional_42' #42 │ │ │ │ │ │ └─ item: integer #41 -│ │ │ │ │ └─ [lte]: optional #42 +│ │ │ │ │ └─ [lte]: optional 'optional_42' #42 │ │ │ │ │ └─ item: integer #41 │ │ │ │ ├─ variant_4: struct #47 -│ │ │ │ │ └─ [in]: list #43 +│ │ │ │ │ └─ [in]: list 'list_43' #43 │ │ │ │ │ └─ item: integer #41 │ │ │ │ └─ variant_5: struct #48 -│ │ │ │ └─ [notIn]: list #43 +│ │ │ │ └─ [notIn]: list 'list_43' #43 │ │ │ │ └─ item: integer #41 │ │ │ └─ variant_1: struct #50 │ │ │ └─ [not]: either '_integer_filter' #49 @@ -810,21 +810,21 @@ root: struct #151 │ │ │ ├─ variant_2: struct #45 │ │ │ │ └─ [not]: integer #41 │ │ │ ├─ variant_3: struct #46 -│ │ │ │ ├─ [gt]: optional #42 +│ │ │ │ ├─ [gt]: optional 'optional_42' #42 │ │ │ │ │ └─ item: integer #41 -│ │ │ │ ├─ [gte]: optional #42 +│ │ │ │ ├─ [gte]: optional 'optional_42' #42 │ │ │ │ │ └─ item: integer #41 -│ │ │ │ ├─ [lt]: optional #42 +│ │ │ │ ├─ [lt]: optional 'optional_42' #42 │ │ │ │ │ └─ item: integer #41 -│ │ │ │ └─ [lte]: optional #42 +│ │ │ │ └─ [lte]: optional 'optional_42' #42 │ │ │ │ └─ item: integer #41 │ │ │ ├─ variant_4: struct #47 -│ │ │ │ └─ [in]: list #43 +│ │ │ │ └─ [in]: list 'list_43' #43 │ │ │ │ └─ item: integer #41 │ │ │ └─ variant_5: struct #48 -│ │ │ └─ [notIn]: list #43 +│ │ │ └─ [notIn]: list 'list_43' #43 │ │ │ └─ item: integer #41 -│ │ └─ [title]: optional '_85__string_filter_c?' #85 +│ │ └─ [title]: optional 'optional_85' #85 │ │ └─ item: optional '_string_filter_c' #38 │ │ └─ item: union #37 │ │ ├─ variant_0: union '_string_filter' #35 @@ -834,21 +834,21 @@ root: struct #151 │ │ │ ├─ variant_2: struct #27 │ │ │ │ └─ [not]: string #23 │ │ │ ├─ variant_3: struct #28 -│ │ │ │ └─ [in]: list #25 +│ │ │ │ └─ [in]: list 'list_25' #25 │ │ │ │ └─ item: string #23 │ │ │ ├─ variant_4: struct #29 -│ │ │ │ └─ [notIn]: list #25 +│ │ │ │ └─ [notIn]: list 'list_25' #25 │ │ │ │ └─ item: string #23 │ │ │ ├─ variant_5: struct #32 │ │ │ │ ├─ [contains]: string #23 -│ │ │ │ └─ [mode]: optional #31 +│ │ │ │ └─ [mode]: optional 'optional_31' #31 │ │ │ │ └─ item: string #30 enum{ '"insensitive"' } │ │ │ ├─ variant_6: struct #33 │ │ │ │ └─ [search]: string #23 │ │ │ └─ variant_7: struct #34 -│ │ │ ├─ [endsWith]: optional #24 +│ │ │ ├─ [endsWith]: optional 'optional_24' #24 │ │ │ │ └─ item: string #23 -│ │ │ └─ [startsWith]: optional #24 +│ │ │ └─ [startsWith]: optional 'optional_24' #24 │ │ │ └─ item: string #23 │ │ └─ variant_1: struct #36 │ │ └─ [not]: union '_string_filter' #35 @@ -858,25 +858,25 @@ root: struct #151 │ │ ├─ variant_2: struct #27 │ │ │ └─ [not]: string #23 │ │ ├─ variant_3: struct #28 -│ │ │ └─ [in]: list #25 +│ │ │ └─ [in]: list 'list_25' #25 │ │ │ └─ item: string #23 │ │ ├─ variant_4: struct #29 -│ │ │ └─ [notIn]: list #25 +│ │ │ └─ [notIn]: list 'list_25' #25 │ │ │ └─ item: string #23 │ │ ├─ variant_5: struct #32 │ │ │ ├─ [contains]: string #23 -│ │ │ └─ [mode]: optional #31 +│ │ │ └─ [mode]: optional 'optional_31' #31 │ │ │ └─ item: string #30 enum{ '"insensitive"' } │ │ ├─ variant_6: struct #33 │ │ │ └─ [search]: string #23 │ │ └─ variant_7: struct #34 -│ │ ├─ [endsWith]: optional #24 +│ │ ├─ [endsWith]: optional 'optional_24' #24 │ │ │ └─ item: string #23 -│ │ └─ [startsWith]: optional #24 +│ │ └─ [startsWith]: optional 'optional_24' #24 │ │ └─ item: string #23 │ ├─ variant_3: struct #116 │ │ └─ [update]: struct '_Post_UpdateInput_excluding___rel_Post_User_1' #115 -│ │ ├─ [id]: optional #111 +│ │ ├─ [id]: optional 'optional_111' #111 │ │ │ └─ item: union #110 │ │ │ ├─ variant_0: integer #67 │ │ │ ├─ variant_1: struct #106 @@ -887,7 +887,7 @@ root: struct #151 │ │ │ │ └─ [decrement]: integer #67 │ │ │ └─ variant_4: struct #109 │ │ │ └─ [increment]: integer #67 -│ │ └─ [title]: optional #114 +│ │ └─ [title]: optional 'optional_114' #114 │ │ └─ item: union #113 │ │ ├─ variant_0: string #68 │ │ └─ variant_1: struct #112 @@ -895,7 +895,7 @@ root: struct #151 │ ├─ variant_4: struct #119 │ │ └─ [updateMany]: struct #118 │ │ ├─ [data]: struct '_Post_UpdateInput_excluding___rel_Post_User_1' #115 -│ │ │ ├─ [id]: optional #111 +│ │ │ ├─ [id]: optional 'optional_111' #111 │ │ │ │ └─ item: union #110 │ │ │ │ ├─ variant_0: integer #67 │ │ │ │ ├─ variant_1: struct #106 @@ -906,17 +906,17 @@ root: struct #151 │ │ │ │ │ └─ [decrement]: integer #67 │ │ │ │ └─ variant_4: struct #109 │ │ │ │ └─ [increment]: integer #67 -│ │ │ └─ [title]: optional #114 +│ │ │ └─ [title]: optional 'optional_114' #114 │ │ │ └─ item: union #113 │ │ │ ├─ variant_0: string #68 │ │ │ └─ variant_1: struct #112 │ │ │ └─ [set]: string #68 -│ │ └─ [where]: optional #117 +│ │ └─ [where]: optional 'optional_117' #117 │ │ └─ item: union #101 │ │ ├─ variant_0: struct 'PostWhere' #99 -│ │ │ ├─ [author]: optional '_98_UserWhere__skip_70_PostWhere?' #98 +│ │ │ ├─ [author]: optional 'optional_98' #98 │ │ │ │ └─ item: struct 'UserWhere__skip_70_PostWhere' #97 -│ │ │ │ ├─ [id]: optional '_86__integer_filter_c?' #86 +│ │ │ │ ├─ [id]: optional 'optional_86' #86 │ │ │ │ │ └─ item: optional '_integer_filter_c' #52 │ │ │ │ │ └─ item: union #51 │ │ │ │ │ ├─ variant_0: either '_integer_filter' #49 @@ -926,19 +926,19 @@ root: struct #151 │ │ │ │ │ │ ├─ variant_2: struct #45 │ │ │ │ │ │ │ └─ [not]: integer #41 │ │ │ │ │ │ ├─ variant_3: struct #46 -│ │ │ │ │ │ │ ├─ [gt]: optional #42 +│ │ │ │ │ │ │ ├─ [gt]: optional 'optional_42' #42 │ │ │ │ │ │ │ │ └─ item: integer #41 -│ │ │ │ │ │ │ ├─ [gte]: optional #42 +│ │ │ │ │ │ │ ├─ [gte]: optional 'optional_42' #42 │ │ │ │ │ │ │ │ └─ item: integer #41 -│ │ │ │ │ │ │ ├─ [lt]: optional #42 +│ │ │ │ │ │ │ ├─ [lt]: optional 'optional_42' #42 │ │ │ │ │ │ │ │ └─ item: integer #41 -│ │ │ │ │ │ │ └─ [lte]: optional #42 +│ │ │ │ │ │ │ └─ [lte]: optional 'optional_42' #42 │ │ │ │ │ │ │ └─ item: integer #41 │ │ │ │ │ │ ├─ variant_4: struct #47 -│ │ │ │ │ │ │ └─ [in]: list #43 +│ │ │ │ │ │ │ └─ [in]: list 'list_43' #43 │ │ │ │ │ │ │ └─ item: integer #41 │ │ │ │ │ │ └─ variant_5: struct #48 -│ │ │ │ │ │ └─ [notIn]: list #43 +│ │ │ │ │ │ └─ [notIn]: list 'list_43' #43 │ │ │ │ │ │ └─ item: integer #41 │ │ │ │ │ └─ variant_1: struct #50 │ │ │ │ │ └─ [not]: either '_integer_filter' #49 @@ -948,21 +948,21 @@ root: struct #151 │ │ │ │ │ ├─ variant_2: struct #45 │ │ │ │ │ │ └─ [not]: integer #41 │ │ │ │ │ ├─ variant_3: struct #46 -│ │ │ │ │ │ ├─ [gt]: optional #42 +│ │ │ │ │ │ ├─ [gt]: optional 'optional_42' #42 │ │ │ │ │ │ │ └─ item: integer #41 -│ │ │ │ │ │ ├─ [gte]: optional #42 +│ │ │ │ │ │ ├─ [gte]: optional 'optional_42' #42 │ │ │ │ │ │ │ └─ item: integer #41 -│ │ │ │ │ │ ├─ [lt]: optional #42 +│ │ │ │ │ │ ├─ [lt]: optional 'optional_42' #42 │ │ │ │ │ │ │ └─ item: integer #41 -│ │ │ │ │ │ └─ [lte]: optional #42 +│ │ │ │ │ │ └─ [lte]: optional 'optional_42' #42 │ │ │ │ │ │ └─ item: integer #41 │ │ │ │ │ ├─ variant_4: struct #47 -│ │ │ │ │ │ └─ [in]: list #43 +│ │ │ │ │ │ └─ [in]: list 'list_43' #43 │ │ │ │ │ │ └─ item: integer #41 │ │ │ │ │ └─ variant_5: struct #48 -│ │ │ │ │ └─ [notIn]: list #43 +│ │ │ │ │ └─ [notIn]: list 'list_43' #43 │ │ │ │ │ └─ item: integer #41 -│ │ │ │ ├─ [name]: optional '_87__string_filter_c?' #87 +│ │ │ │ ├─ [name]: optional 'optional_87' #87 │ │ │ │ │ └─ item: optional '_string_filter_c' #38 │ │ │ │ │ └─ item: union #37 │ │ │ │ │ ├─ variant_0: union '_string_filter' #35 @@ -972,21 +972,21 @@ root: struct #151 │ │ │ │ │ │ ├─ variant_2: struct #27 │ │ │ │ │ │ │ └─ [not]: string #23 │ │ │ │ │ │ ├─ variant_3: struct #28 -│ │ │ │ │ │ │ └─ [in]: list #25 +│ │ │ │ │ │ │ └─ [in]: list 'list_25' #25 │ │ │ │ │ │ │ └─ item: string #23 │ │ │ │ │ │ ├─ variant_4: struct #29 -│ │ │ │ │ │ │ └─ [notIn]: list #25 +│ │ │ │ │ │ │ └─ [notIn]: list 'list_25' #25 │ │ │ │ │ │ │ └─ item: string #23 │ │ │ │ │ │ ├─ variant_5: struct #32 │ │ │ │ │ │ │ ├─ [contains]: string #23 -│ │ │ │ │ │ │ └─ [mode]: optional #31 +│ │ │ │ │ │ │ └─ [mode]: optional 'optional_31' #31 │ │ │ │ │ │ │ └─ item: string #30 enum{ '"insensitive"' } │ │ │ │ │ │ ├─ variant_6: struct #33 │ │ │ │ │ │ │ └─ [search]: string #23 │ │ │ │ │ │ └─ variant_7: struct #34 -│ │ │ │ │ │ ├─ [endsWith]: optional #24 +│ │ │ │ │ │ ├─ [endsWith]: optional 'optional_24' #24 │ │ │ │ │ │ │ └─ item: string #23 -│ │ │ │ │ │ └─ [startsWith]: optional #24 +│ │ │ │ │ │ └─ [startsWith]: optional 'optional_24' #24 │ │ │ │ │ │ └─ item: string #23 │ │ │ │ │ └─ variant_1: struct #36 │ │ │ │ │ └─ [not]: union '_string_filter' #35 @@ -996,34 +996,34 @@ root: struct #151 │ │ │ │ │ ├─ variant_2: struct #27 │ │ │ │ │ │ └─ [not]: string #23 │ │ │ │ │ ├─ variant_3: struct #28 -│ │ │ │ │ │ └─ [in]: list #25 +│ │ │ │ │ │ └─ [in]: list 'list_25' #25 │ │ │ │ │ │ └─ item: string #23 │ │ │ │ │ ├─ variant_4: struct #29 -│ │ │ │ │ │ └─ [notIn]: list #25 +│ │ │ │ │ │ └─ [notIn]: list 'list_25' #25 │ │ │ │ │ │ └─ item: string #23 │ │ │ │ │ ├─ variant_5: struct #32 │ │ │ │ │ │ ├─ [contains]: string #23 -│ │ │ │ │ │ └─ [mode]: optional #31 +│ │ │ │ │ │ └─ [mode]: optional 'optional_31' #31 │ │ │ │ │ │ └─ item: string #30 enum{ '"insensitive"' } │ │ │ │ │ ├─ variant_6: struct #33 │ │ │ │ │ │ └─ [search]: string #23 │ │ │ │ │ └─ variant_7: struct #34 -│ │ │ │ │ ├─ [endsWith]: optional #24 +│ │ │ │ │ ├─ [endsWith]: optional 'optional_24' #24 │ │ │ │ │ │ └─ item: string #23 -│ │ │ │ │ └─ [startsWith]: optional #24 +│ │ │ │ │ └─ [startsWith]: optional 'optional_24' #24 │ │ │ │ │ └─ item: string #23 -│ │ │ │ └─ [posts]: optional #96 +│ │ │ │ └─ [posts]: optional 'optional_96' #96 │ │ │ │ └─ item: union #95 │ │ │ │ ├─ variant_0: struct #90 -│ │ │ │ │ └─ [every]: optional '_89_PostWhere?' #89 +│ │ │ │ │ └─ [every]: optional 'optional_89' #89 │ │ │ │ │ └─ item: &PostWhere #88 │ │ │ │ ├─ variant_1: struct #92 -│ │ │ │ │ └─ [some]: optional '_91_PostWhere?' #91 +│ │ │ │ │ └─ [some]: optional 'optional_91' #91 │ │ │ │ │ └─ item: &PostWhere #88 │ │ │ │ └─ variant_2: struct #94 -│ │ │ │ └─ [none]: optional '_93_PostWhere?' #93 +│ │ │ │ └─ [none]: optional 'optional_93' #93 │ │ │ │ └─ item: &PostWhere #88 -│ │ │ ├─ [id]: optional '_84__integer_filter_c?' #84 +│ │ │ ├─ [id]: optional 'optional_84' #84 │ │ │ │ └─ item: optional '_integer_filter_c' #52 │ │ │ │ └─ item: union #51 │ │ │ │ ├─ variant_0: either '_integer_filter' #49 @@ -1033,19 +1033,19 @@ root: struct #151 │ │ │ │ │ ├─ variant_2: struct #45 │ │ │ │ │ │ └─ [not]: integer #41 │ │ │ │ │ ├─ variant_3: struct #46 -│ │ │ │ │ │ ├─ [gt]: optional #42 +│ │ │ │ │ │ ├─ [gt]: optional 'optional_42' #42 │ │ │ │ │ │ │ └─ item: integer #41 -│ │ │ │ │ │ ├─ [gte]: optional #42 +│ │ │ │ │ │ ├─ [gte]: optional 'optional_42' #42 │ │ │ │ │ │ │ └─ item: integer #41 -│ │ │ │ │ │ ├─ [lt]: optional #42 +│ │ │ │ │ │ ├─ [lt]: optional 'optional_42' #42 │ │ │ │ │ │ │ └─ item: integer #41 -│ │ │ │ │ │ └─ [lte]: optional #42 +│ │ │ │ │ │ └─ [lte]: optional 'optional_42' #42 │ │ │ │ │ │ └─ item: integer #41 │ │ │ │ │ ├─ variant_4: struct #47 -│ │ │ │ │ │ └─ [in]: list #43 +│ │ │ │ │ │ └─ [in]: list 'list_43' #43 │ │ │ │ │ │ └─ item: integer #41 │ │ │ │ │ └─ variant_5: struct #48 -│ │ │ │ │ └─ [notIn]: list #43 +│ │ │ │ │ └─ [notIn]: list 'list_43' #43 │ │ │ │ │ └─ item: integer #41 │ │ │ │ └─ variant_1: struct #50 │ │ │ │ └─ [not]: either '_integer_filter' #49 @@ -1055,21 +1055,21 @@ root: struct #151 │ │ │ │ ├─ variant_2: struct #45 │ │ │ │ │ └─ [not]: integer #41 │ │ │ │ ├─ variant_3: struct #46 -│ │ │ │ │ ├─ [gt]: optional #42 +│ │ │ │ │ ├─ [gt]: optional 'optional_42' #42 │ │ │ │ │ │ └─ item: integer #41 -│ │ │ │ │ ├─ [gte]: optional #42 +│ │ │ │ │ ├─ [gte]: optional 'optional_42' #42 │ │ │ │ │ │ └─ item: integer #41 -│ │ │ │ │ ├─ [lt]: optional #42 +│ │ │ │ │ ├─ [lt]: optional 'optional_42' #42 │ │ │ │ │ │ └─ item: integer #41 -│ │ │ │ │ └─ [lte]: optional #42 +│ │ │ │ │ └─ [lte]: optional 'optional_42' #42 │ │ │ │ │ └─ item: integer #41 │ │ │ │ ├─ variant_4: struct #47 -│ │ │ │ │ └─ [in]: list #43 +│ │ │ │ │ └─ [in]: list 'list_43' #43 │ │ │ │ │ └─ item: integer #41 │ │ │ │ └─ variant_5: struct #48 -│ │ │ │ └─ [notIn]: list #43 +│ │ │ │ └─ [notIn]: list 'list_43' #43 │ │ │ │ └─ item: integer #41 -│ │ │ └─ [title]: optional '_85__string_filter_c?' #85 +│ │ │ └─ [title]: optional 'optional_85' #85 │ │ │ └─ item: optional '_string_filter_c' #38 │ │ │ └─ item: union #37 │ │ │ ├─ variant_0: union '_string_filter' #35 @@ -1079,21 +1079,21 @@ root: struct #151 │ │ │ │ ├─ variant_2: struct #27 │ │ │ │ │ └─ [not]: string #23 │ │ │ │ ├─ variant_3: struct #28 -│ │ │ │ │ └─ [in]: list #25 +│ │ │ │ │ └─ [in]: list 'list_25' #25 │ │ │ │ │ └─ item: string #23 │ │ │ │ ├─ variant_4: struct #29 -│ │ │ │ │ └─ [notIn]: list #25 +│ │ │ │ │ └─ [notIn]: list 'list_25' #25 │ │ │ │ │ └─ item: string #23 │ │ │ │ ├─ variant_5: struct #32 │ │ │ │ │ ├─ [contains]: string #23 -│ │ │ │ │ └─ [mode]: optional #31 +│ │ │ │ │ └─ [mode]: optional 'optional_31' #31 │ │ │ │ │ └─ item: string #30 enum{ '"insensitive"' } │ │ │ │ ├─ variant_6: struct #33 │ │ │ │ │ └─ [search]: string #23 │ │ │ │ └─ variant_7: struct #34 -│ │ │ │ ├─ [endsWith]: optional #24 +│ │ │ │ ├─ [endsWith]: optional 'optional_24' #24 │ │ │ │ │ └─ item: string #23 -│ │ │ │ └─ [startsWith]: optional #24 +│ │ │ │ └─ [startsWith]: optional 'optional_24' #24 │ │ │ │ └─ item: string #23 │ │ │ └─ variant_1: struct #36 │ │ │ └─ [not]: union '_string_filter' #35 @@ -1103,27 +1103,27 @@ root: struct #151 │ │ │ ├─ variant_2: struct #27 │ │ │ │ └─ [not]: string #23 │ │ │ ├─ variant_3: struct #28 -│ │ │ │ └─ [in]: list #25 +│ │ │ │ └─ [in]: list 'list_25' #25 │ │ │ │ └─ item: string #23 │ │ │ ├─ variant_4: struct #29 -│ │ │ │ └─ [notIn]: list #25 +│ │ │ │ └─ [notIn]: list 'list_25' #25 │ │ │ │ └─ item: string #23 │ │ │ ├─ variant_5: struct #32 │ │ │ │ ├─ [contains]: string #23 -│ │ │ │ └─ [mode]: optional #31 +│ │ │ │ └─ [mode]: optional 'optional_31' #31 │ │ │ │ └─ item: string #30 enum{ '"insensitive"' } │ │ │ ├─ variant_6: struct #33 │ │ │ │ └─ [search]: string #23 │ │ │ └─ variant_7: struct #34 -│ │ │ ├─ [endsWith]: optional #24 +│ │ │ ├─ [endsWith]: optional 'optional_24' #24 │ │ │ │ └─ item: string #23 -│ │ │ └─ [startsWith]: optional #24 +│ │ │ └─ [startsWith]: optional 'optional_24' #24 │ │ │ └─ item: string #23 -│ │ └─ variant_1: list '_100_PostWhere[]' #100 +│ │ └─ variant_1: list 'list_100' #100 │ │ └─ item: struct 'PostWhere' #99 -│ │ ├─ [author]: optional '_98_UserWhere__skip_70_PostWhere?' #98 +│ │ ├─ [author]: optional 'optional_98' #98 │ │ │ └─ item: struct 'UserWhere__skip_70_PostWhere' #97 -│ │ │ ├─ [id]: optional '_86__integer_filter_c?' #86 +│ │ │ ├─ [id]: optional 'optional_86' #86 │ │ │ │ └─ item: optional '_integer_filter_c' #52 │ │ │ │ └─ item: union #51 │ │ │ │ ├─ variant_0: either '_integer_filter' #49 @@ -1133,19 +1133,19 @@ root: struct #151 │ │ │ │ │ ├─ variant_2: struct #45 │ │ │ │ │ │ └─ [not]: integer #41 │ │ │ │ │ ├─ variant_3: struct #46 -│ │ │ │ │ │ ├─ [gt]: optional #42 +│ │ │ │ │ │ ├─ [gt]: optional 'optional_42' #42 │ │ │ │ │ │ │ └─ item: integer #41 -│ │ │ │ │ │ ├─ [gte]: optional #42 +│ │ │ │ │ │ ├─ [gte]: optional 'optional_42' #42 │ │ │ │ │ │ │ └─ item: integer #41 -│ │ │ │ │ │ ├─ [lt]: optional #42 +│ │ │ │ │ │ ├─ [lt]: optional 'optional_42' #42 │ │ │ │ │ │ │ └─ item: integer #41 -│ │ │ │ │ │ └─ [lte]: optional #42 +│ │ │ │ │ │ └─ [lte]: optional 'optional_42' #42 │ │ │ │ │ │ └─ item: integer #41 │ │ │ │ │ ├─ variant_4: struct #47 -│ │ │ │ │ │ └─ [in]: list #43 +│ │ │ │ │ │ └─ [in]: list 'list_43' #43 │ │ │ │ │ │ └─ item: integer #41 │ │ │ │ │ └─ variant_5: struct #48 -│ │ │ │ │ └─ [notIn]: list #43 +│ │ │ │ │ └─ [notIn]: list 'list_43' #43 │ │ │ │ │ └─ item: integer #41 │ │ │ │ └─ variant_1: struct #50 │ │ │ │ └─ [not]: either '_integer_filter' #49 @@ -1155,21 +1155,21 @@ root: struct #151 │ │ │ │ ├─ variant_2: struct #45 │ │ │ │ │ └─ [not]: integer #41 │ │ │ │ ├─ variant_3: struct #46 -│ │ │ │ │ ├─ [gt]: optional #42 +│ │ │ │ │ ├─ [gt]: optional 'optional_42' #42 │ │ │ │ │ │ └─ item: integer #41 -│ │ │ │ │ ├─ [gte]: optional #42 +│ │ │ │ │ ├─ [gte]: optional 'optional_42' #42 │ │ │ │ │ │ └─ item: integer #41 -│ │ │ │ │ ├─ [lt]: optional #42 +│ │ │ │ │ ├─ [lt]: optional 'optional_42' #42 │ │ │ │ │ │ └─ item: integer #41 -│ │ │ │ │ └─ [lte]: optional #42 +│ │ │ │ │ └─ [lte]: optional 'optional_42' #42 │ │ │ │ │ └─ item: integer #41 │ │ │ │ ├─ variant_4: struct #47 -│ │ │ │ │ └─ [in]: list #43 +│ │ │ │ │ └─ [in]: list 'list_43' #43 │ │ │ │ │ └─ item: integer #41 │ │ │ │ └─ variant_5: struct #48 -│ │ │ │ └─ [notIn]: list #43 +│ │ │ │ └─ [notIn]: list 'list_43' #43 │ │ │ │ └─ item: integer #41 -│ │ │ ├─ [name]: optional '_87__string_filter_c?' #87 +│ │ │ ├─ [name]: optional 'optional_87' #87 │ │ │ │ └─ item: optional '_string_filter_c' #38 │ │ │ │ └─ item: union #37 │ │ │ │ ├─ variant_0: union '_string_filter' #35 @@ -1179,21 +1179,21 @@ root: struct #151 │ │ │ │ │ ├─ variant_2: struct #27 │ │ │ │ │ │ └─ [not]: string #23 │ │ │ │ │ ├─ variant_3: struct #28 -│ │ │ │ │ │ └─ [in]: list #25 +│ │ │ │ │ │ └─ [in]: list 'list_25' #25 │ │ │ │ │ │ └─ item: string #23 │ │ │ │ │ ├─ variant_4: struct #29 -│ │ │ │ │ │ └─ [notIn]: list #25 +│ │ │ │ │ │ └─ [notIn]: list 'list_25' #25 │ │ │ │ │ │ └─ item: string #23 │ │ │ │ │ ├─ variant_5: struct #32 │ │ │ │ │ │ ├─ [contains]: string #23 -│ │ │ │ │ │ └─ [mode]: optional #31 +│ │ │ │ │ │ └─ [mode]: optional 'optional_31' #31 │ │ │ │ │ │ └─ item: string #30 enum{ '"insensitive"' } │ │ │ │ │ ├─ variant_6: struct #33 │ │ │ │ │ │ └─ [search]: string #23 │ │ │ │ │ └─ variant_7: struct #34 -│ │ │ │ │ ├─ [endsWith]: optional #24 +│ │ │ │ │ ├─ [endsWith]: optional 'optional_24' #24 │ │ │ │ │ │ └─ item: string #23 -│ │ │ │ │ └─ [startsWith]: optional #24 +│ │ │ │ │ └─ [startsWith]: optional 'optional_24' #24 │ │ │ │ │ └─ item: string #23 │ │ │ │ └─ variant_1: struct #36 │ │ │ │ └─ [not]: union '_string_filter' #35 @@ -1203,34 +1203,34 @@ root: struct #151 │ │ │ │ ├─ variant_2: struct #27 │ │ │ │ │ └─ [not]: string #23 │ │ │ │ ├─ variant_3: struct #28 -│ │ │ │ │ └─ [in]: list #25 +│ │ │ │ │ └─ [in]: list 'list_25' #25 │ │ │ │ │ └─ item: string #23 │ │ │ │ ├─ variant_4: struct #29 -│ │ │ │ │ └─ [notIn]: list #25 +│ │ │ │ │ └─ [notIn]: list 'list_25' #25 │ │ │ │ │ └─ item: string #23 │ │ │ │ ├─ variant_5: struct #32 │ │ │ │ │ ├─ [contains]: string #23 -│ │ │ │ │ └─ [mode]: optional #31 +│ │ │ │ │ └─ [mode]: optional 'optional_31' #31 │ │ │ │ │ └─ item: string #30 enum{ '"insensitive"' } │ │ │ │ ├─ variant_6: struct #33 │ │ │ │ │ └─ [search]: string #23 │ │ │ │ └─ variant_7: struct #34 -│ │ │ │ ├─ [endsWith]: optional #24 +│ │ │ │ ├─ [endsWith]: optional 'optional_24' #24 │ │ │ │ │ └─ item: string #23 -│ │ │ │ └─ [startsWith]: optional #24 +│ │ │ │ └─ [startsWith]: optional 'optional_24' #24 │ │ │ │ └─ item: string #23 -│ │ │ └─ [posts]: optional #96 +│ │ │ └─ [posts]: optional 'optional_96' #96 │ │ │ └─ item: union #95 │ │ │ ├─ variant_0: struct #90 -│ │ │ │ └─ [every]: optional '_89_PostWhere?' #89 +│ │ │ │ └─ [every]: optional 'optional_89' #89 │ │ │ │ └─ item: &PostWhere #88 │ │ │ ├─ variant_1: struct #92 -│ │ │ │ └─ [some]: optional '_91_PostWhere?' #91 +│ │ │ │ └─ [some]: optional 'optional_91' #91 │ │ │ │ └─ item: &PostWhere #88 │ │ │ └─ variant_2: struct #94 -│ │ │ └─ [none]: optional '_93_PostWhere?' #93 +│ │ │ └─ [none]: optional 'optional_93' #93 │ │ │ └─ item: &PostWhere #88 -│ │ ├─ [id]: optional '_84__integer_filter_c?' #84 +│ │ ├─ [id]: optional 'optional_84' #84 │ │ │ └─ item: optional '_integer_filter_c' #52 │ │ │ └─ item: union #51 │ │ │ ├─ variant_0: either '_integer_filter' #49 @@ -1240,19 +1240,19 @@ root: struct #151 │ │ │ │ ├─ variant_2: struct #45 │ │ │ │ │ └─ [not]: integer #41 │ │ │ │ ├─ variant_3: struct #46 -│ │ │ │ │ ├─ [gt]: optional #42 +│ │ │ │ │ ├─ [gt]: optional 'optional_42' #42 │ │ │ │ │ │ └─ item: integer #41 -│ │ │ │ │ ├─ [gte]: optional #42 +│ │ │ │ │ ├─ [gte]: optional 'optional_42' #42 │ │ │ │ │ │ └─ item: integer #41 -│ │ │ │ │ ├─ [lt]: optional #42 +│ │ │ │ │ ├─ [lt]: optional 'optional_42' #42 │ │ │ │ │ │ └─ item: integer #41 -│ │ │ │ │ └─ [lte]: optional #42 +│ │ │ │ │ └─ [lte]: optional 'optional_42' #42 │ │ │ │ │ └─ item: integer #41 │ │ │ │ ├─ variant_4: struct #47 -│ │ │ │ │ └─ [in]: list #43 +│ │ │ │ │ └─ [in]: list 'list_43' #43 │ │ │ │ │ └─ item: integer #41 │ │ │ │ └─ variant_5: struct #48 -│ │ │ │ └─ [notIn]: list #43 +│ │ │ │ └─ [notIn]: list 'list_43' #43 │ │ │ │ └─ item: integer #41 │ │ │ └─ variant_1: struct #50 │ │ │ └─ [not]: either '_integer_filter' #49 @@ -1262,21 +1262,21 @@ root: struct #151 │ │ │ ├─ variant_2: struct #45 │ │ │ │ └─ [not]: integer #41 │ │ │ ├─ variant_3: struct #46 -│ │ │ │ ├─ [gt]: optional #42 +│ │ │ │ ├─ [gt]: optional 'optional_42' #42 │ │ │ │ │ └─ item: integer #41 -│ │ │ │ ├─ [gte]: optional #42 +│ │ │ │ ├─ [gte]: optional 'optional_42' #42 │ │ │ │ │ └─ item: integer #41 -│ │ │ │ ├─ [lt]: optional #42 +│ │ │ │ ├─ [lt]: optional 'optional_42' #42 │ │ │ │ │ └─ item: integer #41 -│ │ │ │ └─ [lte]: optional #42 +│ │ │ │ └─ [lte]: optional 'optional_42' #42 │ │ │ │ └─ item: integer #41 │ │ │ ├─ variant_4: struct #47 -│ │ │ │ └─ [in]: list #43 +│ │ │ │ └─ [in]: list 'list_43' #43 │ │ │ │ └─ item: integer #41 │ │ │ └─ variant_5: struct #48 -│ │ │ └─ [notIn]: list #43 +│ │ │ └─ [notIn]: list 'list_43' #43 │ │ │ └─ item: integer #41 -│ │ └─ [title]: optional '_85__string_filter_c?' #85 +│ │ └─ [title]: optional 'optional_85' #85 │ │ └─ item: optional '_string_filter_c' #38 │ │ └─ item: union #37 │ │ ├─ variant_0: union '_string_filter' #35 @@ -1286,21 +1286,21 @@ root: struct #151 │ │ │ ├─ variant_2: struct #27 │ │ │ │ └─ [not]: string #23 │ │ │ ├─ variant_3: struct #28 -│ │ │ │ └─ [in]: list #25 +│ │ │ │ └─ [in]: list 'list_25' #25 │ │ │ │ └─ item: string #23 │ │ │ ├─ variant_4: struct #29 -│ │ │ │ └─ [notIn]: list #25 +│ │ │ │ └─ [notIn]: list 'list_25' #25 │ │ │ │ └─ item: string #23 │ │ │ ├─ variant_5: struct #32 │ │ │ │ ├─ [contains]: string #23 -│ │ │ │ └─ [mode]: optional #31 +│ │ │ │ └─ [mode]: optional 'optional_31' #31 │ │ │ │ └─ item: string #30 enum{ '"insensitive"' } │ │ │ ├─ variant_6: struct #33 │ │ │ │ └─ [search]: string #23 │ │ │ └─ variant_7: struct #34 -│ │ │ ├─ [endsWith]: optional #24 +│ │ │ ├─ [endsWith]: optional 'optional_24' #24 │ │ │ │ └─ item: string #23 -│ │ │ └─ [startsWith]: optional #24 +│ │ │ └─ [startsWith]: optional 'optional_24' #24 │ │ │ └─ item: string #23 │ │ └─ variant_1: struct #36 │ │ └─ [not]: union '_string_filter' #35 @@ -1310,30 +1310,30 @@ root: struct #151 │ │ ├─ variant_2: struct #27 │ │ │ └─ [not]: string #23 │ │ ├─ variant_3: struct #28 -│ │ │ └─ [in]: list #25 +│ │ │ └─ [in]: list 'list_25' #25 │ │ │ └─ item: string #23 │ │ ├─ variant_4: struct #29 -│ │ │ └─ [notIn]: list #25 +│ │ │ └─ [notIn]: list 'list_25' #25 │ │ │ └─ item: string #23 │ │ ├─ variant_5: struct #32 │ │ │ ├─ [contains]: string #23 -│ │ │ └─ [mode]: optional #31 +│ │ │ └─ [mode]: optional 'optional_31' #31 │ │ │ └─ item: string #30 enum{ '"insensitive"' } │ │ ├─ variant_6: struct #33 │ │ │ └─ [search]: string #23 │ │ └─ variant_7: struct #34 -│ │ ├─ [endsWith]: optional #24 +│ │ ├─ [endsWith]: optional 'optional_24' #24 │ │ │ └─ item: string #23 -│ │ └─ [startsWith]: optional #24 +│ │ └─ [startsWith]: optional 'optional_24' #24 │ │ └─ item: string #23 │ ├─ variant_5: struct #122 │ │ └─ [deleteMany]: struct #121 -│ │ └─ [where]: optional #120 +│ │ └─ [where]: optional 'optional_120' #120 │ │ └─ item: union #101 │ │ ├─ variant_0: struct 'PostWhere' #99 -│ │ │ ├─ [author]: optional '_98_UserWhere__skip_70_PostWhere?' #98 +│ │ │ ├─ [author]: optional 'optional_98' #98 │ │ │ │ └─ item: struct 'UserWhere__skip_70_PostWhere' #97 -│ │ │ │ ├─ [id]: optional '_86__integer_filter_c?' #86 +│ │ │ │ ├─ [id]: optional 'optional_86' #86 │ │ │ │ │ └─ item: optional '_integer_filter_c' #52 │ │ │ │ │ └─ item: union #51 │ │ │ │ │ ├─ variant_0: either '_integer_filter' #49 @@ -1343,19 +1343,19 @@ root: struct #151 │ │ │ │ │ │ ├─ variant_2: struct #45 │ │ │ │ │ │ │ └─ [not]: integer #41 │ │ │ │ │ │ ├─ variant_3: struct #46 -│ │ │ │ │ │ │ ├─ [gt]: optional #42 +│ │ │ │ │ │ │ ├─ [gt]: optional 'optional_42' #42 │ │ │ │ │ │ │ │ └─ item: integer #41 -│ │ │ │ │ │ │ ├─ [gte]: optional #42 +│ │ │ │ │ │ │ ├─ [gte]: optional 'optional_42' #42 │ │ │ │ │ │ │ │ └─ item: integer #41 -│ │ │ │ │ │ │ ├─ [lt]: optional #42 +│ │ │ │ │ │ │ ├─ [lt]: optional 'optional_42' #42 │ │ │ │ │ │ │ │ └─ item: integer #41 -│ │ │ │ │ │ │ └─ [lte]: optional #42 +│ │ │ │ │ │ │ └─ [lte]: optional 'optional_42' #42 │ │ │ │ │ │ │ └─ item: integer #41 │ │ │ │ │ │ ├─ variant_4: struct #47 -│ │ │ │ │ │ │ └─ [in]: list #43 +│ │ │ │ │ │ │ └─ [in]: list 'list_43' #43 │ │ │ │ │ │ │ └─ item: integer #41 │ │ │ │ │ │ └─ variant_5: struct #48 -│ │ │ │ │ │ └─ [notIn]: list #43 +│ │ │ │ │ │ └─ [notIn]: list 'list_43' #43 │ │ │ │ │ │ └─ item: integer #41 │ │ │ │ │ └─ variant_1: struct #50 │ │ │ │ │ └─ [not]: either '_integer_filter' #49 @@ -1365,21 +1365,21 @@ root: struct #151 │ │ │ │ │ ├─ variant_2: struct #45 │ │ │ │ │ │ └─ [not]: integer #41 │ │ │ │ │ ├─ variant_3: struct #46 -│ │ │ │ │ │ ├─ [gt]: optional #42 +│ │ │ │ │ │ ├─ [gt]: optional 'optional_42' #42 │ │ │ │ │ │ │ └─ item: integer #41 -│ │ │ │ │ │ ├─ [gte]: optional #42 +│ │ │ │ │ │ ├─ [gte]: optional 'optional_42' #42 │ │ │ │ │ │ │ └─ item: integer #41 -│ │ │ │ │ │ ├─ [lt]: optional #42 +│ │ │ │ │ │ ├─ [lt]: optional 'optional_42' #42 │ │ │ │ │ │ │ └─ item: integer #41 -│ │ │ │ │ │ └─ [lte]: optional #42 +│ │ │ │ │ │ └─ [lte]: optional 'optional_42' #42 │ │ │ │ │ │ └─ item: integer #41 │ │ │ │ │ ├─ variant_4: struct #47 -│ │ │ │ │ │ └─ [in]: list #43 +│ │ │ │ │ │ └─ [in]: list 'list_43' #43 │ │ │ │ │ │ └─ item: integer #41 │ │ │ │ │ └─ variant_5: struct #48 -│ │ │ │ │ └─ [notIn]: list #43 +│ │ │ │ │ └─ [notIn]: list 'list_43' #43 │ │ │ │ │ └─ item: integer #41 -│ │ │ │ ├─ [name]: optional '_87__string_filter_c?' #87 +│ │ │ │ ├─ [name]: optional 'optional_87' #87 │ │ │ │ │ └─ item: optional '_string_filter_c' #38 │ │ │ │ │ └─ item: union #37 │ │ │ │ │ ├─ variant_0: union '_string_filter' #35 @@ -1389,21 +1389,21 @@ root: struct #151 │ │ │ │ │ │ ├─ variant_2: struct #27 │ │ │ │ │ │ │ └─ [not]: string #23 │ │ │ │ │ │ ├─ variant_3: struct #28 -│ │ │ │ │ │ │ └─ [in]: list #25 +│ │ │ │ │ │ │ └─ [in]: list 'list_25' #25 │ │ │ │ │ │ │ └─ item: string #23 │ │ │ │ │ │ ├─ variant_4: struct #29 -│ │ │ │ │ │ │ └─ [notIn]: list #25 +│ │ │ │ │ │ │ └─ [notIn]: list 'list_25' #25 │ │ │ │ │ │ │ └─ item: string #23 │ │ │ │ │ │ ├─ variant_5: struct #32 │ │ │ │ │ │ │ ├─ [contains]: string #23 -│ │ │ │ │ │ │ └─ [mode]: optional #31 +│ │ │ │ │ │ │ └─ [mode]: optional 'optional_31' #31 │ │ │ │ │ │ │ └─ item: string #30 enum{ '"insensitive"' } │ │ │ │ │ │ ├─ variant_6: struct #33 │ │ │ │ │ │ │ └─ [search]: string #23 │ │ │ │ │ │ └─ variant_7: struct #34 -│ │ │ │ │ │ ├─ [endsWith]: optional #24 +│ │ │ │ │ │ ├─ [endsWith]: optional 'optional_24' #24 │ │ │ │ │ │ │ └─ item: string #23 -│ │ │ │ │ │ └─ [startsWith]: optional #24 +│ │ │ │ │ │ └─ [startsWith]: optional 'optional_24' #24 │ │ │ │ │ │ └─ item: string #23 │ │ │ │ │ └─ variant_1: struct #36 │ │ │ │ │ └─ [not]: union '_string_filter' #35 @@ -1413,34 +1413,34 @@ root: struct #151 │ │ │ │ │ ├─ variant_2: struct #27 │ │ │ │ │ │ └─ [not]: string #23 │ │ │ │ │ ├─ variant_3: struct #28 -│ │ │ │ │ │ └─ [in]: list #25 +│ │ │ │ │ │ └─ [in]: list 'list_25' #25 │ │ │ │ │ │ └─ item: string #23 │ │ │ │ │ ├─ variant_4: struct #29 -│ │ │ │ │ │ └─ [notIn]: list #25 +│ │ │ │ │ │ └─ [notIn]: list 'list_25' #25 │ │ │ │ │ │ └─ item: string #23 │ │ │ │ │ ├─ variant_5: struct #32 │ │ │ │ │ │ ├─ [contains]: string #23 -│ │ │ │ │ │ └─ [mode]: optional #31 +│ │ │ │ │ │ └─ [mode]: optional 'optional_31' #31 │ │ │ │ │ │ └─ item: string #30 enum{ '"insensitive"' } │ │ │ │ │ ├─ variant_6: struct #33 │ │ │ │ │ │ └─ [search]: string #23 │ │ │ │ │ └─ variant_7: struct #34 -│ │ │ │ │ ├─ [endsWith]: optional #24 +│ │ │ │ │ ├─ [endsWith]: optional 'optional_24' #24 │ │ │ │ │ │ └─ item: string #23 -│ │ │ │ │ └─ [startsWith]: optional #24 +│ │ │ │ │ └─ [startsWith]: optional 'optional_24' #24 │ │ │ │ │ └─ item: string #23 -│ │ │ │ └─ [posts]: optional #96 +│ │ │ │ └─ [posts]: optional 'optional_96' #96 │ │ │ │ └─ item: union #95 │ │ │ │ ├─ variant_0: struct #90 -│ │ │ │ │ └─ [every]: optional '_89_PostWhere?' #89 +│ │ │ │ │ └─ [every]: optional 'optional_89' #89 │ │ │ │ │ └─ item: &PostWhere #88 │ │ │ │ ├─ variant_1: struct #92 -│ │ │ │ │ └─ [some]: optional '_91_PostWhere?' #91 +│ │ │ │ │ └─ [some]: optional 'optional_91' #91 │ │ │ │ │ └─ item: &PostWhere #88 │ │ │ │ └─ variant_2: struct #94 -│ │ │ │ └─ [none]: optional '_93_PostWhere?' #93 +│ │ │ │ └─ [none]: optional 'optional_93' #93 │ │ │ │ └─ item: &PostWhere #88 -│ │ │ ├─ [id]: optional '_84__integer_filter_c?' #84 +│ │ │ ├─ [id]: optional 'optional_84' #84 │ │ │ │ └─ item: optional '_integer_filter_c' #52 │ │ │ │ └─ item: union #51 │ │ │ │ ├─ variant_0: either '_integer_filter' #49 @@ -1450,19 +1450,19 @@ root: struct #151 │ │ │ │ │ ├─ variant_2: struct #45 │ │ │ │ │ │ └─ [not]: integer #41 │ │ │ │ │ ├─ variant_3: struct #46 -│ │ │ │ │ │ ├─ [gt]: optional #42 +│ │ │ │ │ │ ├─ [gt]: optional 'optional_42' #42 │ │ │ │ │ │ │ └─ item: integer #41 -│ │ │ │ │ │ ├─ [gte]: optional #42 +│ │ │ │ │ │ ├─ [gte]: optional 'optional_42' #42 │ │ │ │ │ │ │ └─ item: integer #41 -│ │ │ │ │ │ ├─ [lt]: optional #42 +│ │ │ │ │ │ ├─ [lt]: optional 'optional_42' #42 │ │ │ │ │ │ │ └─ item: integer #41 -│ │ │ │ │ │ └─ [lte]: optional #42 +│ │ │ │ │ │ └─ [lte]: optional 'optional_42' #42 │ │ │ │ │ │ └─ item: integer #41 │ │ │ │ │ ├─ variant_4: struct #47 -│ │ │ │ │ │ └─ [in]: list #43 +│ │ │ │ │ │ └─ [in]: list 'list_43' #43 │ │ │ │ │ │ └─ item: integer #41 │ │ │ │ │ └─ variant_5: struct #48 -│ │ │ │ │ └─ [notIn]: list #43 +│ │ │ │ │ └─ [notIn]: list 'list_43' #43 │ │ │ │ │ └─ item: integer #41 │ │ │ │ └─ variant_1: struct #50 │ │ │ │ └─ [not]: either '_integer_filter' #49 @@ -1472,21 +1472,21 @@ root: struct #151 │ │ │ │ ├─ variant_2: struct #45 │ │ │ │ │ └─ [not]: integer #41 │ │ │ │ ├─ variant_3: struct #46 -│ │ │ │ │ ├─ [gt]: optional #42 +│ │ │ │ │ ├─ [gt]: optional 'optional_42' #42 │ │ │ │ │ │ └─ item: integer #41 -│ │ │ │ │ ├─ [gte]: optional #42 +│ │ │ │ │ ├─ [gte]: optional 'optional_42' #42 │ │ │ │ │ │ └─ item: integer #41 -│ │ │ │ │ ├─ [lt]: optional #42 +│ │ │ │ │ ├─ [lt]: optional 'optional_42' #42 │ │ │ │ │ │ └─ item: integer #41 -│ │ │ │ │ └─ [lte]: optional #42 +│ │ │ │ │ └─ [lte]: optional 'optional_42' #42 │ │ │ │ │ └─ item: integer #41 │ │ │ │ ├─ variant_4: struct #47 -│ │ │ │ │ └─ [in]: list #43 +│ │ │ │ │ └─ [in]: list 'list_43' #43 │ │ │ │ │ └─ item: integer #41 │ │ │ │ └─ variant_5: struct #48 -│ │ │ │ └─ [notIn]: list #43 +│ │ │ │ └─ [notIn]: list 'list_43' #43 │ │ │ │ └─ item: integer #41 -│ │ │ └─ [title]: optional '_85__string_filter_c?' #85 +│ │ │ └─ [title]: optional 'optional_85' #85 │ │ │ └─ item: optional '_string_filter_c' #38 │ │ │ └─ item: union #37 │ │ │ ├─ variant_0: union '_string_filter' #35 @@ -1496,21 +1496,21 @@ root: struct #151 │ │ │ │ ├─ variant_2: struct #27 │ │ │ │ │ └─ [not]: string #23 │ │ │ │ ├─ variant_3: struct #28 -│ │ │ │ │ └─ [in]: list #25 +│ │ │ │ │ └─ [in]: list 'list_25' #25 │ │ │ │ │ └─ item: string #23 │ │ │ │ ├─ variant_4: struct #29 -│ │ │ │ │ └─ [notIn]: list #25 +│ │ │ │ │ └─ [notIn]: list 'list_25' #25 │ │ │ │ │ └─ item: string #23 │ │ │ │ ├─ variant_5: struct #32 │ │ │ │ │ ├─ [contains]: string #23 -│ │ │ │ │ └─ [mode]: optional #31 +│ │ │ │ │ └─ [mode]: optional 'optional_31' #31 │ │ │ │ │ └─ item: string #30 enum{ '"insensitive"' } │ │ │ │ ├─ variant_6: struct #33 │ │ │ │ │ └─ [search]: string #23 │ │ │ │ └─ variant_7: struct #34 -│ │ │ │ ├─ [endsWith]: optional #24 +│ │ │ │ ├─ [endsWith]: optional 'optional_24' #24 │ │ │ │ │ └─ item: string #23 -│ │ │ │ └─ [startsWith]: optional #24 +│ │ │ │ └─ [startsWith]: optional 'optional_24' #24 │ │ │ │ └─ item: string #23 │ │ │ └─ variant_1: struct #36 │ │ │ └─ [not]: union '_string_filter' #35 @@ -1520,27 +1520,27 @@ root: struct #151 │ │ │ ├─ variant_2: struct #27 │ │ │ │ └─ [not]: string #23 │ │ │ ├─ variant_3: struct #28 -│ │ │ │ └─ [in]: list #25 +│ │ │ │ └─ [in]: list 'list_25' #25 │ │ │ │ └─ item: string #23 │ │ │ ├─ variant_4: struct #29 -│ │ │ │ └─ [notIn]: list #25 +│ │ │ │ └─ [notIn]: list 'list_25' #25 │ │ │ │ └─ item: string #23 │ │ │ ├─ variant_5: struct #32 │ │ │ │ ├─ [contains]: string #23 -│ │ │ │ └─ [mode]: optional #31 +│ │ │ │ └─ [mode]: optional 'optional_31' #31 │ │ │ │ └─ item: string #30 enum{ '"insensitive"' } │ │ │ ├─ variant_6: struct #33 │ │ │ │ └─ [search]: string #23 │ │ │ └─ variant_7: struct #34 -│ │ │ ├─ [endsWith]: optional #24 +│ │ │ ├─ [endsWith]: optional 'optional_24' #24 │ │ │ │ └─ item: string #23 -│ │ │ └─ [startsWith]: optional #24 +│ │ │ └─ [startsWith]: optional 'optional_24' #24 │ │ │ └─ item: string #23 -│ │ └─ variant_1: list '_100_PostWhere[]' #100 +│ │ └─ variant_1: list 'list_100' #100 │ │ └─ item: struct 'PostWhere' #99 -│ │ ├─ [author]: optional '_98_UserWhere__skip_70_PostWhere?' #98 +│ │ ├─ [author]: optional 'optional_98' #98 │ │ │ └─ item: struct 'UserWhere__skip_70_PostWhere' #97 -│ │ │ ├─ [id]: optional '_86__integer_filter_c?' #86 +│ │ │ ├─ [id]: optional 'optional_86' #86 │ │ │ │ └─ item: optional '_integer_filter_c' #52 │ │ │ │ └─ item: union #51 │ │ │ │ ├─ variant_0: either '_integer_filter' #49 @@ -1550,19 +1550,19 @@ root: struct #151 │ │ │ │ │ ├─ variant_2: struct #45 │ │ │ │ │ │ └─ [not]: integer #41 │ │ │ │ │ ├─ variant_3: struct #46 -│ │ │ │ │ │ ├─ [gt]: optional #42 +│ │ │ │ │ │ ├─ [gt]: optional 'optional_42' #42 │ │ │ │ │ │ │ └─ item: integer #41 -│ │ │ │ │ │ ├─ [gte]: optional #42 +│ │ │ │ │ │ ├─ [gte]: optional 'optional_42' #42 │ │ │ │ │ │ │ └─ item: integer #41 -│ │ │ │ │ │ ├─ [lt]: optional #42 +│ │ │ │ │ │ ├─ [lt]: optional 'optional_42' #42 │ │ │ │ │ │ │ └─ item: integer #41 -│ │ │ │ │ │ └─ [lte]: optional #42 +│ │ │ │ │ │ └─ [lte]: optional 'optional_42' #42 │ │ │ │ │ │ └─ item: integer #41 │ │ │ │ │ ├─ variant_4: struct #47 -│ │ │ │ │ │ └─ [in]: list #43 +│ │ │ │ │ │ └─ [in]: list 'list_43' #43 │ │ │ │ │ │ └─ item: integer #41 │ │ │ │ │ └─ variant_5: struct #48 -│ │ │ │ │ └─ [notIn]: list #43 +│ │ │ │ │ └─ [notIn]: list 'list_43' #43 │ │ │ │ │ └─ item: integer #41 │ │ │ │ └─ variant_1: struct #50 │ │ │ │ └─ [not]: either '_integer_filter' #49 @@ -1572,21 +1572,21 @@ root: struct #151 │ │ │ │ ├─ variant_2: struct #45 │ │ │ │ │ └─ [not]: integer #41 │ │ │ │ ├─ variant_3: struct #46 -│ │ │ │ │ ├─ [gt]: optional #42 +│ │ │ │ │ ├─ [gt]: optional 'optional_42' #42 │ │ │ │ │ │ └─ item: integer #41 -│ │ │ │ │ ├─ [gte]: optional #42 +│ │ │ │ │ ├─ [gte]: optional 'optional_42' #42 │ │ │ │ │ │ └─ item: integer #41 -│ │ │ │ │ ├─ [lt]: optional #42 +│ │ │ │ │ ├─ [lt]: optional 'optional_42' #42 │ │ │ │ │ │ └─ item: integer #41 -│ │ │ │ │ └─ [lte]: optional #42 +│ │ │ │ │ └─ [lte]: optional 'optional_42' #42 │ │ │ │ │ └─ item: integer #41 │ │ │ │ ├─ variant_4: struct #47 -│ │ │ │ │ └─ [in]: list #43 +│ │ │ │ │ └─ [in]: list 'list_43' #43 │ │ │ │ │ └─ item: integer #41 │ │ │ │ └─ variant_5: struct #48 -│ │ │ │ └─ [notIn]: list #43 +│ │ │ │ └─ [notIn]: list 'list_43' #43 │ │ │ │ └─ item: integer #41 -│ │ │ ├─ [name]: optional '_87__string_filter_c?' #87 +│ │ │ ├─ [name]: optional 'optional_87' #87 │ │ │ │ └─ item: optional '_string_filter_c' #38 │ │ │ │ └─ item: union #37 │ │ │ │ ├─ variant_0: union '_string_filter' #35 @@ -1596,21 +1596,21 @@ root: struct #151 │ │ │ │ │ ├─ variant_2: struct #27 │ │ │ │ │ │ └─ [not]: string #23 │ │ │ │ │ ├─ variant_3: struct #28 -│ │ │ │ │ │ └─ [in]: list #25 +│ │ │ │ │ │ └─ [in]: list 'list_25' #25 │ │ │ │ │ │ └─ item: string #23 │ │ │ │ │ ├─ variant_4: struct #29 -│ │ │ │ │ │ └─ [notIn]: list #25 +│ │ │ │ │ │ └─ [notIn]: list 'list_25' #25 │ │ │ │ │ │ └─ item: string #23 │ │ │ │ │ ├─ variant_5: struct #32 │ │ │ │ │ │ ├─ [contains]: string #23 -│ │ │ │ │ │ └─ [mode]: optional #31 +│ │ │ │ │ │ └─ [mode]: optional 'optional_31' #31 │ │ │ │ │ │ └─ item: string #30 enum{ '"insensitive"' } │ │ │ │ │ ├─ variant_6: struct #33 │ │ │ │ │ │ └─ [search]: string #23 │ │ │ │ │ └─ variant_7: struct #34 -│ │ │ │ │ ├─ [endsWith]: optional #24 +│ │ │ │ │ ├─ [endsWith]: optional 'optional_24' #24 │ │ │ │ │ │ └─ item: string #23 -│ │ │ │ │ └─ [startsWith]: optional #24 +│ │ │ │ │ └─ [startsWith]: optional 'optional_24' #24 │ │ │ │ │ └─ item: string #23 │ │ │ │ └─ variant_1: struct #36 │ │ │ │ └─ [not]: union '_string_filter' #35 @@ -1620,34 +1620,34 @@ root: struct #151 │ │ │ │ ├─ variant_2: struct #27 │ │ │ │ │ └─ [not]: string #23 │ │ │ │ ├─ variant_3: struct #28 -│ │ │ │ │ └─ [in]: list #25 +│ │ │ │ │ └─ [in]: list 'list_25' #25 │ │ │ │ │ └─ item: string #23 │ │ │ │ ├─ variant_4: struct #29 -│ │ │ │ │ └─ [notIn]: list #25 +│ │ │ │ │ └─ [notIn]: list 'list_25' #25 │ │ │ │ │ └─ item: string #23 │ │ │ │ ├─ variant_5: struct #32 │ │ │ │ │ ├─ [contains]: string #23 -│ │ │ │ │ └─ [mode]: optional #31 +│ │ │ │ │ └─ [mode]: optional 'optional_31' #31 │ │ │ │ │ └─ item: string #30 enum{ '"insensitive"' } │ │ │ │ ├─ variant_6: struct #33 │ │ │ │ │ └─ [search]: string #23 │ │ │ │ └─ variant_7: struct #34 -│ │ │ │ ├─ [endsWith]: optional #24 +│ │ │ │ ├─ [endsWith]: optional 'optional_24' #24 │ │ │ │ │ └─ item: string #23 -│ │ │ │ └─ [startsWith]: optional #24 +│ │ │ │ └─ [startsWith]: optional 'optional_24' #24 │ │ │ │ └─ item: string #23 -│ │ │ └─ [posts]: optional #96 +│ │ │ └─ [posts]: optional 'optional_96' #96 │ │ │ └─ item: union #95 │ │ │ ├─ variant_0: struct #90 -│ │ │ │ └─ [every]: optional '_89_PostWhere?' #89 +│ │ │ │ └─ [every]: optional 'optional_89' #89 │ │ │ │ └─ item: &PostWhere #88 │ │ │ ├─ variant_1: struct #92 -│ │ │ │ └─ [some]: optional '_91_PostWhere?' #91 +│ │ │ │ └─ [some]: optional 'optional_91' #91 │ │ │ │ └─ item: &PostWhere #88 │ │ │ └─ variant_2: struct #94 -│ │ │ └─ [none]: optional '_93_PostWhere?' #93 +│ │ │ └─ [none]: optional 'optional_93' #93 │ │ │ └─ item: &PostWhere #88 -│ │ ├─ [id]: optional '_84__integer_filter_c?' #84 +│ │ ├─ [id]: optional 'optional_84' #84 │ │ │ └─ item: optional '_integer_filter_c' #52 │ │ │ └─ item: union #51 │ │ │ ├─ variant_0: either '_integer_filter' #49 @@ -1657,19 +1657,19 @@ root: struct #151 │ │ │ │ ├─ variant_2: struct #45 │ │ │ │ │ └─ [not]: integer #41 │ │ │ │ ├─ variant_3: struct #46 -│ │ │ │ │ ├─ [gt]: optional #42 +│ │ │ │ │ ├─ [gt]: optional 'optional_42' #42 │ │ │ │ │ │ └─ item: integer #41 -│ │ │ │ │ ├─ [gte]: optional #42 +│ │ │ │ │ ├─ [gte]: optional 'optional_42' #42 │ │ │ │ │ │ └─ item: integer #41 -│ │ │ │ │ ├─ [lt]: optional #42 +│ │ │ │ │ ├─ [lt]: optional 'optional_42' #42 │ │ │ │ │ │ └─ item: integer #41 -│ │ │ │ │ └─ [lte]: optional #42 +│ │ │ │ │ └─ [lte]: optional 'optional_42' #42 │ │ │ │ │ └─ item: integer #41 │ │ │ │ ├─ variant_4: struct #47 -│ │ │ │ │ └─ [in]: list #43 +│ │ │ │ │ └─ [in]: list 'list_43' #43 │ │ │ │ │ └─ item: integer #41 │ │ │ │ └─ variant_5: struct #48 -│ │ │ │ └─ [notIn]: list #43 +│ │ │ │ └─ [notIn]: list 'list_43' #43 │ │ │ │ └─ item: integer #41 │ │ │ └─ variant_1: struct #50 │ │ │ └─ [not]: either '_integer_filter' #49 @@ -1679,21 +1679,21 @@ root: struct #151 │ │ │ ├─ variant_2: struct #45 │ │ │ │ └─ [not]: integer #41 │ │ │ ├─ variant_3: struct #46 -│ │ │ │ ├─ [gt]: optional #42 +│ │ │ │ ├─ [gt]: optional 'optional_42' #42 │ │ │ │ │ └─ item: integer #41 -│ │ │ │ ├─ [gte]: optional #42 +│ │ │ │ ├─ [gte]: optional 'optional_42' #42 │ │ │ │ │ └─ item: integer #41 -│ │ │ │ ├─ [lt]: optional #42 +│ │ │ │ ├─ [lt]: optional 'optional_42' #42 │ │ │ │ │ └─ item: integer #41 -│ │ │ │ └─ [lte]: optional #42 +│ │ │ │ └─ [lte]: optional 'optional_42' #42 │ │ │ │ └─ item: integer #41 │ │ │ ├─ variant_4: struct #47 -│ │ │ │ └─ [in]: list #43 +│ │ │ │ └─ [in]: list 'list_43' #43 │ │ │ │ └─ item: integer #41 │ │ │ └─ variant_5: struct #48 -│ │ │ └─ [notIn]: list #43 +│ │ │ └─ [notIn]: list 'list_43' #43 │ │ │ └─ item: integer #41 -│ │ └─ [title]: optional '_85__string_filter_c?' #85 +│ │ └─ [title]: optional 'optional_85' #85 │ │ └─ item: optional '_string_filter_c' #38 │ │ └─ item: union #37 │ │ ├─ variant_0: union '_string_filter' #35 @@ -1703,21 +1703,21 @@ root: struct #151 │ │ │ ├─ variant_2: struct #27 │ │ │ │ └─ [not]: string #23 │ │ │ ├─ variant_3: struct #28 -│ │ │ │ └─ [in]: list #25 +│ │ │ │ └─ [in]: list 'list_25' #25 │ │ │ │ └─ item: string #23 │ │ │ ├─ variant_4: struct #29 -│ │ │ │ └─ [notIn]: list #25 +│ │ │ │ └─ [notIn]: list 'list_25' #25 │ │ │ │ └─ item: string #23 │ │ │ ├─ variant_5: struct #32 │ │ │ │ ├─ [contains]: string #23 -│ │ │ │ └─ [mode]: optional #31 +│ │ │ │ └─ [mode]: optional 'optional_31' #31 │ │ │ │ └─ item: string #30 enum{ '"insensitive"' } │ │ │ ├─ variant_6: struct #33 │ │ │ │ └─ [search]: string #23 │ │ │ └─ variant_7: struct #34 -│ │ │ ├─ [endsWith]: optional #24 +│ │ │ ├─ [endsWith]: optional 'optional_24' #24 │ │ │ │ └─ item: string #23 -│ │ │ └─ [startsWith]: optional #24 +│ │ │ └─ [startsWith]: optional 'optional_24' #24 │ │ │ └─ item: string #23 │ │ └─ variant_1: struct #36 │ │ └─ [not]: union '_string_filter' #35 @@ -1727,46 +1727,46 @@ root: struct #151 │ │ ├─ variant_2: struct #27 │ │ │ └─ [not]: string #23 │ │ ├─ variant_3: struct #28 -│ │ │ └─ [in]: list #25 +│ │ │ └─ [in]: list 'list_25' #25 │ │ │ └─ item: string #23 │ │ ├─ variant_4: struct #29 -│ │ │ └─ [notIn]: list #25 +│ │ │ └─ [notIn]: list 'list_25' #25 │ │ │ └─ item: string #23 │ │ ├─ variant_5: struct #32 │ │ │ ├─ [contains]: string #23 -│ │ │ └─ [mode]: optional #31 +│ │ │ └─ [mode]: optional 'optional_31' #31 │ │ │ └─ item: string #30 enum{ '"insensitive"' } │ │ ├─ variant_6: struct #33 │ │ │ └─ [search]: string #23 │ │ └─ variant_7: struct #34 -│ │ ├─ [endsWith]: optional #24 +│ │ ├─ [endsWith]: optional 'optional_24' #24 │ │ │ └─ item: string #23 -│ │ └─ [startsWith]: optional #24 +│ │ └─ [startsWith]: optional 'optional_24' #24 │ │ └─ item: string #23 │ └─ variant_6: struct #126 -│ └─ [createMany]: optional #125 +│ └─ [createMany]: optional 'optional_125' #125 │ └─ item: struct #124 -│ └─ [data]: list #123 +│ └─ [data]: list 'list_123' #123 │ └─ item: union #83 │ ├─ variant_0: struct '_Post_CreateInput_excluding___rel_Post_User_1' #81 -│ │ ├─ [id]: optional #80 +│ │ ├─ [id]: optional 'optional_80' #80 │ │ │ └─ item: integer #67 │ │ └─ [title]: string #68 -│ └─ variant_1: list '_82__Post_CreateInput_excluding___rel_Post_User_1[]' #82 +│ └─ variant_1: list 'list_82' #82 │ └─ item: struct '_Post_CreateInput_excluding___rel_Post_User_1' #81 -│ ├─ [id]: optional #80 +│ ├─ [id]: optional 'optional_80' #80 │ │ └─ item: integer #67 │ └─ [title]: string #68 └─ [where]: struct 'QueryUserWhereUniqueInput' #150 - ├─ [AND]: optional '_148__147_QueryUserWhereUniqueInput[]?' #148 - │ └─ item: list '_147_QueryUserWhereUniqueInput[]' #147 + ├─ [AND]: optional 'optional_148' #148 + │ └─ item: list 'list_147' #147 │ └─ item: &QueryUserWhereUniqueInput #146 - ├─ [NOT]: optional '_149_QueryUserWhereUniqueInput?' #149 + ├─ [NOT]: optional 'optional_149' #149 │ └─ item: &QueryUserWhereUniqueInput #146 - ├─ [OR]: optional '_148__147_QueryUserWhereUniqueInput[]?' #148 - │ └─ item: list '_147_QueryUserWhereUniqueInput[]' #147 + ├─ [OR]: optional 'optional_148' #148 + │ └─ item: list 'list_147' #147 │ └─ item: &QueryUserWhereUniqueInput #146 - ├─ [id]: optional '_130__integer_filter_c?' #130 + ├─ [id]: optional 'optional_130' #130 │ └─ item: optional '_integer_filter_c' #52 │ └─ item: union #51 │ ├─ variant_0: either '_integer_filter' #49 @@ -1776,19 +1776,19 @@ root: struct #151 │ │ ├─ variant_2: struct #45 │ │ │ └─ [not]: integer #41 │ │ ├─ variant_3: struct #46 - │ │ │ ├─ [gt]: optional #42 + │ │ │ ├─ [gt]: optional 'optional_42' #42 │ │ │ │ └─ item: integer #41 - │ │ │ ├─ [gte]: optional #42 + │ │ │ ├─ [gte]: optional 'optional_42' #42 │ │ │ │ └─ item: integer #41 - │ │ │ ├─ [lt]: optional #42 + │ │ │ ├─ [lt]: optional 'optional_42' #42 │ │ │ │ └─ item: integer #41 - │ │ │ └─ [lte]: optional #42 + │ │ │ └─ [lte]: optional 'optional_42' #42 │ │ │ └─ item: integer #41 │ │ ├─ variant_4: struct #47 - │ │ │ └─ [in]: list #43 + │ │ │ └─ [in]: list 'list_43' #43 │ │ │ └─ item: integer #41 │ │ └─ variant_5: struct #48 - │ │ └─ [notIn]: list #43 + │ │ └─ [notIn]: list 'list_43' #43 │ │ └─ item: integer #41 │ └─ variant_1: struct #50 │ └─ [not]: either '_integer_filter' #49 @@ -1798,21 +1798,21 @@ root: struct #151 │ ├─ variant_2: struct #45 │ │ └─ [not]: integer #41 │ ├─ variant_3: struct #46 - │ │ ├─ [gt]: optional #42 + │ │ ├─ [gt]: optional 'optional_42' #42 │ │ │ └─ item: integer #41 - │ │ ├─ [gte]: optional #42 + │ │ ├─ [gte]: optional 'optional_42' #42 │ │ │ └─ item: integer #41 - │ │ ├─ [lt]: optional #42 + │ │ ├─ [lt]: optional 'optional_42' #42 │ │ │ └─ item: integer #41 - │ │ └─ [lte]: optional #42 + │ │ └─ [lte]: optional 'optional_42' #42 │ │ └─ item: integer #41 │ ├─ variant_4: struct #47 - │ │ └─ [in]: list #43 + │ │ └─ [in]: list 'list_43' #43 │ │ └─ item: integer #41 │ └─ variant_5: struct #48 - │ └─ [notIn]: list #43 + │ └─ [notIn]: list 'list_43' #43 │ └─ item: integer #41 - ├─ [name]: optional '_131__string_filter_c?' #131 + ├─ [name]: optional 'optional_131' #131 │ └─ item: optional '_string_filter_c' #38 │ └─ item: union #37 │ ├─ variant_0: union '_string_filter' #35 @@ -1822,21 +1822,21 @@ root: struct #151 │ │ ├─ variant_2: struct #27 │ │ │ └─ [not]: string #23 │ │ ├─ variant_3: struct #28 - │ │ │ └─ [in]: list #25 + │ │ │ └─ [in]: list 'list_25' #25 │ │ │ └─ item: string #23 │ │ ├─ variant_4: struct #29 - │ │ │ └─ [notIn]: list #25 + │ │ │ └─ [notIn]: list 'list_25' #25 │ │ │ └─ item: string #23 │ │ ├─ variant_5: struct #32 │ │ │ ├─ [contains]: string #23 - │ │ │ └─ [mode]: optional #31 + │ │ │ └─ [mode]: optional 'optional_31' #31 │ │ │ └─ item: string #30 enum{ '"insensitive"' } │ │ ├─ variant_6: struct #33 │ │ │ └─ [search]: string #23 │ │ └─ variant_7: struct #34 - │ │ ├─ [endsWith]: optional #24 + │ │ ├─ [endsWith]: optional 'optional_24' #24 │ │ │ └─ item: string #23 - │ │ └─ [startsWith]: optional #24 + │ │ └─ [startsWith]: optional 'optional_24' #24 │ │ └─ item: string #23 │ └─ variant_1: struct #36 │ └─ [not]: union '_string_filter' #35 @@ -1846,30 +1846,30 @@ root: struct #151 │ ├─ variant_2: struct #27 │ │ └─ [not]: string #23 │ ├─ variant_3: struct #28 - │ │ └─ [in]: list #25 + │ │ └─ [in]: list 'list_25' #25 │ │ └─ item: string #23 │ ├─ variant_4: struct #29 - │ │ └─ [notIn]: list #25 + │ │ └─ [notIn]: list 'list_25' #25 │ │ └─ item: string #23 │ ├─ variant_5: struct #32 │ │ ├─ [contains]: string #23 - │ │ └─ [mode]: optional #31 + │ │ └─ [mode]: optional 'optional_31' #31 │ │ └─ item: string #30 enum{ '"insensitive"' } │ ├─ variant_6: struct #33 │ │ └─ [search]: string #23 │ └─ variant_7: struct #34 - │ ├─ [endsWith]: optional #24 + │ ├─ [endsWith]: optional 'optional_24' #24 │ │ └─ item: string #23 - │ └─ [startsWith]: optional #24 + │ └─ [startsWith]: optional 'optional_24' #24 │ └─ item: string #23 - └─ [posts]: optional #144 + └─ [posts]: optional 'optional_144' #144 └─ item: union #143 ├─ variant_0: struct #138 - │ └─ [every]: optional '_137_PostWhere__skip_66_UserWhere?' #137 + │ └─ [every]: optional 'optional_137' #137 │ └─ item: struct 'PostWhere__skip_66_UserWhere' #136 - │ ├─ [author]: optional '_135_UserWhere?' #135 + │ ├─ [author]: optional 'optional_135' #135 │ │ └─ item: &UserWhere #134 - │ ├─ [id]: optional '_132__integer_filter_c?' #132 + │ ├─ [id]: optional 'optional_132' #132 │ │ └─ item: optional '_integer_filter_c' #52 │ │ └─ item: union #51 │ │ ├─ variant_0: either '_integer_filter' #49 @@ -1879,19 +1879,19 @@ root: struct #151 │ │ │ ├─ variant_2: struct #45 │ │ │ │ └─ [not]: integer #41 │ │ │ ├─ variant_3: struct #46 - │ │ │ │ ├─ [gt]: optional #42 + │ │ │ │ ├─ [gt]: optional 'optional_42' #42 │ │ │ │ │ └─ item: integer #41 - │ │ │ │ ├─ [gte]: optional #42 + │ │ │ │ ├─ [gte]: optional 'optional_42' #42 │ │ │ │ │ └─ item: integer #41 - │ │ │ │ ├─ [lt]: optional #42 + │ │ │ │ ├─ [lt]: optional 'optional_42' #42 │ │ │ │ │ └─ item: integer #41 - │ │ │ │ └─ [lte]: optional #42 + │ │ │ │ └─ [lte]: optional 'optional_42' #42 │ │ │ │ └─ item: integer #41 │ │ │ ├─ variant_4: struct #47 - │ │ │ │ └─ [in]: list #43 + │ │ │ │ └─ [in]: list 'list_43' #43 │ │ │ │ └─ item: integer #41 │ │ │ └─ variant_5: struct #48 - │ │ │ └─ [notIn]: list #43 + │ │ │ └─ [notIn]: list 'list_43' #43 │ │ │ └─ item: integer #41 │ │ └─ variant_1: struct #50 │ │ └─ [not]: either '_integer_filter' #49 @@ -1901,21 +1901,21 @@ root: struct #151 │ │ ├─ variant_2: struct #45 │ │ │ └─ [not]: integer #41 │ │ ├─ variant_3: struct #46 - │ │ │ ├─ [gt]: optional #42 + │ │ │ ├─ [gt]: optional 'optional_42' #42 │ │ │ │ └─ item: integer #41 - │ │ │ ├─ [gte]: optional #42 + │ │ │ ├─ [gte]: optional 'optional_42' #42 │ │ │ │ └─ item: integer #41 - │ │ │ ├─ [lt]: optional #42 + │ │ │ ├─ [lt]: optional 'optional_42' #42 │ │ │ │ └─ item: integer #41 - │ │ │ └─ [lte]: optional #42 + │ │ │ └─ [lte]: optional 'optional_42' #42 │ │ │ └─ item: integer #41 │ │ ├─ variant_4: struct #47 - │ │ │ └─ [in]: list #43 + │ │ │ └─ [in]: list 'list_43' #43 │ │ │ └─ item: integer #41 │ │ └─ variant_5: struct #48 - │ │ └─ [notIn]: list #43 + │ │ └─ [notIn]: list 'list_43' #43 │ │ └─ item: integer #41 - │ └─ [title]: optional '_133__string_filter_c?' #133 + │ └─ [title]: optional 'optional_133' #133 │ └─ item: optional '_string_filter_c' #38 │ └─ item: union #37 │ ├─ variant_0: union '_string_filter' #35 @@ -1925,21 +1925,21 @@ root: struct #151 │ │ ├─ variant_2: struct #27 │ │ │ └─ [not]: string #23 │ │ ├─ variant_3: struct #28 - │ │ │ └─ [in]: list #25 + │ │ │ └─ [in]: list 'list_25' #25 │ │ │ └─ item: string #23 │ │ ├─ variant_4: struct #29 - │ │ │ └─ [notIn]: list #25 + │ │ │ └─ [notIn]: list 'list_25' #25 │ │ │ └─ item: string #23 │ │ ├─ variant_5: struct #32 │ │ │ ├─ [contains]: string #23 - │ │ │ └─ [mode]: optional #31 + │ │ │ └─ [mode]: optional 'optional_31' #31 │ │ │ └─ item: string #30 enum{ '"insensitive"' } │ │ ├─ variant_6: struct #33 │ │ │ └─ [search]: string #23 │ │ └─ variant_7: struct #34 - │ │ ├─ [endsWith]: optional #24 + │ │ ├─ [endsWith]: optional 'optional_24' #24 │ │ │ └─ item: string #23 - │ │ └─ [startsWith]: optional #24 + │ │ └─ [startsWith]: optional 'optional_24' #24 │ │ └─ item: string #23 │ └─ variant_1: struct #36 │ └─ [not]: union '_string_filter' #35 @@ -1949,28 +1949,28 @@ root: struct #151 │ ├─ variant_2: struct #27 │ │ └─ [not]: string #23 │ ├─ variant_3: struct #28 - │ │ └─ [in]: list #25 + │ │ └─ [in]: list 'list_25' #25 │ │ └─ item: string #23 │ ├─ variant_4: struct #29 - │ │ └─ [notIn]: list #25 + │ │ └─ [notIn]: list 'list_25' #25 │ │ └─ item: string #23 │ ├─ variant_5: struct #32 │ │ ├─ [contains]: string #23 - │ │ └─ [mode]: optional #31 + │ │ └─ [mode]: optional 'optional_31' #31 │ │ └─ item: string #30 enum{ '"insensitive"' } │ ├─ variant_6: struct #33 │ │ └─ [search]: string #23 │ └─ variant_7: struct #34 - │ ├─ [endsWith]: optional #24 + │ ├─ [endsWith]: optional 'optional_24' #24 │ │ └─ item: string #23 - │ └─ [startsWith]: optional #24 + │ └─ [startsWith]: optional 'optional_24' #24 │ └─ item: string #23 ├─ variant_1: struct #140 - │ └─ [some]: optional '_139_PostWhere__skip_66_UserWhere?' #139 + │ └─ [some]: optional 'optional_139' #139 │ └─ item: struct 'PostWhere__skip_66_UserWhere' #136 - │ ├─ [author]: optional '_135_UserWhere?' #135 + │ ├─ [author]: optional 'optional_135' #135 │ │ └─ item: &UserWhere #134 - │ ├─ [id]: optional '_132__integer_filter_c?' #132 + │ ├─ [id]: optional 'optional_132' #132 │ │ └─ item: optional '_integer_filter_c' #52 │ │ └─ item: union #51 │ │ ├─ variant_0: either '_integer_filter' #49 @@ -1980,19 +1980,19 @@ root: struct #151 │ │ │ ├─ variant_2: struct #45 │ │ │ │ └─ [not]: integer #41 │ │ │ ├─ variant_3: struct #46 - │ │ │ │ ├─ [gt]: optional #42 + │ │ │ │ ├─ [gt]: optional 'optional_42' #42 │ │ │ │ │ └─ item: integer #41 - │ │ │ │ ├─ [gte]: optional #42 + │ │ │ │ ├─ [gte]: optional 'optional_42' #42 │ │ │ │ │ └─ item: integer #41 - │ │ │ │ ├─ [lt]: optional #42 + │ │ │ │ ├─ [lt]: optional 'optional_42' #42 │ │ │ │ │ └─ item: integer #41 - │ │ │ │ └─ [lte]: optional #42 + │ │ │ │ └─ [lte]: optional 'optional_42' #42 │ │ │ │ └─ item: integer #41 │ │ │ ├─ variant_4: struct #47 - │ │ │ │ └─ [in]: list #43 + │ │ │ │ └─ [in]: list 'list_43' #43 │ │ │ │ └─ item: integer #41 │ │ │ └─ variant_5: struct #48 - │ │ │ └─ [notIn]: list #43 + │ │ │ └─ [notIn]: list 'list_43' #43 │ │ │ └─ item: integer #41 │ │ └─ variant_1: struct #50 │ │ └─ [not]: either '_integer_filter' #49 @@ -2002,21 +2002,21 @@ root: struct #151 │ │ ├─ variant_2: struct #45 │ │ │ └─ [not]: integer #41 │ │ ├─ variant_3: struct #46 - │ │ │ ├─ [gt]: optional #42 + │ │ │ ├─ [gt]: optional 'optional_42' #42 │ │ │ │ └─ item: integer #41 - │ │ │ ├─ [gte]: optional #42 + │ │ │ ├─ [gte]: optional 'optional_42' #42 │ │ │ │ └─ item: integer #41 - │ │ │ ├─ [lt]: optional #42 + │ │ │ ├─ [lt]: optional 'optional_42' #42 │ │ │ │ └─ item: integer #41 - │ │ │ └─ [lte]: optional #42 + │ │ │ └─ [lte]: optional 'optional_42' #42 │ │ │ └─ item: integer #41 │ │ ├─ variant_4: struct #47 - │ │ │ └─ [in]: list #43 + │ │ │ └─ [in]: list 'list_43' #43 │ │ │ └─ item: integer #41 │ │ └─ variant_5: struct #48 - │ │ └─ [notIn]: list #43 + │ │ └─ [notIn]: list 'list_43' #43 │ │ └─ item: integer #41 - │ └─ [title]: optional '_133__string_filter_c?' #133 + │ └─ [title]: optional 'optional_133' #133 │ └─ item: optional '_string_filter_c' #38 │ └─ item: union #37 │ ├─ variant_0: union '_string_filter' #35 @@ -2026,21 +2026,21 @@ root: struct #151 │ │ ├─ variant_2: struct #27 │ │ │ └─ [not]: string #23 │ │ ├─ variant_3: struct #28 - │ │ │ └─ [in]: list #25 + │ │ │ └─ [in]: list 'list_25' #25 │ │ │ └─ item: string #23 │ │ ├─ variant_4: struct #29 - │ │ │ └─ [notIn]: list #25 + │ │ │ └─ [notIn]: list 'list_25' #25 │ │ │ └─ item: string #23 │ │ ├─ variant_5: struct #32 │ │ │ ├─ [contains]: string #23 - │ │ │ └─ [mode]: optional #31 + │ │ │ └─ [mode]: optional 'optional_31' #31 │ │ │ └─ item: string #30 enum{ '"insensitive"' } │ │ ├─ variant_6: struct #33 │ │ │ └─ [search]: string #23 │ │ └─ variant_7: struct #34 - │ │ ├─ [endsWith]: optional #24 + │ │ ├─ [endsWith]: optional 'optional_24' #24 │ │ │ └─ item: string #23 - │ │ └─ [startsWith]: optional #24 + │ │ └─ [startsWith]: optional 'optional_24' #24 │ │ └─ item: string #23 │ └─ variant_1: struct #36 │ └─ [not]: union '_string_filter' #35 @@ -2050,28 +2050,28 @@ root: struct #151 │ ├─ variant_2: struct #27 │ │ └─ [not]: string #23 │ ├─ variant_3: struct #28 - │ │ └─ [in]: list #25 + │ │ └─ [in]: list 'list_25' #25 │ │ └─ item: string #23 │ ├─ variant_4: struct #29 - │ │ └─ [notIn]: list #25 + │ │ └─ [notIn]: list 'list_25' #25 │ │ └─ item: string #23 │ ├─ variant_5: struct #32 │ │ ├─ [contains]: string #23 - │ │ └─ [mode]: optional #31 + │ │ └─ [mode]: optional 'optional_31' #31 │ │ └─ item: string #30 enum{ '"insensitive"' } │ ├─ variant_6: struct #33 │ │ └─ [search]: string #23 │ └─ variant_7: struct #34 - │ ├─ [endsWith]: optional #24 + │ ├─ [endsWith]: optional 'optional_24' #24 │ │ └─ item: string #23 - │ └─ [startsWith]: optional #24 + │ └─ [startsWith]: optional 'optional_24' #24 │ └─ item: string #23 └─ variant_2: struct #142 - └─ [none]: optional '_141_PostWhere__skip_66_UserWhere?' #141 + └─ [none]: optional 'optional_141' #141 └─ item: struct 'PostWhere__skip_66_UserWhere' #136 - ├─ [author]: optional '_135_UserWhere?' #135 + ├─ [author]: optional 'optional_135' #135 │ └─ item: &UserWhere #134 - ├─ [id]: optional '_132__integer_filter_c?' #132 + ├─ [id]: optional 'optional_132' #132 │ └─ item: optional '_integer_filter_c' #52 │ └─ item: union #51 │ ├─ variant_0: either '_integer_filter' #49 @@ -2081,19 +2081,19 @@ root: struct #151 │ │ ├─ variant_2: struct #45 │ │ │ └─ [not]: integer #41 │ │ ├─ variant_3: struct #46 - │ │ │ ├─ [gt]: optional #42 + │ │ │ ├─ [gt]: optional 'optional_42' #42 │ │ │ │ └─ item: integer #41 - │ │ │ ├─ [gte]: optional #42 + │ │ │ ├─ [gte]: optional 'optional_42' #42 │ │ │ │ └─ item: integer #41 - │ │ │ ├─ [lt]: optional #42 + │ │ │ ├─ [lt]: optional 'optional_42' #42 │ │ │ │ └─ item: integer #41 - │ │ │ └─ [lte]: optional #42 + │ │ │ └─ [lte]: optional 'optional_42' #42 │ │ │ └─ item: integer #41 │ │ ├─ variant_4: struct #47 - │ │ │ └─ [in]: list #43 + │ │ │ └─ [in]: list 'list_43' #43 │ │ │ └─ item: integer #41 │ │ └─ variant_5: struct #48 - │ │ └─ [notIn]: list #43 + │ │ └─ [notIn]: list 'list_43' #43 │ │ └─ item: integer #41 │ └─ variant_1: struct #50 │ └─ [not]: either '_integer_filter' #49 @@ -2103,21 +2103,21 @@ root: struct #151 │ ├─ variant_2: struct #45 │ │ └─ [not]: integer #41 │ ├─ variant_3: struct #46 - │ │ ├─ [gt]: optional #42 + │ │ ├─ [gt]: optional 'optional_42' #42 │ │ │ └─ item: integer #41 - │ │ ├─ [gte]: optional #42 + │ │ ├─ [gte]: optional 'optional_42' #42 │ │ │ └─ item: integer #41 - │ │ ├─ [lt]: optional #42 + │ │ ├─ [lt]: optional 'optional_42' #42 │ │ │ └─ item: integer #41 - │ │ └─ [lte]: optional #42 + │ │ └─ [lte]: optional 'optional_42' #42 │ │ └─ item: integer #41 │ ├─ variant_4: struct #47 - │ │ └─ [in]: list #43 + │ │ └─ [in]: list 'list_43' #43 │ │ └─ item: integer #41 │ └─ variant_5: struct #48 - │ └─ [notIn]: list #43 + │ └─ [notIn]: list 'list_43' #43 │ └─ item: integer #41 - └─ [title]: optional '_133__string_filter_c?' #133 + └─ [title]: optional 'optional_133' #133 └─ item: optional '_string_filter_c' #38 └─ item: union #37 ├─ variant_0: union '_string_filter' #35 @@ -2127,21 +2127,21 @@ root: struct #151 │ ├─ variant_2: struct #27 │ │ └─ [not]: string #23 │ ├─ variant_3: struct #28 - │ │ └─ [in]: list #25 + │ │ └─ [in]: list 'list_25' #25 │ │ └─ item: string #23 │ ├─ variant_4: struct #29 - │ │ └─ [notIn]: list #25 + │ │ └─ [notIn]: list 'list_25' #25 │ │ └─ item: string #23 │ ├─ variant_5: struct #32 │ │ ├─ [contains]: string #23 - │ │ └─ [mode]: optional #31 + │ │ └─ [mode]: optional 'optional_31' #31 │ │ └─ item: string #30 enum{ '"insensitive"' } │ ├─ variant_6: struct #33 │ │ └─ [search]: string #23 │ └─ variant_7: struct #34 - │ ├─ [endsWith]: optional #24 + │ ├─ [endsWith]: optional 'optional_24' #24 │ │ └─ item: string #23 - │ └─ [startsWith]: optional #24 + │ └─ [startsWith]: optional 'optional_24' #24 │ └─ item: string #23 └─ variant_1: struct #36 └─ [not]: union '_string_filter' #35 @@ -2151,20 +2151,19 @@ root: struct #151 ├─ variant_2: struct #27 │ └─ [not]: string #23 ├─ variant_3: struct #28 - │ └─ [in]: list #25 + │ └─ [in]: list 'list_25' #25 │ └─ item: string #23 ├─ variant_4: struct #29 - │ └─ [notIn]: list #25 + │ └─ [notIn]: list 'list_25' #25 │ └─ item: string #23 ├─ variant_5: struct #32 │ ├─ [contains]: string #23 - │ └─ [mode]: optional #31 + │ └─ [mode]: optional 'optional_31' #31 │ └─ item: string #30 enum{ '"insensitive"' } ├─ variant_6: struct #33 │ └─ [search]: string #23 └─ variant_7: struct #34 - ├─ [endsWith]: optional #24 + ├─ [endsWith]: optional 'optional_24' #24 │ └─ item: string #23 - └─ [startsWith]: optional #24 + └─ [startsWith]: optional 'optional_24' #24 └─ item: string #23 - diff --git a/src/typegraph/core/src/runtimes/prisma/type_generation/snapshots/typegraph_core__runtimes__prisma__type_generation__where___test__where Post.snap b/src/typegraph/core/src/runtimes/prisma/type_generation/snapshots/typegraph_core__runtimes__prisma__type_generation__where___test__where Post.snap index aa0afc9661..4382c6bdf6 100644 --- a/src/typegraph/core/src/runtimes/prisma/type_generation/snapshots/typegraph_core__runtimes__prisma__type_generation__where___test__where Post.snap +++ b/src/typegraph/core/src/runtimes/prisma/type_generation/snapshots/typegraph_core__runtimes__prisma__type_generation__where___test__where Post.snap @@ -1,11 +1,11 @@ --- -source: typegraph/core/src/runtimes/prisma/type_generation/where_.rs +source: src/typegraph/core/src/runtimes/prisma/type_generation/where_.rs expression: "tree::print(context.generate(&Where::new(post))?)" --- root: struct 'PostWhere' #80 -├── [author]: optional '_79_UserWhere__skip_48_PostWhere?' #79 +├── [author]: optional 'optional_79' #79 │ └── item: struct 'UserWhere__skip_48_PostWhere' #78 -│ ├── [id]: optional '_67__integer_filter_c?' #67 +│ ├── [id]: optional 'optional_67' #67 │ │ └── item: optional '_integer_filter_c' #36 │ │ └── item: union #35 │ │ ├── variant_0: either '_integer_filter' #33 @@ -15,19 +15,19 @@ root: struct 'PostWhere' #80 │ │ │ ├── variant_2: struct #29 │ │ │ │ └── [not]: integer #25 │ │ │ ├── variant_3: struct #30 -│ │ │ │ ├── [gt]: optional #26 +│ │ │ │ ├── [gt]: optional 'optional_26' #26 │ │ │ │ │ └── item: integer #25 -│ │ │ │ ├── [gte]: optional #26 +│ │ │ │ ├── [gte]: optional 'optional_26' #26 │ │ │ │ │ └── item: integer #25 -│ │ │ │ ├── [lt]: optional #26 +│ │ │ │ ├── [lt]: optional 'optional_26' #26 │ │ │ │ │ └── item: integer #25 -│ │ │ │ └── [lte]: optional #26 +│ │ │ │ └── [lte]: optional 'optional_26' #26 │ │ │ │ └── item: integer #25 │ │ │ ├── variant_4: struct #31 -│ │ │ │ └── [in]: list #27 +│ │ │ │ └── [in]: list 'list_27' #27 │ │ │ │ └── item: integer #25 │ │ │ └── variant_5: struct #32 -│ │ │ └── [notIn]: list #27 +│ │ │ └── [notIn]: list 'list_27' #27 │ │ │ └── item: integer #25 │ │ └── variant_1: struct #34 │ │ └── [not]: either '_integer_filter' #33 @@ -37,21 +37,21 @@ root: struct 'PostWhere' #80 │ │ ├── variant_2: struct #29 │ │ │ └── [not]: integer #25 │ │ ├── variant_3: struct #30 -│ │ │ ├── [gt]: optional #26 +│ │ │ ├── [gt]: optional 'optional_26' #26 │ │ │ │ └── item: integer #25 -│ │ │ ├── [gte]: optional #26 +│ │ │ ├── [gte]: optional 'optional_26' #26 │ │ │ │ └── item: integer #25 -│ │ │ ├── [lt]: optional #26 +│ │ │ ├── [lt]: optional 'optional_26' #26 │ │ │ │ └── item: integer #25 -│ │ │ └── [lte]: optional #26 +│ │ │ └── [lte]: optional 'optional_26' #26 │ │ │ └── item: integer #25 │ │ ├── variant_4: struct #31 -│ │ │ └── [in]: list #27 +│ │ │ └── [in]: list 'list_27' #27 │ │ │ └── item: integer #25 │ │ └── variant_5: struct #32 -│ │ └── [notIn]: list #27 +│ │ └── [notIn]: list 'list_27' #27 │ │ └── item: integer #25 -│ ├── [name]: optional '_68__string_filter_c?' #68 +│ ├── [name]: optional 'optional_68' #68 │ │ └── item: optional '_string_filter_c' #22 │ │ └── item: union #21 │ │ ├── variant_0: union '_string_filter' #19 @@ -61,21 +61,21 @@ root: struct 'PostWhere' #80 │ │ │ ├── variant_2: struct #11 │ │ │ │ └── [not]: string #7 │ │ │ ├── variant_3: struct #12 -│ │ │ │ └── [in]: list #9 +│ │ │ │ └── [in]: list 'list_9' #9 │ │ │ │ └── item: string #7 │ │ │ ├── variant_4: struct #13 -│ │ │ │ └── [notIn]: list #9 +│ │ │ │ └── [notIn]: list 'list_9' #9 │ │ │ │ └── item: string #7 │ │ │ ├── variant_5: struct #16 │ │ │ │ ├── [contains]: string #7 -│ │ │ │ └── [mode]: optional #15 +│ │ │ │ └── [mode]: optional 'optional_15' #15 │ │ │ │ └── item: string #14 enum{ '"insensitive"' } │ │ │ ├── variant_6: struct #17 │ │ │ │ └── [search]: string #7 │ │ │ └── variant_7: struct #18 -│ │ │ ├── [endsWith]: optional #8 +│ │ │ ├── [endsWith]: optional 'optional_8' #8 │ │ │ │ └── item: string #7 -│ │ │ └── [startsWith]: optional #8 +│ │ │ └── [startsWith]: optional 'optional_8' #8 │ │ │ └── item: string #7 │ │ └── variant_1: struct #20 │ │ └── [not]: union '_string_filter' #19 @@ -85,34 +85,34 @@ root: struct 'PostWhere' #80 │ │ ├── variant_2: struct #11 │ │ │ └── [not]: string #7 │ │ ├── variant_3: struct #12 -│ │ │ └── [in]: list #9 +│ │ │ └── [in]: list 'list_9' #9 │ │ │ └── item: string #7 │ │ ├── variant_4: struct #13 -│ │ │ └── [notIn]: list #9 +│ │ │ └── [notIn]: list 'list_9' #9 │ │ │ └── item: string #7 │ │ ├── variant_5: struct #16 │ │ │ ├── [contains]: string #7 -│ │ │ └── [mode]: optional #15 +│ │ │ └── [mode]: optional 'optional_15' #15 │ │ │ └── item: string #14 enum{ '"insensitive"' } │ │ ├── variant_6: struct #17 │ │ │ └── [search]: string #7 │ │ └── variant_7: struct #18 -│ │ ├── [endsWith]: optional #8 +│ │ ├── [endsWith]: optional 'optional_8' #8 │ │ │ └── item: string #7 -│ │ └── [startsWith]: optional #8 +│ │ └── [startsWith]: optional 'optional_8' #8 │ │ └── item: string #7 -│ └── [posts]: optional #77 +│ └── [posts]: optional 'optional_77' #77 │ └── item: union #76 │ ├── variant_0: struct #71 -│ │ └── [every]: optional '_70_PostWhere?' #70 +│ │ └── [every]: optional 'optional_70' #70 │ │ └── item: &PostWhere #69 │ ├── variant_1: struct #73 -│ │ └── [some]: optional '_72_PostWhere?' #72 +│ │ └── [some]: optional 'optional_72' #72 │ │ └── item: &PostWhere #69 │ └── variant_2: struct #75 -│ └── [none]: optional '_74_PostWhere?' #74 +│ └── [none]: optional 'optional_74' #74 │ └── item: &PostWhere #69 -├── [id]: optional '_65__integer_filter_c?' #65 +├── [id]: optional 'optional_65' #65 │ └── item: optional '_integer_filter_c' #36 │ └── item: union #35 │ ├── variant_0: either '_integer_filter' #33 @@ -122,19 +122,19 @@ root: struct 'PostWhere' #80 │ │ ├── variant_2: struct #29 │ │ │ └── [not]: integer #25 │ │ ├── variant_3: struct #30 -│ │ │ ├── [gt]: optional #26 +│ │ │ ├── [gt]: optional 'optional_26' #26 │ │ │ │ └── item: integer #25 -│ │ │ ├── [gte]: optional #26 +│ │ │ ├── [gte]: optional 'optional_26' #26 │ │ │ │ └── item: integer #25 -│ │ │ ├── [lt]: optional #26 +│ │ │ ├── [lt]: optional 'optional_26' #26 │ │ │ │ └── item: integer #25 -│ │ │ └── [lte]: optional #26 +│ │ │ └── [lte]: optional 'optional_26' #26 │ │ │ └── item: integer #25 │ │ ├── variant_4: struct #31 -│ │ │ └── [in]: list #27 +│ │ │ └── [in]: list 'list_27' #27 │ │ │ └── item: integer #25 │ │ └── variant_5: struct #32 -│ │ └── [notIn]: list #27 +│ │ └── [notIn]: list 'list_27' #27 │ │ └── item: integer #25 │ └── variant_1: struct #34 │ └── [not]: either '_integer_filter' #33 @@ -144,21 +144,21 @@ root: struct 'PostWhere' #80 │ ├── variant_2: struct #29 │ │ └── [not]: integer #25 │ ├── variant_3: struct #30 -│ │ ├── [gt]: optional #26 +│ │ ├── [gt]: optional 'optional_26' #26 │ │ │ └── item: integer #25 -│ │ ├── [gte]: optional #26 +│ │ ├── [gte]: optional 'optional_26' #26 │ │ │ └── item: integer #25 -│ │ ├── [lt]: optional #26 +│ │ ├── [lt]: optional 'optional_26' #26 │ │ │ └── item: integer #25 -│ │ └── [lte]: optional #26 +│ │ └── [lte]: optional 'optional_26' #26 │ │ └── item: integer #25 │ ├── variant_4: struct #31 -│ │ └── [in]: list #27 +│ │ └── [in]: list 'list_27' #27 │ │ └── item: integer #25 │ └── variant_5: struct #32 -│ └── [notIn]: list #27 +│ └── [notIn]: list 'list_27' #27 │ └── item: integer #25 -└── [title]: optional '_66__string_filter_c?' #66 +└── [title]: optional 'optional_66' #66 └── item: optional '_string_filter_c' #22 └── item: union #21 ├── variant_0: union '_string_filter' #19 @@ -168,21 +168,21 @@ root: struct 'PostWhere' #80 │ ├── variant_2: struct #11 │ │ └── [not]: string #7 │ ├── variant_3: struct #12 - │ │ └── [in]: list #9 + │ │ └── [in]: list 'list_9' #9 │ │ └── item: string #7 │ ├── variant_4: struct #13 - │ │ └── [notIn]: list #9 + │ │ └── [notIn]: list 'list_9' #9 │ │ └── item: string #7 │ ├── variant_5: struct #16 │ │ ├── [contains]: string #7 - │ │ └── [mode]: optional #15 + │ │ └── [mode]: optional 'optional_15' #15 │ │ └── item: string #14 enum{ '"insensitive"' } │ ├── variant_6: struct #17 │ │ └── [search]: string #7 │ └── variant_7: struct #18 - │ ├── [endsWith]: optional #8 + │ ├── [endsWith]: optional 'optional_8' #8 │ │ └── item: string #7 - │ └── [startsWith]: optional #8 + │ └── [startsWith]: optional 'optional_8' #8 │ └── item: string #7 └── variant_1: struct #20 └── [not]: union '_string_filter' #19 @@ -192,20 +192,19 @@ root: struct 'PostWhere' #80 ├── variant_2: struct #11 │ └── [not]: string #7 ├── variant_3: struct #12 - │ └── [in]: list #9 + │ └── [in]: list 'list_9' #9 │ └── item: string #7 ├── variant_4: struct #13 - │ └── [notIn]: list #9 + │ └── [notIn]: list 'list_9' #9 │ └── item: string #7 ├── variant_5: struct #16 │ ├── [contains]: string #7 - │ └── [mode]: optional #15 + │ └── [mode]: optional 'optional_15' #15 │ └── item: string #14 enum{ '"insensitive"' } ├── variant_6: struct #17 │ └── [search]: string #7 └── variant_7: struct #18 - ├── [endsWith]: optional #8 + ├── [endsWith]: optional 'optional_8' #8 │ └── item: string #7 - └── [startsWith]: optional #8 + └── [startsWith]: optional 'optional_8' #8 └── item: string #7 - diff --git a/src/typegraph/core/src/runtimes/prisma/type_generation/snapshots/typegraph_core__runtimes__prisma__type_generation__where___test__where Record.snap b/src/typegraph/core/src/runtimes/prisma/type_generation/snapshots/typegraph_core__runtimes__prisma__type_generation__where___test__where Record.snap index 49c00a5bbb..47381d7252 100644 --- a/src/typegraph/core/src/runtimes/prisma/type_generation/snapshots/typegraph_core__runtimes__prisma__type_generation__where___test__where Record.snap +++ b/src/typegraph/core/src/runtimes/prisma/type_generation/snapshots/typegraph_core__runtimes__prisma__type_generation__where___test__where Record.snap @@ -1,9 +1,9 @@ --- -source: typegraph/core/src/runtimes/prisma/type_generation/where_.rs +source: src/typegraph/core/src/runtimes/prisma/type_generation/where_.rs expression: "tree::print(where_type)" --- root: struct 'RecordWhere' #39 -├── [age]: optional '_37__integer_filter_c?' #37 +├── [age]: optional 'optional_37' #37 │ └── item: optional '_integer_filter_c' #36 │ └── item: union #35 │ ├── variant_0: either '_integer_filter' #33 @@ -13,19 +13,19 @@ root: struct 'RecordWhere' #39 │ │ ├── variant_2: struct #29 │ │ │ └── [not]: integer #25 │ │ ├── variant_3: struct #30 -│ │ │ ├── [gt]: optional #26 +│ │ │ ├── [gt]: optional 'optional_26' #26 │ │ │ │ └── item: integer #25 -│ │ │ ├── [gte]: optional #26 +│ │ │ ├── [gte]: optional 'optional_26' #26 │ │ │ │ └── item: integer #25 -│ │ │ ├── [lt]: optional #26 +│ │ │ ├── [lt]: optional 'optional_26' #26 │ │ │ │ └── item: integer #25 -│ │ │ └── [lte]: optional #26 +│ │ │ └── [lte]: optional 'optional_26' #26 │ │ │ └── item: integer #25 │ │ ├── variant_4: struct #31 -│ │ │ └── [in]: list #27 +│ │ │ └── [in]: list 'list_27' #27 │ │ │ └── item: integer #25 │ │ └── variant_5: struct #32 -│ │ └── [notIn]: list #27 +│ │ └── [notIn]: list 'list_27' #27 │ │ └── item: integer #25 │ └── variant_1: struct #34 │ └── [not]: either '_integer_filter' #33 @@ -35,21 +35,21 @@ root: struct 'RecordWhere' #39 │ ├── variant_2: struct #29 │ │ └── [not]: integer #25 │ ├── variant_3: struct #30 -│ │ ├── [gt]: optional #26 +│ │ ├── [gt]: optional 'optional_26' #26 │ │ │ └── item: integer #25 -│ │ ├── [gte]: optional #26 +│ │ ├── [gte]: optional 'optional_26' #26 │ │ │ └── item: integer #25 -│ │ ├── [lt]: optional #26 +│ │ ├── [lt]: optional 'optional_26' #26 │ │ │ └── item: integer #25 -│ │ └── [lte]: optional #26 +│ │ └── [lte]: optional 'optional_26' #26 │ │ └── item: integer #25 │ ├── variant_4: struct #31 -│ │ └── [in]: list #27 +│ │ └── [in]: list 'list_27' #27 │ │ └── item: integer #25 │ └── variant_5: struct #32 -│ └── [notIn]: list #27 +│ └── [notIn]: list 'list_27' #27 │ └── item: integer #25 -├── [created_at]: optional '_38__string_filter_c?' #38 +├── [created_at]: optional 'optional_38' #38 │ └── item: optional '_string_filter_c' #22 │ └── item: union #21 │ ├── variant_0: union '_string_filter' #19 @@ -59,21 +59,21 @@ root: struct 'RecordWhere' #39 │ │ ├── variant_2: struct #11 │ │ │ └── [not]: string #7 │ │ ├── variant_3: struct #12 -│ │ │ └── [in]: list #9 +│ │ │ └── [in]: list 'list_9' #9 │ │ │ └── item: string #7 │ │ ├── variant_4: struct #13 -│ │ │ └── [notIn]: list #9 +│ │ │ └── [notIn]: list 'list_9' #9 │ │ │ └── item: string #7 │ │ ├── variant_5: struct #16 │ │ │ ├── [contains]: string #7 -│ │ │ └── [mode]: optional #15 +│ │ │ └── [mode]: optional 'optional_15' #15 │ │ │ └── item: string #14 enum{ '"insensitive"' } │ │ ├── variant_6: struct #17 │ │ │ └── [search]: string #7 │ │ └── variant_7: struct #18 -│ │ ├── [endsWith]: optional #8 +│ │ ├── [endsWith]: optional 'optional_8' #8 │ │ │ └── item: string #7 -│ │ └── [startsWith]: optional #8 +│ │ └── [startsWith]: optional 'optional_8' #8 │ │ └── item: string #7 │ └── variant_1: struct #20 │ └── [not]: union '_string_filter' #19 @@ -83,23 +83,23 @@ root: struct 'RecordWhere' #39 │ ├── variant_2: struct #11 │ │ └── [not]: string #7 │ ├── variant_3: struct #12 -│ │ └── [in]: list #9 +│ │ └── [in]: list 'list_9' #9 │ │ └── item: string #7 │ ├── variant_4: struct #13 -│ │ └── [notIn]: list #9 +│ │ └── [notIn]: list 'list_9' #9 │ │ └── item: string #7 │ ├── variant_5: struct #16 │ │ ├── [contains]: string #7 -│ │ └── [mode]: optional #15 +│ │ └── [mode]: optional 'optional_15' #15 │ │ └── item: string #14 enum{ '"insensitive"' } │ ├── variant_6: struct #17 │ │ └── [search]: string #7 │ └── variant_7: struct #18 -│ ├── [endsWith]: optional #8 +│ ├── [endsWith]: optional 'optional_8' #8 │ │ └── item: string #7 -│ └── [startsWith]: optional #8 +│ └── [startsWith]: optional 'optional_8' #8 │ └── item: string #7 -├── [id]: optional '_23__string_filter_c?' #23 +├── [id]: optional 'optional_23' #23 │ └── item: optional '_string_filter_c' #22 │ └── item: union #21 │ ├── variant_0: union '_string_filter' #19 @@ -109,21 +109,21 @@ root: struct 'RecordWhere' #39 │ │ ├── variant_2: struct #11 │ │ │ └── [not]: string #7 │ │ ├── variant_3: struct #12 -│ │ │ └── [in]: list #9 +│ │ │ └── [in]: list 'list_9' #9 │ │ │ └── item: string #7 │ │ ├── variant_4: struct #13 -│ │ │ └── [notIn]: list #9 +│ │ │ └── [notIn]: list 'list_9' #9 │ │ │ └── item: string #7 │ │ ├── variant_5: struct #16 │ │ │ ├── [contains]: string #7 -│ │ │ └── [mode]: optional #15 +│ │ │ └── [mode]: optional 'optional_15' #15 │ │ │ └── item: string #14 enum{ '"insensitive"' } │ │ ├── variant_6: struct #17 │ │ │ └── [search]: string #7 │ │ └── variant_7: struct #18 -│ │ ├── [endsWith]: optional #8 +│ │ ├── [endsWith]: optional 'optional_8' #8 │ │ │ └── item: string #7 -│ │ └── [startsWith]: optional #8 +│ │ └── [startsWith]: optional 'optional_8' #8 │ │ └── item: string #7 │ └── variant_1: struct #20 │ └── [not]: union '_string_filter' #19 @@ -133,23 +133,23 @@ root: struct 'RecordWhere' #39 │ ├── variant_2: struct #11 │ │ └── [not]: string #7 │ ├── variant_3: struct #12 -│ │ └── [in]: list #9 +│ │ └── [in]: list 'list_9' #9 │ │ └── item: string #7 │ ├── variant_4: struct #13 -│ │ └── [notIn]: list #9 +│ │ └── [notIn]: list 'list_9' #9 │ │ └── item: string #7 │ ├── variant_5: struct #16 │ │ ├── [contains]: string #7 -│ │ └── [mode]: optional #15 +│ │ └── [mode]: optional 'optional_15' #15 │ │ └── item: string #14 enum{ '"insensitive"' } │ ├── variant_6: struct #17 │ │ └── [search]: string #7 │ └── variant_7: struct #18 -│ ├── [endsWith]: optional #8 +│ ├── [endsWith]: optional 'optional_8' #8 │ │ └── item: string #7 -│ └── [startsWith]: optional #8 +│ └── [startsWith]: optional 'optional_8' #8 │ └── item: string #7 -└── [name]: optional '_24__string_filter_c?' #24 +└── [name]: optional 'optional_24' #24 └── item: optional '_string_filter_c' #22 └── item: union #21 ├── variant_0: union '_string_filter' #19 @@ -159,21 +159,21 @@ root: struct 'RecordWhere' #39 │ ├── variant_2: struct #11 │ │ └── [not]: string #7 │ ├── variant_3: struct #12 - │ │ └── [in]: list #9 + │ │ └── [in]: list 'list_9' #9 │ │ └── item: string #7 │ ├── variant_4: struct #13 - │ │ └── [notIn]: list #9 + │ │ └── [notIn]: list 'list_9' #9 │ │ └── item: string #7 │ ├── variant_5: struct #16 │ │ ├── [contains]: string #7 - │ │ └── [mode]: optional #15 + │ │ └── [mode]: optional 'optional_15' #15 │ │ └── item: string #14 enum{ '"insensitive"' } │ ├── variant_6: struct #17 │ │ └── [search]: string #7 │ └── variant_7: struct #18 - │ ├── [endsWith]: optional #8 + │ ├── [endsWith]: optional 'optional_8' #8 │ │ └── item: string #7 - │ └── [startsWith]: optional #8 + │ └── [startsWith]: optional 'optional_8' #8 │ └── item: string #7 └── variant_1: struct #20 └── [not]: union '_string_filter' #19 @@ -183,20 +183,19 @@ root: struct 'RecordWhere' #39 ├── variant_2: struct #11 │ └── [not]: string #7 ├── variant_3: struct #12 - │ └── [in]: list #9 + │ └── [in]: list 'list_9' #9 │ └── item: string #7 ├── variant_4: struct #13 - │ └── [notIn]: list #9 + │ └── [notIn]: list 'list_9' #9 │ └── item: string #7 ├── variant_5: struct #16 │ ├── [contains]: string #7 - │ └── [mode]: optional #15 + │ └── [mode]: optional 'optional_15' #15 │ └── item: string #14 enum{ '"insensitive"' } ├── variant_6: struct #17 │ └── [search]: string #7 └── variant_7: struct #18 - ├── [endsWith]: optional #8 + ├── [endsWith]: optional 'optional_8' #8 │ └── item: string #7 - └── [startsWith]: optional #8 + └── [startsWith]: optional 'optional_8' #8 └── item: string #7 - diff --git a/src/typegraph/core/src/runtimes/prisma/type_generation/snapshots/typegraph_core__runtimes__prisma__type_generation__where___test__where User.snap b/src/typegraph/core/src/runtimes/prisma/type_generation/snapshots/typegraph_core__runtimes__prisma__type_generation__where___test__where User.snap index 29ce6ec9f8..e9acf21c99 100644 --- a/src/typegraph/core/src/runtimes/prisma/type_generation/snapshots/typegraph_core__runtimes__prisma__type_generation__where___test__where User.snap +++ b/src/typegraph/core/src/runtimes/prisma/type_generation/snapshots/typegraph_core__runtimes__prisma__type_generation__where___test__where User.snap @@ -1,9 +1,9 @@ --- -source: typegraph/core/src/runtimes/prisma/type_generation/where_.rs +source: src/typegraph/core/src/runtimes/prisma/type_generation/where_.rs expression: "tree::print(context.generate(&Where::new(user))?)" --- root: struct 'UserWhere' #64 -├── [id]: optional '_49__integer_filter_c?' #49 +├── [id]: optional 'optional_49' #49 │ └── item: optional '_integer_filter_c' #36 │ └── item: union #35 │ ├── variant_0: either '_integer_filter' #33 @@ -13,19 +13,19 @@ root: struct 'UserWhere' #64 │ │ ├── variant_2: struct #29 │ │ │ └── [not]: integer #25 │ │ ├── variant_3: struct #30 -│ │ │ ├── [gt]: optional #26 +│ │ │ ├── [gt]: optional 'optional_26' #26 │ │ │ │ └── item: integer #25 -│ │ │ ├── [gte]: optional #26 +│ │ │ ├── [gte]: optional 'optional_26' #26 │ │ │ │ └── item: integer #25 -│ │ │ ├── [lt]: optional #26 +│ │ │ ├── [lt]: optional 'optional_26' #26 │ │ │ │ └── item: integer #25 -│ │ │ └── [lte]: optional #26 +│ │ │ └── [lte]: optional 'optional_26' #26 │ │ │ └── item: integer #25 │ │ ├── variant_4: struct #31 -│ │ │ └── [in]: list #27 +│ │ │ └── [in]: list 'list_27' #27 │ │ │ └── item: integer #25 │ │ └── variant_5: struct #32 -│ │ └── [notIn]: list #27 +│ │ └── [notIn]: list 'list_27' #27 │ │ └── item: integer #25 │ └── variant_1: struct #34 │ └── [not]: either '_integer_filter' #33 @@ -35,21 +35,21 @@ root: struct 'UserWhere' #64 │ ├── variant_2: struct #29 │ │ └── [not]: integer #25 │ ├── variant_3: struct #30 -│ │ ├── [gt]: optional #26 +│ │ ├── [gt]: optional 'optional_26' #26 │ │ │ └── item: integer #25 -│ │ ├── [gte]: optional #26 +│ │ ├── [gte]: optional 'optional_26' #26 │ │ │ └── item: integer #25 -│ │ ├── [lt]: optional #26 +│ │ ├── [lt]: optional 'optional_26' #26 │ │ │ └── item: integer #25 -│ │ └── [lte]: optional #26 +│ │ └── [lte]: optional 'optional_26' #26 │ │ └── item: integer #25 │ ├── variant_4: struct #31 -│ │ └── [in]: list #27 +│ │ └── [in]: list 'list_27' #27 │ │ └── item: integer #25 │ └── variant_5: struct #32 -│ └── [notIn]: list #27 +│ └── [notIn]: list 'list_27' #27 │ └── item: integer #25 -├── [name]: optional '_50__string_filter_c?' #50 +├── [name]: optional 'optional_50' #50 │ └── item: optional '_string_filter_c' #22 │ └── item: union #21 │ ├── variant_0: union '_string_filter' #19 @@ -59,21 +59,21 @@ root: struct 'UserWhere' #64 │ │ ├── variant_2: struct #11 │ │ │ └── [not]: string #7 │ │ ├── variant_3: struct #12 -│ │ │ └── [in]: list #9 +│ │ │ └── [in]: list 'list_9' #9 │ │ │ └── item: string #7 │ │ ├── variant_4: struct #13 -│ │ │ └── [notIn]: list #9 +│ │ │ └── [notIn]: list 'list_9' #9 │ │ │ └── item: string #7 │ │ ├── variant_5: struct #16 │ │ │ ├── [contains]: string #7 -│ │ │ └── [mode]: optional #15 +│ │ │ └── [mode]: optional 'optional_15' #15 │ │ │ └── item: string #14 enum{ '"insensitive"' } │ │ ├── variant_6: struct #17 │ │ │ └── [search]: string #7 │ │ └── variant_7: struct #18 -│ │ ├── [endsWith]: optional #8 +│ │ ├── [endsWith]: optional 'optional_8' #8 │ │ │ └── item: string #7 -│ │ └── [startsWith]: optional #8 +│ │ └── [startsWith]: optional 'optional_8' #8 │ │ └── item: string #7 │ └── variant_1: struct #20 │ └── [not]: union '_string_filter' #19 @@ -83,30 +83,30 @@ root: struct 'UserWhere' #64 │ ├── variant_2: struct #11 │ │ └── [not]: string #7 │ ├── variant_3: struct #12 -│ │ └── [in]: list #9 +│ │ └── [in]: list 'list_9' #9 │ │ └── item: string #7 │ ├── variant_4: struct #13 -│ │ └── [notIn]: list #9 +│ │ └── [notIn]: list 'list_9' #9 │ │ └── item: string #7 │ ├── variant_5: struct #16 │ │ ├── [contains]: string #7 -│ │ └── [mode]: optional #15 +│ │ └── [mode]: optional 'optional_15' #15 │ │ └── item: string #14 enum{ '"insensitive"' } │ ├── variant_6: struct #17 │ │ └── [search]: string #7 │ └── variant_7: struct #18 -│ ├── [endsWith]: optional #8 +│ ├── [endsWith]: optional 'optional_8' #8 │ │ └── item: string #7 -│ └── [startsWith]: optional #8 +│ └── [startsWith]: optional 'optional_8' #8 │ └── item: string #7 -└── [posts]: optional #63 +└── [posts]: optional 'optional_63' #63 └── item: union #62 ├── variant_0: struct #57 - │ └── [every]: optional '_56_PostWhere__skip_44_UserWhere?' #56 + │ └── [every]: optional 'optional_56' #56 │ └── item: struct 'PostWhere__skip_44_UserWhere' #55 - │ ├── [author]: optional '_54_UserWhere?' #54 + │ ├── [author]: optional 'optional_54' #54 │ │ └── item: &UserWhere #53 - │ ├── [id]: optional '_51__integer_filter_c?' #51 + │ ├── [id]: optional 'optional_51' #51 │ │ └── item: optional '_integer_filter_c' #36 │ │ └── item: union #35 │ │ ├── variant_0: either '_integer_filter' #33 @@ -116,19 +116,19 @@ root: struct 'UserWhere' #64 │ │ │ ├── variant_2: struct #29 │ │ │ │ └── [not]: integer #25 │ │ │ ├── variant_3: struct #30 - │ │ │ │ ├── [gt]: optional #26 + │ │ │ │ ├── [gt]: optional 'optional_26' #26 │ │ │ │ │ └── item: integer #25 - │ │ │ │ ├── [gte]: optional #26 + │ │ │ │ ├── [gte]: optional 'optional_26' #26 │ │ │ │ │ └── item: integer #25 - │ │ │ │ ├── [lt]: optional #26 + │ │ │ │ ├── [lt]: optional 'optional_26' #26 │ │ │ │ │ └── item: integer #25 - │ │ │ │ └── [lte]: optional #26 + │ │ │ │ └── [lte]: optional 'optional_26' #26 │ │ │ │ └── item: integer #25 │ │ │ ├── variant_4: struct #31 - │ │ │ │ └── [in]: list #27 + │ │ │ │ └── [in]: list 'list_27' #27 │ │ │ │ └── item: integer #25 │ │ │ └── variant_5: struct #32 - │ │ │ └── [notIn]: list #27 + │ │ │ └── [notIn]: list 'list_27' #27 │ │ │ └── item: integer #25 │ │ └── variant_1: struct #34 │ │ └── [not]: either '_integer_filter' #33 @@ -138,21 +138,21 @@ root: struct 'UserWhere' #64 │ │ ├── variant_2: struct #29 │ │ │ └── [not]: integer #25 │ │ ├── variant_3: struct #30 - │ │ │ ├── [gt]: optional #26 + │ │ │ ├── [gt]: optional 'optional_26' #26 │ │ │ │ └── item: integer #25 - │ │ │ ├── [gte]: optional #26 + │ │ │ ├── [gte]: optional 'optional_26' #26 │ │ │ │ └── item: integer #25 - │ │ │ ├── [lt]: optional #26 + │ │ │ ├── [lt]: optional 'optional_26' #26 │ │ │ │ └── item: integer #25 - │ │ │ └── [lte]: optional #26 + │ │ │ └── [lte]: optional 'optional_26' #26 │ │ │ └── item: integer #25 │ │ ├── variant_4: struct #31 - │ │ │ └── [in]: list #27 + │ │ │ └── [in]: list 'list_27' #27 │ │ │ └── item: integer #25 │ │ └── variant_5: struct #32 - │ │ └── [notIn]: list #27 + │ │ └── [notIn]: list 'list_27' #27 │ │ └── item: integer #25 - │ └── [title]: optional '_52__string_filter_c?' #52 + │ └── [title]: optional 'optional_52' #52 │ └── item: optional '_string_filter_c' #22 │ └── item: union #21 │ ├── variant_0: union '_string_filter' #19 @@ -162,21 +162,21 @@ root: struct 'UserWhere' #64 │ │ ├── variant_2: struct #11 │ │ │ └── [not]: string #7 │ │ ├── variant_3: struct #12 - │ │ │ └── [in]: list #9 + │ │ │ └── [in]: list 'list_9' #9 │ │ │ └── item: string #7 │ │ ├── variant_4: struct #13 - │ │ │ └── [notIn]: list #9 + │ │ │ └── [notIn]: list 'list_9' #9 │ │ │ └── item: string #7 │ │ ├── variant_5: struct #16 │ │ │ ├── [contains]: string #7 - │ │ │ └── [mode]: optional #15 + │ │ │ └── [mode]: optional 'optional_15' #15 │ │ │ └── item: string #14 enum{ '"insensitive"' } │ │ ├── variant_6: struct #17 │ │ │ └── [search]: string #7 │ │ └── variant_7: struct #18 - │ │ ├── [endsWith]: optional #8 + │ │ ├── [endsWith]: optional 'optional_8' #8 │ │ │ └── item: string #7 - │ │ └── [startsWith]: optional #8 + │ │ └── [startsWith]: optional 'optional_8' #8 │ │ └── item: string #7 │ └── variant_1: struct #20 │ └── [not]: union '_string_filter' #19 @@ -186,28 +186,28 @@ root: struct 'UserWhere' #64 │ ├── variant_2: struct #11 │ │ └── [not]: string #7 │ ├── variant_3: struct #12 - │ │ └── [in]: list #9 + │ │ └── [in]: list 'list_9' #9 │ │ └── item: string #7 │ ├── variant_4: struct #13 - │ │ └── [notIn]: list #9 + │ │ └── [notIn]: list 'list_9' #9 │ │ └── item: string #7 │ ├── variant_5: struct #16 │ │ ├── [contains]: string #7 - │ │ └── [mode]: optional #15 + │ │ └── [mode]: optional 'optional_15' #15 │ │ └── item: string #14 enum{ '"insensitive"' } │ ├── variant_6: struct #17 │ │ └── [search]: string #7 │ └── variant_7: struct #18 - │ ├── [endsWith]: optional #8 + │ ├── [endsWith]: optional 'optional_8' #8 │ │ └── item: string #7 - │ └── [startsWith]: optional #8 + │ └── [startsWith]: optional 'optional_8' #8 │ └── item: string #7 ├── variant_1: struct #59 - │ └── [some]: optional '_58_PostWhere__skip_44_UserWhere?' #58 + │ └── [some]: optional 'optional_58' #58 │ └── item: struct 'PostWhere__skip_44_UserWhere' #55 - │ ├── [author]: optional '_54_UserWhere?' #54 + │ ├── [author]: optional 'optional_54' #54 │ │ └── item: &UserWhere #53 - │ ├── [id]: optional '_51__integer_filter_c?' #51 + │ ├── [id]: optional 'optional_51' #51 │ │ └── item: optional '_integer_filter_c' #36 │ │ └── item: union #35 │ │ ├── variant_0: either '_integer_filter' #33 @@ -217,19 +217,19 @@ root: struct 'UserWhere' #64 │ │ │ ├── variant_2: struct #29 │ │ │ │ └── [not]: integer #25 │ │ │ ├── variant_3: struct #30 - │ │ │ │ ├── [gt]: optional #26 + │ │ │ │ ├── [gt]: optional 'optional_26' #26 │ │ │ │ │ └── item: integer #25 - │ │ │ │ ├── [gte]: optional #26 + │ │ │ │ ├── [gte]: optional 'optional_26' #26 │ │ │ │ │ └── item: integer #25 - │ │ │ │ ├── [lt]: optional #26 + │ │ │ │ ├── [lt]: optional 'optional_26' #26 │ │ │ │ │ └── item: integer #25 - │ │ │ │ └── [lte]: optional #26 + │ │ │ │ └── [lte]: optional 'optional_26' #26 │ │ │ │ └── item: integer #25 │ │ │ ├── variant_4: struct #31 - │ │ │ │ └── [in]: list #27 + │ │ │ │ └── [in]: list 'list_27' #27 │ │ │ │ └── item: integer #25 │ │ │ └── variant_5: struct #32 - │ │ │ └── [notIn]: list #27 + │ │ │ └── [notIn]: list 'list_27' #27 │ │ │ └── item: integer #25 │ │ └── variant_1: struct #34 │ │ └── [not]: either '_integer_filter' #33 @@ -239,21 +239,21 @@ root: struct 'UserWhere' #64 │ │ ├── variant_2: struct #29 │ │ │ └── [not]: integer #25 │ │ ├── variant_3: struct #30 - │ │ │ ├── [gt]: optional #26 + │ │ │ ├── [gt]: optional 'optional_26' #26 │ │ │ │ └── item: integer #25 - │ │ │ ├── [gte]: optional #26 + │ │ │ ├── [gte]: optional 'optional_26' #26 │ │ │ │ └── item: integer #25 - │ │ │ ├── [lt]: optional #26 + │ │ │ ├── [lt]: optional 'optional_26' #26 │ │ │ │ └── item: integer #25 - │ │ │ └── [lte]: optional #26 + │ │ │ └── [lte]: optional 'optional_26' #26 │ │ │ └── item: integer #25 │ │ ├── variant_4: struct #31 - │ │ │ └── [in]: list #27 + │ │ │ └── [in]: list 'list_27' #27 │ │ │ └── item: integer #25 │ │ └── variant_5: struct #32 - │ │ └── [notIn]: list #27 + │ │ └── [notIn]: list 'list_27' #27 │ │ └── item: integer #25 - │ └── [title]: optional '_52__string_filter_c?' #52 + │ └── [title]: optional 'optional_52' #52 │ └── item: optional '_string_filter_c' #22 │ └── item: union #21 │ ├── variant_0: union '_string_filter' #19 @@ -263,21 +263,21 @@ root: struct 'UserWhere' #64 │ │ ├── variant_2: struct #11 │ │ │ └── [not]: string #7 │ │ ├── variant_3: struct #12 - │ │ │ └── [in]: list #9 + │ │ │ └── [in]: list 'list_9' #9 │ │ │ └── item: string #7 │ │ ├── variant_4: struct #13 - │ │ │ └── [notIn]: list #9 + │ │ │ └── [notIn]: list 'list_9' #9 │ │ │ └── item: string #7 │ │ ├── variant_5: struct #16 │ │ │ ├── [contains]: string #7 - │ │ │ └── [mode]: optional #15 + │ │ │ └── [mode]: optional 'optional_15' #15 │ │ │ └── item: string #14 enum{ '"insensitive"' } │ │ ├── variant_6: struct #17 │ │ │ └── [search]: string #7 │ │ └── variant_7: struct #18 - │ │ ├── [endsWith]: optional #8 + │ │ ├── [endsWith]: optional 'optional_8' #8 │ │ │ └── item: string #7 - │ │ └── [startsWith]: optional #8 + │ │ └── [startsWith]: optional 'optional_8' #8 │ │ └── item: string #7 │ └── variant_1: struct #20 │ └── [not]: union '_string_filter' #19 @@ -287,28 +287,28 @@ root: struct 'UserWhere' #64 │ ├── variant_2: struct #11 │ │ └── [not]: string #7 │ ├── variant_3: struct #12 - │ │ └── [in]: list #9 + │ │ └── [in]: list 'list_9' #9 │ │ └── item: string #7 │ ├── variant_4: struct #13 - │ │ └── [notIn]: list #9 + │ │ └── [notIn]: list 'list_9' #9 │ │ └── item: string #7 │ ├── variant_5: struct #16 │ │ ├── [contains]: string #7 - │ │ └── [mode]: optional #15 + │ │ └── [mode]: optional 'optional_15' #15 │ │ └── item: string #14 enum{ '"insensitive"' } │ ├── variant_6: struct #17 │ │ └── [search]: string #7 │ └── variant_7: struct #18 - │ ├── [endsWith]: optional #8 + │ ├── [endsWith]: optional 'optional_8' #8 │ │ └── item: string #7 - │ └── [startsWith]: optional #8 + │ └── [startsWith]: optional 'optional_8' #8 │ └── item: string #7 └── variant_2: struct #61 - └── [none]: optional '_60_PostWhere__skip_44_UserWhere?' #60 + └── [none]: optional 'optional_60' #60 └── item: struct 'PostWhere__skip_44_UserWhere' #55 - ├── [author]: optional '_54_UserWhere?' #54 + ├── [author]: optional 'optional_54' #54 │ └── item: &UserWhere #53 - ├── [id]: optional '_51__integer_filter_c?' #51 + ├── [id]: optional 'optional_51' #51 │ └── item: optional '_integer_filter_c' #36 │ └── item: union #35 │ ├── variant_0: either '_integer_filter' #33 @@ -318,19 +318,19 @@ root: struct 'UserWhere' #64 │ │ ├── variant_2: struct #29 │ │ │ └── [not]: integer #25 │ │ ├── variant_3: struct #30 - │ │ │ ├── [gt]: optional #26 + │ │ │ ├── [gt]: optional 'optional_26' #26 │ │ │ │ └── item: integer #25 - │ │ │ ├── [gte]: optional #26 + │ │ │ ├── [gte]: optional 'optional_26' #26 │ │ │ │ └── item: integer #25 - │ │ │ ├── [lt]: optional #26 + │ │ │ ├── [lt]: optional 'optional_26' #26 │ │ │ │ └── item: integer #25 - │ │ │ └── [lte]: optional #26 + │ │ │ └── [lte]: optional 'optional_26' #26 │ │ │ └── item: integer #25 │ │ ├── variant_4: struct #31 - │ │ │ └── [in]: list #27 + │ │ │ └── [in]: list 'list_27' #27 │ │ │ └── item: integer #25 │ │ └── variant_5: struct #32 - │ │ └── [notIn]: list #27 + │ │ └── [notIn]: list 'list_27' #27 │ │ └── item: integer #25 │ └── variant_1: struct #34 │ └── [not]: either '_integer_filter' #33 @@ -340,21 +340,21 @@ root: struct 'UserWhere' #64 │ ├── variant_2: struct #29 │ │ └── [not]: integer #25 │ ├── variant_3: struct #30 - │ │ ├── [gt]: optional #26 + │ │ ├── [gt]: optional 'optional_26' #26 │ │ │ └── item: integer #25 - │ │ ├── [gte]: optional #26 + │ │ ├── [gte]: optional 'optional_26' #26 │ │ │ └── item: integer #25 - │ │ ├── [lt]: optional #26 + │ │ ├── [lt]: optional 'optional_26' #26 │ │ │ └── item: integer #25 - │ │ └── [lte]: optional #26 + │ │ └── [lte]: optional 'optional_26' #26 │ │ └── item: integer #25 │ ├── variant_4: struct #31 - │ │ └── [in]: list #27 + │ │ └── [in]: list 'list_27' #27 │ │ └── item: integer #25 │ └── variant_5: struct #32 - │ └── [notIn]: list #27 + │ └── [notIn]: list 'list_27' #27 │ └── item: integer #25 - └── [title]: optional '_52__string_filter_c?' #52 + └── [title]: optional 'optional_52' #52 └── item: optional '_string_filter_c' #22 └── item: union #21 ├── variant_0: union '_string_filter' #19 @@ -364,21 +364,21 @@ root: struct 'UserWhere' #64 │ ├── variant_2: struct #11 │ │ └── [not]: string #7 │ ├── variant_3: struct #12 - │ │ └── [in]: list #9 + │ │ └── [in]: list 'list_9' #9 │ │ └── item: string #7 │ ├── variant_4: struct #13 - │ │ └── [notIn]: list #9 + │ │ └── [notIn]: list 'list_9' #9 │ │ └── item: string #7 │ ├── variant_5: struct #16 │ │ ├── [contains]: string #7 - │ │ └── [mode]: optional #15 + │ │ └── [mode]: optional 'optional_15' #15 │ │ └── item: string #14 enum{ '"insensitive"' } │ ├── variant_6: struct #17 │ │ └── [search]: string #7 │ └── variant_7: struct #18 - │ ├── [endsWith]: optional #8 + │ ├── [endsWith]: optional 'optional_8' #8 │ │ └── item: string #7 - │ └── [startsWith]: optional #8 + │ └── [startsWith]: optional 'optional_8' #8 │ └── item: string #7 └── variant_1: struct #20 └── [not]: union '_string_filter' #19 @@ -388,20 +388,19 @@ root: struct 'UserWhere' #64 ├── variant_2: struct #11 │ └── [not]: string #7 ├── variant_3: struct #12 - │ └── [in]: list #9 + │ └── [in]: list 'list_9' #9 │ └── item: string #7 ├── variant_4: struct #13 - │ └── [notIn]: list #9 + │ └── [notIn]: list 'list_9' #9 │ └── item: string #7 ├── variant_5: struct #16 │ ├── [contains]: string #7 - │ └── [mode]: optional #15 + │ └── [mode]: optional 'optional_15' #15 │ └── item: string #14 enum{ '"insensitive"' } ├── variant_6: struct #17 │ └── [search]: string #7 └── variant_7: struct #18 - ├── [endsWith]: optional #8 + ├── [endsWith]: optional 'optional_8' #8 │ └── item: string #7 - └── [startsWith]: optional #8 + └── [startsWith]: optional 'optional_8' #8 └── item: string #7 - diff --git a/src/typegraph/core/src/snapshots/typegraph_core__tests__successful_serialization.snap b/src/typegraph/core/src/snapshots/typegraph_core__tests__successful_serialization.snap index 22c6c9bf15..cf2e4f4393 100644 --- a/src/typegraph/core/src/snapshots/typegraph_core__tests__successful_serialization.snap +++ b/src/typegraph/core/src/snapshots/typegraph_core__tests__successful_serialization.snap @@ -1,5 +1,5 @@ --- -source: typegraph/core/src/lib.rs +source: src/typegraph/core/src/lib.rs expression: typegraph.0 --- { @@ -20,7 +20,7 @@ expression: typegraph.0 }, { "type": "function", - "title": "func_6", + "title": "root_one_fn", "runtime": 0, "policies": [], "config": {}, @@ -33,7 +33,7 @@ expression: typegraph.0 }, { "type": "object", - "title": "object_5", + "title": "root_one_fn_input", "runtime": 0, "policies": [], "config": {}, @@ -47,7 +47,7 @@ expression: typegraph.0 }, { "type": "integer", - "title": "integer_0", + "title": "root_one_fn_input_one_integer", "runtime": 0, "policies": [], "config": {}, @@ -55,7 +55,7 @@ expression: typegraph.0 }, { "type": "integer", - "title": "integer_1", + "title": "root_one_fn_input_two_integer", "runtime": 0, "policies": [], "config": {}, @@ -65,7 +65,7 @@ expression: typegraph.0 }, { "type": "optional", - "title": "optional_4", + "title": "root_one_fn_input_three_root_one_fn_input_three_root_one_fn_input_three_float_list_optional", "runtime": 0, "policies": [], "config": {}, @@ -75,7 +75,7 @@ expression: typegraph.0 }, { "type": "list", - "title": "list_3", + "title": "root_one_fn_input_three_root_one_fn_input_three_float_list", "runtime": 0, "policies": [], "config": {}, @@ -84,7 +84,7 @@ expression: typegraph.0 }, { "type": "float", - "title": "float_2", + "title": "root_one_fn_input_three_float", "runtime": 0, "policies": [], "config": {}, diff --git a/src/typegraph/core/src/typegraph.rs b/src/typegraph/core/src/typegraph.rs index f946f715d6..328253d84c 100644 --- a/src/typegraph/core/src/typegraph.rs +++ b/src/typegraph/core/src/typegraph.rs @@ -6,6 +6,7 @@ use crate::conversion::runtimes::{convert_materializer, convert_runtime, Convert use crate::conversion::types::TypeConversion; use crate::global_store::SavedState; use crate::types::{TypeDef, TypeDefExt, TypeId}; +use crate::utils::postprocess::naming::NamingProcessor; use crate::utils::postprocess::{PostProcessor, TypegraphPostProcessor}; use crate::validation::validate_name; use crate::Lib; @@ -21,7 +22,7 @@ use common::typegraph::{ use indexmap::IndexMap; use std::cell::RefCell; use std::collections::hash_map::Entry; -use std::collections::HashMap; +use std::collections::{HashMap, HashSet}; use std::hash::Hasher as _; use std::path::{Path, PathBuf}; use std::rc::Rc; @@ -57,6 +58,7 @@ pub struct TypegraphContext { mapping: IdMapping, runtime_contexts: RuntimeContexts, saved_store_state: Option, + user_named_types: HashSet, } thread_local! { @@ -123,7 +125,7 @@ pub fn init(params: TypegraphInitParams) -> Result<()> { ctx.types.push(Some(TypeNode::Object { base: TypeNodeBase { - config: Default::default(), + config: [].into_iter().collect(), description: None, enumeration: None, injection: None, @@ -185,7 +187,7 @@ pub fn finalize_auths(ctx: &mut TypegraphContext) -> Result Result<(String, Vec)> { #[cfg(test)] - eprintln!("Serializing typegraph typegraph..."); + eprintln!("Serializing typegraph..."); let mut ctx = TG.with(|tg| { tg.borrow_mut() @@ -230,7 +232,14 @@ pub fn serialize(params: SerializeParams) -> Result<(String, Vec)> tg.meta.prefix.clone_from(¶ms.prefix); let pretty = params.pretty; + + // dedup_types(&mut tg); + TypegraphPostProcessor::new(params).postprocess(&mut tg)?; + NamingProcessor { + user_named: ctx.user_named_types, + } + .postprocess(&mut tg)?; let artifacts = tg .meta @@ -314,7 +323,9 @@ pub fn expose( } ensure_valid_export(key.clone(), type_id)?; - let type_idx = ctx.register_type(type_id.try_into()?, None)?; + // this resolves the type_id to a type_def from theh Store + let type_def = type_id.try_into()?; + let type_idx = ctx.register_type(type_def, None)?; root_data.properties.insert(key.clone(), type_idx.into()); root_data.required.push(key); Ok(()) @@ -347,9 +358,21 @@ impl TypegraphContext { pub fn register_type( &mut self, - type_def: TypeDef, + mut type_def: TypeDef, runtime_id: Option, ) -> Result { + // we remove the name before hashing if it's not + // user named + let user_named = if let Some(name) = type_def.name() { + if let Some(true) = Store::is_user_named(name) { + true + } else { + type_def = type_def.with_name(None); + false + } + } else { + false + }; let hash = self.hash_type(type_def.clone(), runtime_id)?; match self.mapping.hash_to_type.entry(hash) { @@ -368,6 +391,10 @@ impl TypegraphContext { let type_node = type_def.convert(self, runtime_id)?; self.types[idx] = Some(type_node); + if user_named { + self.user_named_types.insert(idx as u32); + } + Ok((idx as u32).into()) } diff --git a/src/typegraph/core/src/types/type_id.rs b/src/typegraph/core/src/types/type_id.rs index 3d67571cd1..e5efb4a92f 100644 --- a/src/typegraph/core/src/types/type_id.rs +++ b/src/typegraph/core/src/types/type_id.rs @@ -3,8 +3,9 @@ use super::TypeDefExt; use super::{type_ref::RefData, Type, TypeDef}; -use crate::errors::Result; use crate::errors::TgError; +use crate::errors::{self, Result}; +use crate::global_store::Store; use crate::typegraph::TypegraphContext; use crate::wit::core::TypeId as CoreTypeId; use std::fmt::Debug; @@ -63,6 +64,16 @@ impl TypeId { } } + // resolves to the ref id if a Ref + // resolves to self if a Def + pub fn resolve_ref_id(&self) -> Result { + match self.as_type()? { + Type::Ref(type_ref) => Ok(Store::get_type_by_name(&type_ref.name) + .ok_or_else(|| errors::unregistered_type_name(&type_ref.name))?), + Type::Def(_) => Ok(TypeId(self.0)), + } + } + pub fn as_type_def(&self) -> Result> { match self.as_type()? { Type::Ref(_) => Ok(None), diff --git a/src/typegraph/core/src/utils/postprocess/mod.rs b/src/typegraph/core/src/utils/postprocess/mod.rs index 318e65e16c..3839a007b7 100644 --- a/src/typegraph/core/src/utils/postprocess/mod.rs +++ b/src/typegraph/core/src/utils/postprocess/mod.rs @@ -7,6 +7,7 @@ use std::path::PathBuf; use substantial_rt::SubstantialProcessor; pub mod deno_rt; +pub mod naming; pub mod prisma_rt; pub mod python_rt; pub mod substantial_rt; diff --git a/src/typegraph/core/src/utils/postprocess/naming.rs b/src/typegraph/core/src/utils/postprocess/naming.rs new file mode 100644 index 0000000000..80a6121931 --- /dev/null +++ b/src/typegraph/core/src/utils/postprocess/naming.rs @@ -0,0 +1,265 @@ +use std::{ + collections::{HashMap, HashSet}, + rc::Rc, +}; + +use common::typegraph::{ + visitor::{Edge, PathSegment}, + StringFormat, TypeNode, Typegraph, +}; + +use crate::errors::TgError; + +pub struct NamingProcessor { + pub user_named: HashSet, +} +impl super::PostProcessor for NamingProcessor { + fn postprocess( + self, + tg: &mut common::typegraph::Typegraph, + ) -> Result<(), crate::errors::TgError> { + let cx = VisitContext { + tg, + user_named: self.user_named, + }; + let mut acc = VisitCollector { + named_types: Default::default(), + path: vec![], + }; + + let TypeNode::Object { + data: root_data, .. + } = &tg.types[0] + else { + panic!("first item must be root object") + }; + for (key, &ty_id) in &root_data.properties { + acc.path.push(( + PathSegment { + from: 0, + edge: Edge::ObjectProp(&key[..]), + }, + Rc::from("root"), + )); + visit_type(&cx, &mut acc, ty_id).map_err(|err| TgError::from(format!("{err}")))?; + } + // crate::logger::error!("{:?} - {:#?}", cx.user_named, acc.named_types); + for (id, name) in acc.named_types { + let node = &mut tg.types[id as usize]; + node.base_mut().title = name.to_string(); + } + Ok(()) + } +} + +struct VisitContext<'a> { + tg: &'a Typegraph, + user_named: HashSet, +} +struct VisitCollector<'b> { + named_types: HashMap>, + path: Vec<(PathSegment<'b>, Rc)>, +} + +fn visit_type<'a: 'b, 'b>( + cx: &'a VisitContext, + acc: &mut VisitCollector<'b>, + id: u32, +) -> anyhow::Result> { + if let Some(name) = acc.named_types.get(&id) { + return Ok(name.clone()); + } + for (seg, name) in &acc.path { + if seg.from == id { + return Ok(name.clone()); + } + } + + let node = &cx.tg.types[id as usize]; + let name = match node { + TypeNode::Optional { data, .. } => { + acc.path.push(( + PathSegment { + from: id, + edge: Edge::OptionalItem, + }, + Rc::from("placeholder"), + )); + let inner_name = visit_type(cx, acc, data.item)?; + acc.path.pop(); + gen_name(cx, acc, id, &format!("{inner_name}_optional")) + } + TypeNode::List { data, .. } => { + acc.path.push(( + PathSegment { + from: id, + edge: Edge::ArrayItem, + }, + Rc::from("placeholder"), + )); + let inner_name = visit_type(cx, acc, data.items)?; + acc.path.pop(); + /* if cx.user_named.contains(&data.items) { + gen_name(cx, acc, id, &format!("{inner_name}_list")) + } else { + format!("{inner_name}_list").into() + } */ + gen_name(cx, acc, id, &format!("{inner_name}_list")) + } + TypeNode::Object { data, .. } => { + let name = gen_name(cx, acc, id, "struct"); + for (key, &prop_id) in &data.properties { + acc.path.push(( + PathSegment { + from: id, + edge: Edge::ObjectProp(&key[..]), + }, + name.clone(), + )); + _ = visit_type(cx, acc, prop_id)?; + acc.path.pop(); + } + name + } + TypeNode::Union { data, .. } => { + let name = gen_name(cx, acc, id, "union"); + for (idx, &variant_id) in data.any_of.iter().enumerate() { + acc.path.push(( + PathSegment { + from: id, + edge: Edge::UnionVariant(idx), + }, + name.clone(), + )); + _ = visit_type(cx, acc, variant_id)?; + acc.path.pop(); + } + name + } + TypeNode::Either { data, .. } => { + let name = gen_name(cx, acc, id, "either"); + for (idx, &variant_id) in data.one_of.iter().enumerate() { + acc.path.push(( + PathSegment { + from: id, + edge: Edge::UnionVariant(idx), + }, + name.clone(), + )); + _ = visit_type(cx, acc, variant_id)?; + acc.path.pop(); + } + name + } + TypeNode::Function { data, .. } => { + let name = gen_name(cx, acc, id, "fn"); + { + acc.path.push(( + PathSegment { + from: id, + edge: Edge::FunctionInput, + }, + name.clone(), + )); + _ = visit_type(cx, acc, data.input)?; + acc.path.pop(); + } + { + acc.path.push(( + PathSegment { + from: id, + edge: Edge::FunctionOutput, + }, + name.clone(), + )); + _ = visit_type(cx, acc, data.output)?; + acc.path.pop(); + } + name + } + TypeNode::Boolean { .. } => gen_name(cx, acc, id, "boolean"), + TypeNode::Float { .. } => gen_name(cx, acc, id, "float"), + TypeNode::Integer { base, .. } => { + let base_name = if base.enumeration.as_ref().map(|vec| !vec.is_empty()) == Some(true) { + "integer_enum" + } else { + "integer" + }; + gen_name(cx, acc, id, base_name) + } + TypeNode::String { data, base } => { + let base_name = if let Some(format) = &data.format { + match format { + StringFormat::Uuid => "string_uuid", + StringFormat::Email => "string_email", + StringFormat::Uri => "string_uri", + StringFormat::Json => "string_json", + StringFormat::Hostname => "string_hostname", + StringFormat::Ean => "string_ean", + StringFormat::Date => "string_date", + StringFormat::DateTime => "string_datetime", + StringFormat::Phone => "string_phone", + } + } else if base.enumeration.as_ref().map(|vec| !vec.is_empty()) == Some(true) { + "string_enum" + } else { + "string" + }; + gen_name(cx, acc, id, base_name) + } + TypeNode::File { .. } => gen_name(cx, acc, id, "file"), + TypeNode::Any { .. } => gen_name(cx, acc, id, "any"), + }; + + acc.named_types.insert(id, name.clone()); + Ok(name) +} + +fn gen_name<'a: 'b, 'b>( + cx: &'a VisitContext, + acc: &mut VisitCollector<'b>, + id: u32, + ty_name: &str, +) -> Rc { + let name: Rc = if cx.user_named.contains(&id) { + let node = &cx.tg.types[id as usize]; + node.base().title.clone().into() + } else { + let title; + let mut last = acc.path.len(); + loop { + last -= 1; + let (last_segment, last_name) = &acc.path[last]; + title = match last_segment.edge { + // we don't include optional and list nodes in + // generated names (useless but also, they might be placeholders) + Edge::OptionalItem | Edge::ArrayItem => continue, + Edge::FunctionInput => format!("{last_name}_input"), + Edge::FunctionOutput => format!("{last_name}_output"), + Edge::ObjectProp(key) => format!("{last_name}_{key}_{ty_name}"), + Edge::EitherVariant(idx) | Edge::UnionVariant(idx) => { + format!("{last_name}_t{idx}_{ty_name}") + } + }; + break; + } + title.into() + }; + name +} + +/* struct NameRenderer { + tg: &'a Typegraph, + user_named: HashSet, + named_types: HashMap>, + path: Vec<(PathSegment<'b>, Rc)>, +} + +impl metagen::shared::types::RenderType for NameRenderer { + fn render( + &self, + renderer: &mut metagen::shared::types::TypeRenderer, + visit_cursor: &mut metagen::shared::types::VisitCursor, + ) -> color_eyre::eyre::Result { + } +} */ diff --git a/tests/dedup/dedup_test.ts b/tests/dedup/dedup_test.ts new file mode 100644 index 0000000000..e0a8f1c597 --- /dev/null +++ b/tests/dedup/dedup_test.ts @@ -0,0 +1,31 @@ +import { Meta } from "test-utils/mod.ts"; +import { Typegraph } from "@metatype/typegate/typegraph/types.ts"; +import { assert, assertEquals } from "@std/assert"; + +Meta.test({ + name: "dedup test", +}, async (_t) => { + const { stdout } = await Meta.cli( + "serialize", + "--pretty", + "-f", + "dedup/tg.ts", + ); + const tg: Typegraph[] = JSON.parse(stdout); + console.log(tg); + const ints = []; + const strs = []; + for (const ty of tg[0].types) { + if (ty.type == "integer") { + ints.push(ty); + } + if (ty.type == "string") { + strs.push(ty); + } + } + assertEquals(ints.length, 2); + assert(ints.some((ty) => ty.title == "namedInt")); + assertEquals(strs.length, 4); + assert(strs.some((ty) => ty.format == "uuid")); + assertEquals(strs.filter((ty) => ty.format == "date-time").length, 2); +}); diff --git a/tests/dedup/tg.ts b/tests/dedup/tg.ts new file mode 100644 index 0000000000..19aaa2eec6 --- /dev/null +++ b/tests/dedup/tg.ts @@ -0,0 +1,33 @@ +// Copyright Metatype OÜ, licensed under the Elastic License 2.0. +// SPDX-License-Identifier: Elastic-2.0 + +import { Policy, t, typegraph } from "@typegraph/sdk/index.ts"; +import { RandomRuntime } from "@typegraph/sdk/runtimes/random.ts"; + +export const tg = await typegraph("dedup", (g: any) => { + const rand = new RandomRuntime({}); + + const obj1 = t.struct({ + int1: t.integer(), + namedInt: t.integer().rename("namedInt"), + str1: t.string(), + uuid1: t.uuid(), + date1: t.datetime(), + dateInj1: t.datetime().inject("now"), + // TODO: composite dedup + }); + + const obj2 = t.struct({ + int2: t.integer(), + int3: t.integer(), + str2: t.string(), + uuid2: t.uuid(), + date2: t.datetime(), + dateInj2: t.datetime().inject("now"), + }); + + g.expose({ + test: rand.gen(obj1), + test2: rand.gen(obj2), + }, Policy.public()); +}); diff --git a/tests/e2e/typegraph/__snapshots__/typegraph_test.ts.snap b/tests/e2e/typegraph/__snapshots__/typegraph_test.ts.snap index 114ba7b49c..602d463334 100644 --- a/tests/e2e/typegraph/__snapshots__/typegraph_test.ts.snap +++ b/tests/e2e/typegraph/__snapshots__/typegraph_test.ts.snap @@ -20,7 +20,7 @@ snapshot[`typegraphs creation 1`] = ` }, { "type": "function", - "title": "func_21", + "title": "root_test_fn", "runtime": 0, "policies": [ 0 @@ -55,7 +55,7 @@ snapshot[`typegraphs creation 1`] = ` }, { "type": "string", - "title": "string_5", + "title": "ComplexType_a_string_string", "runtime": 0, "policies": [], "config": {}, @@ -63,7 +63,7 @@ snapshot[`typegraphs creation 1`] = ` }, { "type": "float", - "title": "float_6", + "title": "ComplexType_a_float_float", "runtime": 0, "policies": [], "config": {}, @@ -73,7 +73,7 @@ snapshot[`typegraphs creation 1`] = ` }, { "type": "string", - "title": "string_7", + "title": "ComplexType_an_enum_string_enum", "runtime": 0, "policies": [], "enum": [ @@ -85,7 +85,7 @@ snapshot[`typegraphs creation 1`] = ` }, { "type": "integer", - "title": "integer_8", + "title": "ComplexType_an_integer_enum_integer_enum", "runtime": 0, "policies": [], "enum": [ @@ -99,7 +99,7 @@ snapshot[`typegraphs creation 1`] = ` }, { "type": "float", - "title": "float_9", + "title": "ComplexType_a_float_enum_float", "runtime": 0, "policies": [], "enum": [ @@ -111,7 +111,7 @@ snapshot[`typegraphs creation 1`] = ` }, { "type": "object", - "title": "object_11", + "title": "ComplexType_a_struct_struct", "runtime": 0, "policies": [], "config": {}, @@ -123,7 +123,7 @@ snapshot[`typegraphs creation 1`] = ` }, { "type": "float", - "title": "float_10", + "title": "ComplexType_a_struct_struct_value_float", "runtime": 0, "policies": [], "config": {}, @@ -131,7 +131,7 @@ snapshot[`typegraphs creation 1`] = ` }, { "type": "optional", - "title": "optional_16", + "title": "ComplexType_nested_ComplexType_nested_ComplexType_nested_either_list_optional", "runtime": 0, "policies": [], "config": {}, @@ -141,7 +141,7 @@ snapshot[`typegraphs creation 1`] = ` }, { "type": "list", - "title": "list_15", + "title": "ComplexType_nested_ComplexType_nested_either_list", "runtime": 0, "policies": [], "config": {}, @@ -150,7 +150,7 @@ snapshot[`typegraphs creation 1`] = ` }, { "type": "either", - "title": "either_14", + "title": "ComplexType_nested_either", "runtime": 0, "policies": [], "config": {}, @@ -162,7 +162,7 @@ snapshot[`typegraphs creation 1`] = ` }, { "type": "integer", - "title": "integer_13", + "title": "ComplexType_nested_either_t1_integer", "runtime": 0, "policies": [], "config": {}, @@ -193,7 +193,7 @@ snapshot[`typegraphs creation 1`] = ` }, { "type": "optional", - "title": "_3_SomeType?", + "title": "SomeType_two_SomeType_optional", "runtime": 0, "policies": [], "config": {}, @@ -203,7 +203,7 @@ snapshot[`typegraphs creation 1`] = ` }, { "type": "string", - "title": "string_17", + "title": "ComplexType_an_email_string_email", "runtime": 0, "policies": [], "config": {}, @@ -212,7 +212,7 @@ snapshot[`typegraphs creation 1`] = ` }, { "type": "boolean", - "title": "boolean_19", + "title": "root_test_fn_output", "runtime": 0, "policies": [], "config": {}, @@ -339,7 +339,7 @@ snapshot[`typegraphs creation 2`] = ` }, { "type": "function", - "title": "func_5", + "title": "root_add_fn", "runtime": 1, "policies": [ 0 @@ -354,7 +354,7 @@ snapshot[`typegraphs creation 2`] = ` }, { "type": "object", - "title": "object_2", + "title": "root_add_fn_input", "runtime": 1, "policies": [], "config": {}, @@ -367,7 +367,7 @@ snapshot[`typegraphs creation 2`] = ` }, { "type": "float", - "title": "float_0", + "title": "root_add_fn_input_first_float", "runtime": 1, "policies": [], "config": {}, @@ -375,7 +375,7 @@ snapshot[`typegraphs creation 2`] = ` }, { "type": "function", - "title": "func_11", + "title": "root_multiply_fn", "runtime": 0, "policies": [ 0 @@ -496,7 +496,7 @@ snapshot[`typegraphs creation 3`] = ` }, { "type": "function", - "title": "func_11", + "title": "root_one_fn", "runtime": 0, "policies": [ 0 @@ -511,7 +511,7 @@ snapshot[`typegraphs creation 3`] = ` }, { "type": "object", - "title": "object_2", + "title": "root_one_fn_input", "runtime": 0, "policies": [], "config": {}, @@ -524,7 +524,7 @@ snapshot[`typegraphs creation 3`] = ` }, { "type": "integer", - "title": "integer_0", + "title": "root_one_fn_input_a_integer", "runtime": 0, "policies": [], "config": {}, @@ -532,7 +532,7 @@ snapshot[`typegraphs creation 3`] = ` }, { "type": "integer", - "title": "integer_1", + "title": "root_one_fn_input_b_integer", "runtime": 0, "policies": [], "config": {}, @@ -541,7 +541,7 @@ snapshot[`typegraphs creation 3`] = ` }, { "type": "integer", - "title": "integer_3", + "title": "root_one_fn_output", "runtime": 0, "policies": [], "config": {}, @@ -551,7 +551,7 @@ snapshot[`typegraphs creation 3`] = ` }, { "type": "function", - "title": "func_13", + "title": "root_two_fn", "runtime": 0, "policies": [ 1 @@ -579,7 +579,7 @@ snapshot[`typegraphs creation 3`] = ` }, { "type": "integer", - "title": "integer_4", + "title": "User_id_integer", "runtime": 0, "policies": [], "config": {}, @@ -600,7 +600,7 @@ snapshot[`typegraphs creation 3`] = ` }, { "type": "function", - "title": "func_15", + "title": "root_three_fn", "runtime": 0, "policies": [ 2 @@ -773,7 +773,7 @@ snapshot[`typegraphs creation 4`] = ` }, { "type": "function", - "title": "func_21", + "title": "root_test_fn", "runtime": 0, "policies": [ 0 @@ -808,7 +808,7 @@ snapshot[`typegraphs creation 4`] = ` }, { "type": "string", - "title": "string_5", + "title": "ComplexType_a_string_string", "runtime": 0, "policies": [], "config": {}, @@ -816,7 +816,7 @@ snapshot[`typegraphs creation 4`] = ` }, { "type": "float", - "title": "float_6", + "title": "ComplexType_a_float_float", "runtime": 0, "policies": [], "config": {}, @@ -826,7 +826,7 @@ snapshot[`typegraphs creation 4`] = ` }, { "type": "string", - "title": "string_7", + "title": "ComplexType_an_enum_string_enum", "runtime": 0, "policies": [], "enum": [ @@ -838,7 +838,7 @@ snapshot[`typegraphs creation 4`] = ` }, { "type": "integer", - "title": "integer_8", + "title": "ComplexType_an_integer_enum_integer_enum", "runtime": 0, "policies": [], "enum": [ @@ -852,7 +852,7 @@ snapshot[`typegraphs creation 4`] = ` }, { "type": "float", - "title": "float_9", + "title": "ComplexType_a_float_enum_float", "runtime": 0, "policies": [], "enum": [ @@ -864,7 +864,7 @@ snapshot[`typegraphs creation 4`] = ` }, { "type": "object", - "title": "object_11", + "title": "ComplexType_a_struct_struct", "runtime": 0, "policies": [], "config": {}, @@ -876,7 +876,7 @@ snapshot[`typegraphs creation 4`] = ` }, { "type": "float", - "title": "float_10", + "title": "ComplexType_a_struct_struct_value_float", "runtime": 0, "policies": [], "config": {}, @@ -884,7 +884,7 @@ snapshot[`typegraphs creation 4`] = ` }, { "type": "optional", - "title": "optional_16", + "title": "ComplexType_nested_ComplexType_nested_ComplexType_nested_either_list_optional", "runtime": 0, "policies": [], "config": {}, @@ -894,7 +894,7 @@ snapshot[`typegraphs creation 4`] = ` }, { "type": "list", - "title": "list_15", + "title": "ComplexType_nested_ComplexType_nested_either_list", "runtime": 0, "policies": [], "config": {}, @@ -903,7 +903,7 @@ snapshot[`typegraphs creation 4`] = ` }, { "type": "either", - "title": "either_14", + "title": "ComplexType_nested_either", "runtime": 0, "policies": [], "config": {}, @@ -915,7 +915,7 @@ snapshot[`typegraphs creation 4`] = ` }, { "type": "integer", - "title": "integer_13", + "title": "ComplexType_nested_either_t1_integer", "runtime": 0, "policies": [], "config": {}, @@ -946,7 +946,7 @@ snapshot[`typegraphs creation 4`] = ` }, { "type": "optional", - "title": "_3_SomeType?", + "title": "SomeType_two_SomeType_optional", "runtime": 0, "policies": [], "config": {}, @@ -956,7 +956,7 @@ snapshot[`typegraphs creation 4`] = ` }, { "type": "string", - "title": "string_17", + "title": "ComplexType_an_email_string_email", "runtime": 0, "policies": [], "config": {}, @@ -965,7 +965,7 @@ snapshot[`typegraphs creation 4`] = ` }, { "type": "boolean", - "title": "boolean_19", + "title": "root_test_fn_output", "runtime": 0, "policies": [], "config": {}, @@ -1092,7 +1092,7 @@ snapshot[`typegraphs creation 5`] = ` }, { "type": "function", - "title": "func_5", + "title": "root_add_fn", "runtime": 1, "policies": [ 0 @@ -1107,7 +1107,7 @@ snapshot[`typegraphs creation 5`] = ` }, { "type": "object", - "title": "object_2", + "title": "root_add_fn_input", "runtime": 1, "policies": [], "config": {}, @@ -1120,7 +1120,7 @@ snapshot[`typegraphs creation 5`] = ` }, { "type": "float", - "title": "float_0", + "title": "root_add_fn_input_first_float", "runtime": 1, "policies": [], "config": {}, @@ -1128,7 +1128,7 @@ snapshot[`typegraphs creation 5`] = ` }, { "type": "function", - "title": "func_11", + "title": "root_multiply_fn", "runtime": 0, "policies": [ 0 @@ -1249,7 +1249,7 @@ snapshot[`typegraphs creation 6`] = ` }, { "type": "function", - "title": "func_10", + "title": "root_one_fn", "runtime": 0, "policies": [ 0 @@ -1264,7 +1264,7 @@ snapshot[`typegraphs creation 6`] = ` }, { "type": "object", - "title": "object_2", + "title": "root_one_fn_input", "runtime": 0, "policies": [], "config": {}, @@ -1277,7 +1277,7 @@ snapshot[`typegraphs creation 6`] = ` }, { "type": "integer", - "title": "integer_0", + "title": "root_one_fn_input_a_integer", "runtime": 0, "policies": [], "config": {}, @@ -1285,7 +1285,7 @@ snapshot[`typegraphs creation 6`] = ` }, { "type": "integer", - "title": "integer_1", + "title": "root_one_fn_input_b_integer", "runtime": 0, "policies": [], "config": {}, @@ -1294,7 +1294,7 @@ snapshot[`typegraphs creation 6`] = ` }, { "type": "integer", - "title": "integer_3", + "title": "root_one_fn_output", "runtime": 0, "policies": [], "config": {}, @@ -1304,7 +1304,7 @@ snapshot[`typegraphs creation 6`] = ` }, { "type": "function", - "title": "func_12", + "title": "root_two_fn", "runtime": 0, "policies": [ 1 @@ -1332,7 +1332,7 @@ snapshot[`typegraphs creation 6`] = ` }, { "type": "integer", - "title": "integer_4", + "title": "User_id_integer", "runtime": 0, "policies": [], "config": {}, @@ -1353,7 +1353,7 @@ snapshot[`typegraphs creation 6`] = ` }, { "type": "function", - "title": "func_14", + "title": "root_three_fn", "runtime": 0, "policies": [ 2 diff --git a/tests/introspection/__snapshots__/union_either_test.ts.snap b/tests/introspection/__snapshots__/union_either_test.ts.snap index 00bb8a91a8..74be550215 100644 --- a/tests/introspection/__snapshots__/union_either_test.ts.snap +++ b/tests/introspection/__snapshots__/union_either_test.ts.snap @@ -117,7 +117,7 @@ snapshot[`Basic introspection 1`] = ` { fields: null, kind: "UNION", - name: "union_8Out", + name: "Gunpla_ref_unionOut", possibleTypes: [ { kind: "OBJECT", @@ -156,7 +156,7 @@ snapshot[`Basic introspection 1`] = ` { fields: null, kind: "SCALAR", - name: "union_8In", + name: "Gunpla_ref_unionIn", possibleTypes: null, }, ], diff --git a/tests/metagen/__snapshots__/metagen_test.ts.snap b/tests/metagen/__snapshots__/metagen_test.ts.snap index f57662dd94..0cf6985762 100644 --- a/tests/metagen/__snapshots__/metagen_test.ts.snap +++ b/tests/metagen/__snapshots__/metagen_test.ts.snap @@ -83,11 +83,11 @@ class Struct: @dataclass -class Object7(Struct): +class RootOneFnInput(Struct): name: str -FORWARD_REFS["Object7"] = Object7 +FORWARD_REFS["RootOneFnInput"] = RootOneFnInput @dataclass @@ -108,9 +108,9 @@ def __repr(value: Any): -def typed_three(user_fn: Callable[[Object7], Student]): +def typed_three(user_fn: Callable[[RootOneFnInput], Student]): def exported_wrapper(raw_inp): - inp: Object7 = Struct.new(Object7, raw_inp) + inp: RootOneFnInput = Struct.new(RootOneFnInput, raw_inp) out: Student = user_fn(inp) if isinstance(out, list): return [__repr(v) for v in out] @@ -128,11 +128,11 @@ def typed_three(user_fn: Callable[[Object7], Student]): # are supported. I.e. prefixed by \`.\` or \`..\` # - Make sure to include any module imports in the \`deps\` # array when using external modules with PythonRuntime -from .other_types import Object7, Student, typed_three +from .other_types import RootOneFnInput, Student, typed_three @typed_three -def three(inp: Object7) -> Student: +def three(inp: RootOneFnInput) -> Student: # TODO: write your logic here raise Exception("three not implemented") @@ -221,11 +221,11 @@ class Struct: @dataclass -class Object7(Struct): +class RootOneFnInput(Struct): name: str -FORWARD_REFS["Object7"] = Object7 +FORWARD_REFS["RootOneFnInput"] = RootOneFnInput @dataclass @@ -246,8 +246,8 @@ class TwoInput(Struct): FORWARD_REFS["TwoInput"] = TwoInput -Type8Student = List["Student"] -TypeString6 = str +TypeRootOneFnOutput = List["Student"] +TypeRootOneFnInputNameString = str def __repr(value: Any): if isinstance(value, Struct): @@ -256,10 +256,10 @@ def __repr(value: Any): -def typed_fnOne(user_fn: Callable[[Object7], Type8Student]): +def typed_fnOne(user_fn: Callable[[RootOneFnInput], TypeRootOneFnOutput]): def exported_wrapper(raw_inp): - inp: Object7 = Struct.new(Object7, raw_inp) - out: Type8Student = user_fn(inp) + inp: RootOneFnInput = Struct.new(RootOneFnInput, raw_inp) + out: TypeRootOneFnOutput = user_fn(inp) if isinstance(out, list): return [__repr(v) for v in out] return __repr(out) @@ -267,10 +267,10 @@ def typed_fnOne(user_fn: Callable[[Object7], Type8Student]): return exported_wrapper -def typed_fnTwo(user_fn: Callable[[TwoInput], TypeString6]): +def typed_fnTwo(user_fn: Callable[[TwoInput], TypeRootOneFnInputNameString]): def exported_wrapper(raw_inp): inp: TwoInput = Struct.new(TwoInput, raw_inp) - out: TypeString6 = user_fn(inp) + out: TypeRootOneFnInputNameString = user_fn(inp) if isinstance(out, list): return [__repr(v) for v in out] return __repr(out) @@ -287,16 +287,16 @@ def typed_fnTwo(user_fn: Callable[[TwoInput], TypeString6]): # are supported. I.e. prefixed by \`.\` or \`..\` # - Make sure to include any module imports in the \`deps\` # array when using external modules with PythonRuntime -from .same_hit_types import Object7, TwoInput, Type8Student, TypeString6, typed_fnOne, typed_fnTwo +from .same_hit_types import RootOneFnInput, TwoInput, TypeRootOneFnInputNameString, TypeRootOneFnOutput, typed_fnOne, typed_fnTwo @typed_fnOne -def fnOne(inp: Object7) -> Type8Student: +def fnOne(inp: RootOneFnInput) -> TypeRootOneFnOutput: # TODO: write your logic here raise Exception("fnOne not implemented") @typed_fnTwo -def fnTwo(inp: TwoInput) -> TypeString6: +def fnTwo(inp: TwoInput) -> TypeRootOneFnInputNameString: # TODO: write your logic here raise Exception("fnTwo not implemented") @@ -548,32 +548,34 @@ macro_rules! init_mat { // gen-static-end use types::*; pub mod types { + pub type RootOneFnInputNameString = String; #[derive(Debug, serde::Serialize, serde::Deserialize)] - pub struct Object7 { - pub name: String, + pub struct RootOneFnInput { + pub name: RootOneFnInputNameString, } - pub type Student3 = Vec; - pub type Student43 = Option; + pub type StudentIdInteger = i64; + pub type StudentNameString = String; + pub type StudentPeersPlaceholderOptional = Option; #[derive(Debug, serde::Serialize, serde::Deserialize)] pub struct Student { - pub id: i64, - pub name: String, - pub peers: Student43, + pub id: StudentIdInteger, + pub name: StudentNameString, + pub peers: StudentPeersPlaceholderOptional, } - pub type Student8 = Vec; + pub type RootOneFnOutput = Vec; #[derive(Debug, serde::Serialize, serde::Deserialize)] pub struct TwoInput { - pub name: String, + pub name: StudentNameString, } } pub mod stubs { use super::*; - pub trait Func18: Sized + 'static { + pub trait RootOneFn: Sized + 'static { fn erased(self) -> ErasedHandler { ErasedHandler { - mat_id: "func_18".into(), - mat_title: "func_18".into(), - mat_trait: "Func18".into(), + mat_id: "root_one_fn".into(), + mat_title: "root_one_fn".into(), + mat_trait: "RootOneFn".into(), handler_fn: Box::new(move |req, cx| { let req = serde_json::from_str(req) .map_err(|err| HandleErr::InJsonErr(format!("{err}")))?; @@ -586,14 +588,14 @@ pub mod stubs { } } - fn handle(&self, input: Object7, cx: Ctx) -> anyhow::Result; + fn handle(&self, input: RootOneFnInput, cx: Ctx) -> anyhow::Result; } - pub trait Func19: Sized + 'static { + pub trait RootTwoFn: Sized + 'static { fn erased(self) -> ErasedHandler { ErasedHandler { - mat_id: "func_19".into(), - mat_title: "func_19".into(), - mat_trait: "Func19".into(), + mat_id: "root_two_fn".into(), + mat_title: "root_two_fn".into(), + mat_trait: "RootTwoFn".into(), handler_fn: Box::new(move |req, cx| { let req = serde_json::from_str(req) .map_err(|err| HandleErr::InJsonErr(format!("{err}")))?; @@ -606,14 +608,14 @@ pub mod stubs { } } - fn handle(&self, input: TwoInput, cx: Ctx) -> anyhow::Result; + fn handle(&self, input: TwoInput, cx: Ctx) -> anyhow::Result; } - pub trait Func20: Sized + 'static { + pub trait RootThreeFn: Sized + 'static { fn erased(self) -> ErasedHandler { ErasedHandler { - mat_id: "func_20".into(), - mat_title: "func_20".into(), - mat_trait: "Func20".into(), + mat_id: "root_three_fn".into(), + mat_title: "root_three_fn".into(), + mat_trait: "RootThreeFn".into(), handler_fn: Box::new(move |req, cx| { let req = serde_json::from_str(req) .map_err(|err| HandleErr::InJsonErr(format!("{err}")))?; @@ -626,7 +628,7 @@ pub mod stubs { } } - fn handle(&self, input: Object7, cx: Ctx) -> anyhow::Result; + fn handle(&self, input: RootOneFnInput, cx: Ctx) -> anyhow::Result; } pub fn op_to_trait_name(op_name: &str) -> &'static str { match op_name { @@ -702,25 +704,27 @@ export type Handler = ( tg: Deployment, ) => Out | Promise; -export type Object7 = { - name: string; +export type RootOneFnInputNameString = string; +export type RootOneFnInput = { + name: RootOneFnInputNameString; }; -export type Student3 = Array; -export type Student43 = Student3 | null | undefined; +export type StudentIdInteger = number; +export type StudentNameString = string; +export type StudentPeersPlaceholderOptional = RootOneFnOutput | null | undefined; export type Student = { - id: number; - name: string; - peers?: Student43; + id: StudentIdInteger; + name: StudentNameString; + peers?: StudentPeersPlaceholderOptional; }; -export type Student8 = Array; +export type RootOneFnOutput = Array; export type TwoInput = { - name: string; + name: StudentNameString; }; -export type Func18Handler = Handler; -export type Func19Handler = Handler; -export type Func20Handler = Handler; +export type RootOneFnHandler = Handler; +export type RootTwoFnHandler = Handler; +export type RootThreeFnHandler = Handler; ', overwrite: true, path: "./workspace/some/base/path/ts/fdk.ts", @@ -875,11 +879,11 @@ class Struct: @dataclass -class Object7(Struct): +class RootOneFnInput(Struct): name: str -FORWARD_REFS["Object7"] = Object7 +FORWARD_REFS["RootOneFnInput"] = RootOneFnInput @dataclass @@ -900,9 +904,9 @@ def __repr(value: Any): -def typed_three(user_fn: Callable[[Object7], Student]): +def typed_three(user_fn: Callable[[RootOneFnInput], Student]): def exported_wrapper(raw_inp): - inp: Object7 = Struct.new(Object7, raw_inp) + inp: RootOneFnInput = Struct.new(RootOneFnInput, raw_inp) out: Student = user_fn(inp) if isinstance(out, list): return [__repr(v) for v in out] @@ -920,11 +924,11 @@ def typed_three(user_fn: Callable[[Object7], Student]): # are supported. I.e. prefixed by \`.\` or \`..\` # - Make sure to include any module imports in the \`deps\` # array when using external modules with PythonRuntime -from .other_types import Object7, Student, typed_three +from .other_types import RootOneFnInput, Student, typed_three @typed_three -def three(inp: Object7) -> Student: +def three(inp: RootOneFnInput) -> Student: # TODO: write your logic here raise Exception("three not implemented") @@ -1013,11 +1017,11 @@ class Struct: @dataclass -class Object7(Struct): +class RootOneFnInput(Struct): name: str -FORWARD_REFS["Object7"] = Object7 +FORWARD_REFS["RootOneFnInput"] = RootOneFnInput @dataclass @@ -1038,8 +1042,8 @@ class TwoInput(Struct): FORWARD_REFS["TwoInput"] = TwoInput -Type8Student = List["Student"] -TypeString6 = str +TypeRootOneFnOutput = List["Student"] +TypeRootOneFnInputNameString = str def __repr(value: Any): if isinstance(value, Struct): @@ -1048,10 +1052,10 @@ def __repr(value: Any): -def typed_fnOne(user_fn: Callable[[Object7], Type8Student]): +def typed_fnOne(user_fn: Callable[[RootOneFnInput], TypeRootOneFnOutput]): def exported_wrapper(raw_inp): - inp: Object7 = Struct.new(Object7, raw_inp) - out: Type8Student = user_fn(inp) + inp: RootOneFnInput = Struct.new(RootOneFnInput, raw_inp) + out: TypeRootOneFnOutput = user_fn(inp) if isinstance(out, list): return [__repr(v) for v in out] return __repr(out) @@ -1059,10 +1063,10 @@ def typed_fnOne(user_fn: Callable[[Object7], Type8Student]): return exported_wrapper -def typed_fnTwo(user_fn: Callable[[TwoInput], TypeString6]): +def typed_fnTwo(user_fn: Callable[[TwoInput], TypeRootOneFnInputNameString]): def exported_wrapper(raw_inp): inp: TwoInput = Struct.new(TwoInput, raw_inp) - out: TypeString6 = user_fn(inp) + out: TypeRootOneFnInputNameString = user_fn(inp) if isinstance(out, list): return [__repr(v) for v in out] return __repr(out) @@ -1079,16 +1083,16 @@ def typed_fnTwo(user_fn: Callable[[TwoInput], TypeString6]): # are supported. I.e. prefixed by \`.\` or \`..\` # - Make sure to include any module imports in the \`deps\` # array when using external modules with PythonRuntime -from .same_hit_types import Object7, TwoInput, Type8Student, TypeString6, typed_fnOne, typed_fnTwo +from .same_hit_types import RootOneFnInput, TwoInput, TypeRootOneFnInputNameString, TypeRootOneFnOutput, typed_fnOne, typed_fnTwo @typed_fnOne -def fnOne(inp: Object7) -> Type8Student: +def fnOne(inp: RootOneFnInput) -> TypeRootOneFnOutput: # TODO: write your logic here raise Exception("fnOne not implemented") @typed_fnTwo -def fnTwo(inp: TwoInput) -> TypeString6: +def fnTwo(inp: TwoInput) -> TypeRootOneFnInputNameString: # TODO: write your logic here raise Exception("fnTwo not implemented") @@ -1340,32 +1344,34 @@ macro_rules! init_mat { // gen-static-end use types::*; pub mod types { + pub type RootOneFnInputNameString = String; #[derive(Debug, serde::Serialize, serde::Deserialize)] - pub struct Object7 { - pub name: String, + pub struct RootOneFnInput { + pub name: RootOneFnInputNameString, } - pub type Student3 = Vec; - pub type Student43 = Option; + pub type StudentIdInteger = i64; + pub type StudentNameString = String; + pub type StudentPeersPlaceholderOptional = Option; #[derive(Debug, serde::Serialize, serde::Deserialize)] pub struct Student { - pub id: i64, - pub name: String, - pub peers: Student43, + pub id: StudentIdInteger, + pub name: StudentNameString, + pub peers: StudentPeersPlaceholderOptional, } - pub type Student8 = Vec; + pub type RootOneFnOutput = Vec; #[derive(Debug, serde::Serialize, serde::Deserialize)] pub struct TwoInput { - pub name: String, + pub name: StudentNameString, } } pub mod stubs { use super::*; - pub trait Func18: Sized + 'static { + pub trait RootOneFn: Sized + 'static { fn erased(self) -> ErasedHandler { ErasedHandler { - mat_id: "func_18".into(), - mat_title: "func_18".into(), - mat_trait: "Func18".into(), + mat_id: "root_one_fn".into(), + mat_title: "root_one_fn".into(), + mat_trait: "RootOneFn".into(), handler_fn: Box::new(move |req, cx| { let req = serde_json::from_str(req) .map_err(|err| HandleErr::InJsonErr(format!("{err}")))?; @@ -1378,14 +1384,14 @@ pub mod stubs { } } - fn handle(&self, input: Object7, cx: Ctx) -> anyhow::Result; + fn handle(&self, input: RootOneFnInput, cx: Ctx) -> anyhow::Result; } - pub trait Func19: Sized + 'static { + pub trait RootTwoFn: Sized + 'static { fn erased(self) -> ErasedHandler { ErasedHandler { - mat_id: "func_19".into(), - mat_title: "func_19".into(), - mat_trait: "Func19".into(), + mat_id: "root_two_fn".into(), + mat_title: "root_two_fn".into(), + mat_trait: "RootTwoFn".into(), handler_fn: Box::new(move |req, cx| { let req = serde_json::from_str(req) .map_err(|err| HandleErr::InJsonErr(format!("{err}")))?; @@ -1398,14 +1404,14 @@ pub mod stubs { } } - fn handle(&self, input: TwoInput, cx: Ctx) -> anyhow::Result; + fn handle(&self, input: TwoInput, cx: Ctx) -> anyhow::Result; } - pub trait Func20: Sized + 'static { + pub trait RootThreeFn: Sized + 'static { fn erased(self) -> ErasedHandler { ErasedHandler { - mat_id: "func_20".into(), - mat_title: "func_20".into(), - mat_trait: "Func20".into(), + mat_id: "root_three_fn".into(), + mat_title: "root_three_fn".into(), + mat_trait: "RootThreeFn".into(), handler_fn: Box::new(move |req, cx| { let req = serde_json::from_str(req) .map_err(|err| HandleErr::InJsonErr(format!("{err}")))?; @@ -1418,7 +1424,7 @@ pub mod stubs { } } - fn handle(&self, input: Object7, cx: Ctx) -> anyhow::Result; + fn handle(&self, input: RootOneFnInput, cx: Ctx) -> anyhow::Result; } pub fn op_to_trait_name(op_name: &str) -> &'static str { match op_name { @@ -1494,25 +1500,27 @@ export type Handler = ( tg: Deployment, ) => Out | Promise; -export type Object7 = { - name: string; +export type RootOneFnInputNameString = string; +export type RootOneFnInput = { + name: RootOneFnInputNameString; }; -export type Student3 = Array; -export type Student43 = Student3 | null | undefined; +export type StudentIdInteger = number; +export type StudentNameString = string; +export type StudentPeersPlaceholderOptional = RootOneFnOutput | null | undefined; export type Student = { - id: number; - name: string; - peers?: Student43; + id: StudentIdInteger; + name: StudentNameString; + peers?: StudentPeersPlaceholderOptional; }; -export type Student8 = Array; +export type RootOneFnOutput = Array; export type TwoInput = { - name: string; + name: StudentNameString; }; -export type Func18Handler = Handler; -export type Func19Handler = Handler; -export type Func20Handler = Handler; +export type RootOneFnHandler = Handler; +export type RootTwoFnHandler = Handler; +export type RootThreeFnHandler = Handler; ', overwrite: true, path: "./workspace/some/base/path/ts/fdk.ts", @@ -1667,11 +1675,11 @@ class Struct: @dataclass -class MyNamespaceObject7(Struct): +class MyNamespaceRootOneFnInput(Struct): name: str -FORWARD_REFS["Object7"] = Object7 +FORWARD_REFS["RootOneFnInput"] = RootOneFnInput @dataclass @@ -1692,9 +1700,9 @@ def __repr(value: Any): -def typed_three(user_fn: Callable[[Object7], Student]): +def typed_three(user_fn: Callable[[RootOneFnInput], Student]): def exported_wrapper(raw_inp): - inp: Object7 = Struct.new(Object7, raw_inp) + inp: RootOneFnInput = Struct.new(RootOneFnInput, raw_inp) out: Student = user_fn(inp) if isinstance(out, list): return [__repr(v) for v in out] @@ -1712,11 +1720,11 @@ def typed_three(user_fn: Callable[[Object7], Student]): # are supported. I.e. prefixed by \`.\` or \`..\` # - Make sure to include any module imports in the \`deps\` # array when using external modules with PythonRuntime -from .other_types import Object7, Student, typed_three +from .other_types import RootOneFnInput, Student, typed_three @typed_three -def three(inp: Object7) -> Student: +def three(inp: RootOneFnInput) -> Student: # TODO: write your logic here raise Exception("three not implemented") @@ -1805,11 +1813,11 @@ class Struct: @dataclass -class MyNamespaceObject7(Struct): +class MyNamespaceRootOneFnInput(Struct): name: str -FORWARD_REFS["Object7"] = Object7 +FORWARD_REFS["RootOneFnInput"] = RootOneFnInput @dataclass @@ -1830,8 +1838,8 @@ class MyNamespaceTwoInput(Struct): FORWARD_REFS["TwoInput"] = TwoInput -Type8Student = List["Student"] -TypeString6 = str +TypeRootOneFnOutput = List["Student"] +TypeRootOneFnInputNameString = str def __repr(value: Any): if isinstance(value, Struct): @@ -1840,10 +1848,10 @@ def __repr(value: Any): -def typed_fnOne(user_fn: Callable[[Object7], Type8Student]): +def typed_fnOne(user_fn: Callable[[RootOneFnInput], TypeRootOneFnOutput]): def exported_wrapper(raw_inp): - inp: Object7 = Struct.new(Object7, raw_inp) - out: Type8Student = user_fn(inp) + inp: RootOneFnInput = Struct.new(RootOneFnInput, raw_inp) + out: TypeRootOneFnOutput = user_fn(inp) if isinstance(out, list): return [__repr(v) for v in out] return __repr(out) @@ -1851,10 +1859,10 @@ def typed_fnOne(user_fn: Callable[[Object7], Type8Student]): return exported_wrapper -def typed_fnTwo(user_fn: Callable[[TwoInput], TypeString6]): +def typed_fnTwo(user_fn: Callable[[TwoInput], TypeRootOneFnInputNameString]): def exported_wrapper(raw_inp): inp: TwoInput = Struct.new(TwoInput, raw_inp) - out: TypeString6 = user_fn(inp) + out: TypeRootOneFnInputNameString = user_fn(inp) if isinstance(out, list): return [__repr(v) for v in out] return __repr(out) @@ -1871,16 +1879,16 @@ def typed_fnTwo(user_fn: Callable[[TwoInput], TypeString6]): # are supported. I.e. prefixed by \`.\` or \`..\` # - Make sure to include any module imports in the \`deps\` # array when using external modules with PythonRuntime -from .same_hit_types import Object7, TwoInput, Type8Student, TypeString6, typed_fnOne, typed_fnTwo +from .same_hit_types import RootOneFnInput, TwoInput, TypeRootOneFnInputNameString, TypeRootOneFnOutput, typed_fnOne, typed_fnTwo @typed_fnOne -def fnOne(inp: Object7) -> Type8Student: +def fnOne(inp: RootOneFnInput) -> TypeRootOneFnOutput: # TODO: write your logic here raise Exception("fnOne not implemented") @typed_fnTwo -def fnTwo(inp: TwoInput) -> TypeString6: +def fnTwo(inp: TwoInput) -> TypeRootOneFnInputNameString: # TODO: write your logic here raise Exception("fnTwo not implemented") @@ -1974,11 +1982,11 @@ class Struct: @dataclass -class MyNamespaceObject7(Struct): +class MyNamespaceRootOneFnInput(Struct): name: str -FORWARD_REFS["Object7"] = Object7 +FORWARD_REFS["RootOneFnInput"] = RootOneFnInput @dataclass @@ -1999,9 +2007,9 @@ def __repr(value: Any): -def typed_three(user_fn: Callable[[Object7], Student]): +def typed_three(user_fn: Callable[[RootOneFnInput], Student]): def exported_wrapper(raw_inp): - inp: Object7 = Struct.new(Object7, raw_inp) + inp: RootOneFnInput = Struct.new(RootOneFnInput, raw_inp) out: Student = user_fn(inp) if isinstance(out, list): return [__repr(v) for v in out] @@ -2019,11 +2027,11 @@ def typed_three(user_fn: Callable[[Object7], Student]): # are supported. I.e. prefixed by \`.\` or \`..\` # - Make sure to include any module imports in the \`deps\` # array when using external modules with PythonRuntime -from .other_types import Object7, Student, typed_three +from .other_types import RootOneFnInput, Student, typed_three @typed_three -def three(inp: Object7) -> Student: +def three(inp: RootOneFnInput) -> Student: # TODO: write your logic here raise Exception("three not implemented") @@ -2112,11 +2120,11 @@ class Struct: @dataclass -class MyNamespaceObject7(Struct): +class MyNamespaceRootOneFnInput(Struct): name: str -FORWARD_REFS["Object7"] = Object7 +FORWARD_REFS["RootOneFnInput"] = RootOneFnInput @dataclass @@ -2137,8 +2145,8 @@ class MyNamespaceTwoInput(Struct): FORWARD_REFS["TwoInput"] = TwoInput -Type8Student = List["Student"] -TypeString6 = str +TypeRootOneFnOutput = List["Student"] +TypeRootOneFnInputNameString = str def __repr(value: Any): if isinstance(value, Struct): @@ -2147,10 +2155,10 @@ def __repr(value: Any): -def typed_fnOne(user_fn: Callable[[Object7], Type8Student]): +def typed_fnOne(user_fn: Callable[[RootOneFnInput], TypeRootOneFnOutput]): def exported_wrapper(raw_inp): - inp: Object7 = Struct.new(Object7, raw_inp) - out: Type8Student = user_fn(inp) + inp: RootOneFnInput = Struct.new(RootOneFnInput, raw_inp) + out: TypeRootOneFnOutput = user_fn(inp) if isinstance(out, list): return [__repr(v) for v in out] return __repr(out) @@ -2158,10 +2166,10 @@ def typed_fnOne(user_fn: Callable[[Object7], Type8Student]): return exported_wrapper -def typed_fnTwo(user_fn: Callable[[TwoInput], TypeString6]): +def typed_fnTwo(user_fn: Callable[[TwoInput], TypeRootOneFnInputNameString]): def exported_wrapper(raw_inp): inp: TwoInput = Struct.new(TwoInput, raw_inp) - out: TypeString6 = user_fn(inp) + out: TypeRootOneFnInputNameString = user_fn(inp) if isinstance(out, list): return [__repr(v) for v in out] return __repr(out) @@ -2178,16 +2186,16 @@ def typed_fnTwo(user_fn: Callable[[TwoInput], TypeString6]): # are supported. I.e. prefixed by \`.\` or \`..\` # - Make sure to include any module imports in the \`deps\` # array when using external modules with PythonRuntime -from .same_hit_types import Object7, TwoInput, Type8Student, TypeString6, typed_fnOne, typed_fnTwo +from .same_hit_types import RootOneFnInput, TwoInput, TypeRootOneFnInputNameString, TypeRootOneFnOutput, typed_fnOne, typed_fnTwo @typed_fnOne -def fnOne(inp: Object7) -> Type8Student: +def fnOne(inp: RootOneFnInput) -> TypeRootOneFnOutput: # TODO: write your logic here raise Exception("fnOne not implemented") @typed_fnTwo -def fnTwo(inp: TwoInput) -> TypeString6: +def fnTwo(inp: TwoInput) -> TypeRootOneFnInputNameString: # TODO: write your logic here raise Exception("fnTwo not implemented") diff --git a/tests/metagen/typegraphs/identities/rs/fdk.rs b/tests/metagen/typegraphs/identities/rs/fdk.rs index 68d8af8120..c93e59df68 100644 --- a/tests/metagen/typegraphs/identities/rs/fdk.rs +++ b/tests/metagen/typegraphs/identities/rs/fdk.rs @@ -219,77 +219,82 @@ macro_rules! init_mat { // gen-static-end use types::*; pub mod types { - pub type String1 = String; - pub type StringUuid6 = String; - pub type StringEmail7 = String; - pub type StringEan8 = String; - pub type StringJson9 = String; - pub type StringUri10 = String; - pub type StringDate11 = String; - pub type StringDateTime12 = String; + pub type PrimitivesStrString = String; + pub type PrimitivesEnumStringEnum = String; + pub type PrimitivesUuidStringUuid = String; + pub type PrimitivesEmailStringEmail = String; + pub type PrimitivesEanStringEan = String; + pub type PrimitivesJsonStringJson = String; + pub type PrimitivesUriStringUri = String; + pub type PrimitivesDateStringDate = String; + pub type PrimitivesDatetimeStringDatetime = String; + pub type PrimitivesIntInteger = i64; + pub type PrimitivesFloatFloat = f64; + pub type PrimitivesBooleanBoolean = bool; #[derive(Debug, serde::Serialize, serde::Deserialize)] pub struct Primitives { - pub str: String, + pub str: PrimitivesStrString, #[serde(rename = "enum")] - pub r#enum: String1, - pub uuid: StringUuid6, - pub email: StringEmail7, - pub ean: StringEan8, - pub json: StringJson9, - pub uri: StringUri10, - pub date: StringDate11, - pub datetime: StringDateTime12, - pub int: i64, - pub float: f64, - pub boolean: bool, + pub r#enum: PrimitivesEnumStringEnum, + pub uuid: PrimitivesUuidStringUuid, + pub email: PrimitivesEmailStringEmail, + pub ean: PrimitivesEanStringEan, + pub json: PrimitivesJsonStringJson, + pub uri: PrimitivesUriStringUri, + pub date: PrimitivesDateStringDate, + pub datetime: PrimitivesDatetimeStringDatetime, + pub int: PrimitivesIntInteger, + pub float: PrimitivesFloatFloat, + pub boolean: PrimitivesBooleanBoolean, } #[derive(Debug, serde::Serialize, serde::Deserialize)] pub struct PrimitivesArgs { pub data: Primitives, } + pub type CompositesOptPrimitivesStrStringOptional = Option; #[derive(Debug, serde::Serialize, serde::Deserialize)] pub struct Branch2 { - pub branch2: String, + pub branch2: PrimitivesStrString, } #[derive(Debug, serde::Serialize, serde::Deserialize)] #[serde(untagged)] - pub enum Either19 { + pub enum CompositesEitherEither { Primitives(Primitives), Branch2(Branch2), } - pub type String20 = String; - pub type Branch4 = Vec; + pub type CompositesUnionUnionT0StringEnum = String; + pub type Branch4 = Vec; pub type Branch4again = String; #[derive(Debug, serde::Serialize, serde::Deserialize)] #[serde(untagged)] - pub enum Union27 { + pub enum CompositesUnionUnion { Branch4(Branch4), - I64(i64), - String(String), + PrimitivesIntInteger(PrimitivesIntInteger), + PrimitivesStrString(PrimitivesStrString), Branch4again(Branch4again), } + pub type CompositesListPrimitivesStrStringList = Vec; #[derive(Debug, serde::Serialize, serde::Deserialize)] pub struct Composites { - pub opt: Option, - pub either: Either19, - pub union: Union27, - pub list: Vec, + pub opt: CompositesOptPrimitivesStrStringOptional, + pub either: CompositesEitherEither, + pub union: CompositesUnionUnion, + pub list: CompositesListPrimitivesStrStringList, } #[derive(Debug, serde::Serialize, serde::Deserialize)] pub struct CompositesArgs { pub data: Composites, } - pub type Cycles148 = Option; + pub type Branch33ATo1Cycles1Optional = Option; #[derive(Debug, serde::Serialize, serde::Deserialize)] pub struct Branch33A { - pub phantom3a: Option, - pub to1: Cycles148, + pub phantom3a: CompositesOptPrimitivesStrStringOptional, + pub to1: Branch33ATo1Cycles1Optional, } - pub type Cycles254 = Option; #[derive(Debug, serde::Serialize, serde::Deserialize)] pub struct Branch33B { - pub phantom3b: Option, - pub to2: Cycles254, + pub phantom3b: CompositesOptPrimitivesStrStringOptional, + pub to2: Cycles1To2Cycles2Optional, } #[derive(Debug, serde::Serialize, serde::Deserialize)] #[serde(untagged)] @@ -300,39 +305,39 @@ pub mod types { #[derive(Debug, serde::Serialize, serde::Deserialize)] #[serde(untagged)] pub enum Cycles2 { - Cycles3(Box), + Cycles3(Cycles3), Cycles1(Cycles1), } - pub type Cycles235 = Option; - pub type Cycles337 = Vec; - pub type Cycles33837 = Option; + pub type Cycles1To2Cycles2Optional = Option>; + pub type Cycles1List3Cycles3List = Vec; + pub type Cycles1List3Cycles1List3Cycles3ListOptional = Option; #[derive(Debug, serde::Serialize, serde::Deserialize)] pub struct Cycles1 { - pub phantom1: Option, - pub to2: Box, - pub list3: Cycles33837, + pub phantom1: CompositesOptPrimitivesStrStringOptional, + pub to2: Box, + pub list3: Cycles1List3Cycles1List3Cycles3ListOptional, } #[derive(Debug, serde::Serialize, serde::Deserialize)] pub struct Cycles1Args { pub data: Cycles1, } - pub type SimpleCycles174 = Option; + pub type SimpleCycles3To1SimpleCycles1Optional = Option; #[derive(Debug, serde::Serialize, serde::Deserialize)] pub struct SimpleCycles3 { - pub phantom3: Option, - pub to1: SimpleCycles174, + pub phantom3: CompositesOptPrimitivesStrStringOptional, + pub to1: SimpleCycles3To1SimpleCycles1Optional, } - pub type SimpleCycles368 = Option; + pub type SimpleCycles2To3SimpleCycles3Optional = Option; #[derive(Debug, serde::Serialize, serde::Deserialize)] pub struct SimpleCycles2 { - pub phantom2: Option, - pub to3: SimpleCycles368, + pub phantom2: CompositesOptPrimitivesStrStringOptional, + pub to3: SimpleCycles2To3SimpleCycles3Optional, } - pub type SimpleCycles262 = Option; + pub type SimpleCycles1To2SimpleCycles2Optional = Option; #[derive(Debug, serde::Serialize, serde::Deserialize)] pub struct SimpleCycles1 { - pub phantom1: Option, - pub to2: Box, + pub phantom1: CompositesOptPrimitivesStrStringOptional, + pub to2: Box, } #[derive(Debug, serde::Serialize, serde::Deserialize)] pub struct SimpleCycles1Args { diff --git a/tests/metagen/typegraphs/identities/ts/fdk.ts b/tests/metagen/typegraphs/identities/ts/fdk.ts index b1baf8ae0b..80702013e2 100644 --- a/tests/metagen/typegraphs/identities/ts/fdk.ts +++ b/tests/metagen/typegraphs/identities/ts/fdk.ts @@ -33,63 +33,68 @@ export type Handler = ( tg: Deployment, ) => Out | Promise; -export type String1 = "wan" | "tew" | "tree"; -export type StringUuid6 = string; -export type StringEmail7 = string; -export type StringEan8 = string; -export type StringJson9 = string; -export type StringUri10 = string; -export type StringDate11 = string; -export type StringDateTime12 = string; +export type PrimitivesStrString = string; +export type PrimitivesEnumStringEnum = "wan" | "tew" | "tree"; +export type PrimitivesUuidStringUuid = string; +export type PrimitivesEmailStringEmail = string; +export type PrimitivesEanStringEan = string; +export type PrimitivesJsonStringJson = string; +export type PrimitivesUriStringUri = string; +export type PrimitivesDateStringDate = string; +export type PrimitivesDatetimeStringDatetime = string; +export type PrimitivesIntInteger = number; +export type PrimitivesFloatFloat = number; +export type PrimitivesBooleanBoolean = boolean; export type Primitives = { - str: string; - "enum": String1; - uuid: StringUuid6; - email: StringEmail7; - ean: StringEan8; - json: StringJson9; - uri: StringUri10; - date: StringDate11; - datetime: StringDateTime12; - int: number; - float: number; - "boolean": boolean; + str: PrimitivesStrString; + "enum": PrimitivesEnumStringEnum; + uuid: PrimitivesUuidStringUuid; + email: PrimitivesEmailStringEmail; + ean: PrimitivesEanStringEan; + json: PrimitivesJsonStringJson; + uri: PrimitivesUriStringUri; + date: PrimitivesDateStringDate; + datetime: PrimitivesDatetimeStringDatetime; + int: PrimitivesIntInteger; + float: PrimitivesFloatFloat; + "boolean": PrimitivesBooleanBoolean; }; export type PrimitivesArgs = { data: Primitives; }; +export type CompositesOptPrimitivesStrStringOptional = PrimitivesStrString | null | undefined; export type Branch2 = { - branch2: string; + branch2: PrimitivesStrString; }; -export type Either19 = +export type CompositesEitherEither = | (Primitives) | (Branch2); -export type String20 = "grey" | "beige"; -export type Branch4 = Array; +export type CompositesUnionUnionT0StringEnum = "grey" | "beige"; +export type Branch4 = Array; export type Branch4again = string; -export type Union27 = +export type CompositesUnionUnion = | (Branch4) - | (number) - | (string) + | (PrimitivesIntInteger) + | (PrimitivesStrString) | (Branch4again); +export type CompositesListPrimitivesStrStringList = Array; export type Composites = { - opt?: (string) | null | undefined; - either: Either19; - union: Union27; - list: Array; + opt?: CompositesOptPrimitivesStrStringOptional; + either: CompositesEitherEither; + union: CompositesUnionUnion; + list: CompositesListPrimitivesStrStringList; }; export type CompositesArgs = { data: Composites; }; -export type Cycles148 = Cycles1 | null | undefined; +export type Branch33ATo1Cycles1Optional = Cycles1 | null | undefined; export type Branch33A = { - phantom3a?: (string) | null | undefined; - to1?: Cycles148; + phantom3a?: CompositesOptPrimitivesStrStringOptional; + to1?: Branch33ATo1Cycles1Optional; }; -export type Cycles254 = Cycles2 | null | undefined; export type Branch33B = { - phantom3b?: (string) | null | undefined; - to2?: Cycles254; + phantom3b?: CompositesOptPrimitivesStrStringOptional; + to2?: Cycles1To2Cycles2Optional; }; export type Cycles3 = | (Branch33A) @@ -97,31 +102,31 @@ export type Cycles3 = export type Cycles2 = | (Cycles3) | (Cycles1); -export type Cycles235 = Cycles2 | null | undefined; -export type Cycles337 = Array; -export type Cycles33837 = Cycles337 | null | undefined; +export type Cycles1To2Cycles2Optional = Cycles2 | null | undefined; +export type Cycles1List3Cycles3List = Array; +export type Cycles1List3Cycles1List3Cycles3ListOptional = Cycles1List3Cycles3List | null | undefined; export type Cycles1 = { - phantom1?: (string) | null | undefined; - to2?: Cycles235; - list3?: Cycles33837; + phantom1?: CompositesOptPrimitivesStrStringOptional; + to2?: Cycles1To2Cycles2Optional; + list3?: Cycles1List3Cycles1List3Cycles3ListOptional; }; export type Cycles1Args = { data: Cycles1; }; -export type SimpleCycles174 = SimpleCycles1 | null | undefined; +export type SimpleCycles3To1SimpleCycles1Optional = SimpleCycles1 | null | undefined; export type SimpleCycles3 = { - phantom3?: (string) | null | undefined; - to1?: SimpleCycles174; + phantom3?: CompositesOptPrimitivesStrStringOptional; + to1?: SimpleCycles3To1SimpleCycles1Optional; }; -export type SimpleCycles368 = SimpleCycles3 | null | undefined; +export type SimpleCycles2To3SimpleCycles3Optional = SimpleCycles3 | null | undefined; export type SimpleCycles2 = { - phantom2?: (string) | null | undefined; - to3?: SimpleCycles368; + phantom2?: CompositesOptPrimitivesStrStringOptional; + to3?: SimpleCycles2To3SimpleCycles3Optional; }; -export type SimpleCycles262 = SimpleCycles2 | null | undefined; +export type SimpleCycles1To2SimpleCycles2Optional = SimpleCycles2 | null | undefined; export type SimpleCycles1 = { - phantom1?: (string) | null | undefined; - to2?: SimpleCycles262; + phantom1?: CompositesOptPrimitivesStrStringOptional; + to2?: SimpleCycles1To2SimpleCycles2Optional; }; export type SimpleCycles1Args = { data: SimpleCycles1; diff --git a/tests/metagen/typegraphs/sample/py/client.py b/tests/metagen/typegraphs/sample/py/client.py index a13a8d56bd..e5132afb47 100644 --- a/tests/metagen/typegraphs/sample/py/client.py +++ b/tests/metagen/typegraphs/sample/py/client.py @@ -521,17 +521,6 @@ class NodeDescs: def scalar(): return NodeMeta() - @staticmethod - def Func26(): - return NodeMeta( - sub_nodes=NodeDescs.scalar().sub_nodes, - arg_types={ - "id": "String4", - "slug": "String1", - "title": "String1", - }, - ) - @staticmethod def Post(): return NodeMeta( @@ -543,28 +532,39 @@ def Post(): ) @staticmethod - def Func27(): + def RootCompositeNoArgsFn(): return NodeMeta( sub_nodes=NodeDescs.Post().sub_nodes, ) @staticmethod - def Func28(): + def RootScalarArgsFn(): + return NodeMeta( + sub_nodes=NodeDescs.scalar().sub_nodes, + arg_types={ + "id": "UserIdStringUuid", + "slug": "PostSlugString", + "title": "PostSlugString", + }, + ) + + @staticmethod + def RootCompositeArgsFn(): return NodeMeta( sub_nodes=NodeDescs.Post().sub_nodes, arg_types={ - "id": "String13", + "id": "RootScalarNoArgsFnOutput", }, ) @staticmethod - def Func24(): + def RootGetPostsFn(): return NodeMeta( sub_nodes=NodeDescs.Post().sub_nodes, ) @staticmethod - def Func25(): + def RootScalarNoArgsFn(): return NodeMeta( sub_nodes=NodeDescs.scalar().sub_nodes, ) @@ -580,42 +580,46 @@ def User(): ) @staticmethod - def Func23(): + def RootGetUserFn(): return NodeMeta( sub_nodes=NodeDescs.User().sub_nodes, ) -StringUuid4 = str +UserIdStringUuid = str + +PostSlugString = str Post = typing.TypedDict( "Post", { - "id": StringUuid4, - "slug": str, - "title": str, + "id": UserIdStringUuid, + "slug": PostSlugString, + "title": PostSlugString, }, total=False, ) -Object21 = typing.TypedDict( - "Object21", +RootScalarNoArgsFnOutput = str + +RootCompositeArgsFnInput = typing.TypedDict( + "RootCompositeArgsFnInput", { - "id": str, + "id": RootScalarNoArgsFnOutput, }, total=False, ) -StringEmail5 = str +UserEmailStringEmail = str -Post7 = typing.List[Post] +UserPostsPostList = typing.List[Post] User = typing.TypedDict( "User", { - "id": StringUuid4, - "email": StringEmail5, - "posts": Post7, + "id": UserIdStringUuid, + "email": UserEmailStringEmail, + "posts": UserPostsPostList, }, total=False, ) @@ -648,35 +652,35 @@ class QueryGraph(QueryGraphBase): def __init__(self): super().__init__( { - "String4": "ID!", - "String1": "String!", - "String13": "String!", + "UserIdStringUuid": "ID!", + "PostSlugString": "String!", + "RootScalarNoArgsFnOutput": "String!", } ) def get_user(self, select: UserSelections) -> QueryNode[User]: node = selection_to_nodes( - {"getUser": select}, {"getUser": NodeDescs.Func23}, "$q" + {"getUser": select}, {"getUser": NodeDescs.RootGetUserFn}, "$q" )[0] return QueryNode(node.node_name, node.instance_name, node.args, node.sub_nodes) def get_posts(self, select: PostSelections) -> QueryNode[Post]: node = selection_to_nodes( - {"getPosts": select}, {"getPosts": NodeDescs.Func24}, "$q" + {"getPosts": select}, {"getPosts": NodeDescs.RootGetPostsFn}, "$q" )[0] return QueryNode(node.node_name, node.instance_name, node.args, node.sub_nodes) - def scalar_no_args(self) -> QueryNode[str]: + def scalar_no_args(self) -> QueryNode[RootScalarNoArgsFnOutput]: node = selection_to_nodes( - {"scalarNoArgs": True}, {"scalarNoArgs": NodeDescs.Func25}, "$q" + {"scalarNoArgs": True}, {"scalarNoArgs": NodeDescs.RootScalarNoArgsFn}, "$q" )[0] return QueryNode(node.node_name, node.instance_name, node.args, node.sub_nodes) def scalar_args( self, args: typing.Union[Post, PlaceholderArgs] - ) -> MutationNode[str]: + ) -> MutationNode[RootScalarNoArgsFnOutput]: node = selection_to_nodes( - {"scalarArgs": args}, {"scalarArgs": NodeDescs.Func26}, "$q" + {"scalarArgs": args}, {"scalarArgs": NodeDescs.RootScalarArgsFn}, "$q" )[0] return MutationNode( node.node_name, node.instance_name, node.args, node.sub_nodes @@ -684,17 +688,23 @@ def scalar_args( def composite_no_args(self, select: PostSelections) -> MutationNode[Post]: node = selection_to_nodes( - {"compositeNoArgs": select}, {"compositeNoArgs": NodeDescs.Func27}, "$q" + {"compositeNoArgs": select}, + {"compositeNoArgs": NodeDescs.RootCompositeNoArgsFn}, + "$q", )[0] return MutationNode( node.node_name, node.instance_name, node.args, node.sub_nodes ) def composite_args( - self, args: typing.Union[Object21, PlaceholderArgs], select: PostSelections + self, + args: typing.Union[RootCompositeArgsFnInput, PlaceholderArgs], + select: PostSelections, ) -> MutationNode[Post]: node = selection_to_nodes( - {"compositeArgs": (args, select)}, {"compositeArgs": NodeDescs.Func28}, "$q" + {"compositeArgs": (args, select)}, + {"compositeArgs": NodeDescs.RootCompositeArgsFn}, + "$q", )[0] return MutationNode( node.node_name, node.instance_name, node.args, node.sub_nodes diff --git a/tests/metagen/typegraphs/sample/rs/client.rs b/tests/metagen/typegraphs/sample/rs/client.rs index 85955c7493..93e00d2f5a 100644 --- a/tests/metagen/typegraphs/sample/rs/client.rs +++ b/tests/metagen/typegraphs/sample/rs/client.rs @@ -2152,72 +2152,74 @@ mod node_metas { ), } } - pub fn Func28() -> NodeMeta { + pub fn User() -> NodeMeta { NodeMeta { - arg_types: Some([("id".into(), "String13".into())].into()), - ..Post() + arg_types: None, + variants: None, + sub_nodes: Some( + [ + ("id".into(), scalar as NodeMetaFn), + ("email".into(), scalar as NodeMetaFn), + ("posts".into(), Post as NodeMetaFn), + ] + .into(), + ), } } - pub fn Func24() -> NodeMeta { - NodeMeta { ..Post() } + pub fn RootGetUserFn() -> NodeMeta { + NodeMeta { ..User() } } - pub fn Func27() -> NodeMeta { - NodeMeta { ..Post() } + pub fn RootScalarNoArgsFn() -> NodeMeta { + NodeMeta { ..scalar() } } - pub fn Func26() -> NodeMeta { + pub fn RootScalarArgsFn() -> NodeMeta { NodeMeta { arg_types: Some( [ - ("id".into(), "String4".into()), - ("slug".into(), "String1".into()), - ("title".into(), "String1".into()), + ("id".into(), "UserIdStringUuid".into()), + ("slug".into(), "PostSlugString".into()), + ("title".into(), "PostSlugString".into()), ] .into(), ), ..scalar() } } - pub fn Func25() -> NodeMeta { - NodeMeta { ..scalar() } + pub fn RootGetPostsFn() -> NodeMeta { + NodeMeta { ..Post() } } - pub fn User() -> NodeMeta { + pub fn RootCompositeNoArgsFn() -> NodeMeta { + NodeMeta { ..Post() } + } + pub fn RootCompositeArgsFn() -> NodeMeta { NodeMeta { - arg_types: None, - variants: None, - sub_nodes: Some( - [ - ("id".into(), scalar as NodeMetaFn), - ("email".into(), scalar as NodeMetaFn), - ("posts".into(), Post as NodeMetaFn), - ] - .into(), - ), + arg_types: Some([("id".into(), "RootScalarNoArgsFnOutput".into())].into()), + ..Post() } } - pub fn Func23() -> NodeMeta { - NodeMeta { ..User() } - } } use types::*; pub mod types { + pub type UserIdStringUuid = String; + pub type PostSlugString = String; #[derive(Debug, serde::Serialize, serde::Deserialize)] - pub struct Object21Partial { - pub id: Option, + pub struct PostPartial { + pub id: Option, + pub slug: Option, + pub title: Option, } - pub type StringUuid4 = String; + pub type RootScalarNoArgsFnOutput = String; #[derive(Debug, serde::Serialize, serde::Deserialize)] - pub struct PostPartial { - pub id: Option, - pub slug: Option, - pub title: Option, + pub struct RootCompositeArgsFnInputPartial { + pub id: Option, } - pub type StringEmail5 = String; - pub type Post7 = Vec; + pub type UserEmailStringEmail = String; + pub type UserPostsPostList = Vec; #[derive(Debug, serde::Serialize, serde::Deserialize)] pub struct UserPartial { - pub id: Option, - pub email: Option, - pub posts: Option, + pub id: Option, + pub email: Option, + pub posts: Option, } } #[derive(Default, Debug)] @@ -2241,9 +2243,9 @@ impl QueryGraph { addr, ty_to_gql_ty_map: std::sync::Arc::new( [ - ("String4".into(), "ID!".into()), - ("String1".into(), "String!".into()), - ("String13".into(), "String!".into()), + ("UserIdStringUuid".into(), "ID!".into()), + ("PostSlugString".into(), "String!".into()), + ("RootScalarNoArgsFnOutput".into(), "String!".into()), ] .into(), ), @@ -2255,7 +2257,7 @@ impl QueryGraph { ) -> UnselectedNode, QueryMarker, UserPartial> { UnselectedNode { root_name: "getUser".into(), - root_meta: node_metas::Func23, + root_meta: node_metas::RootGetUserFn, args: NodeArgsErased::None, _marker: PhantomData, } @@ -2265,21 +2267,28 @@ impl QueryGraph { ) -> UnselectedNode, QueryMarker, PostPartial> { UnselectedNode { root_name: "getPosts".into(), - root_meta: node_metas::Func24, + root_meta: node_metas::RootGetPostsFn, args: NodeArgsErased::None, _marker: PhantomData, } } - pub fn scalar_no_args(&self) -> QueryNode { + pub fn scalar_no_args(&self) -> QueryNode { let nodes = selection_to_node_set( SelectionErasedMap([("scalarNoArgs".into(), SelectionErased::Scalar)].into()), - &[("scalarNoArgs".into(), node_metas::Func25 as NodeMetaFn)].into(), + &[( + "scalarNoArgs".into(), + node_metas::RootScalarNoArgsFn as NodeMetaFn, + )] + .into(), "$q".into(), ) .unwrap(); QueryNode(nodes.into_iter().next().unwrap(), PhantomData) } - pub fn scalar_args(&self, args: impl Into>) -> MutationNode { + pub fn scalar_args( + &self, + args: impl Into>, + ) -> MutationNode { let nodes = selection_to_node_set( SelectionErasedMap( [( @@ -2288,7 +2297,11 @@ impl QueryGraph { )] .into(), ), - &[("scalarArgs".into(), node_metas::Func26 as NodeMetaFn)].into(), + &[( + "scalarArgs".into(), + node_metas::RootScalarArgsFn as NodeMetaFn, + )] + .into(), "$q".into(), ) .unwrap(); @@ -2299,18 +2312,18 @@ impl QueryGraph { ) -> UnselectedNode, MutationMarker, PostPartial> { UnselectedNode { root_name: "compositeNoArgs".into(), - root_meta: node_metas::Func27, + root_meta: node_metas::RootCompositeNoArgsFn, args: NodeArgsErased::None, _marker: PhantomData, } } pub fn composite_args( &self, - args: impl Into>, + args: impl Into>, ) -> UnselectedNode, MutationMarker, PostPartial> { UnselectedNode { root_name: "compositeArgs".into(), - root_meta: node_metas::Func28, + root_meta: node_metas::RootCompositeArgsFn, args: args.into().into(), _marker: PhantomData, } diff --git a/tests/metagen/typegraphs/sample/rs/main.rs b/tests/metagen/typegraphs/sample/rs/main.rs index cfeebf4c22..dbd988eeb1 100644 --- a/tests/metagen/typegraphs/sample/rs/main.rs +++ b/tests/metagen/typegraphs/sample/rs/main.rs @@ -1,6 +1,9 @@ -// Copyright Metatype OÜ, licensed under the Elastic License 2.0. -// SPDX-License-Identifier: Elastic-2.0 +#![deny(clippy::all)] +// Copyright Metatype OÜ, licensed under the Mozilla Public License Version 2.0. +// SPDX-License-Identifier: MPL-2.0 + +#[rustfmt::skip] pub mod client; use client::*; @@ -33,9 +36,9 @@ fn main() -> Result<(), BoxErr> { Ok(( api1.scalar_args(args.get("post", |val: types::PostPartial| val)), api1.composite_no_args().select(all())?, - api1.composite_args( - args.get("id", |id: String| types::Object21Partial { id: Some(id) }), - ) + api1.composite_args(args.get("id", |id: String| { + types::RootCompositeArgsFnInputPartial { id: Some(id) } + })) .select(all())?, )) })?; @@ -94,7 +97,7 @@ fn main() -> Result<(), BoxErr> { title: Some("".into()), }), api1.composite_no_args().select(all())?, - api1.composite_args(types::Object21Partial { + api1.composite_args(types::RootCompositeArgsFnInputPartial { id: Some("94be5420-8c4a-4e67-b4f4-e1b2b54832a2".into()), }) .select(all())?, diff --git a/tests/metagen/typegraphs/sample/ts/client.ts b/tests/metagen/typegraphs/sample/ts/client.ts index ead8e27c08..debe7f362e 100644 --- a/tests/metagen/typegraphs/sample/ts/client.ts +++ b/tests/metagen/typegraphs/sample/ts/client.ts @@ -656,69 +656,71 @@ const nodeMetas = { ], }; }, - User(): NodeMeta { + RootGetPostsFn(): NodeMeta { return { - subNodes: [ - ["id", nodeMetas.scalar], - ["email", nodeMetas.scalar], - ["posts", nodeMetas.Post], - ], + ...nodeMetas.Post(), }; }, - Func23(): NodeMeta { + RootScalarNoArgsFn(): NodeMeta { return { - ...nodeMetas.User(), + ...nodeMetas.scalar(), }; }, - Func27(): NodeMeta { + RootScalarArgsFn(): NodeMeta { return { - ...nodeMetas.Post(), + ...nodeMetas.scalar(), + argumentTypes: { + id: "UserIdStringUuid", + slug: "PostSlugString", + title: "PostSlugString", + }, }; }, - Func25(): NodeMeta { + RootCompositeNoArgsFn(): NodeMeta { return { - ...nodeMetas.scalar(), + ...nodeMetas.Post(), }; }, - Func28(): NodeMeta { + RootCompositeArgsFn(): NodeMeta { return { ...nodeMetas.Post(), argumentTypes: { - id: "String13", + id: "RootScalarNoArgsFnOutput", }, }; }, - Func26(): NodeMeta { + User(): NodeMeta { return { - ...nodeMetas.scalar(), - argumentTypes: { - id: "String4", - slug: "String1", - title: "String1", - }, + subNodes: [ + ["id", nodeMetas.scalar], + ["email", nodeMetas.scalar], + ["posts", nodeMetas.Post], + ], }; }, - Func24(): NodeMeta { + RootGetUserFn(): NodeMeta { return { - ...nodeMetas.Post(), + ...nodeMetas.User(), }; }, }; -export type StringUuid4 = string; +export type UserIdStringUuid = string; +export type PostSlugString = string; export type Post = { - id: StringUuid4; - slug: string; - title: string; + id: UserIdStringUuid; + slug: PostSlugString; + title: PostSlugString; }; -export type Object21 = { - id: string; +export type RootScalarNoArgsFnOutput = string; +export type RootCompositeArgsFnInput = { + id: RootScalarNoArgsFnOutput; }; -export type StringEmail5 = string; -export type Post7 = Array; +export type UserEmailStringEmail = string; +export type UserPostsPostList = Array; export type User = { - id: StringUuid4; - email: StringEmail5; - posts: Post7; + id: UserIdStringUuid; + email: UserEmailStringEmail; + posts: UserPostsPostList; }; export type PostSelections = { @@ -737,16 +739,16 @@ export type UserSelections = { export class QueryGraph extends _QueryGraphBase { constructor() { super({ - "String4": "ID!", - "String1": "String!", - "String13": "String!", + "UserIdStringUuid": "ID!", + "PostSlugString": "String!", + "RootScalarNoArgsFnOutput": "String!", }); } getUser(select: UserSelections) { const inner = _selectionToNodeSet( { "getUser": select }, - [["getUser", nodeMetas.Func23]], + [["getUser", nodeMetas.RootGetUserFn]], "$q", )[0]; return new QueryNode(inner) as QueryNode; @@ -754,7 +756,7 @@ export class QueryGraph extends _QueryGraphBase { getPosts(select: PostSelections) { const inner = _selectionToNodeSet( { "getPosts": select }, - [["getPosts", nodeMetas.Func24]], + [["getPosts", nodeMetas.RootGetPostsFn]], "$q", )[0]; return new QueryNode(inner) as QueryNode; @@ -762,31 +764,31 @@ export class QueryGraph extends _QueryGraphBase { scalarNoArgs() { const inner = _selectionToNodeSet( { "scalarNoArgs": true }, - [["scalarNoArgs", nodeMetas.Func25]], + [["scalarNoArgs", nodeMetas.RootScalarNoArgsFn]], "$q", )[0]; - return new QueryNode(inner) as QueryNode; + return new QueryNode(inner) as QueryNode; } scalarArgs(args: Post | PlaceholderArgs) { const inner = _selectionToNodeSet( { "scalarArgs": args }, - [["scalarArgs", nodeMetas.Func26]], + [["scalarArgs", nodeMetas.RootScalarArgsFn]], "$q", )[0]; - return new MutationNode(inner) as MutationNode; + return new MutationNode(inner) as MutationNode; } compositeNoArgs(select: PostSelections) { const inner = _selectionToNodeSet( { "compositeNoArgs": select }, - [["compositeNoArgs", nodeMetas.Func27]], + [["compositeNoArgs", nodeMetas.RootCompositeNoArgsFn]], "$q", )[0]; return new MutationNode(inner) as MutationNode; } - compositeArgs(args: Object21 | PlaceholderArgs, select: PostSelections) { + compositeArgs(args: RootCompositeArgsFnInput | PlaceholderArgs, select: PostSelections) { const inner = _selectionToNodeSet( { "compositeArgs": [args, select] }, - [["compositeArgs", nodeMetas.Func28]], + [["compositeArgs", nodeMetas.RootCompositeArgsFn]], "$q", )[0]; return new MutationNode(inner) as MutationNode; diff --git a/tests/planner/__snapshots__/planner_test.ts.snap b/tests/planner/__snapshots__/planner_test.ts.snap index 8f52cc428c..0da6071fe6 100644 --- a/tests/planner/__snapshots__/planner_test.ts.snap +++ b/tests/planner/__snapshots__/planner_test.ts.snap @@ -1,113 +1,5 @@ export const snapshot = {}; -snapshot[`planner 2`] = ` -{ - one: { - funcType: { - as_id: false, - config: {}, - input: 2, - materializer: 0, - output: 3, - policies: [ - 0, - ], - rate_calls: false, - rate_weight: null, - runtime: 0, - title: "func_75", - type: "function", - }, - referencedTypes: { - "one.email": [ - { - title: "string_13", - type: "string", - }, - ], - "one.id": [ - { - title: "string_12", - type: "string", - }, - ], - "one.nested": [ - { - title: "object_19", - type: "object", - }, - ], - "one.nested.first": [ - { - title: "string_14", - type: "string", - }, - ], - "one.nested.second": [ - { - title: "list_16", - type: "list", - }, - { - title: "float_15", - type: "float", - }, - ], - "one.nested.third": [ - { - title: "optional_18", - type: "optional", - }, - { - title: "boolean_17", - type: "boolean", - }, - ], - one: [ - { - title: "func_75", - type: "function", - }, - { - title: "object_32", - type: "object", - }, - { - title: "object_52", - type: "object", - }, - ], - }, - }, -} -`; - -snapshot[`planner 3`] = ` -[ - "one one one object object_32 false", - "one.union1 union1 one/union1 union Union1 false", - "one.union2 union2 one/union2 union Union2 false", - "one.union2\$A.a a one/union2\$A/a integer integer_0 false", - "one.union2\$B.b b one/union2\$B/b either either_6 false", - "one.union2\$B.b\$C1.c c one/union2\$B/b\$C1/c integer integer_0 false", - "one.union2\$B.b\$C2.c c one/union2\$B/b\$C2/c string string_4 false", -] -`; - -snapshot[`planner 4`] = ` -[ - "one one one object object_32 false", - "one.union2 union2 one/union2 union Union2 true", - "one.union2\$A.a a one/union2\$A/a integer integer_0 false", - "one.union2\$B.b b one/union2\$B/b either either_6 false", - "one.union2\$B.b\$C1.c c one/union2\$B/b\$C1/c integer integer_0 false", - "one.union2\$B.b\$C2.c c one/union2\$B/b\$C2/c string string_4 false", - "one.from_union2 from_union2 one/from_union2 integer integer_8 false", - "one.union1 union1 one/union1 union Union1 true", - "one.from_union1 from_union1 one/from_union1 integer integer_8 false", -] -`; - snapshot[`planner 1`] = ` [ { @@ -117,7 +9,7 @@ snapshot[`planner 1`] = ` "one", ], type: { - title: "func_75", + title: "root_one_fn", type: "function", }, }, @@ -130,7 +22,7 @@ snapshot[`planner 1`] = ` ], type: { format: "uuid", - title: "string_12", + title: "root_one_fn_output_id_string_uuid", type: "string", }, }, @@ -143,7 +35,7 @@ snapshot[`planner 1`] = ` ], type: { format: "email", - title: "string_13", + title: "root_one_fn_output_email_string_email", type: "string", }, }, @@ -155,7 +47,7 @@ snapshot[`planner 1`] = ` "nested", ], type: { - title: "object_19", + title: "root_one_fn_output_nested_struct", type: "object", }, }, @@ -168,7 +60,7 @@ snapshot[`planner 1`] = ` "first", ], type: { - title: "string_14", + title: "root_one_fn_output_nested_struct_first_string", type: "string", }, }, @@ -181,7 +73,7 @@ snapshot[`planner 1`] = ` "second", ], type: { - title: "list_16", + title: "root_one_fn_output_nested_struct_second_root_one_fn_output_nested_struct_second_float_list", type: "list", }, }, @@ -194,108 +86,216 @@ snapshot[`planner 1`] = ` "third", ], type: { - title: "optional_18", + title: "root_one_fn_output_nested_struct_third_root_one_fn_output_nested_struct_third_boolean_optional", type: "optional", }, }, ] `; +snapshot[`planner 2`] = ` +{ + one: { + funcType: { + as_id: false, + config: {}, + input: 2, + materializer: 0, + output: 3, + policies: [ + 0, + ], + rate_calls: false, + rate_weight: null, + runtime: 0, + title: "root_one_fn", + type: "function", + }, + referencedTypes: { + "one.email": [ + { + title: "root_one_fn_output_email_string_email", + type: "string", + }, + ], + "one.id": [ + { + title: "root_one_fn_output_id_string_uuid", + type: "string", + }, + ], + "one.nested": [ + { + title: "root_one_fn_output_nested_struct", + type: "object", + }, + ], + "one.nested.first": [ + { + title: "root_one_fn_output_nested_struct_first_string", + type: "string", + }, + ], + "one.nested.second": [ + { + title: "root_one_fn_output_nested_struct_second_root_one_fn_output_nested_struct_second_float_list", + type: "list", + }, + { + title: "root_one_fn_output_nested_struct_second_float", + type: "float", + }, + ], + "one.nested.third": [ + { + title: "root_one_fn_output_nested_struct_third_root_one_fn_output_nested_struct_third_boolean_optional", + type: "optional", + }, + { + title: "root_one_fn_output_nested_struct_third_boolean", + type: "boolean", + }, + ], + one: [ + { + title: "root_one_fn", + type: "function", + }, + { + title: "root_one_fn_output", + type: "object", + }, + { + title: "root_one_fn_input", + type: "object", + }, + ], + }, + }, +} +`; + +snapshot[`planner 3`] = ` +[ + "one one one object root_one_fn_output false", + "one.union1 union1 one/union1 union Union1 false", + "one.union2 union2 one/union2 union Union2 false", + "one.union2\$A.a a one/union2\$A/a integer A_a_integer false", + "one.union2\$B.b b one/union2\$B/b either B_b_either false", + "one.union2\$B.b\$C1.c c one/union2\$B/b\$C1/c integer A_a_integer false", + "one.union2\$B.b\$C2.c c one/union2\$B/b\$C2/c string C2_c_string false", +] +`; + +snapshot[`planner 4`] = ` +[ + "one one one object root_one_fn_output false", + "one.union2 union2 one/union2 union Union2 true", + "one.union2\$A.a a one/union2\$A/a integer A_a_integer false", + "one.union2\$B.b b one/union2\$B/b either B_b_either false", + "one.union2\$B.b\$C1.c c one/union2\$B/b\$C1/c integer A_a_integer false", + "one.union2\$B.b\$C2.c c one/union2\$B/b\$C2/c string C2_c_string false", + "one.from_union2 from_union2 one/from_union2 integer Union1_t0_integer false", + "one.union1 union1 one/union1 union Union1 true", + "one.from_union1 from_union1 one/from_union1 integer Union1_t0_integer false", +] +`; + snapshot[`planner: dependencies 1`] = ` [ - "two two two object object_68 false", - "two.id id two/id integer integer_8 false", + "two two two object root_two_fn_output false", + "two.id id two/id integer Union1_t0_integer false", "two.email email two/email string UserEmail false", ] `; snapshot[`planner: dependencies 2`] = ` [ - "two two two object object_68 false", - "two.id id two/id integer integer_8 false", + "two two two object root_two_fn_output false", + "two.id id two/id integer Union1_t0_integer false", "two.email email two/email string UserEmail false", - "two.profile profile two/profile object object_51 false", - "two.profile.firstName firstName two/profile/firstName string string_14 false", - "two.profile.lastName lastName two/profile/lastName string string_14 false", - "two.profile.profilePic profilePic two/profile/profilePic string string_14 false", + "two.profile profile two/profile object UserProfile_output false", + "two.profile.firstName firstName two/profile/firstName string root_one_fn_output_nested_struct_first_string false", + "two.profile.lastName lastName two/profile/lastName string root_one_fn_output_nested_struct_first_string false", + "two.profile.profilePic profilePic two/profile/profilePic string root_one_fn_output_nested_struct_first_string false", ] `; snapshot[`planner: dependencies 3`] = ` [ - "two two two object object_68 false", - "two.id id two/id integer integer_8 false", + "two two two object root_two_fn_output false", + "two.id id two/id integer Union1_t0_integer false", "two.email email two/email string UserEmail false", - "two.profile profile two/profile object object_51 false", - "two.profile.firstName firstName two/profile/firstName string string_14 false", - "two.profile.lastName lastName two/profile/lastName string string_14 false", - "two.profile.profilePic profilePic two/profile/profilePic string string_14 false", + "two.profile profile two/profile object UserProfile_output false", + "two.profile.firstName firstName two/profile/firstName string root_one_fn_output_nested_struct_first_string false", + "two.profile.lastName lastName two/profile/lastName string root_one_fn_output_nested_struct_first_string false", + "two.profile.profilePic profilePic two/profile/profilePic string root_one_fn_output_nested_struct_first_string false", ] `; snapshot[`planner: dependencies 4`] = ` [ - "two two two object object_68 false", + "two two two object root_two_fn_output false", "two.email email two/email string UserEmail true", - "two.profile profile two/profile object object_51 false", - "two.profile.firstName firstName two/profile/firstName string string_14 false", - "two.profile.lastName lastName two/profile/lastName string string_14 false", - "two.profile.profilePic profilePic two/profile/profilePic string string_14 false", - "two.id id two/id integer integer_8 false", + "two.profile profile two/profile object UserProfile_output false", + "two.profile.firstName firstName two/profile/firstName string root_one_fn_output_nested_struct_first_string false", + "two.profile.lastName lastName two/profile/lastName string root_one_fn_output_nested_struct_first_string false", + "two.profile.profilePic profilePic two/profile/profilePic string root_one_fn_output_nested_struct_first_string false", + "two.id id two/id integer Union1_t0_integer false", ] `; snapshot[`planner: dependencies 5`] = ` [ - "two two two object object_68 false", + "two two two object root_two_fn_output false", "two.email email two/email string UserEmail true", - "two.profile profile two/profile object object_51 false", - "two.profile.firstName firstName two/profile/firstName string string_14 false", - "two.profile.lastName lastName two/profile/lastName string string_14 false", - "two.profile.profilePic profilePic two/profile/profilePic string string_14 false", - "two.taggedPic taggedPic two/taggedPic string string_14 false", + "two.profile profile two/profile object UserProfile_output false", + "two.profile.firstName firstName two/profile/firstName string root_one_fn_output_nested_struct_first_string false", + "two.profile.lastName lastName two/profile/lastName string root_one_fn_output_nested_struct_first_string false", + "two.profile.profilePic profilePic two/profile/profilePic string root_one_fn_output_nested_struct_first_string false", + "two.taggedPic taggedPic two/taggedPic string root_one_fn_output_nested_struct_first_string false", ] `; snapshot[`planner: dependencies 6`] = ` [ - "two two two object object_68 false", - "two.id id two/id integer integer_8 false", + "two two two object root_two_fn_output false", + "two.id id two/id integer Union1_t0_integer false", "two.email email two/email string UserEmail true", - "two.profile profile two/profile object object_51 true", - "two.profile.email email two/profile/email string string_13 false", - "two.profile.firstName firstName two/profile/firstName string string_14 false", - "two.profile.lastName lastName two/profile/lastName string string_14 false", - "two.profile.profilePic profilePic two/profile/profilePic string string_14 false", - "two.taggedPic taggedPic two/taggedPic string string_14 false", + "two.profile profile two/profile object UserProfile_output true", + "two.profile.email email two/profile/email string root_one_fn_output_email_string_email false", + "two.profile.firstName firstName two/profile/firstName string root_one_fn_output_nested_struct_first_string false", + "two.profile.lastName lastName two/profile/lastName string root_one_fn_output_nested_struct_first_string false", + "two.profile.profilePic profilePic two/profile/profilePic string root_one_fn_output_nested_struct_first_string false", + "two.taggedPic taggedPic two/taggedPic string root_one_fn_output_nested_struct_first_string false", ] `; snapshot[`planner: dependencies in union/either 1`] = ` [ - "three three three object object_73 false", - "three.id id three/id integer integer_71 false", - "three.user user three/user either either_72 false", - "three.user\$RegisteredUser.id id three/user\$RegisteredUser/id string string_33 false", + "three three three object root_three_fn_output false", + "three.id id three/id integer root_three_fn_output_id_integer false", + "three.user user three/user either root_three_fn_output_user_either false", + "three.user\$RegisteredUser.id id three/user\$RegisteredUser/id string RegisteredUser_id_string_uuid false", "three.user\$RegisteredUser.email email three/user\$RegisteredUser/email string RegisteredUserEmail false", - "three.user\$RegisteredUser.profile profile three/user\$RegisteredUser/profile object object_42 false", - "three.user\$RegisteredUser.profile.email email three/user\$RegisteredUser/profile/email string string_39 false", - "three.user\$RegisteredUser.profile.displayName displayName three/user\$RegisteredUser/profile/displayName string string_4 false", - "three.user\$RegisteredUser.profile.profilePic profilePic three/user\$RegisteredUser/profile/profilePic string string_4 false", - "three.user\$GuestUser.id id three/user\$GuestUser/id string string_33 false", + "three.user\$RegisteredUser.profile profile three/user\$RegisteredUser/profile object RegisteredUser_profile_fn_output false", + "three.user\$RegisteredUser.profile.email email three/user\$RegisteredUser/profile/email string RegisteredUser_profile_fn_output_email_string_email false", + "three.user\$RegisteredUser.profile.displayName displayName three/user\$RegisteredUser/profile/displayName string C2_c_string false", + "three.user\$RegisteredUser.profile.profilePic profilePic three/user\$RegisteredUser/profile/profilePic string C2_c_string false", + "three.user\$GuestUser.id id three/user\$GuestUser/id string RegisteredUser_id_string_uuid false", ] `; snapshot[`planner: dependencies in union/either 2`] = ` [ - "three three three object object_73 false", - "three.id id three/id integer integer_71 false", - "three.user user three/user either either_72 false", - "three.user\$RegisteredUser.id id three/user\$RegisteredUser/id string string_33 false", + "three three three object root_three_fn_output false", + "three.id id three/id integer root_three_fn_output_id_integer false", + "three.user user three/user either root_three_fn_output_user_either false", + "three.user\$RegisteredUser.id id three/user\$RegisteredUser/id string RegisteredUser_id_string_uuid false", "three.user\$RegisteredUser.email email three/user\$RegisteredUser/email string RegisteredUserEmail true", - "three.user\$RegisteredUser.profile profile three/user\$RegisteredUser/profile object object_42 false", - "three.user\$RegisteredUser.profile.email email three/user\$RegisteredUser/profile/email string string_39 false", - "three.user\$RegisteredUser.profile.displayName displayName three/user\$RegisteredUser/profile/displayName string string_4 false", - "three.user\$GuestUser.id id three/user\$GuestUser/id string string_33 false", + "three.user\$RegisteredUser.profile profile three/user\$RegisteredUser/profile object RegisteredUser_profile_fn_output false", + "three.user\$RegisteredUser.profile.email email three/user\$RegisteredUser/profile/email string RegisteredUser_profile_fn_output_email_string_email false", + "three.user\$RegisteredUser.profile.displayName displayName three/user\$RegisteredUser/profile/displayName string C2_c_string false", + "three.user\$GuestUser.id id three/user\$GuestUser/id string RegisteredUser_id_string_uuid false", ] `; diff --git a/tests/query_parsers/__snapshots__/query_parsers_test.ts.snap b/tests/query_parsers/__snapshots__/query_parsers_test.ts.snap index ea6ff3cf2a..2bbc1e185a 100644 --- a/tests/query_parsers/__snapshots__/query_parsers_test.ts.snap +++ b/tests/query_parsers/__snapshots__/query_parsers_test.ts.snap @@ -45,7 +45,7 @@ snapshot[`GraphQL parser 1`] = ` rate_calls: false, rate_weight: null, runtime: 1, - title: "func_7", + title: "UserNamespace_find_fn", type: "function", }, { @@ -57,7 +57,7 @@ snapshot[`GraphQL parser 1`] = ` }, required: [], runtime: 1, - title: "object_5", + title: "UserNamespace_find_fn_input", type: "object", }, { @@ -86,7 +86,7 @@ snapshot[`GraphQL parser 1`] = ` config: {}, policies: [], runtime: 1, - title: "string_1", + title: "User_name_string", type: "string", }, { @@ -101,7 +101,7 @@ snapshot[`GraphQL parser 1`] = ` rate_calls: false, rate_weight: null, runtime: 1, - title: "func_9", + title: "UserNamespace_update_fn", type: "function", }, { @@ -129,7 +129,7 @@ snapshot[`GraphQL parser 1`] = ` rate_calls: false, rate_weight: null, runtime: 1, - title: "func_12", + title: "ProfileNamespace_picture_fn", type: "function", }, { @@ -141,7 +141,7 @@ snapshot[`GraphQL parser 1`] = ` }, required: [], runtime: 1, - title: "object_10", + title: "ProfileNamespace_picture_fn_input", type: "object", }, { @@ -163,7 +163,7 @@ snapshot[`GraphQL parser 1`] = ` format: "uri", policies: [], runtime: 1, - title: "string_3", + title: "Picture_url_string_uri", type: "string", }, { @@ -178,7 +178,7 @@ snapshot[`GraphQL parser 1`] = ` rate_calls: false, rate_weight: null, runtime: 1, - title: "func_14", + title: "ProfileNamespace_setPicture_fn", type: "function", }, { diff --git a/tests/rest/__snapshots__/rest_test.ts.snap b/tests/rest/__snapshots__/rest_test.ts.snap index c5ce9c72e3..20e003d17d 100644 --- a/tests/rest/__snapshots__/rest_test.ts.snap +++ b/tests/rest/__snapshots__/rest_test.ts.snap @@ -7,25 +7,25 @@ snapshot[`Rest queries in Deno 1`] = ` ComplexType: { properties: { a: { - title: "integer_0", + title: "User_id_integer", type: "integer", }, b: { properties: { c: { - title: "integer_0", + title: "User_id_integer", type: "integer", }, }, - title: "object_6", + title: "ComplexType_b_struct", type: "object", }, d: { - title: "string_7", + title: "ComplexType_d_string_email", type: "string", }, e: { - title: "optional_12", + title: "ComplexType_e_ComplexType_e_ComplexType_e_either_list_optional", type: [ "null", "array", @@ -36,12 +36,74 @@ snapshot[`Rest queries in Deno 1`] = ` "1", "2.5", ], - title: "float_13", + title: "ComplexType_f_float", }, }, title: "ComplexType", type: "object", }, + ComplexType_b_struct: { + properties: { + c: { + title: "User_id_integer", + type: "integer", + }, + }, + title: "ComplexType_b_struct", + type: "object", + }, + ComplexType_d_string_email: { + title: "ComplexType_d_string_email", + type: "string", + }, + ComplexType_e_ComplexType_e_ComplexType_e_either_list_optional: { + title: "ComplexType_e_ComplexType_e_ComplexType_e_either_list_optional", + type: [ + "null", + "array", + ], + }, + ComplexType_e_ComplexType_e_either_list: { + items: { + oneOf: [ + { + title: "ComplexType_e_either_t0_string", + type: "string", + }, + { + title: "User_id_integer", + type: "integer", + }, + ], + title: "ComplexType_e_either", + }, + title: "ComplexType_e_ComplexType_e_either_list", + type: "array", + }, + ComplexType_e_either: { + oneOf: [ + { + title: "ComplexType_e_either_t0_string", + type: "string", + }, + { + title: "User_id_integer", + type: "integer", + }, + ], + title: "ComplexType_e_either", + }, + ComplexType_e_either_t0_string: { + title: "ComplexType_e_either_t0_string", + type: "string", + }, + ComplexType_f_float: { + enum: [ + "1", + "2.5", + ], + title: "ComplexType_f_float", + }, Error: { properties: { extensions: { @@ -79,7 +141,7 @@ snapshot[`Rest queries in Deno 1`] = ` author: { properties: { id: { - title: "integer_0", + title: "User_id_integer", type: "integer", }, }, @@ -87,7 +149,7 @@ snapshot[`Rest queries in Deno 1`] = ` type: "object", }, id: { - title: "integer_0", + title: "User_id_integer", type: "integer", }, }, @@ -97,82 +159,20 @@ snapshot[`Rest queries in Deno 1`] = ` User: { properties: { id: { - title: "integer_0", + title: "User_id_integer", type: "integer", }, }, title: "User", type: "object", }, - boolean_19: { - title: "boolean_19", - type: "boolean", - }, - either_10: { - oneOf: [ - { - title: "string_8", - type: "string", - }, - { - title: "integer_0", - type: "integer", - }, - ], - title: "either_10", - }, - float_13: { - enum: [ - "1", - "2.5", - ], - title: "float_13", - }, - integer_0: { - title: "integer_0", + User_id_integer: { + title: "User_id_integer", type: "integer", }, - list_11: { - items: { - oneOf: [ - { - title: "string_8", - type: "string", - }, - { - title: "integer_0", - type: "integer", - }, - ], - title: "either_10", - }, - title: "list_11", - type: "array", - }, - object_6: { - properties: { - c: { - title: "integer_0", - type: "integer", - }, - }, - title: "object_6", - type: "object", - }, - optional_12: { - title: "optional_12", - type: [ - "null", - "array", - ], - }, - string_7: { - title: "string_7", - type: "string", - }, - string_8: { - title: "string_8", - type: "string", + root_readPost_fn_output: { + title: "root_readPost_fn_output", + type: "boolean", }, }, }, @@ -208,25 +208,25 @@ snapshot[`Rest queries in Deno 1`] = ` identity: { properties: { a: { - title: "integer_0", + title: "User_id_integer", type: "integer", }, b: { properties: { c: { - title: "integer_0", + title: "User_id_integer", type: "integer", }, }, - title: "object_6", + title: "ComplexType_b_struct", type: "object", }, d: { - title: "string_7", + title: "ComplexType_d_string_email", type: "string", }, e: { - title: "optional_12", + title: "ComplexType_e_ComplexType_e_ComplexType_e_either_list_optional", type: [ "null", "array", @@ -237,7 +237,7 @@ snapshot[`Rest queries in Deno 1`] = ` "1", "2.5", ], - title: "float_13", + title: "ComplexType_f_float", }, }, title: "ComplexType", @@ -308,7 +308,7 @@ snapshot[`Rest queries in Deno 1`] = ` author: { properties: { id: { - title: "integer_0", + title: "User_id_integer", type: "integer", }, }, @@ -316,7 +316,7 @@ snapshot[`Rest queries in Deno 1`] = ` type: "object", }, id: { - title: "integer_0", + title: "User_id_integer", type: "integer", }, }, @@ -388,7 +388,7 @@ snapshot[`Rest queries in Deno 1`] = ` author: { properties: { id: { - title: "integer_0", + title: "User_id_integer", type: "integer", }, }, @@ -396,7 +396,7 @@ snapshot[`Rest queries in Deno 1`] = ` type: "object", }, id: { - title: "integer_0", + title: "User_id_integer", type: "integer", }, }, @@ -469,7 +469,7 @@ snapshot[`Rest queries in Deno 1`] = ` schema: { properties: { readPost: { - title: "boolean_19", + title: "root_readPost_fn_output", type: "boolean", }, }, @@ -552,20 +552,20 @@ snapshot[`Rest schema generator 1`] = ` "ComplexType" => { properties: { a: { - title: "integer_0", + title: "ComplexType_a_integer", type: "integer", }, b: { properties: { c: { - title: "integer_0", + title: "ComplexType_a_integer", type: "integer", }, d: { "\$ref": "#/components/schemas/ComplexType", }, }, - title: "object_3", + title: "ComplexType_b_struct", type: "object", }, e: { @@ -575,74 +575,42 @@ snapshot[`Rest schema generator 1`] = ` title: "ComplexType", type: "object", }, - "Query" => { - properties: { - identity: { - properties: { - a: { - title: "integer_0", - type: "integer", - }, - b: { - properties: { - c: { - title: "integer_0", - type: "integer", - }, - d: { - "\$ref": "#/components/schemas/ComplexType", - }, - }, - title: "object_3", - type: "object", - }, - e: { - "\$ref": "#/components/schemas/ComplexType", - }, - }, - title: "ComplexType", - type: "object", - }, - }, - title: "Query", - type: "object", - }, - "integer_0" => { - title: "integer_0", + "ComplexType_a_integer" => { + title: "ComplexType_a_integer", type: "integer", }, - "object_3" => { + "ComplexType_b_struct" => { properties: { c: { - title: "integer_0", + title: "ComplexType_a_integer", type: "integer", }, d: { "\$ref": "#/components/schemas/ComplexType", }, }, - title: "object_3", + title: "ComplexType_b_struct", type: "object", }, - "object_6" => { + "Query" => { properties: { - input: { + identity: { properties: { a: { - title: "integer_0", + title: "ComplexType_a_integer", type: "integer", }, b: { properties: { c: { - title: "integer_0", + title: "ComplexType_a_integer", type: "integer", }, d: { "\$ref": "#/components/schemas/ComplexType", }, }, - title: "object_3", + title: "ComplexType_b_struct", type: "object", }, e: { @@ -653,7 +621,7 @@ snapshot[`Rest schema generator 1`] = ` type: "object", }, }, - title: "object_6", + title: "Query", type: "object", }, "rest_schema" => { @@ -663,20 +631,20 @@ snapshot[`Rest schema generator 1`] = ` identity: { properties: { a: { - title: "integer_0", + title: "ComplexType_a_integer", type: "integer", }, b: { properties: { c: { - title: "integer_0", + title: "ComplexType_a_integer", type: "integer", }, d: { "\$ref": "#/components/schemas/ComplexType", }, }, - title: "object_3", + title: "ComplexType_b_struct", type: "object", }, e: { @@ -694,6 +662,38 @@ snapshot[`Rest schema generator 1`] = ` title: "rest_schema", type: "object", }, + "root_identity_fn_input" => { + properties: { + input: { + properties: { + a: { + title: "ComplexType_a_integer", + type: "integer", + }, + b: { + properties: { + c: { + title: "ComplexType_a_integer", + type: "integer", + }, + d: { + "\$ref": "#/components/schemas/ComplexType", + }, + }, + title: "ComplexType_b_struct", + type: "object", + }, + e: { + "\$ref": "#/components/schemas/ComplexType", + }, + }, + title: "ComplexType", + type: "object", + }, + }, + title: "root_identity_fn_input", + type: "object", + }, }, schema: Map(7) { 0 => { @@ -703,20 +703,20 @@ snapshot[`Rest schema generator 1`] = ` identity: { properties: { a: { - title: "integer_0", + title: "ComplexType_a_integer", type: "integer", }, b: { properties: { c: { - title: "integer_0", + title: "ComplexType_a_integer", type: "integer", }, d: { "\$ref": "#/components/schemas/ComplexType", }, }, - title: "object_3", + title: "ComplexType_b_struct", type: "object", }, e: { @@ -737,20 +737,20 @@ snapshot[`Rest schema generator 1`] = ` 1 => { properties: { a: { - title: "integer_0", + title: "ComplexType_a_integer", type: "integer", }, b: { properties: { c: { - title: "integer_0", + title: "ComplexType_a_integer", type: "integer", }, d: { "\$ref": "#/components/schemas/ComplexType", }, }, - title: "object_3", + title: "ComplexType_b_struct", type: "object", }, e: { @@ -765,20 +765,20 @@ snapshot[`Rest schema generator 1`] = ` input: { properties: { a: { - title: "integer_0", + title: "ComplexType_a_integer", type: "integer", }, b: { properties: { c: { - title: "integer_0", + title: "ComplexType_a_integer", type: "integer", }, d: { "\$ref": "#/components/schemas/ComplexType", }, }, - title: "object_3", + title: "ComplexType_b_struct", type: "object", }, e: { @@ -789,26 +789,26 @@ snapshot[`Rest schema generator 1`] = ` type: "object", }, }, - title: "object_6", + title: "root_identity_fn_input", type: "object", }, 3 => { properties: { a: { - title: "integer_0", + title: "ComplexType_a_integer", type: "integer", }, b: { properties: { c: { - title: "integer_0", + title: "ComplexType_a_integer", type: "integer", }, d: { "\$ref": "#/components/schemas/ComplexType", }, }, - title: "object_3", + title: "ComplexType_b_struct", type: "object", }, e: { @@ -819,20 +819,20 @@ snapshot[`Rest schema generator 1`] = ` type: "object", }, 4 => { - title: "integer_0", + title: "ComplexType_a_integer", type: "integer", }, 5 => { properties: { c: { - title: "integer_0", + title: "ComplexType_a_integer", type: "integer", }, d: { "\$ref": "#/components/schemas/ComplexType", }, }, - title: "object_3", + title: "ComplexType_b_struct", type: "object", }, 6 => { @@ -840,20 +840,20 @@ snapshot[`Rest schema generator 1`] = ` identity: { properties: { a: { - title: "integer_0", + title: "ComplexType_a_integer", type: "integer", }, b: { properties: { c: { - title: "integer_0", + title: "ComplexType_a_integer", type: "integer", }, d: { "\$ref": "#/components/schemas/ComplexType", }, }, - title: "object_3", + title: "ComplexType_b_struct", type: "object", }, e: { diff --git a/tests/runtimes/graphql/__snapshots__/graphql_test.ts.snap b/tests/runtimes/graphql/__snapshots__/graphql_test.ts.snap index 98f818ceff..fb5744341f 100644 --- a/tests/runtimes/graphql/__snapshots__/graphql_test.ts.snap +++ b/tests/runtimes/graphql/__snapshots__/graphql_test.ts.snap @@ -27,7 +27,7 @@ snapshot[`Typegraph generation with GraphQL runtime 1`] = ` }, { "type": "function", - "title": "func_20", + "title": "root_user_fn", "runtime": 1, "policies": [ 0 @@ -42,7 +42,7 @@ snapshot[`Typegraph generation with GraphQL runtime 1`] = ` }, { "type": "object", - "title": "object_18", + "title": "root_user_fn_input", "runtime": 1, "policies": [], "config": {}, @@ -54,7 +54,7 @@ snapshot[`Typegraph generation with GraphQL runtime 1`] = ` }, { "type": "string", - "title": "string_17", + "title": "root_user_fn_input_id_string", "runtime": 1, "policies": [], "config": {}, @@ -75,7 +75,7 @@ snapshot[`Typegraph generation with GraphQL runtime 1`] = ` }, { "type": "string", - "title": "string_0", + "title": "User_id_string", "runtime": 1, "policies": [], "config": {}, @@ -83,7 +83,7 @@ snapshot[`Typegraph generation with GraphQL runtime 1`] = ` }, { "type": "string", - "title": "string_1", + "title": "User_name_string", "runtime": 1, "policies": [], "config": {}, @@ -91,7 +91,7 @@ snapshot[`Typegraph generation with GraphQL runtime 1`] = ` }, { "type": "function", - "title": "func_25", + "title": "root_users_fn", "runtime": 1, "policies": [ 0 @@ -106,7 +106,7 @@ snapshot[`Typegraph generation with GraphQL runtime 1`] = ` }, { "type": "object", - "title": "object_21", + "title": "root_users_fn_input", "runtime": 1, "policies": [], "config": {}, @@ -116,7 +116,7 @@ snapshot[`Typegraph generation with GraphQL runtime 1`] = ` }, { "type": "object", - "title": "object_23", + "title": "root_users_fn_output", "runtime": 1, "policies": [], "config": {}, @@ -128,7 +128,7 @@ snapshot[`Typegraph generation with GraphQL runtime 1`] = ` }, { "type": "list", - "title": "_22_User[]", + "title": "root_users_fn_output_data_User_list", "runtime": 1, "policies": [], "config": {}, @@ -137,7 +137,7 @@ snapshot[`Typegraph generation with GraphQL runtime 1`] = ` }, { "type": "function", - "title": "func_28", + "title": "root_createUser_fn", "runtime": 1, "policies": [ 0 @@ -152,7 +152,7 @@ snapshot[`Typegraph generation with GraphQL runtime 1`] = ` }, { "type": "object", - "title": "object_26", + "title": "root_createUser_fn_input", "runtime": 1, "policies": [], "config": {}, @@ -178,7 +178,7 @@ snapshot[`Typegraph generation with GraphQL runtime 1`] = ` }, { "type": "function", - "title": "func_34", + "title": "root_create_message_fn", "runtime": 2, "policies": [ 0 @@ -208,7 +208,7 @@ snapshot[`Typegraph generation with GraphQL runtime 1`] = ` }, { "type": "integer", - "title": "integer_7", + "title": "_message_CreateInput_id_integer", "runtime": 2, "policies": [], "config": { @@ -218,7 +218,7 @@ snapshot[`Typegraph generation with GraphQL runtime 1`] = ` }, { "type": "string", - "title": "string_8", + "title": "_message_CreateInput_title_string", "runtime": 2, "policies": [], "config": {}, @@ -234,7 +234,7 @@ snapshot[`Typegraph generation with GraphQL runtime 1`] = ` }, { "type": "function", - "title": "func_15", + "title": "_messageOutputType_user_fn", "runtime": 1, "policies": [], "config": {}, @@ -247,7 +247,7 @@ snapshot[`Typegraph generation with GraphQL runtime 1`] = ` }, { "type": "object", - "title": "object_13", + "title": "_messageOutputType_user_fn_input", "runtime": 1, "policies": [], "config": {}, @@ -259,7 +259,7 @@ snapshot[`Typegraph generation with GraphQL runtime 1`] = ` }, { "type": "string", - "title": "string_12", + "title": "_messageOutputType_user_fn_input_id_string", "runtime": 1, "policies": [], "injection": { @@ -273,7 +273,7 @@ snapshot[`Typegraph generation with GraphQL runtime 1`] = ` }, { "type": "optional", - "title": "_14_User?", + "title": "_messageOutputType_user_fn_output", "runtime": 1, "policies": [], "config": {}, @@ -283,7 +283,7 @@ snapshot[`Typegraph generation with GraphQL runtime 1`] = ` }, { "type": "object", - "title": "object_31", + "title": "root_create_message_fn_input", "runtime": 2, "policies": [], "config": {}, @@ -309,7 +309,7 @@ snapshot[`Typegraph generation with GraphQL runtime 1`] = ` }, { "type": "optional", - "title": "optional_29", + "title": "_message_CreateInput_id__message_CreateInput_id_integer_optional", "runtime": 2, "policies": [], "config": {}, @@ -334,7 +334,7 @@ snapshot[`Typegraph generation with GraphQL runtime 1`] = ` }, { "type": "function", - "title": "func_97", + "title": "root_messages_fn", "runtime": 2, "policies": [ 0 @@ -342,7 +342,7 @@ snapshot[`Typegraph generation with GraphQL runtime 1`] = ` "config": {}, "as_id": false, "input": 28, - "output": 83, + "output": 81, "materializer": 6, "rate_weight": null, "rate_calls": false @@ -356,17 +356,17 @@ snapshot[`Typegraph generation with GraphQL runtime 1`] = ` "as_id": false, "properties": { "where": 29, - "orderBy": 64, - "take": 71, - "skip": 73, - "cursor": 75, - "distinct": 80 + "orderBy": 62, + "take": 69, + "skip": 71, + "cursor": 73, + "distinct": 78 }, "required": [] }, { "type": "optional", - "title": "_72_QuerymessageWhereInput?", + "title": "_message_QueryInput_where_QuerymessageWhereInput_optional", "runtime": 2, "policies": [], "config": {}, @@ -384,16 +384,16 @@ snapshot[`Typegraph generation with GraphQL runtime 1`] = ` "properties": { "id": 31, "title": 44, - "user_id": 60, - "AND": 61, - "OR": 61, - "NOT": 63 + "user_id": 44, + "AND": 60, + "OR": 60, + "NOT": 29 }, "required": [] }, { "type": "optional", - "title": "_47__integer_filter_c?", + "title": "QuerymessageWhereInput_id__integer_filter_c_optional", "runtime": 2, "policies": [], "config": {}, @@ -413,7 +413,7 @@ snapshot[`Typegraph generation with GraphQL runtime 1`] = ` }, { "type": "union", - "title": "union_45", + "title": "QuerymessageWhereInput_id_union", "runtime": 2, "policies": [], "config": {}, @@ -441,7 +441,7 @@ snapshot[`Typegraph generation with GraphQL runtime 1`] = ` }, { "type": "integer", - "title": "integer_35", + "title": "_integer_filter_t0_integer", "runtime": 2, "policies": [], "config": {}, @@ -449,7 +449,7 @@ snapshot[`Typegraph generation with GraphQL runtime 1`] = ` }, { "type": "object", - "title": "object_38", + "title": "_integer_filter_t1_struct", "runtime": 2, "policies": [], "config": {}, @@ -461,7 +461,7 @@ snapshot[`Typegraph generation with GraphQL runtime 1`] = ` }, { "type": "object", - "title": "object_39", + "title": "_integer_filter_t2_struct", "runtime": 2, "policies": [], "config": {}, @@ -473,7 +473,7 @@ snapshot[`Typegraph generation with GraphQL runtime 1`] = ` }, { "type": "object", - "title": "object_40", + "title": "_integer_filter_t3_struct", "runtime": 2, "policies": [], "config": {}, @@ -488,7 +488,7 @@ snapshot[`Typegraph generation with GraphQL runtime 1`] = ` }, { "type": "optional", - "title": "optional_36", + "title": "_integer_filter_t3_struct_lt__integer_filter_t0_integer_optional", "runtime": 2, "policies": [], "config": {}, @@ -498,7 +498,7 @@ snapshot[`Typegraph generation with GraphQL runtime 1`] = ` }, { "type": "object", - "title": "object_41", + "title": "_integer_filter_t4_struct", "runtime": 2, "policies": [], "config": {}, @@ -510,7 +510,7 @@ snapshot[`Typegraph generation with GraphQL runtime 1`] = ` }, { "type": "list", - "title": "list_37", + "title": "_integer_filter_t4_struct_in__integer_filter_t0_integer_list", "runtime": 2, "policies": [], "config": {}, @@ -519,7 +519,7 @@ snapshot[`Typegraph generation with GraphQL runtime 1`] = ` }, { "type": "object", - "title": "object_42", + "title": "_integer_filter_t5_struct", "runtime": 2, "policies": [], "config": {}, @@ -531,7 +531,7 @@ snapshot[`Typegraph generation with GraphQL runtime 1`] = ` }, { "type": "object", - "title": "object_44", + "title": "QuerymessageWhereInput_id_union_t1_struct", "runtime": 2, "policies": [], "config": {}, @@ -543,7 +543,7 @@ snapshot[`Typegraph generation with GraphQL runtime 1`] = ` }, { "type": "optional", - "title": "_64__string_filter_c?", + "title": "QuerymessageWhereInput_title__string_filter_c_optional", "runtime": 2, "policies": [], "config": {}, @@ -563,7 +563,7 @@ snapshot[`Typegraph generation with GraphQL runtime 1`] = ` }, { "type": "union", - "title": "union_62", + "title": "QuerymessageWhereInput_title_union", "runtime": 2, "policies": [], "config": {}, @@ -593,7 +593,7 @@ snapshot[`Typegraph generation with GraphQL runtime 1`] = ` }, { "type": "object", - "title": "object_51", + "title": "_string_filter_t1_struct", "runtime": 2, "policies": [], "config": {}, @@ -605,7 +605,7 @@ snapshot[`Typegraph generation with GraphQL runtime 1`] = ` }, { "type": "object", - "title": "object_52", + "title": "_string_filter_t2_struct", "runtime": 2, "policies": [], "config": {}, @@ -617,7 +617,7 @@ snapshot[`Typegraph generation with GraphQL runtime 1`] = ` }, { "type": "object", - "title": "object_53", + "title": "_string_filter_t3_struct", "runtime": 2, "policies": [], "config": {}, @@ -629,7 +629,7 @@ snapshot[`Typegraph generation with GraphQL runtime 1`] = ` }, { "type": "list", - "title": "list_50", + "title": "_string_filter_t3_struct_in__message_CreateInput_title_string_list", "runtime": 2, "policies": [], "config": {}, @@ -638,7 +638,7 @@ snapshot[`Typegraph generation with GraphQL runtime 1`] = ` }, { "type": "object", - "title": "object_54", + "title": "_string_filter_t4_struct", "runtime": 2, "policies": [], "config": {}, @@ -650,7 +650,7 @@ snapshot[`Typegraph generation with GraphQL runtime 1`] = ` }, { "type": "object", - "title": "object_57", + "title": "_string_filter_t5_struct", "runtime": 2, "policies": [], "config": {}, @@ -663,7 +663,7 @@ snapshot[`Typegraph generation with GraphQL runtime 1`] = ` }, { "type": "optional", - "title": "optional_56", + "title": "_string_filter_t5_struct_mode__string_filter_t5_struct_mode_string_enum_optional", "runtime": 2, "policies": [], "config": {}, @@ -673,7 +673,7 @@ snapshot[`Typegraph generation with GraphQL runtime 1`] = ` }, { "type": "string", - "title": "string_55", + "title": "_string_filter_t5_struct_mode_string_enum", "runtime": 2, "policies": [], "enum": [ @@ -684,7 +684,7 @@ snapshot[`Typegraph generation with GraphQL runtime 1`] = ` }, { "type": "object", - "title": "object_58", + "title": "_string_filter_t6_struct", "runtime": 2, "policies": [], "config": {}, @@ -696,7 +696,7 @@ snapshot[`Typegraph generation with GraphQL runtime 1`] = ` }, { "type": "object", - "title": "object_59", + "title": "_string_filter_t7_struct", "runtime": 2, "policies": [], "config": {}, @@ -709,7 +709,7 @@ snapshot[`Typegraph generation with GraphQL runtime 1`] = ` }, { "type": "optional", - "title": "optional_49", + "title": "_string_filter_t7_struct_startsWith__message_CreateInput_title_string_optional", "runtime": 2, "policies": [], "config": {}, @@ -719,7 +719,7 @@ snapshot[`Typegraph generation with GraphQL runtime 1`] = ` }, { "type": "object", - "title": "object_61", + "title": "QuerymessageWhereInput_title_union_t1_struct", "runtime": 2, "policies": [], "config": {}, @@ -731,27 +731,17 @@ snapshot[`Typegraph generation with GraphQL runtime 1`] = ` }, { "type": "optional", - "title": "_65__string_filter_c?", + "title": "QuerymessageWhereInput_AND_QuerymessageWhereInput_AND_QuerymessageWhereInput_list_optional", "runtime": 2, "policies": [], "config": {}, "as_id": false, - "item": 45, - "default_value": null - }, - { - "type": "optional", - "title": "_69__68_QuerymessageWhereInput[]?", - "runtime": 2, - "policies": [], - "config": {}, - "as_id": false, - "item": 62, + "item": 61, "default_value": null }, { "type": "list", - "title": "_68_QuerymessageWhereInput[]", + "title": "QuerymessageWhereInput_AND_QuerymessageWhereInput_list", "runtime": 2, "policies": [], "config": {}, @@ -760,22 +750,12 @@ snapshot[`Typegraph generation with GraphQL runtime 1`] = ` }, { "type": "optional", - "title": "_70_QuerymessageWhereInput?", - "runtime": 2, - "policies": [], - "config": {}, - "as_id": false, - "item": 30, - "default_value": null - }, - { - "type": "optional", - "title": "_80__message_OrderBy?", + "title": "_message_QueryInput_orderBy__message_OrderBy_optional", "runtime": 2, "policies": [], "config": {}, "as_id": false, - "item": 65, + "item": 63, "default_value": null }, { @@ -785,19 +765,19 @@ snapshot[`Typegraph generation with GraphQL runtime 1`] = ` "policies": [], "config": {}, "as_id": false, - "items": 66 + "items": 64 }, { "type": "object", - "title": "object_78", + "title": "_message_QueryInput_orderBy_struct", "runtime": 2, "policies": [], "config": {}, "as_id": false, "properties": { - "id": 67, - "title": 67, - "user_id": 67 + "id": 65, + "title": 65, + "user_id": 65 }, "required": [] }, @@ -808,30 +788,30 @@ snapshot[`Typegraph generation with GraphQL runtime 1`] = ` "policies": [], "config": {}, "as_id": false, - "item": 68, + "item": 66, "default_value": null }, { "type": "union", - "title": "union_76", + "title": "_message_QueryInput_orderBy_struct_id_union", "runtime": 2, "policies": [], "config": {}, "as_id": false, "anyOf": [ - 69, - 70 + 67, + 68 ] }, { "type": "object", - "title": "object_75", + "title": "_message_QueryInput_orderBy_struct_id_union_t0_struct", "runtime": 2, "policies": [], "config": {}, "as_id": false, "properties": { - "sort": 70 + "sort": 68 }, "required": [] }, @@ -849,12 +829,12 @@ snapshot[`Typegraph generation with GraphQL runtime 1`] = ` }, { "type": "optional", - "title": "_82__Take?", + "title": "_message_QueryInput_take__Take_optional", "runtime": 2, "policies": [], "config": {}, "as_id": false, - "item": 72, + "item": 70, "default_value": null }, { @@ -868,12 +848,12 @@ snapshot[`Typegraph generation with GraphQL runtime 1`] = ` }, { "type": "optional", - "title": "_84__Skip?", + "title": "_message_QueryInput_skip__Skip_optional", "runtime": 2, "policies": [], "config": {}, "as_id": false, - "item": 74, + "item": 72, "default_value": null }, { @@ -887,12 +867,12 @@ snapshot[`Typegraph generation with GraphQL runtime 1`] = ` }, { "type": "optional", - "title": "_89__message_Cursor?", + "title": "_message_QueryInput_cursor__message_Cursor_optional", "runtime": 2, "policies": [], "config": {}, "as_id": false, - "item": 76, + "item": 74, "default_value": null }, { @@ -903,14 +883,14 @@ snapshot[`Typegraph generation with GraphQL runtime 1`] = ` "config": {}, "as_id": false, "anyOf": [ - 77, - 78, - 79 + 75, + 76, + 77 ] }, { "type": "object", - "title": "object_85", + "title": "_message_Cursor_t0_struct", "runtime": 2, "policies": [], "config": {}, @@ -922,7 +902,7 @@ snapshot[`Typegraph generation with GraphQL runtime 1`] = ` }, { "type": "object", - "title": "object_86", + "title": "_message_Cursor_t1_struct", "runtime": 2, "policies": [], "config": {}, @@ -934,7 +914,7 @@ snapshot[`Typegraph generation with GraphQL runtime 1`] = ` }, { "type": "object", - "title": "object_87", + "title": "_message_Cursor_t2_struct", "runtime": 2, "policies": [], "config": {}, @@ -946,12 +926,12 @@ snapshot[`Typegraph generation with GraphQL runtime 1`] = ` }, { "type": "optional", - "title": "_92__KeysOf_message?", + "title": "_message_QueryInput_distinct__KeysOf_message_optional", "runtime": 2, "policies": [], "config": {}, "as_id": false, - "item": 81, + "item": 79, "default_value": null }, { @@ -961,11 +941,11 @@ snapshot[`Typegraph generation with GraphQL runtime 1`] = ` "policies": [], "config": {}, "as_id": false, - "items": 82 + "items": 80 }, { "type": "string", - "title": "string_90", + "title": "_message_QueryInput_distinct_string_enum", "runtime": 2, "policies": [], "enum": [ @@ -978,12 +958,12 @@ snapshot[`Typegraph generation with GraphQL runtime 1`] = ` }, { "type": "list", - "title": "_95_messageWithNestedCount[]", + "title": "root_messages_fn_output", "runtime": 2, "policies": [], "config": {}, "as_id": false, - "items": 84 + "items": 82 }, { "type": "object", diff --git a/tests/runtimes/grpc/__snapshots__/grpc_test.ts.snap b/tests/runtimes/grpc/__snapshots__/grpc_test.ts.snap index a0923ba324..3f62370cb6 100644 --- a/tests/runtimes/grpc/__snapshots__/grpc_test.ts.snap +++ b/tests/runtimes/grpc/__snapshots__/grpc_test.ts.snap @@ -20,7 +20,7 @@ snapshot[`Typegraph using grpc 1`] = ` }, { "type": "function", - "title": "func_7", + "title": "root_greet_fn", "runtime": 1, "policies": [ 0 @@ -35,7 +35,7 @@ snapshot[`Typegraph using grpc 1`] = ` }, { "type": "object", - "title": "object_2", + "title": "root_greet_fn_input", "runtime": 1, "policies": [], "config": {}, @@ -47,7 +47,7 @@ snapshot[`Typegraph using grpc 1`] = ` }, { "type": "optional", - "title": "optional_1", + "title": "root_greet_fn_input_name_root_greet_fn_input_name_string_optional", "runtime": 1, "policies": [], "config": {}, @@ -57,7 +57,7 @@ snapshot[`Typegraph using grpc 1`] = ` }, { "type": "string", - "title": "string_0", + "title": "root_greet_fn_input_name_string", "runtime": 1, "policies": [], "config": {}, @@ -65,7 +65,7 @@ snapshot[`Typegraph using grpc 1`] = ` }, { "type": "object", - "title": "object_5", + "title": "root_greet_fn_output", "runtime": 1, "policies": [], "config": {}, @@ -167,7 +167,7 @@ snapshot[`Typegraph using grpc 2`] = ` }, { "type": "function", - "title": "func_7", + "title": "root_greet_fn", "runtime": 1, "policies": [ 0 @@ -182,7 +182,7 @@ snapshot[`Typegraph using grpc 2`] = ` }, { "type": "object", - "title": "object_2", + "title": "root_greet_fn_input", "runtime": 1, "policies": [], "config": {}, @@ -194,7 +194,7 @@ snapshot[`Typegraph using grpc 2`] = ` }, { "type": "optional", - "title": "optional_1", + "title": "root_greet_fn_input_name_root_greet_fn_input_name_string_optional", "runtime": 1, "policies": [], "config": {}, @@ -204,7 +204,7 @@ snapshot[`Typegraph using grpc 2`] = ` }, { "type": "string", - "title": "string_0", + "title": "root_greet_fn_input_name_string", "runtime": 1, "policies": [], "config": {}, @@ -212,7 +212,7 @@ snapshot[`Typegraph using grpc 2`] = ` }, { "type": "object", - "title": "object_5", + "title": "root_greet_fn_output", "runtime": 1, "policies": [], "config": {}, diff --git a/tests/runtimes/kv/__snapshots__/kv_test.ts.snap b/tests/runtimes/kv/__snapshots__/kv_test.ts.snap index 7f4e01cbc0..eb976eaaa2 100644 --- a/tests/runtimes/kv/__snapshots__/kv_test.ts.snap +++ b/tests/runtimes/kv/__snapshots__/kv_test.ts.snap @@ -16,7 +16,7 @@ snapshot[`Typegraph using kv 1`] = ` "set": 4, "delete": 6, "keys": 8, - "values": 12 + "values": 13 }, "required": [ "get", @@ -28,7 +28,7 @@ snapshot[`Typegraph using kv 1`] = ` }, { "type": "function", - "title": "func_25", + "title": "root_get_fn", "runtime": 1, "policies": [ 0 @@ -43,7 +43,7 @@ snapshot[`Typegraph using kv 1`] = ` }, { "type": "object", - "title": "object_1", + "title": "root_get_fn_input", "runtime": 1, "policies": [], "config": {}, @@ -55,7 +55,7 @@ snapshot[`Typegraph using kv 1`] = ` }, { "type": "string", - "title": "string_0", + "title": "root_get_fn_input_key_string", "runtime": 1, "policies": [], "config": {}, @@ -63,7 +63,7 @@ snapshot[`Typegraph using kv 1`] = ` }, { "type": "function", - "title": "func_26", + "title": "root_set_fn", "runtime": 1, "policies": [ 0 @@ -78,7 +78,7 @@ snapshot[`Typegraph using kv 1`] = ` }, { "type": "object", - "title": "object_6", + "title": "root_set_fn_input", "runtime": 1, "policies": [], "config": {}, @@ -91,7 +91,7 @@ snapshot[`Typegraph using kv 1`] = ` }, { "type": "function", - "title": "func_27", + "title": "root_delete_fn", "runtime": 1, "policies": [ 0 @@ -106,7 +106,7 @@ snapshot[`Typegraph using kv 1`] = ` }, { "type": "integer", - "title": "integer_11", + "title": "root_delete_fn_output", "runtime": 1, "policies": [], "config": {}, @@ -114,7 +114,7 @@ snapshot[`Typegraph using kv 1`] = ` }, { "type": "function", - "title": "func_28", + "title": "root_keys_fn", "runtime": 1, "policies": [ 0 @@ -122,14 +122,14 @@ snapshot[`Typegraph using kv 1`] = ` "config": {}, "as_id": false, "input": 9, - "output": 11, + "output": 12, "materializer": 4, "rate_weight": null, "rate_calls": false }, { "type": "object", - "title": "object_15", + "title": "root_keys_fn_input", "runtime": 1, "policies": [], "config": {}, @@ -141,37 +141,57 @@ snapshot[`Typegraph using kv 1`] = ` }, { "type": "optional", - "title": "optional_14", + "title": "root_keys_fn_input_filter_root_keys_fn_input_filter_string_optional", "runtime": 1, "policies": [], "config": {}, "as_id": false, - "item": 3, + "item": 11, "default_value": null }, + { + "type": "string", + "title": "root_keys_fn_input_filter_string", + "runtime": 1, + "policies": [], + "config": {}, + "as_id": false + }, { "type": "list", - "title": "list_17", + "title": "root_keys_fn_output", "runtime": 1, "policies": [], "config": {}, "as_id": false, - "items": 3 + "items": 11 }, { "type": "function", - "title": "func_29", + "title": "root_values_fn", "runtime": 1, "policies": [ 0 ], "config": {}, "as_id": false, - "input": 9, - "output": 11, + "input": 14, + "output": 12, "materializer": 5, "rate_weight": null, "rate_calls": false + }, + { + "type": "object", + "title": "root_values_fn_input", + "runtime": 1, + "policies": [], + "config": {}, + "as_id": false, + "properties": { + "filter": 10 + }, + "required": [] } ], "materializers": [ @@ -294,7 +314,7 @@ snapshot[`Typegraph using kv 2`] = ` "set": 4, "delete": 6, "keys": 8, - "values": 12 + "values": 13 }, "required": [ "get", @@ -306,7 +326,7 @@ snapshot[`Typegraph using kv 2`] = ` }, { "type": "function", - "title": "func_25", + "title": "root_get_fn", "runtime": 1, "policies": [ 0 @@ -321,7 +341,7 @@ snapshot[`Typegraph using kv 2`] = ` }, { "type": "object", - "title": "object_1", + "title": "root_get_fn_input", "runtime": 1, "policies": [], "config": {}, @@ -333,7 +353,7 @@ snapshot[`Typegraph using kv 2`] = ` }, { "type": "string", - "title": "string_0", + "title": "root_get_fn_input_key_string", "runtime": 1, "policies": [], "config": {}, @@ -341,7 +361,7 @@ snapshot[`Typegraph using kv 2`] = ` }, { "type": "function", - "title": "func_26", + "title": "root_set_fn", "runtime": 1, "policies": [ 0 @@ -356,7 +376,7 @@ snapshot[`Typegraph using kv 2`] = ` }, { "type": "object", - "title": "object_6", + "title": "root_set_fn_input", "runtime": 1, "policies": [], "config": {}, @@ -369,7 +389,7 @@ snapshot[`Typegraph using kv 2`] = ` }, { "type": "function", - "title": "func_27", + "title": "root_delete_fn", "runtime": 1, "policies": [ 0 @@ -384,7 +404,7 @@ snapshot[`Typegraph using kv 2`] = ` }, { "type": "integer", - "title": "integer_11", + "title": "root_delete_fn_output", "runtime": 1, "policies": [], "config": {}, @@ -392,7 +412,7 @@ snapshot[`Typegraph using kv 2`] = ` }, { "type": "function", - "title": "func_28", + "title": "root_keys_fn", "runtime": 1, "policies": [ 0 @@ -400,14 +420,14 @@ snapshot[`Typegraph using kv 2`] = ` "config": {}, "as_id": false, "input": 9, - "output": 11, + "output": 12, "materializer": 4, "rate_weight": null, "rate_calls": false }, { "type": "object", - "title": "object_15", + "title": "root_keys_fn_input", "runtime": 1, "policies": [], "config": {}, @@ -419,37 +439,57 @@ snapshot[`Typegraph using kv 2`] = ` }, { "type": "optional", - "title": "optional_14", + "title": "root_keys_fn_input_filter_root_keys_fn_input_filter_string_optional", "runtime": 1, "policies": [], "config": {}, "as_id": false, - "item": 3, + "item": 11, "default_value": null }, + { + "type": "string", + "title": "root_keys_fn_input_filter_string", + "runtime": 1, + "policies": [], + "config": {}, + "as_id": false + }, { "type": "list", - "title": "list_17", + "title": "root_keys_fn_output", "runtime": 1, "policies": [], "config": {}, "as_id": false, - "items": 3 + "items": 11 }, { "type": "function", - "title": "func_29", + "title": "root_values_fn", "runtime": 1, "policies": [ 0 ], "config": {}, "as_id": false, - "input": 9, - "output": 11, + "input": 14, + "output": 12, "materializer": 5, "rate_weight": null, "rate_calls": false + }, + { + "type": "object", + "title": "root_values_fn_input", + "runtime": 1, + "policies": [], + "config": {}, + "as_id": false, + "properties": { + "filter": 10 + }, + "required": [] } ], "materializers": [ diff --git a/tests/runtimes/s3/__snapshots__/s3_test.ts.snap b/tests/runtimes/s3/__snapshots__/s3_test.ts.snap index 597e8d6ebb..4783f6411c 100644 --- a/tests/runtimes/s3/__snapshots__/s3_test.ts.snap +++ b/tests/runtimes/s3/__snapshots__/s3_test.ts.snap @@ -13,9 +13,9 @@ snapshot[`s3 typegraphs 1`] = ` "properties": { "listObjects": 1, "getDownloadUrl": 10, - "signTextUploadUrl": 13, - "upload": 15, - "uploadMany": 19 + "signTextUploadUrl": 14, + "upload": 17, + "uploadMany": 21 }, "required": [ "listObjects", @@ -27,7 +27,7 @@ snapshot[`s3 typegraphs 1`] = ` }, { "type": "function", - "title": "func_33", + "title": "root_listObjects_fn", "runtime": 1, "policies": [ 0 @@ -42,7 +42,7 @@ snapshot[`s3 typegraphs 1`] = ` }, { "type": "object", - "title": "object_2", + "title": "root_listObjects_fn_input", "runtime": 1, "policies": [], "config": {}, @@ -54,7 +54,7 @@ snapshot[`s3 typegraphs 1`] = ` }, { "type": "optional", - "title": "optional_1", + "title": "root_listObjects_fn_input_path_root_listObjects_fn_input_path_string_optional", "runtime": 1, "policies": [], "config": {}, @@ -64,7 +64,7 @@ snapshot[`s3 typegraphs 1`] = ` }, { "type": "string", - "title": "string_0", + "title": "root_listObjects_fn_input_path_string", "runtime": 1, "policies": [], "config": {}, @@ -72,7 +72,7 @@ snapshot[`s3 typegraphs 1`] = ` }, { "type": "object", - "title": "object_9", + "title": "root_listObjects_fn_output", "runtime": 1, "policies": [], "config": {}, @@ -85,7 +85,7 @@ snapshot[`s3 typegraphs 1`] = ` }, { "type": "list", - "title": "list_6", + "title": "root_listObjects_fn_output_keys_root_listObjects_fn_output_keys_struct_list", "runtime": 1, "policies": [], "config": {}, @@ -94,7 +94,7 @@ snapshot[`s3 typegraphs 1`] = ` }, { "type": "object", - "title": "object_5", + "title": "root_listObjects_fn_output_keys_struct", "runtime": 1, "policies": [], "config": {}, @@ -107,7 +107,7 @@ snapshot[`s3 typegraphs 1`] = ` }, { "type": "integer", - "title": "integer_4", + "title": "root_listObjects_fn_output_keys_struct_size_integer", "runtime": 1, "policies": [], "config": {}, @@ -115,7 +115,7 @@ snapshot[`s3 typegraphs 1`] = ` }, { "type": "list", - "title": "list_8", + "title": "root_listObjects_fn_output_prefix_root_listObjects_fn_input_path_string_list", "runtime": 1, "policies": [], "config": {}, @@ -124,7 +124,7 @@ snapshot[`s3 typegraphs 1`] = ` }, { "type": "function", - "title": "func_34", + "title": "root_getDownloadUrl_fn", "runtime": 1, "policies": [ 0 @@ -132,26 +132,34 @@ snapshot[`s3 typegraphs 1`] = ` "config": {}, "as_id": false, "input": 11, - "output": 12, + "output": 13, "materializer": 2, "rate_weight": null, "rate_calls": false }, { "type": "object", - "title": "object_12", + "title": "root_getDownloadUrl_fn_input", "runtime": 1, "policies": [], "config": {}, "as_id": false, "properties": { - "path": 4 + "path": 12 }, "required": [] }, { "type": "string", - "title": "string_13", + "title": "root_getDownloadUrl_fn_input_path_string", + "runtime": 1, + "policies": [], + "config": {}, + "as_id": false + }, + { + "type": "string", + "title": "root_getDownloadUrl_fn_output", "runtime": 1, "policies": [], "config": {}, @@ -160,63 +168,71 @@ snapshot[`s3 typegraphs 1`] = ` }, { "type": "function", - "title": "func_35", + "title": "root_signTextUploadUrl_fn", "runtime": 1, "policies": [ 0 ], "config": {}, "as_id": false, - "input": 14, - "output": 12, + "input": 15, + "output": 13, "materializer": 3, "rate_weight": null, "rate_calls": false }, { "type": "object", - "title": "object_17", + "title": "root_signTextUploadUrl_fn_input", "runtime": 1, "policies": [], "config": {}, "as_id": false, "properties": { - "length": 8, - "path": 4 + "length": 16, + "path": 12 }, "required": [] }, + { + "type": "integer", + "title": "root_signTextUploadUrl_fn_input_length_integer", + "runtime": 1, + "policies": [], + "config": {}, + "as_id": false + }, { "type": "function", - "title": "func_36", + "title": "root_upload_fn", "runtime": 1, "policies": [ 0 ], "config": {}, "as_id": false, - "input": 16, - "output": 18, + "input": 18, + "output": 20, "materializer": 4, "rate_weight": null, "rate_calls": false }, { "type": "object", - "title": "object_23", + "title": "root_upload_fn_input", "runtime": 1, "policies": [], "config": {}, "as_id": false, "properties": { - "file": 17, + "file": 19, "path": 3 }, "required": [] }, { "type": "file", - "title": "_20_file", + "title": "root_upload_fn_input_file_file", "runtime": 1, "policies": [], "config": {}, @@ -227,7 +243,7 @@ snapshot[`s3 typegraphs 1`] = ` }, { "type": "boolean", - "title": "boolean_24", + "title": "root_upload_fn_output", "runtime": 1, "policies": [], "config": {}, @@ -235,35 +251,35 @@ snapshot[`s3 typegraphs 1`] = ` }, { "type": "function", - "title": "func_37", + "title": "root_uploadMany_fn", "runtime": 1, "policies": [ 0 ], "config": {}, "as_id": false, - "input": 20, - "output": 18, + "input": 22, + "output": 20, "materializer": 5, "rate_weight": null, "rate_calls": false }, { "type": "object", - "title": "object_30", + "title": "root_uploadMany_fn_input", "runtime": 1, "policies": [], "config": {}, "as_id": false, "properties": { - "prefix": 21, - "files": 22 + "prefix": 23, + "files": 24 }, "required": [] }, { "type": "optional", - "title": "optional_28", + "title": "root_uploadMany_fn_input_prefix_root_listObjects_fn_input_path_string_optional", "runtime": 1, "policies": [], "config": {}, @@ -273,16 +289,16 @@ snapshot[`s3 typegraphs 1`] = ` }, { "type": "list", - "title": "_29__26_file[]", + "title": "root_uploadMany_fn_input_files_root_uploadMany_fn_input_files_file_list", "runtime": 1, "policies": [], "config": {}, "as_id": false, - "items": 23 + "items": 25 }, { "type": "file", - "title": "_26_file", + "title": "root_uploadMany_fn_input_files_file", "runtime": 1, "policies": [], "config": {}, diff --git a/tests/runtimes/temporal/__snapshots__/temporal_test.ts.snap b/tests/runtimes/temporal/__snapshots__/temporal_test.ts.snap index 75cdbbad5c..0382ff34d6 100644 --- a/tests/runtimes/temporal/__snapshots__/temporal_test.ts.snap +++ b/tests/runtimes/temporal/__snapshots__/temporal_test.ts.snap @@ -13,9 +13,9 @@ snapshot[`Typegraph using temporal 1`] = ` "as_id": false, "properties": { "start": 1, - "query": 6, - "signal": 8, - "describe": 12 + "query": 7, + "signal": 9, + "describe": 13 }, "required": [ "start", @@ -26,7 +26,7 @@ snapshot[`Typegraph using temporal 1`] = ` }, { "type": "function", - "title": "func_34", + "title": "root_start_fn", "runtime": 1, "policies": [ 0 @@ -41,7 +41,7 @@ snapshot[`Typegraph using temporal 1`] = ` }, { "type": "object", - "title": "object_6", + "title": "root_start_fn_input", "runtime": 1, "policies": [], "config": {}, @@ -55,7 +55,7 @@ snapshot[`Typegraph using temporal 1`] = ` }, { "type": "string", - "title": "string_2", + "title": "root_start_fn_input_workflow_id_string", "runtime": 1, "policies": [], "config": {}, @@ -63,7 +63,7 @@ snapshot[`Typegraph using temporal 1`] = ` }, { "type": "list", - "title": "list_4", + "title": "root_start_fn_input_args_root_start_fn_input_args_struct_list", "runtime": 1, "policies": [], "config": {}, @@ -72,26 +72,34 @@ snapshot[`Typegraph using temporal 1`] = ` }, { "type": "object", - "title": "object_1", + "title": "root_start_fn_input_args_struct", "runtime": 1, "policies": [], "config": {}, "as_id": false, "properties": { - "some_field": 3 + "some_field": 6 }, "required": [] }, + { + "type": "string", + "title": "root_start_fn_input_args_struct_some_field_string", + "runtime": 1, + "policies": [], + "config": {}, + "as_id": false + }, { "type": "function", - "title": "func_35", + "title": "root_query_fn", "runtime": 1, "policies": [ 0 ], "config": {}, "as_id": false, - "input": 7, + "input": 8, "output": 3, "materializer": 2, "rate_weight": null, @@ -99,7 +107,7 @@ snapshot[`Typegraph using temporal 1`] = ` }, { "type": "object", - "title": "object_12", + "title": "root_query_fn_input", "runtime": 1, "policies": [], "config": {}, @@ -113,28 +121,28 @@ snapshot[`Typegraph using temporal 1`] = ` }, { "type": "function", - "title": "func_36", + "title": "root_signal_fn", "runtime": 1, "policies": [ 0 ], "config": {}, "as_id": false, - "input": 9, - "output": 11, + "input": 10, + "output": 12, "materializer": 3, "rate_weight": null, "rate_calls": false }, { "type": "object", - "title": "object_21", + "title": "root_signal_fn_input", "runtime": 1, "policies": [], "config": {}, "as_id": false, "properties": { - "workflow_id": 10, + "workflow_id": 11, "run_id": 3, "args": 4 }, @@ -142,7 +150,7 @@ snapshot[`Typegraph using temporal 1`] = ` }, { "type": "string", - "title": "string_20", + "title": "root_signal_fn_input_workflow_id_string", "runtime": 1, "policies": [], "injection": { @@ -156,7 +164,7 @@ snapshot[`Typegraph using temporal 1`] = ` }, { "type": "boolean", - "title": "boolean_17", + "title": "root_signal_fn_output", "runtime": 1, "policies": [], "config": {}, @@ -164,22 +172,22 @@ snapshot[`Typegraph using temporal 1`] = ` }, { "type": "function", - "title": "func_37", + "title": "root_describe_fn", "runtime": 1, "policies": [ 0 ], "config": {}, "as_id": false, - "input": 13, - "output": 14, + "input": 14, + "output": 15, "materializer": 4, "rate_weight": null, "rate_calls": false }, { "type": "object", - "title": "object_32", + "title": "root_describe_fn_input", "runtime": 1, "policies": [], "config": {}, @@ -192,31 +200,31 @@ snapshot[`Typegraph using temporal 1`] = ` }, { "type": "object", - "title": "object_31", + "title": "root_describe_fn_output", "runtime": 1, "policies": [], "config": {}, "as_id": false, "properties": { - "start_time": 15, - "close_time": 15, - "state": 15 + "start_time": 16, + "close_time": 16, + "state": 16 }, "required": [] }, { "type": "optional", - "title": "optional_26", + "title": "root_describe_fn_output_start_time_root_describe_fn_output_start_time_integer_optional", "runtime": 1, "policies": [], "config": {}, "as_id": false, - "item": 16, + "item": 17, "default_value": null }, { "type": "integer", - "title": "integer_25", + "title": "root_describe_fn_output_start_time_integer", "runtime": 1, "policies": [], "config": {}, @@ -340,8 +348,8 @@ snapshot[`Typegraph using temporal 2`] = ` "properties": { "startKv": 1, "query": 6, - "signal": 10, - "describe": 15 + "signal": 11, + "describe": 16 }, "required": [ "startKv", @@ -352,7 +360,7 @@ snapshot[`Typegraph using temporal 2`] = ` }, { "type": "function", - "title": "func_7", + "title": "root_startKv_fn", "runtime": 1, "policies": [ 0 @@ -367,7 +375,7 @@ snapshot[`Typegraph using temporal 2`] = ` }, { "type": "object", - "title": "object_5", + "title": "root_startKv_fn_input", "runtime": 1, "policies": [], "config": {}, @@ -381,7 +389,7 @@ snapshot[`Typegraph using temporal 2`] = ` }, { "type": "string", - "title": "string_1", + "title": "root_startKv_fn_input_workflow_id_string", "runtime": 1, "policies": [], "config": {}, @@ -389,7 +397,7 @@ snapshot[`Typegraph using temporal 2`] = ` }, { "type": "list", - "title": "list_3", + "title": "root_startKv_fn_input_args_root_startKv_fn_input_args_struct_list", "runtime": 1, "policies": [], "config": {}, @@ -398,7 +406,7 @@ snapshot[`Typegraph using temporal 2`] = ` }, { "type": "object", - "title": "object_0", + "title": "root_startKv_fn_input_args_struct", "runtime": 1, "policies": [], "config": {}, @@ -408,7 +416,7 @@ snapshot[`Typegraph using temporal 2`] = ` }, { "type": "function", - "title": "func_16", + "title": "root_query_fn", "runtime": 1, "policies": [ 0 @@ -416,14 +424,14 @@ snapshot[`Typegraph using temporal 2`] = ` "config": {}, "as_id": false, "input": 7, - "output": 9, + "output": 10, "materializer": 2, "rate_weight": null, "rate_calls": false }, { "type": "object", - "title": "object_14", + "title": "root_query_fn_input", "runtime": 1, "policies": [], "config": {}, @@ -437,41 +445,49 @@ snapshot[`Typegraph using temporal 2`] = ` }, { "type": "list", - "title": "list_13", + "title": "root_query_fn_input_args_root_query_fn_input_args_string_list", "runtime": 1, "policies": [], "config": {}, "as_id": false, - "items": 3 + "items": 9 + }, + { + "type": "string", + "title": "root_query_fn_input_args_string", + "runtime": 1, + "policies": [], + "config": {}, + "as_id": false }, { "type": "optional", - "title": "optional_10", + "title": "root_query_fn_output", "runtime": 1, "policies": [], "config": {}, "as_id": false, - "item": 3, + "item": 9, "default_value": null }, { "type": "function", - "title": "func_26", + "title": "root_signal_fn", "runtime": 1, "policies": [ 0 ], "config": {}, "as_id": false, - "input": 11, - "output": 14, + "input": 12, + "output": 15, "materializer": 3, "rate_weight": null, "rate_calls": false }, { "type": "object", - "title": "object_24", + "title": "root_signal_fn_input", "runtime": 1, "policies": [], "config": {}, @@ -479,35 +495,35 @@ snapshot[`Typegraph using temporal 2`] = ` "properties": { "workflow_id": 3, "run_id": 3, - "args": 12 + "args": 13 }, "required": [] }, { "type": "list", - "title": "list_22", + "title": "root_signal_fn_input_args_root_signal_fn_input_args_struct_list", "runtime": 1, "policies": [], "config": {}, "as_id": false, - "items": 13 + "items": 14 }, { "type": "object", - "title": "object_19", + "title": "root_signal_fn_input_args_struct", "runtime": 1, "policies": [], "config": {}, "as_id": false, "properties": { - "key": 3, - "value": 3 + "key": 9, + "value": 9 }, "required": [] }, { "type": "boolean", - "title": "boolean_23", + "title": "root_signal_fn_output", "runtime": 1, "policies": [], "config": {}, @@ -515,22 +531,22 @@ snapshot[`Typegraph using temporal 2`] = ` }, { "type": "function", - "title": "func_38", + "title": "root_describe_fn", "runtime": 1, "policies": [ 0 ], "config": {}, "as_id": false, - "input": 16, - "output": 17, + "input": 17, + "output": 18, "materializer": 4, "rate_weight": null, "rate_calls": false }, { "type": "object", - "title": "object_36", + "title": "root_describe_fn_input", "runtime": 1, "policies": [], "config": {}, @@ -543,31 +559,31 @@ snapshot[`Typegraph using temporal 2`] = ` }, { "type": "object", - "title": "object_35", + "title": "root_describe_fn_output", "runtime": 1, "policies": [], "config": {}, "as_id": false, "properties": { - "start_time": 18, - "close_time": 18, - "state": 18 + "start_time": 19, + "close_time": 19, + "state": 19 }, "required": [] }, { "type": "optional", - "title": "optional_30", + "title": "root_describe_fn_output_start_time_root_describe_fn_output_start_time_integer_optional", "runtime": 1, "policies": [], "config": {}, "as_id": false, - "item": 19, + "item": 20, "default_value": null }, { "type": "integer", - "title": "integer_29", + "title": "root_describe_fn_output_start_time_integer", "runtime": 1, "policies": [], "config": {}, diff --git a/tests/runtimes/typegate/__snapshots__/typegate_prisma_test.ts.snap b/tests/runtimes/typegate/__snapshots__/typegate_prisma_test.ts.snap index 8c9aa5972d..e5f456beb2 100644 --- a/tests/runtimes/typegate/__snapshots__/typegate_prisma_test.ts.snap +++ b/tests/runtimes/typegate/__snapshots__/typegate_prisma_test.ts.snap @@ -17,7 +17,7 @@ snapshot[`typegate: find available operations 1`] = ` optional: false, policies: [], runtime: "prisma", - title: "string_0", + title: "recordWithNestedCount_id_string_uuid", type: "string", }, }, @@ -32,7 +32,7 @@ snapshot[`typegate: find available operations 1`] = ` optional: false, policies: [], runtime: "prisma", - title: "string_1", + title: "_string_filter_t0_string", type: "string", }, }, @@ -47,7 +47,7 @@ snapshot[`typegate: find available operations 1`] = ` optional: true, policies: [], runtime: "prisma", - title: "integer_2", + title: "_integer_filter_t0_integer", type: "integer", }, }, @@ -64,7 +64,7 @@ snapshot[`typegate: find available operations 1`] = ` '{"create":"__public"}', ], runtime: "prisma", - title: "string_6", + title: "_record_Cursor_t3_struct_createdAt_string_datetime", type: "string", }, }, @@ -85,7 +85,7 @@ snapshot[`typegate: find available operations 1`] = ` optional: false, policies: [], runtime: "prisma", - title: "string_0", + title: "recordWithNestedCount_id_string_uuid", type: "string", }, }, @@ -100,7 +100,7 @@ snapshot[`typegate: find available operations 1`] = ` optional: false, policies: [], runtime: "prisma", - title: "string_1", + title: "_string_filter_t0_string", type: "string", }, }, @@ -115,7 +115,7 @@ snapshot[`typegate: find available operations 1`] = ` optional: true, policies: [], runtime: "prisma", - title: "integer_2", + title: "_integer_filter_t0_integer", type: "integer", }, }, @@ -132,7 +132,7 @@ snapshot[`typegate: find available operations 1`] = ` '{"create":"__public"}', ], runtime: "prisma", - title: "string_6", + title: "_record_Cursor_t3_struct_createdAt_string_datetime", type: "string", }, }, @@ -153,7 +153,7 @@ snapshot[`typegate: find available operations 1`] = ` optional: false, policies: [], runtime: "prisma", - title: "integer_21", + title: "_users_CreateInput_id_integer", type: "integer", }, }, @@ -168,7 +168,7 @@ snapshot[`typegate: find available operations 1`] = ` optional: false, policies: [], runtime: "prisma", - title: "_22_user_identity[]", + title: "list_22_placeholder", type: "list", }, }, @@ -183,7 +183,7 @@ snapshot[`typegate: find available operations 1`] = ` optional: false, policies: [], runtime: "prisma", - title: "string_1", + title: "_string_filter_t0_string", type: "string", }, }, @@ -198,7 +198,7 @@ snapshot[`typegate: find available operations 1`] = ` optional: false, policies: [], runtime: "prisma", - title: "string_1", + title: "_string_filter_t0_string", type: "string", }, }, @@ -213,7 +213,7 @@ snapshot[`typegate: find available operations 1`] = ` optional: false, policies: [], runtime: "prisma", - title: "_26_messages[]", + title: "list_26_placeholder", type: "list", }, }, @@ -234,7 +234,7 @@ snapshot[`typegate: find available operations 1`] = ` optional: false, policies: [], runtime: "prisma", - title: "string_0", + title: "recordWithNestedCount_id_string_uuid", type: "string", }, }, @@ -253,7 +253,7 @@ snapshot[`typegate: find available operations 1`] = ` optional: false, policies: [], runtime: "prisma", - title: "string_17", + title: "_user_identity_CreateInput_excluding___rel_user_identity_users_1_provider_string_enum", type: "string", }, }, @@ -268,7 +268,7 @@ snapshot[`typegate: find available operations 1`] = ` optional: false, policies: [], runtime: "prisma", - title: "string_1", + title: "_string_filter_t0_string", type: "string", }, }, @@ -304,7 +304,7 @@ snapshot[`typegate: find available operations 1`] = ` optional: false, policies: [], runtime: "prisma", - title: "integer_9", + title: "_messages_CreateInput_excluding_messageSender_id_integer", type: "integer", }, }, @@ -319,7 +319,7 @@ snapshot[`typegate: find available operations 1`] = ` optional: false, policies: [], runtime: "prisma", - title: "integer_2", + title: "_integer_filter_t0_integer", type: "integer", }, }, @@ -334,7 +334,7 @@ snapshot[`typegate: find available operations 1`] = ` optional: false, policies: [], runtime: "prisma", - title: "string_1", + title: "_string_filter_t0_string", type: "string", }, }, diff --git a/tests/runtimes/typegate/__snapshots__/typegate_runtime_test.ts.snap b/tests/runtimes/typegate/__snapshots__/typegate_runtime_test.ts.snap index 61f87491e1..9cff5e2d6e 100644 --- a/tests/runtimes/typegate/__snapshots__/typegate_runtime_test.ts.snap +++ b/tests/runtimes/typegate/__snapshots__/typegate_runtime_test.ts.snap @@ -40,7 +40,7 @@ snapshot[`typegate: find available operations 1`] = ` format: "uuid", optional: false, runtime: "prisma", - title: "string_0", + title: "recordWithNestedCount_id_string_uuid", type: "string", }, }, @@ -56,7 +56,7 @@ snapshot[`typegate: find available operations 1`] = ` format: null, optional: false, runtime: "prisma", - title: "string_1", + title: "_string_filter_t0_string", type: "string", }, }, @@ -72,7 +72,7 @@ snapshot[`typegate: find available operations 1`] = ` format: null, optional: true, runtime: "prisma", - title: "integer_2", + title: "_integer_filter_t0_integer", type: "integer", }, }, @@ -88,7 +88,7 @@ snapshot[`typegate: find available operations 1`] = ` format: "date-time", optional: false, runtime: "prisma", - title: "string_69", + title: "recordWithNestedCount_createdAt_string_datetime", type: "string", }, }, @@ -198,7 +198,7 @@ snapshot[`typegate: find available operations 1`] = ` format: null, optional: false, runtime: "prisma", - title: "_104_recordWithNestedCount[]", + title: "root_findManyRecords_fn_output", type: "list", }, outputItem: { @@ -219,7 +219,7 @@ snapshot[`typegate: find available operations 1`] = ` format: "uuid", optional: false, runtime: "prisma", - title: "string_0", + title: "recordWithNestedCount_id_string_uuid", type: "string", }, }, @@ -235,7 +235,7 @@ snapshot[`typegate: find available operations 1`] = ` format: null, optional: false, runtime: "prisma", - title: "string_1", + title: "_string_filter_t0_string", type: "string", }, }, @@ -251,7 +251,7 @@ snapshot[`typegate: find available operations 1`] = ` format: null, optional: true, runtime: "prisma", - title: "integer_2", + title: "_integer_filter_t0_integer", type: "integer", }, }, @@ -267,7 +267,7 @@ snapshot[`typegate: find available operations 1`] = ` format: "date-time", optional: false, runtime: "prisma", - title: "string_69", + title: "recordWithNestedCount_createdAt_string_datetime", type: "string", }, }, @@ -315,7 +315,7 @@ snapshot[`typegate: find available operations 1`] = ` format: null, optional: false, runtime: "prisma", - title: "integer_21", + title: "_users_CreateInput_id_integer", type: "integer", }, }, @@ -331,7 +331,7 @@ snapshot[`typegate: find available operations 1`] = ` format: null, optional: false, runtime: "prisma", - title: "_284_user_identityWithNestedCount_excluding___rel_user_identity_users_1[]", + title: "usersWithNestedCount_identities_user_identityWithNestedCount_excluding___rel_user_identity_users_1_list", type: "list", }, }, @@ -347,7 +347,7 @@ snapshot[`typegate: find available operations 1`] = ` format: null, optional: false, runtime: "prisma", - title: "string_1", + title: "_string_filter_t0_string", type: "string", }, }, @@ -363,7 +363,7 @@ snapshot[`typegate: find available operations 1`] = ` format: null, optional: false, runtime: "prisma", - title: "string_1", + title: "_string_filter_t0_string", type: "string", }, }, @@ -379,7 +379,7 @@ snapshot[`typegate: find available operations 1`] = ` format: null, optional: false, runtime: "prisma", - title: "_286_messagesWithNestedCount_excluding_messageSender[]", + title: "usersWithNestedCount_messages_messagesWithNestedCount_excluding_messageSender_list", type: "list", }, }, @@ -396,7 +396,7 @@ snapshot[`typegate: find available operations 1`] = ` format: null, optional: true, runtime: "prisma", - title: "integer_2", + title: "_integer_filter_t0_integer", type: "integer", }, }, @@ -413,7 +413,7 @@ snapshot[`typegate: find available operations 1`] = ` format: null, optional: true, runtime: "prisma", - title: "integer_2", + title: "_integer_filter_t0_integer", type: "integer", }, }, @@ -523,7 +523,7 @@ snapshot[`typegate: find available operations 1`] = ` format: null, optional: false, runtime: "prisma", - title: "_338_messagesWithNestedCount[]", + title: "root_findMessages_fn_output", type: "list", }, outputItem: { @@ -544,7 +544,7 @@ snapshot[`typegate: find available operations 1`] = ` format: null, optional: false, runtime: "prisma", - title: "integer_9", + title: "_messages_CreateInput_excluding_messageSender_id_integer", type: "integer", }, }, @@ -560,7 +560,7 @@ snapshot[`typegate: find available operations 1`] = ` format: null, optional: false, runtime: "prisma", - title: "integer_2", + title: "_integer_filter_t0_integer", type: "integer", }, }, @@ -576,7 +576,7 @@ snapshot[`typegate: find available operations 1`] = ` format: null, optional: false, runtime: "prisma", - title: "string_1", + title: "_string_filter_t0_string", type: "string", }, }, @@ -593,7 +593,7 @@ snapshot[`typegate: find available operations 1`] = ` format: null, optional: false, runtime: "prisma", - title: "integer_21", + title: "_users_CreateInput_id_integer", type: "integer", }, }, @@ -610,7 +610,7 @@ snapshot[`typegate: find available operations 1`] = ` format: null, optional: false, runtime: "prisma", - title: "list_326", + title: "messagesWithNestedCount_sender_struct_identities_messagesWithNestedCount_sender_struct_identities_struct_list", type: "list", }, }, @@ -627,7 +627,7 @@ snapshot[`typegate: find available operations 1`] = ` format: null, optional: false, runtime: "prisma", - title: "string_1", + title: "_string_filter_t0_string", type: "string", }, }, @@ -644,7 +644,7 @@ snapshot[`typegate: find available operations 1`] = ` format: null, optional: false, runtime: "prisma", - title: "string_1", + title: "_string_filter_t0_string", type: "string", }, }, @@ -661,7 +661,7 @@ snapshot[`typegate: find available operations 1`] = ` format: null, optional: false, runtime: "prisma", - title: "list_335", + title: "messagesWithNestedCount_sender_struct_messages_messagesWithNestedCount_sender_struct_messages_struct_list", type: "list", }, }, diff --git a/tests/runtimes/wasm_reflected/rust/Cargo.lock b/tests/runtimes/wasm_reflected/rust/Cargo.lock index faa1f5f13d..00025038db 100644 --- a/tests/runtimes/wasm_reflected/rust/Cargo.lock +++ b/tests/runtimes/wasm_reflected/rust/Cargo.lock @@ -114,7 +114,7 @@ dependencies = [ [[package]] name = "rust" -version = "0.4.9-rc1" +version = "0.4.11-rc.0" dependencies = [ "wit-bindgen", ] diff --git a/tests/runtimes/wasm_wire/rust/fdk.rs b/tests/runtimes/wasm_wire/rust/fdk.rs index 1eac4d2f17..d9129dfb3a 100644 --- a/tests/runtimes/wasm_wire/rust/fdk.rs +++ b/tests/runtimes/wasm_wire/rust/fdk.rs @@ -109,7 +109,7 @@ impl Router { } pub fn init(&self, args: InitArgs) -> Result { - static MT_VERSION: &str = "0.4.9-rc1"; + static MT_VERSION: &str = "0.4.11-rc.0"; if args.metatype_version != MT_VERSION { return Err(InitError::VersionMismatch(MT_VERSION.into())); } @@ -219,48 +219,60 @@ macro_rules! init_mat { // gen-static-end use types::*; pub mod types { + pub type AddArgsAFloat = f64; #[derive(Debug, serde::Serialize, serde::Deserialize)] pub struct AddArgs { - pub a: f64, - pub b: f64, + pub a: AddArgsAFloat, + pub b: AddArgsAFloat, } + pub type AddOutput = i64; + pub type RangeArgsAAddOutputOptional = Option; #[derive(Debug, serde::Serialize, serde::Deserialize)] pub struct RangeArgs { - pub a: Option, - pub b: i64, + pub a: RangeArgsAAddOutputOptional, + pub b: AddOutput, } + pub type RangeOutput = Vec; #[derive(Debug, serde::Serialize, serde::Deserialize)] - pub struct Object35 { + pub struct RecordCreationInput { } - pub type String3 = String; - pub type String4 = String; - pub type String6 = String; + pub type EntityNameString = String; + pub type EntityAgeAddOutputOptional = Option; + pub type ProfileLevelStringEnum = String; + pub type ProfileAttributesStringEnum = String; + pub type ProfileAttributesProfileAttributesStringEnumList = Vec; + pub type ProfileCategoryStructTagStringEnum = String; + pub type ProfileCategoryStructValueEntityNameStringOptional = Option; #[derive(Debug, serde::Serialize, serde::Deserialize)] - pub struct Object9 { - pub tag: String6, - pub value: Option, + pub struct ProfileCategoryStruct { + pub tag: ProfileCategoryStructTagStringEnum, + pub value: ProfileCategoryStructValueEntityNameStringOptional, } #[derive(Debug, serde::Serialize, serde::Deserialize)] #[serde(untagged)] - pub enum Either12 { - String(String), - F64(f64), + pub enum ProfileMetadatasEither { + EntityNameString(EntityNameString), + AddArgsAFloat(AddArgsAFloat), } + pub type ProfileMetadatasProfileMetadatasEitherList = Vec; + pub type ProfileMetadatasProfileMetadatasProfileMetadatasEitherListList = Vec; #[derive(Debug, serde::Serialize, serde::Deserialize)] pub struct Profile { - pub level: String3, - pub attributes: Vec, - pub category: Object9, - pub metadatas: Vec>, + pub level: ProfileLevelStringEnum, + pub attributes: ProfileAttributesProfileAttributesStringEnumList, + pub category: ProfileCategoryStruct, + pub metadatas: ProfileMetadatasProfileMetadatasProfileMetadatasEitherListList, } #[derive(Debug, serde::Serialize, serde::Deserialize)] pub struct Entity { - pub name: String, - pub age: Option, + pub name: EntityNameString, + pub age: EntityAgeAddOutputOptional, pub profile: Profile, } - pub type Entity36 = Vec; - pub type Entity45 = Vec; + pub type RecordCreationOutput = Vec; + #[derive(Debug, serde::Serialize, serde::Deserialize)] + pub struct RootRandomFnInput { + } } pub mod stubs { use super::*; @@ -282,7 +294,7 @@ pub mod stubs { } } - fn handle(&self, input: AddArgs, cx: Ctx) -> anyhow::Result; + fn handle(&self, input: AddArgs, cx: Ctx) -> anyhow::Result; } pub trait Range: Sized + 'static { fn erased(self) -> ErasedHandler { @@ -302,7 +314,7 @@ pub mod stubs { } } - fn handle(&self, input: RangeArgs, cx: Ctx) -> anyhow::Result>; + fn handle(&self, input: RangeArgs, cx: Ctx) -> anyhow::Result; } pub trait RecordCreation: Sized + 'static { fn erased(self) -> ErasedHandler { @@ -322,7 +334,7 @@ pub mod stubs { } } - fn handle(&self, input: Object35, cx: Ctx) -> anyhow::Result; + fn handle(&self, input: RecordCreationInput, cx: Ctx) -> anyhow::Result; } pub trait Identity: Sized + 'static { fn erased(self) -> ErasedHandler { @@ -362,7 +374,7 @@ pub mod stubs { } } - fn handle(&self, input: Object35, cx: Ctx) -> anyhow::Result; + fn handle(&self, input: RecordCreationInput, cx: Ctx) -> anyhow::Result; } pub fn op_to_trait_name(op_name: &str) -> &'static str { match op_name { diff --git a/tests/runtimes/wasm_wire/rust/lib.rs b/tests/runtimes/wasm_wire/rust/lib.rs index 56ad1c524d..712feac172 100644 --- a/tests/runtimes/wasm_wire/rust/lib.rs +++ b/tests/runtimes/wasm_wire/rust/lib.rs @@ -44,20 +44,24 @@ impl stubs::Range for MyMat { } impl stubs::RecordCreation for MyMat { - fn handle(&self, _input: types::Object35, _cx: Ctx) -> anyhow::Result { + fn handle( + &self, + _input: types::RecordCreationInput, + _cx: Ctx, + ) -> anyhow::Result { Ok(vec![ types::Entity { name: "Entity A".into(), age: None, profile: types::Profile { - category: types::Object9 { + category: types::ProfileCategoryStruct { tag: "a".into(), value: None, }, level: "bronze".into(), metadatas: vec![vec![ - types::Either12::String("strength".into()), - types::Either12::F64(3.14), + types::ProfileMetadatasEither::EntityNameString("strength".into()), + types::ProfileMetadatasEither::AddArgsAFloat(3.14), ]], attributes: vec!["defend".into()], }, @@ -66,7 +70,7 @@ impl stubs::RecordCreation for MyMat { name: "Entity B".into(), age: Some(11), profile: types::Profile { - category: types::Object9 { + category: types::ProfileCategoryStruct { tag: "b".into(), value: Some("bbb".into()), }, @@ -80,7 +84,11 @@ impl stubs::RecordCreation for MyMat { } impl stubs::HundredRandom for MyMat { - fn handle(&self, _input: types::Object35, cx: Ctx) -> anyhow::Result { + fn handle( + &self, + _input: types::RecordCreationInput, + cx: Ctx, + ) -> anyhow::Result { let mut out = vec![]; for _ in 0..100 { let res: serde_json::Value = cx.gql( diff --git a/tests/simple/__snapshots__/class_syntax_test.ts.snap b/tests/simple/__snapshots__/class_syntax_test.ts.snap index 59e7cd0403..c40e9460e6 100644 --- a/tests/simple/__snapshots__/class_syntax_test.ts.snap +++ b/tests/simple/__snapshots__/class_syntax_test.ts.snap @@ -73,7 +73,7 @@ snapshot[`Class Syntax 1`] = ` }, ], kind: "OBJECT", - name: "object_23", + name: "root_identity_fn_input", }, { fields: [ @@ -85,12 +85,12 @@ snapshot[`Class Syntax 1`] = ` }, ], kind: "OBJECT", - name: "object_14", + name: "root_identity_fn_input_comments_struct", }, { fields: null, kind: "UNION", - name: "either_8Out", + name: "root_identity_fn_input_metadatas_eitherOut", }, { fields: [ @@ -132,7 +132,7 @@ snapshot[`Class Syntax 1`] = ` }, ], kind: "OBJECT", - name: "object_20", + name: "B_class_struct", }, { fields: [ @@ -144,17 +144,17 @@ snapshot[`Class Syntax 1`] = ` }, ], kind: "OBJECT", - name: "object_26", + name: "root_id_class_struct_fn_input", }, { fields: null, kind: "INPUT_OBJECT", - name: "object_14Inp", + name: "root_identity_fn_input_comments_structInp", }, { fields: null, kind: "SCALAR", - name: "either_8In", + name: "root_identity_fn_input_metadatas_eitherIn", }, { fields: null, @@ -169,7 +169,7 @@ snapshot[`Class Syntax 1`] = ` { fields: null, kind: "INPUT_OBJECT", - name: "object_20Inp", + name: "B_class_structInp", }, { fields: null, diff --git a/tests/type_nodes/__snapshots__/union_test.ts.snap b/tests/type_nodes/__snapshots__/union_test.ts.snap index 7e1c1aa46c..24658291be 100644 --- a/tests/type_nodes/__snapshots__/union_test.ts.snap +++ b/tests/type_nodes/__snapshots__/union_test.ts.snap @@ -99,7 +99,7 @@ snapshot[`Union type 2`] = ` }, { kind: "UNION", - name: "union_17Out", + name: "A1_a_unionOut", possibleTypes: [ { kind: "OBJECT", @@ -118,7 +118,7 @@ snapshot[`Union type 2`] = ` }, { kind: "UNION", - name: "union_14Out", + name: "A2_a_unionOut", possibleTypes: [ { kind: "OBJECT", @@ -177,7 +177,7 @@ snapshot[`Union type 2`] = ` }, { kind: "UNION", - name: "union_35Out", + name: "MultilevelUnion_t2_unionOut", }, ], }, @@ -193,7 +193,7 @@ snapshot[`Union type 2`] = ` }, { kind: "UNION", - name: "union_35Out", + name: "MultilevelUnion_t2_unionOut", possibleTypes: [ { kind: "OBJECT", @@ -205,7 +205,7 @@ snapshot[`Union type 2`] = ` }, { kind: "UNION", - name: "either_34Out", + name: "MultilevelUnion_t2_union_t2_eitherOut", }, ], }, @@ -221,7 +221,7 @@ snapshot[`Union type 2`] = ` }, { kind: "UNION", - name: "either_34Out", + name: "MultilevelUnion_t2_union_t2_eitherOut", possibleTypes: [ { kind: "OBJECT", @@ -265,7 +265,7 @@ snapshot[`Union type 2`] = ` }, { kind: "SCALAR", - name: "union_17In", + name: "A1_a_unionIn", possibleTypes: null, }, { @@ -275,7 +275,7 @@ snapshot[`Union type 2`] = ` }, { kind: "SCALAR", - name: "union_14In", + name: "A2_a_unionIn", possibleTypes: null, }, { @@ -315,7 +315,7 @@ snapshot[`Union type 2`] = ` }, { kind: "SCALAR", - name: "union_35In", + name: "MultilevelUnion_t2_unionIn", possibleTypes: null, }, { @@ -330,7 +330,7 @@ snapshot[`Union type 2`] = ` }, { kind: "SCALAR", - name: "either_34In", + name: "MultilevelUnion_t2_union_t2_eitherIn", possibleTypes: null, }, { diff --git a/tests/typecheck/__snapshots__/input_validator_test.ts.snap b/tests/typecheck/__snapshots__/input_validator_test.ts.snap index 703d7ec0c3..9746af3a89 100644 --- a/tests/typecheck/__snapshots__/input_validator_test.ts.snap +++ b/tests/typecheck/__snapshots__/input_validator_test.ts.snap @@ -16,7 +16,7 @@ validate_34(value[\\"title\\"], path + \\".title\\", errors, context) keys.delete(\\"content\\") validate_35(value[\\"content\\"], path + \\".content\\", errors, context) keys.delete(\\"authorId\\") -validate_15(value[\\"authorId\\"], path + \\".authorId\\", errors, context) +validate_30(value[\\"authorId\\"], path + \\".authorId\\", errors, context) keys.delete(\\"tags\\") validate_36(value[\\"tags\\"], path + \\".tags\\", errors, context) if (keys.size > 0) { @@ -46,7 +46,7 @@ if (value.length < 100) { errors.push([path, \`expected minimum length: 100, got \${value.length}\`]); } } -function validate_15(value, path, errors, context) { +function validate_30(value, path, errors, context) { if (typeof value !== \\"string\\") { errors.push([path, \`expected a string, got \${typeof value}\`]); } @@ -196,7 +196,7 @@ validate_10(value[\\"tag\\"], path + \\".tag\\", errors, context) keys.delete(\\"authorId\\") validate_14(value[\\"authorId\\"], path + \\".authorId\\", errors, context) keys.delete(\\"search\\") -validate_16(value[\\"search\\"], path + \\".search\\", errors, context) +validate_15(value[\\"search\\"], path + \\".search\\", errors, context) if (keys.size > 0) { errors.push([path, \`unexpected fields: \${[...keys].join(', ')}\`]); } @@ -209,12 +209,12 @@ validate_11(value, path, errors, context) } function validate_14(value, path, errors, context) { if (value != null) { -validate_15(value, path, errors, context) +validate_3(value, path, errors, context) } } -function validate_16(value, path, errors, context) { +function validate_15(value, path, errors, context) { if (value != null) { -validate_17(value, path, errors, context) +validate_16(value, path, errors, context) } } function validate_11(value, path, errors, context) { @@ -231,7 +231,7 @@ failed.push(errs) const failedErrors = failed.map((errs, i) => \`\\\\n #\${i} \${errs.join(', ')}\`).join('') errors.push([path, \`Value does not match to any variant of the union type \${failedErrors}\`]) } -function validate_15(value, path, errors, context) { +function validate_3(value, path, errors, context) { if (typeof value !== \\"string\\") { errors.push([path, \`expected a string, got \${typeof value}\`]); } @@ -246,16 +246,16 @@ errors.push([path, \\"string does not statisfy the required format 'uuid'\\"]); } } } -function validate_17(value, path, errors, context) { +function validate_16(value, path, errors, context) { let matchCount = 0; const failed = []; let errs; errs = [] -validate_18(value, path, errs, context); +validate_17(value, path, errs, context); if (errs.length === 0) { matchCount += 1 } else { failed.push(errs) } errs = [] -validate_21(value, path, errs, context); +validate_20(value, path, errs, context); if (errs.length === 0) { matchCount += 1 } else { failed.push(errs) } if (matchCount === 0) { @@ -287,7 +287,7 @@ validate_12(value[i], path + \`[\${i}]\`, errors, context) } } } -function validate_18(value, path, errors, context) { +function validate_17(value, path, errors, context) { if (typeof value !== \\"object\\") { errors.push([path, \`expected an object, got \${typeof value}\`]); } @@ -298,13 +298,13 @@ errors.push([path, \\"exptected a non-null object, got null\\"]); else { const keys = new Set(Object.keys(value)) keys.delete(\\"title\\") -validate_19(value[\\"title\\"], path + \\".title\\", errors, context) +validate_18(value[\\"title\\"], path + \\".title\\", errors, context) if (keys.size > 0) { errors.push([path, \`unexpected fields: \${[...keys].join(', ')}\`]); } } } -function validate_21(value, path, errors, context) { +function validate_20(value, path, errors, context) { if (typeof value !== \\"object\\") { errors.push([path, \`expected an object, got \${typeof value}\`]); } @@ -315,18 +315,18 @@ errors.push([path, \\"exptected a non-null object, got null\\"]); else { const keys = new Set(Object.keys(value)) keys.delete(\\"content\\") -validate_22(value[\\"content\\"], path + \\".content\\", errors, context) +validate_21(value[\\"content\\"], path + \\".content\\", errors, context) if (keys.size > 0) { errors.push([path, \`unexpected fields: \${[...keys].join(', ')}\`]); } } } -function validate_19(value, path, errors, context) { +function validate_18(value, path, errors, context) { let matchCount = 0; const failed = []; let errs; errs = [] -validate_20(value, path, errs, context); +validate_19(value, path, errs, context); if (errs.length === 0) { matchCount += 1 } else { failed.push(errs) } errs = [] @@ -342,16 +342,16 @@ const failedErrors = failed.map((errs, i) => \`\\\\n #\${i} \${errs.join(', ')} errors.push([path, \`Value match to more than one variant of the either type \${failedErrors}\`]) } } -function validate_22(value, path, errors, context) { +function validate_21(value, path, errors, context) { let matchCount = 0; const failed = []; let errs; errs = [] -validate_20(value, path, errs, context); +validate_19(value, path, errs, context); if (errs.length === 0) { matchCount += 1 } else { failed.push(errs) } errs = [] -validate_23(value, path, errs, context); +validate_22(value, path, errs, context); if (errs.length === 0) { matchCount += 1 } else { failed.push(errs) } if (matchCount === 0) { @@ -363,7 +363,7 @@ const failedErrors = failed.map((errs, i) => \`\\\\n #\${i} \${errs.join(', ')} errors.push([path, \`Value match to more than one variant of the either type \${failedErrors}\`]) } } -function validate_20(value, path, errors, context) { +function validate_19(value, path, errors, context) { if (typeof value !== \\"string\\") { errors.push([path, \`expected a string, got \${typeof value}\`]); } @@ -372,7 +372,7 @@ if (value.length < 3) { errors.push([path, \`expected minimum length: 3, got \${value.length}\`]); } } -function validate_23(value, path, errors, context) { +function validate_22(value, path, errors, context) { if (!Array.isArray(value)) { errors.push([path, \`expected an array, got \${typeof value}\`]); } @@ -383,7 +383,7 @@ errors.push([path, \`expected maximum items: 3, got \${value.length}\`]); else { for (let i = 0; i < value.length; ++i) { const item = value[i] -validate_20(value[i], path + \`[\${i}]\`, errors, context) +validate_19(value[i], path + \`[\${i}]\`, errors, context) } } } diff --git a/tests/typecheck/__snapshots__/typecheck_test.ts.snap b/tests/typecheck/__snapshots__/typecheck_test.ts.snap index 30945e8b60..a760f8e782 100644 --- a/tests/typecheck/__snapshots__/typecheck_test.ts.snap +++ b/tests/typecheck/__snapshots__/typecheck_test.ts.snap @@ -19,9 +19,9 @@ errors.push([path, \`unexpected fields: \${[...keys].join(', ')}\`]); } } function validate_8_2(value, path, errors, context) { -validate_24_3(value, path, errors, context) +validate_23_3(value, path, errors, context) } -function validate_24_3(value, path, errors, context) { +function validate_23_3(value, path, errors, context) { if (!Array.isArray(value)) { errors.push([path, \`expected an array, got \${typeof value}\`]); } @@ -32,11 +32,11 @@ errors.push([path, \`expected maximum items: 20, got \${value.length}\`]); else { for (let i = 0; i < value.length; ++i) { const item = value[i] -validate_25_4(value[i], path + \`[\${i}]\`, errors, context) +validate_24_4(value[i], path + \`[\${i}]\`, errors, context) } } } -function validate_25_4(value, path, errors, context) { +function validate_24_4(value, path, errors, context) { if (typeof value !== \\"object\\") { errors.push([path, \`expected an object, got \${typeof value}\`]); } @@ -49,7 +49,7 @@ const keys = new Set(Object.keys(value)) keys.delete(\\"id\\") validate_3(value[\\"id\\"], path + \\".id\\", errors, context) keys.delete(\\"title\\") -validate_26(value[\\"title\\"], path + \\".title\\", errors, context) +validate_25(value[\\"title\\"], path + \\".title\\", errors, context) keys.delete(\\"author\\") validate_2_5(value[\\"author\\"], path + \\".author\\", errors, context) if (keys.size > 0) { @@ -72,7 +72,7 @@ errors.push([path, \\"string does not statisfy the required format 'uuid'\\"]); } } } -function validate_26(value, path, errors, context) { +function validate_25(value, path, errors, context) { if (typeof value !== \\"string\\") { errors.push([path, \`expected a string, got \${typeof value}\`]); }