public function decodeMessageRef($value, Field $field)
    {
        return new MessageRef(
            SchemaCurie::fromString($value['curie']['S']),
            $value['id']['S'],
            isset($value['tag']['NULL']) ? null : $value['tag']['S']
        );
    }
public function decodeMessageRef($value, Field $field)
    {
        return new MessageRef(
            SchemaCurie::fromString($value['curie']['S']),
            $value['id']['S'],
            isset($value['tag']['NULL']) ? null : $value['tag']['S']
        );
    }
@param mixed $value
@param Field $field

@return MessageRef