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

82 enhancing fluent API implementing the HasColumnName method #83

Merged
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
17 commits
Select commit Hold shift + click to select a range
37845cc
[ksqlDB.RestApi.Client]: added HasColumnName to Fluent API for custo…
tomasfabian May 31, 2024
db09da2
[ksqlDB.RestApi.Client]: HasColumnName to Fluent API unit tests
tomasfabian May 31, 2024
8f67db6
[ksqlDB.RestApi.Client]: HasColumnName to Fluent API sample
tomasfabian May 31, 2024
9ebae01
[ksqlDB.RestApi.Client]: HasColumnName to Fluent API sample
tomasfabian May 31, 2024
ad34184
[ksqlDB.RestApi.Client]: HasColumnName to Fluent API documentation
tomasfabian May 31, 2024
57ab7a0
[ksqlDB.RestApi.Client]: HasColumnName to Fluent API release candidate
tomasfabian May 31, 2024
309cb3e
[ksqlDB.RestApi.Client]: IMetadataProvider injection instead of Model…
tomasfabian May 31, 2024
0120655
[ksqlDB.RestApi.Client]: added JsonTypeInfoResolver improvements and …
tomasfabian Jun 1, 2024
4c7a9e1
[ksqlDB.RestApi.Client]: fixed null reference exception in KSqlDbQuer…
tomasfabian Jun 1, 2024
85381b4
[ksqlDB.RestApi.Client]: JsonPropertyNameModifier moved to KSqlDbProv…
tomasfabian Jun 2, 2024
2ae4ea6
[ksqlDB.RestApi.Client]: added JsonSerializerOptionsExtensions
tomasfabian Jun 2, 2024
2f07eb8
[ksqlDB.RestApi.Client]: added JsonSerializerOptionsExtensions unit t…
tomasfabian Jun 2, 2024
6e9a86c
[ksqlDB.RestApi.Client]: added KSqlDbProvider.JsonPropertyNameModifie…
tomasfabian Jun 2, 2024
0742222
[ksqlDB.RestApi.Client]: added TypeExtensionsTests.GetMemberNameunit …
tomasfabian Jun 3, 2024
26e29b2
[ksqlDB.RestApi.Client]: added ModelBuilder integration tests
tomasfabian Jun 4, 2024
41f9793
[ksqlDB.RestApi.Client]: Added Fluent API HasColumnName function to R…
tomasfabian Jun 5, 2024
da83047
[ksqlDB.RestApi.Client]: release v6.1.0
tomasfabian Jun 7, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
[ksqlDB.RestApi.Client]: HasColumnName to Fluent API sample
  • Loading branch information
tomasfabian committed May 31, 2024
commit 8f67db6ea8dce5535ec678a7a97ec840e15a3d3f
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,10 @@ public async Task InitModelAndCreateStreamAsync(CancellationToken cancellationTo
.Property(b => b.Amount)
.Decimal(precision: 10, scale: 2);

modelBuilder.Entity<Payment>()
.Property(b => b.Description)
.HasColumnName("desc");

string header = "abc";
modelBuilder.Entity<PocoWithHeader>()
.Property(c => c.Header)
Expand Down Expand Up @@ -59,7 +63,7 @@ private IKSqlDbRestApiClient ConfigureRestApiClientWithServicesCollection(Servic
{
c.UseKSqlDb(ksqlDbUrl);

c.ReplaceHttpClient<ksqlDB.RestApi.Client.KSql.RestApi.Http.IHttpClientFactory, ksqlDB.RestApi.Client.KSql.RestApi.Http.HttpClientFactory>(_ => { })
c.ReplaceHttpClient<KSql.RestApi.Http.IHttpClientFactory, KSql.RestApi.Http.HttpClientFactory>(_ => { })
.AddHttpMessageHandler(_ => new Program.DebugHandler());
})
.AddSingleton(builder);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="ksqlDb.RestApi.Client" Version="6.0.0" />
<!-- <ProjectReference Include="..\..\ksqlDb.RestApi.Client\ksqlDb.RestApi.Client.csproj" /> -->
<!-- <PackageReference Include="ksqlDb.RestApi.Client" Version="6.1.0" /> -->
<ProjectReference Include="..\..\ksqlDb.RestApi.Client\ksqlDb.RestApi.Client.csproj" />
<!-- <PackageReference Include="ksqlDb.RestApi.Client.ProtoBuf" Version="4.0.0" /> -->
<ProjectReference Include="..\..\ksqlDb.RestApi.Client.ProtoBuf\ksqlDb.RestApi.Client.ProtoBuf.csproj" />

Expand Down