Skip to content

Recognize keyword modifiers on concept declarations in the editor - #1084

Merged
einari merged 1 commit into
mainfrom
fix/concept-pii-modifier
Oct 27, 2026
Merged

einari merged 1 commit into
mainfrom
fix/concept-pii-modifier

Conversation

@einari

@einari einari commented Oct 27, 2026

Copy link
Copy Markdown
Contributor

Fixed

  • The editor's symbol scanner only accepted @attribute modifiers after a concept's primitive, so concept SpeakerEmail : String pii (the documented form) was not recognized as a concept. Every use of it showed an unknown-type squiggle, although cratis screenplay validate accepted the model. The scanner now accepts the keyword modifiers (pii, secret) with or without @.

@einari einari added patch Bug fixes, docs, refactoring ai-corpus: none Language change that does not affect the AI corpus (reason stated in a PR comment) labels Oct 27, 2026
@einari

einari commented Oct 27, 2026

Copy link
Copy Markdown
Contributor Author

Corpus impact: none - this changes only the editor's symbol scanner, so no language construct, diagnostic or generated output changes.

@einari
einari merged commit 726f9e0 into main Oct 27, 2026
10 of 13 checks passed
@einari
einari deleted the fix/concept-pii-modifier branch October 27, 2026 19:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ai-corpus: none Language change that does not affect the AI corpus (reason stated in a PR comment) patch Bug fixes, docs, refactoring

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant