version info¶
Model Version¶
An optional model-version
setting can be defined to associate all the definitions within the .alfa
with a model version metadata tag.
model-version 'ISO-123.45'
namespace iso.domain.model
record Data { }
If specified, this information is encoded into serialized data as metadata. Alternatively, maintaining version information can be managed externally, for example from a project build version.
Language Version¶
Optionally to denote the version of the ALFA modelling language in use, language-version
can be
specified at the start of an .alfa
file. The version is specified a integer number.
Example:
language-version 3
namespace Acme.Accounts
record Invoice { }
language-version
can be left out, unless recommended to do so due to a new feature
that has been introduced to the language.
The latest version is 3.