You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The [JsonIgnore] on an argument is ignored when the property is nested in another class
Steps to recreate
Classes:
public class Class1
{
public Class2 Prop{ get; set; }
}
public class Class2
{
public int Prop { get; set; }
[JsonIgnore]
public int JsonIgnoreProp{ get; set; }
}
Current behavior
The plugin generates a result which ignores the class nesting and the [JsonIgnore]
The plugin should generate a interface which takes the class2 interlace and accounts for the [JsonIgnore] property (well class2 is tactfully generated correctly, so if it takes the correct type, it would be fine).
Installed product versions
Description
The [JsonIgnore] on an argument is ignored when the property is nested in another class
Steps to recreate
Classes:
Current behavior
The plugin generates a result which ignores the class nesting and the [JsonIgnore]
Expected behavior
The plugin should generate a interface which takes the class2 interlace and accounts for the [JsonIgnore] property (well class2 is tactfully generated correctly, so if it takes the correct type, it would be fine).
The text was updated successfully, but these errors were encountered: