Skip to content

Commit e6f61a1

Browse files
authored
Merge pull request #176 from wravery/next
Include fewer/smaller headers to speed up build
2 parents b8904ed + 9427a86 commit e6f61a1

Some content is hidden

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

61 files changed

+179
-92
lines changed

samples/learn/HeroData.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@
66
#include "DroidData.h"
77
#include "HumanData.h"
88

9+
#include "CharacterObject.h"
10+
911
namespace graphql::learn {
1012

1113
std::shared_ptr<object::Character> make_hero(const SharedHero& hero) noexcept

samples/learn/StarWarsData.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,6 @@
99
#include "QueryData.h"
1010
#include "ReviewData.h"
1111

12-
#include "StarWarsObjects.h"
13-
1412
using namespace std::literals;
1513

1614
namespace graphql::star_wars {

samples/learn/schema/CharacterObject.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
// WARNING! Do not edit this file manually, your changes will be overwritten.
55

6-
#include "StarWarsObjects.h"
6+
#include "CharacterObject.h"
77

88
#include "graphqlservice/introspection/Introspection.h"
99

samples/learn/schema/DroidObject.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@
33

44
// WARNING! Do not edit this file manually, your changes will be overwritten.
55

6-
#include "StarWarsObjects.h"
6+
#include "DroidObject.h"
7+
#include "CharacterObject.h"
78

89
#include "graphqlservice/introspection/Introspection.h"
910

samples/learn/schema/DroidObject.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,6 @@
1010

1111
#include "StarWarsSchema.h"
1212

13-
#include "CharacterObject.h"
14-
1513
namespace graphql::learn::object {
1614
namespace implements {
1715

samples/learn/schema/HumanObject.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@
33

44
// WARNING! Do not edit this file manually, your changes will be overwritten.
55

6-
#include "StarWarsObjects.h"
6+
#include "HumanObject.h"
7+
#include "CharacterObject.h"
78

89
#include "graphqlservice/introspection/Introspection.h"
910

samples/learn/schema/HumanObject.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,6 @@
1010

1111
#include "StarWarsSchema.h"
1212

13-
#include "CharacterObject.h"
14-
1513
namespace graphql::learn::object {
1614
namespace implements {
1715

samples/learn/schema/MutationObject.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@
33

44
// WARNING! Do not edit this file manually, your changes will be overwritten.
55

6-
#include "StarWarsObjects.h"
6+
#include "MutationObject.h"
7+
#include "ReviewObject.h"
78

89
#include "graphqlservice/introspection/Introspection.h"
910

samples/learn/schema/QueryObject.cpp

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,10 @@
33

44
// WARNING! Do not edit this file manually, your changes will be overwritten.
55

6-
#include "StarWarsObjects.h"
6+
#include "QueryObject.h"
7+
#include "CharacterObject.h"
8+
#include "HumanObject.h"
9+
#include "DroidObject.h"
710

811
#include "graphqlservice/introspection/Introspection.h"
912

samples/learn/schema/ReviewObject.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
// WARNING! Do not edit this file manually, your changes will be overwritten.
55

6-
#include "StarWarsObjects.h"
6+
#include "ReviewObject.h"
77

88
#include "graphqlservice/introspection/Introspection.h"
99

0 commit comments

Comments
 (0)