Skip to content

Commit 61bd457

Browse files
Liu, ShabaiLiu, Shabai
authored andcommitted
Get ready for release
1 parent f0b7def commit 61bd457

File tree

5 files changed

+10
-16
lines changed

5 files changed

+10
-16
lines changed

Source/Cvent.SchemaToPoco.Console/Properties/AssemblyInfo.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,5 @@
1111
[assembly: AssemblyCulture("")]
1212
[assembly: ComVisible(false)]
1313
[assembly: Guid("d81b81d4-c2b9-4c31-b372-bd2c23fd7191")]
14-
[assembly: AssemblyVersion("1.1.*")]
15-
[assembly: AssemblyFileVersion("1.1.*")]
14+
[assembly: AssemblyVersion("1.2.*")]
15+
[assembly: AssemblyFileVersion("1.2.*")]

Source/Cvent.SchemaToPoco.Core.UnitTests/Properties/AssemblyInfo.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,5 +35,5 @@
3535
// by using the '*' as shown below:
3636
// [assembly: AssemblyVersion("1.0.*")]
3737

38-
[assembly: AssemblyVersion("1.1.*")]
39-
[assembly: AssemblyFileVersion("1.1.*")]
38+
[assembly: AssemblyVersion("1.2.*")]
39+
[assembly: AssemblyFileVersion("1.2.*")]

Source/Cvent.SchemaToPoco.Core/Properties/AssemblyInfo.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,5 +35,5 @@
3535
// by using the '*' as shown below:
3636
// [assembly: AssemblyVersion("1.0.*")]
3737

38-
[assembly: AssemblyVersion("1.1.*")]
39-
[assembly: AssemblyFileVersion("1.1.*")]
38+
[assembly: AssemblyVersion("1.2.*")]
39+
[assembly: AssemblyFileVersion("1.2.*")]

Source/Cvent.SchemaToPoco.Core/Util/JsonSchemaResolverUtil.cs

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -147,15 +147,9 @@ private JsonSchemaWrapper ResolveSchemaHelper(Uri curr, Uri parent, string data)
147147
var isProp = prop.Name.Equals("properties");
148148
var isItem = prop.Name.Equals("items");
149149

150-
if (isProp || isItem)
150+
// TODO ehhhh let's avoid hardcoding this
151+
if (isProp || (isItem && prop.Value.ToString().Contains("\"properties\"")))
151152
{
152-
// If it's an array, also check that it needs to be created
153-
// TODO ehhhh let's avoid hardcoding this
154-
if (isItem && !prop.Value.ToString().Contains("\"properties\""))
155-
{
156-
break;
157-
}
158-
159153
var propData = isProp ? s.Value.ToString() : prop.Value.ToString();
160154

161155
// Create dummy internal Uri

Source/Test/Properties/AssemblyInfo.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,5 +35,5 @@
3535
// by using the '*' as shown below:
3636
// [assembly: AssemblyVersion("1.0.*")]
3737

38-
[assembly: AssemblyVersion("1.1.*")]
39-
[assembly: AssemblyFileVersion("1.1.*")]
38+
[assembly: AssemblyVersion("1.2.*")]
39+
[assembly: AssemblyFileVersion("1.2.*")]

0 commit comments

Comments
 (0)