RenderRequest

data class RenderRequest(val templateId: TemplateId, val template: ByteArray?, val data: JsonElement?, val options: RenderOptions)

A render request passed to Renderer.render.

Constructors

Link copied to clipboard
constructor(templateId: TemplateId, template: ByteArray?, data: JsonElement?, options: RenderOptions)

Properties

Link copied to clipboard
val data: JsonElement?

render data as parsed JSON, or null for a pure com.ekino.oss.karbone.Renders.convert.

Link copied to clipboard

render options as passed by the caller.

Link copied to clipboard

raw template bytes, or null if the template id was not found in the store.

Link copied to clipboard

id (SHA-256) of the resolved template.