We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8ed66c1 commit f310946Copy full SHA for f310946
include/graphqlservice/GraphQLService.h
@@ -564,7 +564,7 @@ struct GraphQLBuilder
564
[]<typename V>(V&& arg) {
565
using union_t = GraphQLUnion<typename std::remove_reference_t<U>::element_type, typename T::element_type>;
566
using model_map_t = typename union_t::model_map;
567
- using model_t = typename(model_map_t::find)<typename std::remove_reference_t<V>::element_type>;
+ using model_t = model_map_t::template find<typename std::remove_reference_t<V>::element_type>;
568
if constexpr (std::is_same_v<model_t, std::monostate>)
569
{
570
throw std::logic_error("Unsupported variant type");
0 commit comments