File tree Expand file tree Collapse file tree 2 files changed +605
-0
lines changed
include/graphqlservice/internal Expand file tree Collapse file tree 2 files changed +605
-0
lines changed Original file line number Diff line number Diff line change @@ -45,6 +45,9 @@ class [[nodiscard("unnecessary construction")]] Schema : public std::enable_shar
45
45
GRAPHQLSERVICE_EXPORT explicit Schema (
46
46
bool noIntrospection = false , std::string_view description = " " );
47
47
48
+ GRAPHQLSERVICE_EXPORT std::shared_ptr<Schema> StitchSchema (
49
+ const std::shared_ptr<const Schema>& added) const ;
50
+
48
51
GRAPHQLSERVICE_EXPORT void AddQueryType (std::shared_ptr<ObjectType> query);
49
52
GRAPHQLSERVICE_EXPORT void AddMutationType (std::shared_ptr<ObjectType> mutation);
50
53
GRAPHQLSERVICE_EXPORT void AddSubscriptionType (std::shared_ptr<ObjectType> subscription);
@@ -74,6 +77,9 @@ class [[nodiscard("unnecessary construction")]] Schema : public std::enable_shar
74
77
directives () const noexcept ;
75
78
76
79
private:
80
+ [[nodiscard (" unnecessary call" )]] std::shared_ptr<const BaseType> StitchFieldType (
81
+ std::shared_ptr<const BaseType> fieldType);
82
+
77
83
const bool _noIntrospection = false ;
78
84
const std::string_view _description;
79
85
You can’t perform that action at this time.
0 commit comments