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

Conversation

tomasfabian
Copy link
Owner

@tomasfabian tomasfabian commented May 31, 2024

The Fluent API should enable the definition of how properties and fields are mapped to the record schema. The HasColumnName method can be used to specify custom column names for these properties.
Proposed API:

  public interface IFieldTypeBuilder<TProperty>
  {
    IFieldTypeBuilder<TProperty> HasColumnName(string columnName);
  }

This approach serves as an alternative to using the JsonPropertyName attribute for marking properties.

dotnet add package ksqlDb.RestApi.Client --version 6.1.0-rc.2

#82

@tomasfabian tomasfabian merged commit 61d6f60 into main Jun 7, 2024
2 checks passed
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.

Enhancing Fluent API: Implementing the HasColumnName Method
1 participant