Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for nested complex types (#60) #61

Closed
wants to merge 4 commits into from
Closed

Add support for nested complex types (#60) #61

wants to merge 4 commits into from

Conversation

kavhad
Copy link

@kavhad kavhad commented Oct 15, 2017

I've made a fix for the missing use case of when there exists enum within nested complex properties (described in issue #60).

@kavhad kavhad changed the title Fix nested complex types (issue #60 ) Add support for nested complex types (described in issue #60 ) Oct 15, 2017
@kavhad kavhad changed the title Add support for nested complex types (described in issue #60 ) Add support for nested complex types (#60) Oct 15, 2017
Copy link
Owner

@timabell timabell left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for your contribution, much appreciated.
Some minor comments on whitespace that need sorting out, and I haven't read the diff on the Metahandler yet as it's full of diff noise, but so far looking great.
I've set up Appveyor now to run the unit tests so keep an eye on that when you push an update.
If I go quiet feel free to send me reminders, through github or on [email protected]
👍 good work!
Also remind me to actually update the nuget package when we're done.

@@ -1,111 +1,117 @@
<?xml version="1.0" encoding="utf-8"?>
Copy link
Owner

@timabell timabell Oct 15, 2017

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why's the whole file changed? line-endings or something?

@@ -0,0 +1,12 @@
using System.ComponentModel.DataAnnotations.Schema;
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

good choice of test names 👍 😄

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It was between a candy bag or perhaps an engine with parts, but candy won :)

@@ -64,6 +65,8 @@ public void ExampleOfGeneratingSql()
public class MyDbContext : DbContext
{
public DbSet<Foo> Foos { get; set; }

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

unintentional blank lines?

@@ -74,8 +77,25 @@ public class Foo
public int Id { get; set; }
public Size Size { get; set; }
public Shape Shape { get; set; }

public Bar Bar { get; set; }
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

indentation mismatch?
check out the editorconfig in the root folder

}

[ComplexType]
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

indentation looks off here too

@@ -1,267 +1,318 @@
namespace EfEnumToLookup.LookupGenerator
{
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

large amount of diff-noise here probably due to indent / line-ending differences, fix that up and I'll have another look

@kavhad
Copy link
Author

kavhad commented Oct 16, 2017

Ok, I'll try and fix the commented issues. I'm not sure why certain indentations looks different on github diff tool as it looks correct when I do a diff in Visual Studio.

@kavhad kavhad closed this by deleting the head repository Jan 31, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants