Release v4.1.0
Summary
Every declaration can now name the file it is realized by, so a document can be navigated back to the code. #120
Added
file <path>onconcept,type,event,readmodel,projection,slice,specificationand the top-leveltrigger, naming the repository relative file the declaration is realized by. #120PLAY0264warns when afilepath is absolute rather than repository relative.fileoffered as a completion in the declaration bodies that accept it.- A file references page covering what the keyword means on each construct and the rules a path follows.
Changed
ScreenplaySyntaxWalker.VisitFileReferencereaches every file a document names, whichever construct named it.- Syntax nodes grow by init-only property rather than by a trailing optional record parameter, which is a binary break. Set
Filewith an object initializer or awithexpression.
Fixed
- The syntax tree compatibility page said appending an optional record parameter keeps consumers working. It is source compatible and binary breaking, so the page now states the hazard and prescribes the init property.