ObjectExporter icon indicating copy to clipboard operation
ObjectExporter copied to clipboard

Object initializer missing property assignemnt

Open miekademarco opened this issue 9 years ago • 3 comments

Using VS2015 and C#6

Code generated:

var response = new Xyz.DomainObjects.OrderResponse
{
    new Xyz.DomainObjects.OrderDetails
    {
    ...

Should be:

var response = new Xyz.DomainObjects.OrderResponse
{
    OrderDetails = new Xyz.DomainObjects.OrderDetails
    {
    ...

miekademarco avatar Jan 18 '16 03:01 miekademarco

Hi @miczdem, thank you for taking the time to post this issue, I'm currently aware of this issue and working to resolve it in an upcoming major update.

OmarElabd avatar Jan 22 '16 22:01 OmarElabd

Hi @OmarElabd, you're welcome! Thanks for creating and maintaining this awesome tool. It has saved me a lot of time generating objects for unit tests. Looking forward to v2!

miekademarco avatar Jan 24 '16 00:01 miekademarco

Hi! I have the same issue! Isn't resolved yet?

gioce90 avatar Jul 27 '17 15:07 gioce90