v0.11.0
BREAKING CHANGE
In the internal parser, { type: "fieldAttribute" } and { type: "blockAttribute" } have been made into separate nodes. Previously, the same node { type: "attribute" } was reused for both. This makes it easier for the parser to distinguish which kind of node it's getting because schemas can have block attributes intermixed with their field attributes.
This is only a breaking change if you're accessing the internal AST to access attributes. Higher level abstractions, such as produceSchema / PrismaSchemaBuilder are not impacted by this.
- Fix printing when block attributes are mixed in with fields 2e30232