Could be written as `settings.data?.id = record.id`