- Added support for user-defined (non-system) nullable value type members on data contracts (Commands, Domain Events etc.)
- Generates a ToString method on Value Types returning the value of simple (non-array) properties.
- Adds support for named nullable types in properties, e.g.
DateTime? EndDate
.
defconventions
extended to enable configurable base classes and interfaces on Commands.- Known value type fields are now included in GetHashCode calculation.
- Added support for properties that are uni-dimensional arrays of named types (e.g.
EmployeeNumber[]
).
- Support for single-line comments added (semicolon to end-of-line)
defenum
added to generate enumeration DTOs (Data Transfer Objects).- Properties can now be any type (generator will emit names of custom/non-system types literally)
defdto
added to generate DTOs (Data Transfer Objects).
- Support for arrays in value types, commands and domain events.
- Grammar for property specification now follows C# grammar more closely.
defdomainevent
added to generate domain event DTOs.defconventions
added to configure the code-generation. For now, just configurable base classes for Domain Events.
- Parser requires entire source file to be valid (before it unintentionally allowed anything to follow the AST).
- Added DataContractSerializer serializability for commands (
defcommand
).
- Support for nullable types in properties introduced (e.g.
defcommand
anddefvaluetype
). - Support for System types DateTime and Guid in added to properties in
defcommand
anddefvaluetype
.
defvaluetype
extended to also accept a list of properties likedefcommand
.
defapplicationservice
added, generating a service interface for the associated commands.
defvaluetype
adds binary serializability.defcommand
adds serializability.defcommand
now adds DataContract and DataMember attributes for XML serialization.
Initial release.
Includes namespace
, defvaluetype
and defcommand
.