File tree Expand file tree Collapse file tree 7 files changed +21
-21
lines changed Expand file tree Collapse file tree 7 files changed +21
-21
lines changed Original file line number Diff line number Diff line change @@ -73,7 +73,7 @@ enum class TypeModifier
73
73
74
74
// Specialized to return true for all INPUT_OBJECT types.
75
75
template <typename Type>
76
- constexpr bool isInputType ()
76
+ constexpr bool isInputType () noexcept
77
77
{
78
78
return false ;
79
79
}
Original file line number Diff line number Diff line change @@ -593,7 +593,7 @@ enum class TypeModifier
593
593
594
594
// Specialized to return true for all INPUT_OBJECT types.
595
595
template <typename Type>
596
- constexpr bool isInputType ()
596
+ constexpr bool isInputType () noexcept
597
597
{
598
598
return false ;
599
599
}
Original file line number Diff line number Diff line change @@ -90,7 +90,7 @@ std::shared_ptr<schema::Schema> GetSchema();
90
90
namespace service {
91
91
92
92
template <>
93
- constexpr bool isInputType<learn::ReviewInput>()
93
+ constexpr bool isInputType<learn::ReviewInput>() noexcept
94
94
{
95
95
return true ;
96
96
}
Original file line number Diff line number Diff line change @@ -160,49 +160,49 @@ std::shared_ptr<schema::Schema> GetSchema();
160
160
namespace service {
161
161
162
162
template <>
163
- constexpr bool isInputType<today::CompleteTaskInput>()
163
+ constexpr bool isInputType<today::CompleteTaskInput>() noexcept
164
164
{
165
165
return true ;
166
166
}
167
167
168
168
template <>
169
- constexpr bool isInputType<today::ThirdNestedInput>()
169
+ constexpr bool isInputType<today::ThirdNestedInput>() noexcept
170
170
{
171
171
return true ;
172
172
}
173
173
174
174
template <>
175
- constexpr bool isInputType<today::FourthNestedInput>()
175
+ constexpr bool isInputType<today::FourthNestedInput>() noexcept
176
176
{
177
177
return true ;
178
178
}
179
179
180
180
template <>
181
- constexpr bool isInputType<today::IncludeNullableSelfInput>()
181
+ constexpr bool isInputType<today::IncludeNullableSelfInput>() noexcept
182
182
{
183
183
return true ;
184
184
}
185
185
186
186
template <>
187
- constexpr bool isInputType<today::IncludeNonNullableListSelfInput>()
187
+ constexpr bool isInputType<today::IncludeNonNullableListSelfInput>() noexcept
188
188
{
189
189
return true ;
190
190
}
191
191
192
192
template <>
193
- constexpr bool isInputType<today::SecondNestedInput>()
193
+ constexpr bool isInputType<today::SecondNestedInput>() noexcept
194
194
{
195
195
return true ;
196
196
}
197
197
198
198
template <>
199
- constexpr bool isInputType<today::ForwardDeclaredInput>()
199
+ constexpr bool isInputType<today::ForwardDeclaredInput>() noexcept
200
200
{
201
201
return true ;
202
202
}
203
203
204
204
template <>
205
- constexpr bool isInputType<today::FirstNestedInput>()
205
+ constexpr bool isInputType<today::FirstNestedInput>() noexcept
206
206
{
207
207
return true ;
208
208
}
Original file line number Diff line number Diff line change @@ -160,49 +160,49 @@ std::shared_ptr<schema::Schema> GetSchema();
160
160
namespace service {
161
161
162
162
template <>
163
- constexpr bool isInputType<today::CompleteTaskInput>()
163
+ constexpr bool isInputType<today::CompleteTaskInput>() noexcept
164
164
{
165
165
return true ;
166
166
}
167
167
168
168
template <>
169
- constexpr bool isInputType<today::ThirdNestedInput>()
169
+ constexpr bool isInputType<today::ThirdNestedInput>() noexcept
170
170
{
171
171
return true ;
172
172
}
173
173
174
174
template <>
175
- constexpr bool isInputType<today::FourthNestedInput>()
175
+ constexpr bool isInputType<today::FourthNestedInput>() noexcept
176
176
{
177
177
return true ;
178
178
}
179
179
180
180
template <>
181
- constexpr bool isInputType<today::IncludeNullableSelfInput>()
181
+ constexpr bool isInputType<today::IncludeNullableSelfInput>() noexcept
182
182
{
183
183
return true ;
184
184
}
185
185
186
186
template <>
187
- constexpr bool isInputType<today::IncludeNonNullableListSelfInput>()
187
+ constexpr bool isInputType<today::IncludeNonNullableListSelfInput>() noexcept
188
188
{
189
189
return true ;
190
190
}
191
191
192
192
template <>
193
- constexpr bool isInputType<today::SecondNestedInput>()
193
+ constexpr bool isInputType<today::SecondNestedInput>() noexcept
194
194
{
195
195
return true ;
196
196
}
197
197
198
198
template <>
199
- constexpr bool isInputType<today::ForwardDeclaredInput>()
199
+ constexpr bool isInputType<today::ForwardDeclaredInput>() noexcept
200
200
{
201
201
return true ;
202
202
}
203
203
204
204
template <>
205
- constexpr bool isInputType<today::FirstNestedInput>()
205
+ constexpr bool isInputType<today::FirstNestedInput>() noexcept
206
206
{
207
207
return true ;
208
208
}
Original file line number Diff line number Diff line change @@ -129,7 +129,7 @@ std::shared_ptr<schema::Schema> GetSchema();
129
129
namespace service {
130
130
131
131
template <>
132
- constexpr bool isInputType<validation::ComplexInput>()
132
+ constexpr bool isInputType<validation::ComplexInput>() noexcept
133
133
{
134
134
return true ;
135
135
}
Original file line number Diff line number Diff line change @@ -545,7 +545,7 @@ GRAPHQLSERVICE_EXPORT )cpp" << _loader.getSchemaNamespace()
545
545
headerFile << R"cpp( template <>
546
546
constexpr bool isInputType<)cpp"
547
547
<< _loader.getSchemaNamespace () << R"cpp( ::)cpp" << inputType.cppType
548
- << R"cpp( >()
548
+ << R"cpp( >() noexcept
549
549
{
550
550
return true;
551
551
}
You can’t perform that action at this time.
0 commit comments