Class: Hecks::Bluebook::TranslationRekey

Inherits:
Struct
  • Object
show all
Defined in:
lib/hecks/bluebook/translation.rb

Overview

The aggregate's own IDENTITY changed what it's computed from — not a field crossing a boundary (that's move), a value objects's type name (retype), or a value transform (compute): the record's own key. No from:/to: path, unlike every other rule here, because nothing is being consumed from or moved into state — the state a record already holds is untouched; only what identifies it is recomputed. Same SQL-only, Postgres-only, no-in-process-reference shape compute already has, and for the same reason: there is nothing to check this against outside the compiled head.

Instance Attribute Summary collapse

Instance Attribute Details

#sqlObject

Returns the value of attribute sql

Returns:

  • (Object)

    the current value of sql



38
39
40
# File 'lib/hecks/bluebook/translation.rb', line 38

def sql
  @sql
end