Skip to content

Commit 657cf98

Browse files
authored
Merge pull request #801 from Lemoncode/feature/graphql-update-2025
Feature/graphql update 2025
2 parents 6cecfad + 73ba910 commit 657cf98

File tree

218 files changed

+26328
-1989
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

218 files changed

+26328
-1989
lines changed

06-rest-api/03-graphql/02-crud/00-boilerplate/package-lock.json

Lines changed: 989 additions & 328 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

06-rest-api/03-graphql/02-crud/00-boilerplate/server/package-lock.json

Lines changed: 450 additions & 27 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

06-rest-api/03-graphql/02-crud/00-boilerplate/src/pods/hotel/hotel.mappers.ts

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ import * as viewModel from './hotel.vm';
44
export const mapHotelFromApiToVm = (
55
hotel: apiModel.Hotel
66
): viewModel.Hotel => ({
7-
...hotel,
87
id: hotel.id,
98
name: hotel.name,
109
description: hotel.shortDescription,
@@ -14,12 +13,11 @@ export const mapHotelFromApiToVm = (
1413
});
1514

1615
export const mapHotelFromVmToApi = (hotel: viewModel.Hotel): apiModel.Hotel =>
17-
(({
18-
...hotel,
16+
({
1917
id: hotel.id,
2018
name: hotel.name,
2119
shortDescription: hotel.description,
2220
hotelRating: hotel.rating,
2321
address1: hotel.address,
2422
city: hotel.city,
25-
} as unknown) as apiModel.Hotel);
23+
} as unknown as apiModel.Hotel);

06-rest-api/03-graphql/02-crud/01-graphql-backend/.babelrc

Lines changed: 0 additions & 8 deletions
This file was deleted.

06-rest-api/03-graphql/02-crud/01-graphql-backend/.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,6 @@ test-report.*
66
junit.xml
77
*.log
88
*.orig
9-
package-lock.json
109
yarn.lock
1110
.awcache
11+
.DS_Store

06-rest-api/03-graphql/02-crud/01-graphql-backend/.vscode/launch.json

Lines changed: 0 additions & 22 deletions
This file was deleted.

0 commit comments

Comments
 (0)