Class LaravelUi5\Sdk\I18n\LocalizedColumnAnnotations

final
readonly
implements ColumnAnnotationResolverInterface

The SDK's answer to odata's annotation forward-exit (laravelui5/odata 4.0): a column the SDK serves in the request's language says so in $metadata, as Core.IsLanguageDependent. The columns are the ones {@see LocalizedColumnExpressions} filters, sorts and searches by their text — a localized table's columns(), and the fields a model's #[Translatable] names ({@see TranslatedColumns}) — read from the same configuration, so what $metadata declares and what $filter does cannot part.

Asked when a service's schema is built; a service cached with odata:cache keeps what it saw then.

Methods