Skip to content

Commit b1a4d0a

Browse files
authored
Merge pull request microsoft#333 from wravery/next
2 parents 150387a + 11426ca commit b1a4d0a

File tree

155 files changed

+416
-384
lines changed

Some content is hidden

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

155 files changed

+416
-384
lines changed

include/SchemaGenerator.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ struct [[nodiscard("unnecessary construction")]] GeneratorOptions
2424
const bool verbose = false;
2525
const bool stubs = false;
2626
const bool noIntrospection = false;
27+
const bool prefixedHeaders = false;
2728
};
2829

2930
class [[nodiscard("unnecessary construction")]] Generator

include/graphqlservice/introspection/DirectiveObject.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55

66
#pragma once
77

8-
#ifndef DIRECTIVEOBJECT_H
9-
#define DIRECTIVEOBJECT_H
8+
#ifndef INTROSPECTION_DIRECTIVEOBJECT_H
9+
#define INTROSPECTION_DIRECTIVEOBJECT_H
1010

1111
#include "IntrospectionSchema.h"
1212

@@ -85,4 +85,4 @@ class [[nodiscard("unnecessary construction")]] Directive final
8585

8686
} // namespace graphql::introspection::object
8787

88-
#endif // DIRECTIVEOBJECT_H
88+
#endif // INTROSPECTION_DIRECTIVEOBJECT_H

include/graphqlservice/introspection/EnumValueObject.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55

66
#pragma once
77

8-
#ifndef ENUMVALUEOBJECT_H
9-
#define ENUMVALUEOBJECT_H
8+
#ifndef INTROSPECTION_ENUMVALUEOBJECT_H
9+
#define INTROSPECTION_ENUMVALUEOBJECT_H
1010

1111
#include "IntrospectionSchema.h"
1212

@@ -78,4 +78,4 @@ class [[nodiscard("unnecessary construction")]] EnumValue final
7878

7979
} // namespace graphql::introspection::object
8080

81-
#endif // ENUMVALUEOBJECT_H
81+
#endif // INTROSPECTION_ENUMVALUEOBJECT_H

include/graphqlservice/introspection/FieldObject.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55

66
#pragma once
77

8-
#ifndef FIELDOBJECT_H
9-
#define FIELDOBJECT_H
8+
#ifndef INTROSPECTION_FIELDOBJECT_H
9+
#define INTROSPECTION_FIELDOBJECT_H
1010

1111
#include "IntrospectionSchema.h"
1212

@@ -92,4 +92,4 @@ class [[nodiscard("unnecessary construction")]] Field final
9292

9393
} // namespace graphql::introspection::object
9494

95-
#endif // FIELDOBJECT_H
95+
#endif // INTROSPECTION_FIELDOBJECT_H

include/graphqlservice/introspection/InputValueObject.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55

66
#pragma once
77

8-
#ifndef INPUTVALUEOBJECT_H
9-
#define INPUTVALUEOBJECT_H
8+
#ifndef INTROSPECTION_INPUTVALUEOBJECT_H
9+
#define INTROSPECTION_INPUTVALUEOBJECT_H
1010

1111
#include "IntrospectionSchema.h"
1212

@@ -78,4 +78,4 @@ class [[nodiscard("unnecessary construction")]] InputValue final
7878

7979
} // namespace graphql::introspection::object
8080

81-
#endif // INPUTVALUEOBJECT_H
81+
#endif // INTROSPECTION_INPUTVALUEOBJECT_H

include/graphqlservice/introspection/SchemaObject.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55

66
#pragma once
77

8-
#ifndef SCHEMAOBJECT_H
9-
#define SCHEMAOBJECT_H
8+
#ifndef INTROSPECTION_SCHEMAOBJECT_H
9+
#define INTROSPECTION_SCHEMAOBJECT_H
1010

1111
#include "IntrospectionSchema.h"
1212

@@ -92,4 +92,4 @@ class [[nodiscard("unnecessary construction")]] Schema final
9292

9393
} // namespace graphql::introspection::object
9494

95-
#endif // SCHEMAOBJECT_H
95+
#endif // INTROSPECTION_SCHEMAOBJECT_H

include/graphqlservice/introspection/TypeObject.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55

66
#pragma once
77

8-
#ifndef TYPEOBJECT_H
9-
#define TYPEOBJECT_H
8+
#ifndef INTROSPECTION_TYPEOBJECT_H
9+
#define INTROSPECTION_TYPEOBJECT_H
1010

1111
#include "IntrospectionSchema.h"
1212

@@ -120,4 +120,4 @@ class [[nodiscard("unnecessary construction")]] Type final
120120

121121
} // namespace graphql::introspection::object
122122

123-
#endif // TYPEOBJECT_H
123+
#endif // INTROSPECTION_TYPEOBJECT_H

samples/learn/schema/CharacterObject.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55

66
#pragma once
77

8-
#ifndef CHARACTEROBJECT_H
9-
#define CHARACTEROBJECT_H
8+
#ifndef STARWARS_CHARACTEROBJECT_H
9+
#define STARWARS_CHARACTEROBJECT_H
1010

1111
#include "StarWarsSchema.h"
1212

@@ -78,4 +78,4 @@ class [[nodiscard("unnecessary construction")]] Character final
7878

7979
} // namespace graphql::learn::object
8080

81-
#endif // CHARACTEROBJECT_H
81+
#endif // STARWARS_CHARACTEROBJECT_H

samples/learn/schema/DroidObject.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55

66
#pragma once
77

8-
#ifndef DROIDOBJECT_H
9-
#define DROIDOBJECT_H
8+
#ifndef STARWARS_DROIDOBJECT_H
9+
#define STARWARS_DROIDOBJECT_H
1010

1111
#include "StarWarsSchema.h"
1212

@@ -248,4 +248,4 @@ class [[nodiscard("unnecessary construction")]] Droid final
248248

249249
} // namespace graphql::learn::object
250250

251-
#endif // DROIDOBJECT_H
251+
#endif // STARWARS_DROIDOBJECT_H

samples/learn/schema/HumanObject.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55

66
#pragma once
77

8-
#ifndef HUMANOBJECT_H
9-
#define HUMANOBJECT_H
8+
#ifndef STARWARS_HUMANOBJECT_H
9+
#define STARWARS_HUMANOBJECT_H
1010

1111
#include "StarWarsSchema.h"
1212

@@ -248,4 +248,4 @@ class [[nodiscard("unnecessary construction")]] Human final
248248

249249
} // namespace graphql::learn::object
250250

251-
#endif // HUMANOBJECT_H
251+
#endif // STARWARS_HUMANOBJECT_H

0 commit comments

Comments
 (0)