public function getFields() : Collection
 {
     $language = new ExpressionLanguage();
     $fields = $this->type->getFields();
     $fields->map(function (FieldInterface $field) use($language) {
         $value = $this->getFieldValue($field->getValueExpression(), $language);
         $field->setValue($value);
     });
     return $fields;
 }
 private function getRepository(string $serviceId) : RepositoryInterface
 {
     if (false === $this->getContainer()->has($serviceId)) {
         return $this->getContainer()->get($this->type->getName() . '.repository');
     }
     return $this->getContainer()->get($serviceId);
 }