Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update to latest azure spring boot release #64

Merged
merged 3 commits into from Sep 21, 2018
Merged

Conversation

sophiaso
Copy link
Member

@sophiaso sophiaso commented Sep 7, 2018

No description provided.

@sophiaso
Copy link
Member Author

sophiaso commented Sep 7, 2018

Issue related: microsoft/spring-data-cosmosdb#212

@yuwzho
Copy link
Contributor

yuwzho commented Sep 7, 2018

Please hold on this PR until Jenkins World demo finished by Step. 19th US time.

BTW, I m not sure who is using this repo to do some demo, @Matthew-Dong Would u please send out a notification to the team?

return new ResponseEntity<List<TodoItem>>(todoItemRepository.findAll(), HttpStatus.OK);
final Iterable<TodoItem> itemIterable = todoItemRepository.findAll();
final List<TodoItem> items = new ArrayList<>();
itemIterable.forEach(todoItem -> items.add(todoItem));
Copy link
Contributor

Choose a reason for hiding this comment

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

Just curious why not returning the Iterable directly?

Copy link
Member Author

Choose a reason for hiding this comment

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

This is an update according to API change, previously findAll returns List, while new version returns Iterable, just updated to remove the convert and the generics List<TodoItem> type.

@sophiaso sophiaso changed the title WIP: update to latest azure spring boot release update to latest azure spring boot release Sep 20, 2018
@Matthew-Dong
Copy link
Contributor

Seems the Jenkins World is closed and Spring Data updated to fix some issues, I'll close and merge it.

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.

None yet

3 participants