Skip to content

Conversation

@vladikigs
Copy link

No description provided.

Copy link

@List2019 List2019 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Очень хорошая работа, есть правда одна мелочь, но за генерацию рандомного числа прям лайк

Comment on lines +29 to +35
@Bean
public SimpleItemService itemServiceSetter(RepositoryConfiguration repositoryConfiguration) {
SimpleItemService simpleItemService = new SimpleItemService();
simpleItemService.setItemRepository(repositoryConfiguration.getItemRepository());
simpleItemService.setItemValidator(itemValidator());
return simpleItemService;
}

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

В задании имелось ввиду немного другое, нужно было при помощи аннотации @Autowired внедрить зависимости

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants