public function build($config) { $config->addFields(['id' => new IdType(), 'user' => new UserType()]); }