Releases: resgroup/nimrod
Releases · resgroup/nimrod
Navy Lead Labrador
We drop the support of namespaces and migrate to TypeScript 2.0. The means the generated code is completely ES2015/ES6 compatible.
- Generate module based on C# namespaces. This avoids any naming collision. Deletion of the
module
option. - One file by namespace is generated, so you will get multiple classes by files.
- (Experimental) TypeScript 2.0 support with the inclusion of the
strictNullCheck
flag
Aqua Steel Bulldog
Add flag strictNullCheck
to be able to generate nullable/non nullable typescript properties, following the release of TypeScript 2.0.
Learn more about TypeScript 2.0 and the nullable type: TypeScript 2.0 is now available!
Maroon Gold Schnauzer
Fixes return type of actions of controllers based on their name
Blue Bronze Greyhound
Create a utility class that delivers the Description attribute of each item in an Enumeration.
public enum Fruit
{
[Description("Color is yellow")]
Banana
}
will now transcript to:
enum Fruit {
Banana = 0
}
class FruitUtilities {
static getDescription(item: Fruit): string {
switch (item) {
case Fruit.Banana: return 'Color is yellow';
default: return item.toString();
}
}
}
Black Lead Sheepdog
Implements inhéritance model from C# to typescript.
This C# code:
public abstract class Animal
{
public string Color { get; set; }
}
public class Duck : Animal { }
will now transcript to:
interface IAnimal
{
Color: string;
}
interface IDuck extends IAnimal
{
Color: string;
}
Airedale Swan Termite
Support for tuples, with working namespaces
Langur Shih Tzu Violet
Support for tuples
Tuna Ianthine
Initial release