Description
The ZenStack v3 VS Code extension flags the field-level @fullText attribute as an error in .zmodel files:
Could not resolve reference to Attribute named '@fulltext'.
…even though the same schema compiles cleanly with @zenstackhq/cli@3.7.2. The editor diagnostic is a false positive: the published extension's bundled stdlib.zmodel predates the introduction of the field-level @fullText attribute.
Reproduction
schema.zmodel:
model CatalogPrestation {
id String @id
label String @fullText
keywords String @fullText @default("")
}
- zen generate (CLI/ORM @zenstackhq/*@3.7.2) → ✅ succeeds.
- Open the file in VS Code with the ZenStack v3 extension (v3.6.1) → ❌ red squiggle:
Could not resolve reference to Attribute named '@fulltext'.
Expected
The editor should resolve @fulltext exactly as the 3.7.x CLI does.
Description
The ZenStack v3 VS Code extension flags the field-level
@fullTextattribute as an error in.zmodelfiles:…even though the same schema compiles cleanly with
@zenstackhq/cli@3.7.2. The editor diagnostic is a false positive: the published extension's bundledstdlib.zmodelpredates the introduction of the field-level@fullTextattribute.Reproduction
schema.zmodel:Could not resolve reference to Attribute named '@fulltext'.
Expected
The editor should resolve @fulltext exactly as the 3.7.x CLI does.