do not require platforms in the json input for generators
@@ -11,6 +11,7 @@ pub struct Generator {
name: String,
provider: String,
output: Option<String>,
+ #[serde(default = "Vec::new")]
platforms: Vec<String>,
pinned_platform: Option<String>,
// Todo: This is a bad choice, PrismaValue is probably better.
