Skip to content

docs: EXPOSED-1080 Add docs for non-null transform - #2941

Open
Vik Nikolova (vnikolova) wants to merge 1 commit into
mainfrom
vnikolova/EXPOSED-1080
Open

Vik Nikolova (vnikolova) wants to merge 1 commit into
mainfrom
vnikolova/EXPOSED-1080

Conversation

@vnikolova

Copy link
Copy Markdown
Collaborator

Description

Add a new section in Column transformation for the .nonNullTransform() function.

Additionally:

  • convert .topic file to MD.
  • split up content into more sections (Basic usage, Reuse a transformation).
  • align content with the KED style guide.
  • add explanations (bullet points) to code block examples.

Type of Change

  • Bug fix
  • New feature
  • Documentation update

Related Issues

EXPOSED-1080 Documentation for Nullable column transform should be able to produce non-null type

}
}

object Meals : Table() {

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Or even like that:

fun Column<LocalTime>.mealTransform(): Column<Meal> =
    transform(MealTimeTransformer())

object Meals : Table() {
    val mealTime: Column<Meal> = time("meal_time").mealTransform()
}

This branch has not been deployed

No deployments
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.

2 participants