We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Describe the bug I am using the modelbuilder to flag a field as a pseudo column that is defined as a primitive type on a the base class.
When that field is not nullable the builder contains a default definition for that field when the builder is instantiated.
When that field is nullable the builder does not contain a default definition for that field when the builder is instantiated. To Reproduce
public class Row { public long? RowOffset { get; set; } public short? RowPartition { get; set; } public long RowTime { get; set; } } public class MyValue : Row { public int Id { get; set; } } var builder = new ModelBuilder(); builder.Entity<MyValue>().Property(p => p.RowTime).AsPseudoColumn();
Expected behavior I expect the fieldMetadata for RowTime to be in the builder with the correct settings.
Screenshots This is when the Entity is created It already contains the RowTime field.
RowTime
This is after adding the RowTime and flagging it as a pseudo-column. The field is defined twice now.
Environment (please complete the following information):
ksqlDb
7.7.1
ksqlDb.RestApi.Client
6.5.0
Additional context Add any other context about the problem here.
The text was updated successfully, but these errors were encountered:
[ksqlDB.RestApi.Client]: fixed creation of multiple FieldMetadata for…
f1ad422
… primitive field in Base class #102
644b29a
… primitive field in Base class unit test #102
111a03f
Hello Martin, I prepared a hot fix #103.
Sorry, something went wrong.
Hello @mrt181, could you please review the related PR and let me know if it is safe to release the changes? Thanks!
I released a hotfix:
NuGet\Install-Package ksqlDb.RestApi.Client -Version 6.5.1
The hotfix works.
tomasfabian
When branches are created from issues, their pull requests are automatically linked.
Describe the bug
I am using the modelbuilder to flag a field as a pseudo column that is defined as a primitive type on a the base class.
When that field is not nullable the builder contains a default definition for that field when the builder is instantiated.
When that field is nullable the builder does not contain a default definition for that field when the builder is instantiated.
To Reproduce
Expected behavior
I expect the fieldMetadata for RowTime to be in the builder with the correct settings.
Screenshots
This is when the Entity is created
It already contains the
RowTime
field.This is after adding the
RowTime
and flagging it as a pseudo-column.The field is defined twice now.
Environment (please complete the following information):
ksqlDb
version:7.7.1
ksqlDb.RestApi.Client
Nuget package version6.5.0
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: