-
Notifications
You must be signed in to change notification settings - Fork 26
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #63 from mrt181/61_JsonPropertyNames_are_ignored_w…
…hen_using_syntax_to_select_individual_columns [ksqlDb.RestApi.Client]: fix colum names in sql
- Loading branch information
Showing
3 changed files
with
120 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
17 changes: 17 additions & 0 deletions
17
Tests/ksqlDB.RestApi.Client.Tests/Models/JsonPropertyNameTestData.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
using System.Text.Json.Serialization; | ||
using ksqlDB.RestApi.Client.KSql.Query; | ||
using ksqlDB.RestApi.Client.KSql.RestApi.Statements.Annotations; | ||
|
||
namespace ksqlDb.RestApi.Client.Tests.Models | ||
{ | ||
public class JsonPropertyNameTestData : Record | ||
{ | ||
[JsonPropertyName("sub")] public SubProperty SubProperty { get; set; } | ||
} | ||
|
||
[Struct] | ||
public class SubProperty | ||
{ | ||
[JsonPropertyName("prop")] public string Property { get; set; } | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters