← Back to Stormify Documentation

FieldPath

data class FieldPath(val segments: List<String>)

Represents a field path through FK relationships, using dot notation.

Examples:

  • "name" — direct field on the entity

  • "contactPerson.firstName" — FK traversal to related entity's field

Constructors

Link copied to clipboard
constructor(segments: List<String>)
constructor(dotPath: String)

Builds a path from a dot-notation string such as "contactPerson.firstName".

Properties

Link copied to clipboard

The full dot-notation path string.

Link copied to clipboard

The ordered path segments, e.g. ["contactPerson", "firstName"].

Functions

Link copied to clipboard
open override fun toString(): String

Returns the dot-notation path string.