Make Model structs final and replace final with override on methods
This commit is contained in:
Родитель
ec4f7904ed
Коммит
4b81b9636a
|
@ -36,7 +36,7 @@ private:
|
|||
};
|
||||
|
||||
template <class T>
|
||||
struct [[nodiscard]] Model
|
||||
struct [[nodiscard]] Model final
|
||||
: Concept
|
||||
{
|
||||
explicit Model(std::shared_ptr<T> pimpl) noexcept
|
||||
|
@ -44,27 +44,27 @@ private:
|
|||
{
|
||||
}
|
||||
|
||||
[[nodiscard]] service::AwaitableScalar<std::string> getName() const final
|
||||
[[nodiscard]] service::AwaitableScalar<std::string> getName() const override
|
||||
{
|
||||
return { _pimpl->getName() };
|
||||
}
|
||||
|
||||
[[nodiscard]] service::AwaitableScalar<std::optional<std::string>> getDescription() const final
|
||||
[[nodiscard]] service::AwaitableScalar<std::optional<std::string>> getDescription() const override
|
||||
{
|
||||
return { _pimpl->getDescription() };
|
||||
}
|
||||
|
||||
[[nodiscard]] service::AwaitableScalar<std::vector<DirectiveLocation>> getLocations() const final
|
||||
[[nodiscard]] service::AwaitableScalar<std::vector<DirectiveLocation>> getLocations() const override
|
||||
{
|
||||
return { _pimpl->getLocations() };
|
||||
}
|
||||
|
||||
[[nodiscard]] service::AwaitableObject<std::vector<std::shared_ptr<InputValue>>> getArgs() const final
|
||||
[[nodiscard]] service::AwaitableObject<std::vector<std::shared_ptr<InputValue>>> getArgs() const override
|
||||
{
|
||||
return { _pimpl->getArgs() };
|
||||
}
|
||||
|
||||
[[nodiscard]] service::AwaitableScalar<bool> getIsRepeatable() const final
|
||||
[[nodiscard]] service::AwaitableScalar<bool> getIsRepeatable() const override
|
||||
{
|
||||
return { _pimpl->getIsRepeatable() };
|
||||
}
|
||||
|
|
|
@ -34,7 +34,7 @@ private:
|
|||
};
|
||||
|
||||
template <class T>
|
||||
struct [[nodiscard]] Model
|
||||
struct [[nodiscard]] Model final
|
||||
: Concept
|
||||
{
|
||||
explicit Model(std::shared_ptr<T> pimpl) noexcept
|
||||
|
@ -42,22 +42,22 @@ private:
|
|||
{
|
||||
}
|
||||
|
||||
[[nodiscard]] service::AwaitableScalar<std::string> getName() const final
|
||||
[[nodiscard]] service::AwaitableScalar<std::string> getName() const override
|
||||
{
|
||||
return { _pimpl->getName() };
|
||||
}
|
||||
|
||||
[[nodiscard]] service::AwaitableScalar<std::optional<std::string>> getDescription() const final
|
||||
[[nodiscard]] service::AwaitableScalar<std::optional<std::string>> getDescription() const override
|
||||
{
|
||||
return { _pimpl->getDescription() };
|
||||
}
|
||||
|
||||
[[nodiscard]] service::AwaitableScalar<bool> getIsDeprecated() const final
|
||||
[[nodiscard]] service::AwaitableScalar<bool> getIsDeprecated() const override
|
||||
{
|
||||
return { _pimpl->getIsDeprecated() };
|
||||
}
|
||||
|
||||
[[nodiscard]] service::AwaitableScalar<std::optional<std::string>> getDeprecationReason() const final
|
||||
[[nodiscard]] service::AwaitableScalar<std::optional<std::string>> getDeprecationReason() const override
|
||||
{
|
||||
return { _pimpl->getDeprecationReason() };
|
||||
}
|
||||
|
|
|
@ -38,7 +38,7 @@ private:
|
|||
};
|
||||
|
||||
template <class T>
|
||||
struct [[nodiscard]] Model
|
||||
struct [[nodiscard]] Model final
|
||||
: Concept
|
||||
{
|
||||
explicit Model(std::shared_ptr<T> pimpl) noexcept
|
||||
|
@ -46,32 +46,32 @@ private:
|
|||
{
|
||||
}
|
||||
|
||||
[[nodiscard]] service::AwaitableScalar<std::string> getName() const final
|
||||
[[nodiscard]] service::AwaitableScalar<std::string> getName() const override
|
||||
{
|
||||
return { _pimpl->getName() };
|
||||
}
|
||||
|
||||
[[nodiscard]] service::AwaitableScalar<std::optional<std::string>> getDescription() const final
|
||||
[[nodiscard]] service::AwaitableScalar<std::optional<std::string>> getDescription() const override
|
||||
{
|
||||
return { _pimpl->getDescription() };
|
||||
}
|
||||
|
||||
[[nodiscard]] service::AwaitableObject<std::vector<std::shared_ptr<InputValue>>> getArgs() const final
|
||||
[[nodiscard]] service::AwaitableObject<std::vector<std::shared_ptr<InputValue>>> getArgs() const override
|
||||
{
|
||||
return { _pimpl->getArgs() };
|
||||
}
|
||||
|
||||
[[nodiscard]] service::AwaitableObject<std::shared_ptr<Type>> getType() const final
|
||||
[[nodiscard]] service::AwaitableObject<std::shared_ptr<Type>> getType() const override
|
||||
{
|
||||
return { _pimpl->getType() };
|
||||
}
|
||||
|
||||
[[nodiscard]] service::AwaitableScalar<bool> getIsDeprecated() const final
|
||||
[[nodiscard]] service::AwaitableScalar<bool> getIsDeprecated() const override
|
||||
{
|
||||
return { _pimpl->getIsDeprecated() };
|
||||
}
|
||||
|
||||
[[nodiscard]] service::AwaitableScalar<std::optional<std::string>> getDeprecationReason() const final
|
||||
[[nodiscard]] service::AwaitableScalar<std::optional<std::string>> getDeprecationReason() const override
|
||||
{
|
||||
return { _pimpl->getDeprecationReason() };
|
||||
}
|
||||
|
|
|
@ -34,7 +34,7 @@ private:
|
|||
};
|
||||
|
||||
template <class T>
|
||||
struct [[nodiscard]] Model
|
||||
struct [[nodiscard]] Model final
|
||||
: Concept
|
||||
{
|
||||
explicit Model(std::shared_ptr<T> pimpl) noexcept
|
||||
|
@ -42,22 +42,22 @@ private:
|
|||
{
|
||||
}
|
||||
|
||||
[[nodiscard]] service::AwaitableScalar<std::string> getName() const final
|
||||
[[nodiscard]] service::AwaitableScalar<std::string> getName() const override
|
||||
{
|
||||
return { _pimpl->getName() };
|
||||
}
|
||||
|
||||
[[nodiscard]] service::AwaitableScalar<std::optional<std::string>> getDescription() const final
|
||||
[[nodiscard]] service::AwaitableScalar<std::optional<std::string>> getDescription() const override
|
||||
{
|
||||
return { _pimpl->getDescription() };
|
||||
}
|
||||
|
||||
[[nodiscard]] service::AwaitableObject<std::shared_ptr<Type>> getType() const final
|
||||
[[nodiscard]] service::AwaitableObject<std::shared_ptr<Type>> getType() const override
|
||||
{
|
||||
return { _pimpl->getType() };
|
||||
}
|
||||
|
||||
[[nodiscard]] service::AwaitableScalar<std::optional<std::string>> getDefaultValue() const final
|
||||
[[nodiscard]] service::AwaitableScalar<std::optional<std::string>> getDefaultValue() const override
|
||||
{
|
||||
return { _pimpl->getDefaultValue() };
|
||||
}
|
||||
|
|
|
@ -38,7 +38,7 @@ private:
|
|||
};
|
||||
|
||||
template <class T>
|
||||
struct [[nodiscard]] Model
|
||||
struct [[nodiscard]] Model final
|
||||
: Concept
|
||||
{
|
||||
explicit Model(std::shared_ptr<T> pimpl) noexcept
|
||||
|
@ -46,32 +46,32 @@ private:
|
|||
{
|
||||
}
|
||||
|
||||
[[nodiscard]] service::AwaitableScalar<std::optional<std::string>> getDescription() const final
|
||||
[[nodiscard]] service::AwaitableScalar<std::optional<std::string>> getDescription() const override
|
||||
{
|
||||
return { _pimpl->getDescription() };
|
||||
}
|
||||
|
||||
[[nodiscard]] service::AwaitableObject<std::vector<std::shared_ptr<Type>>> getTypes() const final
|
||||
[[nodiscard]] service::AwaitableObject<std::vector<std::shared_ptr<Type>>> getTypes() const override
|
||||
{
|
||||
return { _pimpl->getTypes() };
|
||||
}
|
||||
|
||||
[[nodiscard]] service::AwaitableObject<std::shared_ptr<Type>> getQueryType() const final
|
||||
[[nodiscard]] service::AwaitableObject<std::shared_ptr<Type>> getQueryType() const override
|
||||
{
|
||||
return { _pimpl->getQueryType() };
|
||||
}
|
||||
|
||||
[[nodiscard]] service::AwaitableObject<std::shared_ptr<Type>> getMutationType() const final
|
||||
[[nodiscard]] service::AwaitableObject<std::shared_ptr<Type>> getMutationType() const override
|
||||
{
|
||||
return { _pimpl->getMutationType() };
|
||||
}
|
||||
|
||||
[[nodiscard]] service::AwaitableObject<std::shared_ptr<Type>> getSubscriptionType() const final
|
||||
[[nodiscard]] service::AwaitableObject<std::shared_ptr<Type>> getSubscriptionType() const override
|
||||
{
|
||||
return { _pimpl->getSubscriptionType() };
|
||||
}
|
||||
|
||||
[[nodiscard]] service::AwaitableObject<std::vector<std::shared_ptr<Directive>>> getDirectives() const final
|
||||
[[nodiscard]] service::AwaitableObject<std::vector<std::shared_ptr<Directive>>> getDirectives() const override
|
||||
{
|
||||
return { _pimpl->getDirectives() };
|
||||
}
|
||||
|
|
|
@ -46,7 +46,7 @@ private:
|
|||
};
|
||||
|
||||
template <class T>
|
||||
struct [[nodiscard]] Model
|
||||
struct [[nodiscard]] Model final
|
||||
: Concept
|
||||
{
|
||||
explicit Model(std::shared_ptr<T> pimpl) noexcept
|
||||
|
@ -54,52 +54,52 @@ private:
|
|||
{
|
||||
}
|
||||
|
||||
[[nodiscard]] service::AwaitableScalar<TypeKind> getKind() const final
|
||||
[[nodiscard]] service::AwaitableScalar<TypeKind> getKind() const override
|
||||
{
|
||||
return { _pimpl->getKind() };
|
||||
}
|
||||
|
||||
[[nodiscard]] service::AwaitableScalar<std::optional<std::string>> getName() const final
|
||||
[[nodiscard]] service::AwaitableScalar<std::optional<std::string>> getName() const override
|
||||
{
|
||||
return { _pimpl->getName() };
|
||||
}
|
||||
|
||||
[[nodiscard]] service::AwaitableScalar<std::optional<std::string>> getDescription() const final
|
||||
[[nodiscard]] service::AwaitableScalar<std::optional<std::string>> getDescription() const override
|
||||
{
|
||||
return { _pimpl->getDescription() };
|
||||
}
|
||||
|
||||
[[nodiscard]] service::AwaitableObject<std::optional<std::vector<std::shared_ptr<Field>>>> getFields(std::optional<bool>&& includeDeprecatedArg) const final
|
||||
[[nodiscard]] service::AwaitableObject<std::optional<std::vector<std::shared_ptr<Field>>>> getFields(std::optional<bool>&& includeDeprecatedArg) const override
|
||||
{
|
||||
return { _pimpl->getFields(std::move(includeDeprecatedArg)) };
|
||||
}
|
||||
|
||||
[[nodiscard]] service::AwaitableObject<std::optional<std::vector<std::shared_ptr<Type>>>> getInterfaces() const final
|
||||
[[nodiscard]] service::AwaitableObject<std::optional<std::vector<std::shared_ptr<Type>>>> getInterfaces() const override
|
||||
{
|
||||
return { _pimpl->getInterfaces() };
|
||||
}
|
||||
|
||||
[[nodiscard]] service::AwaitableObject<std::optional<std::vector<std::shared_ptr<Type>>>> getPossibleTypes() const final
|
||||
[[nodiscard]] service::AwaitableObject<std::optional<std::vector<std::shared_ptr<Type>>>> getPossibleTypes() const override
|
||||
{
|
||||
return { _pimpl->getPossibleTypes() };
|
||||
}
|
||||
|
||||
[[nodiscard]] service::AwaitableObject<std::optional<std::vector<std::shared_ptr<EnumValue>>>> getEnumValues(std::optional<bool>&& includeDeprecatedArg) const final
|
||||
[[nodiscard]] service::AwaitableObject<std::optional<std::vector<std::shared_ptr<EnumValue>>>> getEnumValues(std::optional<bool>&& includeDeprecatedArg) const override
|
||||
{
|
||||
return { _pimpl->getEnumValues(std::move(includeDeprecatedArg)) };
|
||||
}
|
||||
|
||||
[[nodiscard]] service::AwaitableObject<std::optional<std::vector<std::shared_ptr<InputValue>>>> getInputFields() const final
|
||||
[[nodiscard]] service::AwaitableObject<std::optional<std::vector<std::shared_ptr<InputValue>>>> getInputFields() const override
|
||||
{
|
||||
return { _pimpl->getInputFields() };
|
||||
}
|
||||
|
||||
[[nodiscard]] service::AwaitableObject<std::shared_ptr<Type>> getOfType() const final
|
||||
[[nodiscard]] service::AwaitableObject<std::shared_ptr<Type>> getOfType() const override
|
||||
{
|
||||
return { _pimpl->getOfType() };
|
||||
}
|
||||
|
||||
[[nodiscard]] service::AwaitableScalar<std::optional<std::string>> getSpecifiedByURL() const final
|
||||
[[nodiscard]] service::AwaitableScalar<std::optional<std::string>> getSpecifiedByURL() const override
|
||||
{
|
||||
return { _pimpl->getSpecifiedByURL() };
|
||||
}
|
||||
|
|
|
@ -28,7 +28,7 @@ private:
|
|||
};
|
||||
|
||||
template <class T>
|
||||
struct [[nodiscard]] Model
|
||||
struct [[nodiscard]] Model final
|
||||
: Concept
|
||||
{
|
||||
explicit Model(std::shared_ptr<T> pimpl) noexcept
|
||||
|
@ -36,22 +36,22 @@ private:
|
|||
{
|
||||
}
|
||||
|
||||
[[nodiscard]] service::TypeNames getTypeNames() const noexcept final
|
||||
[[nodiscard]] service::TypeNames getTypeNames() const noexcept override
|
||||
{
|
||||
return _pimpl->getTypeNames();
|
||||
}
|
||||
|
||||
[[nodiscard]] service::ResolverMap getResolvers() const noexcept final
|
||||
[[nodiscard]] service::ResolverMap getResolvers() const noexcept override
|
||||
{
|
||||
return _pimpl->getResolvers();
|
||||
}
|
||||
|
||||
void beginSelectionSet(const service::SelectionSetParams& params) const final
|
||||
void beginSelectionSet(const service::SelectionSetParams& params) const override
|
||||
{
|
||||
_pimpl->beginSelectionSet(params);
|
||||
}
|
||||
|
||||
void endSelectionSet(const service::SelectionSetParams& params) const final
|
||||
void endSelectionSet(const service::SelectionSetParams& params) const override
|
||||
{
|
||||
_pimpl->endSelectionSet(params);
|
||||
}
|
||||
|
@ -62,8 +62,8 @@ private:
|
|||
|
||||
explicit Character(std::unique_ptr<const Concept> pimpl) noexcept;
|
||||
|
||||
void beginSelectionSet(const service::SelectionSetParams& params) const final;
|
||||
void endSelectionSet(const service::SelectionSetParams& params) const final;
|
||||
void beginSelectionSet(const service::SelectionSetParams& params) const override;
|
||||
void endSelectionSet(const service::SelectionSetParams& params) const override;
|
||||
|
||||
const std::unique_ptr<const Concept> _pimpl;
|
||||
|
||||
|
|
|
@ -121,7 +121,7 @@ private:
|
|||
};
|
||||
|
||||
template <class T>
|
||||
struct [[nodiscard]] Model
|
||||
struct [[nodiscard]] Model final
|
||||
: Concept
|
||||
{
|
||||
explicit Model(std::shared_ptr<T> pimpl) noexcept
|
||||
|
@ -129,7 +129,7 @@ private:
|
|||
{
|
||||
}
|
||||
|
||||
[[nodiscard]] service::AwaitableScalar<response::IdType> getId(service::FieldParams&& params) const final
|
||||
[[nodiscard]] service::AwaitableScalar<response::IdType> getId(service::FieldParams&& params) const override
|
||||
{
|
||||
if constexpr (methods::DroidHas::getIdWithParams<T>)
|
||||
{
|
||||
|
@ -142,7 +142,7 @@ private:
|
|||
}
|
||||
}
|
||||
|
||||
[[nodiscard]] service::AwaitableScalar<std::optional<std::string>> getName(service::FieldParams&& params) const final
|
||||
[[nodiscard]] service::AwaitableScalar<std::optional<std::string>> getName(service::FieldParams&& params) const override
|
||||
{
|
||||
if constexpr (methods::DroidHas::getNameWithParams<T>)
|
||||
{
|
||||
|
@ -155,7 +155,7 @@ private:
|
|||
}
|
||||
}
|
||||
|
||||
[[nodiscard]] service::AwaitableObject<std::optional<std::vector<std::shared_ptr<Character>>>> getFriends(service::FieldParams&& params) const final
|
||||
[[nodiscard]] service::AwaitableObject<std::optional<std::vector<std::shared_ptr<Character>>>> getFriends(service::FieldParams&& params) const override
|
||||
{
|
||||
if constexpr (methods::DroidHas::getFriendsWithParams<T>)
|
||||
{
|
||||
|
@ -168,7 +168,7 @@ private:
|
|||
}
|
||||
}
|
||||
|
||||
[[nodiscard]] service::AwaitableScalar<std::optional<std::vector<std::optional<Episode>>>> getAppearsIn(service::FieldParams&& params) const final
|
||||
[[nodiscard]] service::AwaitableScalar<std::optional<std::vector<std::optional<Episode>>>> getAppearsIn(service::FieldParams&& params) const override
|
||||
{
|
||||
if constexpr (methods::DroidHas::getAppearsInWithParams<T>)
|
||||
{
|
||||
|
@ -181,7 +181,7 @@ private:
|
|||
}
|
||||
}
|
||||
|
||||
[[nodiscard]] service::AwaitableScalar<std::optional<std::string>> getPrimaryFunction(service::FieldParams&& params) const final
|
||||
[[nodiscard]] service::AwaitableScalar<std::optional<std::string>> getPrimaryFunction(service::FieldParams&& params) const override
|
||||
{
|
||||
if constexpr (methods::DroidHas::getPrimaryFunctionWithParams<T>)
|
||||
{
|
||||
|
@ -194,7 +194,7 @@ private:
|
|||
}
|
||||
}
|
||||
|
||||
void beginSelectionSet(const service::SelectionSetParams& params) const final
|
||||
void beginSelectionSet(const service::SelectionSetParams& params) const override
|
||||
{
|
||||
if constexpr (methods::DroidHas::beginSelectionSet<T>)
|
||||
{
|
||||
|
@ -202,7 +202,7 @@ private:
|
|||
}
|
||||
}
|
||||
|
||||
void endSelectionSet(const service::SelectionSetParams& params) const final
|
||||
void endSelectionSet(const service::SelectionSetParams& params) const override
|
||||
{
|
||||
if constexpr (methods::DroidHas::endSelectionSet<T>)
|
||||
{
|
||||
|
@ -228,8 +228,8 @@ private:
|
|||
[[nodiscard]] service::TypeNames getTypeNames() const noexcept;
|
||||
[[nodiscard]] service::ResolverMap getResolvers() const noexcept;
|
||||
|
||||
void beginSelectionSet(const service::SelectionSetParams& params) const final;
|
||||
void endSelectionSet(const service::SelectionSetParams& params) const final;
|
||||
void beginSelectionSet(const service::SelectionSetParams& params) const override;
|
||||
void endSelectionSet(const service::SelectionSetParams& params) const override;
|
||||
|
||||
const std::unique_ptr<const Concept> _pimpl;
|
||||
|
||||
|
|
|
@ -121,7 +121,7 @@ private:
|
|||
};
|
||||
|
||||
template <class T>
|
||||
struct [[nodiscard]] Model
|
||||
struct [[nodiscard]] Model final
|
||||
: Concept
|
||||
{
|
||||
explicit Model(std::shared_ptr<T> pimpl) noexcept
|
||||
|
@ -129,7 +129,7 @@ private:
|
|||
{
|
||||
}
|
||||
|
||||
[[nodiscard]] service::AwaitableScalar<response::IdType> getId(service::FieldParams&& params) const final
|
||||
[[nodiscard]] service::AwaitableScalar<response::IdType> getId(service::FieldParams&& params) const override
|
||||
{
|
||||
if constexpr (methods::HumanHas::getIdWithParams<T>)
|
||||
{
|
||||
|
@ -142,7 +142,7 @@ private:
|
|||
}
|
||||
}
|
||||
|
||||
[[nodiscard]] service::AwaitableScalar<std::optional<std::string>> getName(service::FieldParams&& params) const final
|
||||
[[nodiscard]] service::AwaitableScalar<std::optional<std::string>> getName(service::FieldParams&& params) const override
|
||||
{
|
||||
if constexpr (methods::HumanHas::getNameWithParams<T>)
|
||||
{
|
||||
|
@ -155,7 +155,7 @@ private:
|
|||
}
|
||||
}
|
||||
|
||||
[[nodiscard]] service::AwaitableObject<std::optional<std::vector<std::shared_ptr<Character>>>> getFriends(service::FieldParams&& params) const final
|
||||
[[nodiscard]] service::AwaitableObject<std::optional<std::vector<std::shared_ptr<Character>>>> getFriends(service::FieldParams&& params) const override
|
||||
{
|
||||
if constexpr (methods::HumanHas::getFriendsWithParams<T>)
|
||||
{
|
||||
|
@ -168,7 +168,7 @@ private:
|
|||
}
|
||||
}
|
||||
|
||||
[[nodiscard]] service::AwaitableScalar<std::optional<std::vector<std::optional<Episode>>>> getAppearsIn(service::FieldParams&& params) const final
|
||||
[[nodiscard]] service::AwaitableScalar<std::optional<std::vector<std::optional<Episode>>>> getAppearsIn(service::FieldParams&& params) const override
|
||||
{
|
||||
if constexpr (methods::HumanHas::getAppearsInWithParams<T>)
|
||||
{
|
||||
|
@ -181,7 +181,7 @@ private:
|
|||
}
|
||||
}
|
||||
|
||||
[[nodiscard]] service::AwaitableScalar<std::optional<std::string>> getHomePlanet(service::FieldParams&& params) const final
|
||||
[[nodiscard]] service::AwaitableScalar<std::optional<std::string>> getHomePlanet(service::FieldParams&& params) const override
|
||||
{
|
||||
if constexpr (methods::HumanHas::getHomePlanetWithParams<T>)
|
||||
{
|
||||
|
@ -194,7 +194,7 @@ private:
|
|||
}
|
||||
}
|
||||
|
||||
void beginSelectionSet(const service::SelectionSetParams& params) const final
|
||||
void beginSelectionSet(const service::SelectionSetParams& params) const override
|
||||
{
|
||||
if constexpr (methods::HumanHas::beginSelectionSet<T>)
|
||||
{
|
||||
|
@ -202,7 +202,7 @@ private:
|
|||
}
|
||||
}
|
||||
|
||||
void endSelectionSet(const service::SelectionSetParams& params) const final
|
||||
void endSelectionSet(const service::SelectionSetParams& params) const override
|
||||
{
|
||||
if constexpr (methods::HumanHas::endSelectionSet<T>)
|
||||
{
|
||||
|
@ -228,8 +228,8 @@ private:
|
|||
[[nodiscard]] service::TypeNames getTypeNames() const noexcept;
|
||||
[[nodiscard]] service::ResolverMap getResolvers() const noexcept;
|
||||
|
||||
void beginSelectionSet(const service::SelectionSetParams& params) const final;
|
||||
void endSelectionSet(const service::SelectionSetParams& params) const final;
|
||||
void beginSelectionSet(const service::SelectionSetParams& params) const override;
|
||||
void endSelectionSet(const service::SelectionSetParams& params) const override;
|
||||
|
||||
const std::unique_ptr<const Concept> _pimpl;
|
||||
|
||||
|
|
|
@ -58,7 +58,7 @@ private:
|
|||
};
|
||||
|
||||
template <class T>
|
||||
struct [[nodiscard]] Model
|
||||
struct [[nodiscard]] Model final
|
||||
: Concept
|
||||
{
|
||||
explicit Model(std::shared_ptr<T> pimpl) noexcept
|
||||
|
@ -66,7 +66,7 @@ private:
|
|||
{
|
||||
}
|
||||
|
||||
[[nodiscard]] service::AwaitableObject<std::shared_ptr<Review>> applyCreateReview(service::FieldParams&& params, Episode&& epArg, ReviewInput&& reviewArg) const final
|
||||
[[nodiscard]] service::AwaitableObject<std::shared_ptr<Review>> applyCreateReview(service::FieldParams&& params, Episode&& epArg, ReviewInput&& reviewArg) const override
|
||||
{
|
||||
if constexpr (methods::MutationHas::applyCreateReviewWithParams<T>)
|
||||
{
|
||||
|
@ -79,7 +79,7 @@ private:
|
|||
}
|
||||
}
|
||||
|
||||
void beginSelectionSet(const service::SelectionSetParams& params) const final
|
||||
void beginSelectionSet(const service::SelectionSetParams& params) const override
|
||||
{
|
||||
if constexpr (methods::MutationHas::beginSelectionSet<T>)
|
||||
{
|
||||
|
@ -87,7 +87,7 @@ private:
|
|||
}
|
||||
}
|
||||
|
||||
void endSelectionSet(const service::SelectionSetParams& params) const final
|
||||
void endSelectionSet(const service::SelectionSetParams& params) const override
|
||||
{
|
||||
if constexpr (methods::MutationHas::endSelectionSet<T>)
|
||||
{
|
||||
|
@ -104,8 +104,8 @@ private:
|
|||
[[nodiscard]] service::TypeNames getTypeNames() const noexcept;
|
||||
[[nodiscard]] service::ResolverMap getResolvers() const noexcept;
|
||||
|
||||
void beginSelectionSet(const service::SelectionSetParams& params) const final;
|
||||
void endSelectionSet(const service::SelectionSetParams& params) const final;
|
||||
void beginSelectionSet(const service::SelectionSetParams& params) const override;
|
||||
void endSelectionSet(const service::SelectionSetParams& params) const override;
|
||||
|
||||
const std::unique_ptr<const Concept> _pimpl;
|
||||
|
||||
|
|
|
@ -90,7 +90,7 @@ private:
|
|||
};
|
||||
|
||||
template <class T>
|
||||
struct [[nodiscard]] Model
|
||||
struct [[nodiscard]] Model final
|
||||
: Concept
|
||||
{
|
||||
explicit Model(std::shared_ptr<T> pimpl) noexcept
|
||||
|
@ -98,7 +98,7 @@ private:
|
|||
{
|
||||
}
|
||||
|
||||
[[nodiscard]] service::AwaitableObject<std::shared_ptr<Character>> getHero(service::FieldParams&& params, std::optional<Episode>&& episodeArg) const final
|
||||
[[nodiscard]] service::AwaitableObject<std::shared_ptr<Character>> getHero(service::FieldParams&& params, std::optional<Episode>&& episodeArg) const override
|
||||
{
|
||||
if constexpr (methods::QueryHas::getHeroWithParams<T>)
|
||||
{
|
||||
|
@ -111,7 +111,7 @@ private:
|
|||
}
|
||||
}
|
||||
|
||||
[[nodiscard]] service::AwaitableObject<std::shared_ptr<Human>> getHuman(service::FieldParams&& params, response::IdType&& idArg) const final
|
||||
[[nodiscard]] service::AwaitableObject<std::shared_ptr<Human>> getHuman(service::FieldParams&& params, response::IdType&& idArg) const override
|
||||
{
|
||||
if constexpr (methods::QueryHas::getHumanWithParams<T>)
|
||||
{
|
||||
|
@ -124,7 +124,7 @@ private:
|
|||
}
|
||||
}
|
||||
|
||||
[[nodiscard]] service::AwaitableObject<std::shared_ptr<Droid>> getDroid(service::FieldParams&& params, response::IdType&& idArg) const final
|
||||
[[nodiscard]] service::AwaitableObject<std::shared_ptr<Droid>> getDroid(service::FieldParams&& params, response::IdType&& idArg) const override
|
||||
{
|
||||
if constexpr (methods::QueryHas::getDroidWithParams<T>)
|
||||
{
|
||||
|
@ -137,7 +137,7 @@ private:
|
|||
}
|
||||
}
|
||||
|
||||
void beginSelectionSet(const service::SelectionSetParams& params) const final
|
||||
void beginSelectionSet(const service::SelectionSetParams& params) const override
|
||||
{
|
||||
if constexpr (methods::QueryHas::beginSelectionSet<T>)
|
||||
{
|
||||
|
@ -145,7 +145,7 @@ private:
|
|||
}
|
||||
}
|
||||
|
||||
void endSelectionSet(const service::SelectionSetParams& params) const final
|
||||
void endSelectionSet(const service::SelectionSetParams& params) const override
|
||||
{
|
||||
if constexpr (methods::QueryHas::endSelectionSet<T>)
|
||||
{
|
||||
|
@ -162,8 +162,8 @@ private:
|
|||
[[nodiscard]] service::TypeNames getTypeNames() const noexcept;
|
||||
[[nodiscard]] service::ResolverMap getResolvers() const noexcept;
|
||||
|
||||
void beginSelectionSet(const service::SelectionSetParams& params) const final;
|
||||
void endSelectionSet(const service::SelectionSetParams& params) const final;
|
||||
void beginSelectionSet(const service::SelectionSetParams& params) const override;
|
||||
void endSelectionSet(const service::SelectionSetParams& params) const override;
|
||||
|
||||
const std::unique_ptr<const Concept> _pimpl;
|
||||
|
||||
|
|
|
@ -72,7 +72,7 @@ private:
|
|||
};
|
||||
|
||||
template <class T>
|
||||
struct [[nodiscard]] Model
|
||||
struct [[nodiscard]] Model final
|
||||
: Concept
|
||||
{
|
||||
explicit Model(std::shared_ptr<T> pimpl) noexcept
|
||||
|
@ -80,7 +80,7 @@ private:
|
|||
{
|
||||
}
|
||||
|
||||
[[nodiscard]] service::AwaitableScalar<int> getStars(service::FieldParams&& params) const final
|
||||
[[nodiscard]] service::AwaitableScalar<int> getStars(service::FieldParams&& params) const override
|
||||
{
|
||||
if constexpr (methods::ReviewHas::getStarsWithParams<T>)
|
||||
{
|
||||
|
@ -93,7 +93,7 @@ private:
|
|||
}
|
||||
}
|
||||
|
||||
[[nodiscard]] service::AwaitableScalar<std::optional<std::string>> getCommentary(service::FieldParams&& params) const final
|
||||
[[nodiscard]] service::AwaitableScalar<std::optional<std::string>> getCommentary(service::FieldParams&& params) const override
|
||||
{
|
||||
if constexpr (methods::ReviewHas::getCommentaryWithParams<T>)
|
||||
{
|
||||
|
@ -106,7 +106,7 @@ private:
|
|||
}
|
||||
}
|
||||
|
||||
void beginSelectionSet(const service::SelectionSetParams& params) const final
|
||||
void beginSelectionSet(const service::SelectionSetParams& params) const override
|
||||
{
|
||||
if constexpr (methods::ReviewHas::beginSelectionSet<T>)
|
||||
{
|
||||
|
@ -114,7 +114,7 @@ private:
|
|||
}
|
||||
}
|
||||
|
||||
void endSelectionSet(const service::SelectionSetParams& params) const final
|
||||
void endSelectionSet(const service::SelectionSetParams& params) const override
|
||||
{
|
||||
if constexpr (methods::ReviewHas::endSelectionSet<T>)
|
||||
{
|
||||
|
@ -131,8 +131,8 @@ private:
|
|||
[[nodiscard]] service::TypeNames getTypeNames() const noexcept;
|
||||
[[nodiscard]] service::ResolverMap getResolvers() const noexcept;
|
||||
|
||||
void beginSelectionSet(const service::SelectionSetParams& params) const final;
|
||||
void endSelectionSet(const service::SelectionSetParams& params) const final;
|
||||
void beginSelectionSet(const service::SelectionSetParams& params) const override;
|
||||
void endSelectionSet(const service::SelectionSetParams& params) const override;
|
||||
|
||||
const std::unique_ptr<const Concept> _pimpl;
|
||||
|
||||
|
|
|
@ -62,7 +62,7 @@ private:
|
|||
};
|
||||
|
||||
template <class T>
|
||||
struct [[nodiscard]] Model
|
||||
struct [[nodiscard]] Model final
|
||||
: Concept
|
||||
{
|
||||
explicit Model(std::shared_ptr<T> pimpl) noexcept
|
||||
|
@ -70,7 +70,7 @@ private:
|
|||
{
|
||||
}
|
||||
|
||||
[[nodiscard]] service::AwaitableScalar<std::optional<std::string>> getRelay(service::FieldParams&& params, std::string&& queryArg, std::optional<std::string>&& operationNameArg, std::optional<std::string>&& variablesArg) const final
|
||||
[[nodiscard]] service::AwaitableScalar<std::optional<std::string>> getRelay(service::FieldParams&& params, std::string&& queryArg, std::optional<std::string>&& operationNameArg, std::optional<std::string>&& variablesArg) const override
|
||||
{
|
||||
if constexpr (methods::QueryHas::getRelayWithParams<T>)
|
||||
{
|
||||
|
@ -83,7 +83,7 @@ private:
|
|||
}
|
||||
}
|
||||
|
||||
void beginSelectionSet(const service::SelectionSetParams& params) const final
|
||||
void beginSelectionSet(const service::SelectionSetParams& params) const override
|
||||
{
|
||||
if constexpr (methods::QueryHas::beginSelectionSet<T>)
|
||||
{
|
||||
|
@ -91,7 +91,7 @@ private:
|
|||
}
|
||||
}
|
||||
|
||||
void endSelectionSet(const service::SelectionSetParams& params) const final
|
||||
void endSelectionSet(const service::SelectionSetParams& params) const override
|
||||
{
|
||||
if constexpr (methods::QueryHas::endSelectionSet<T>)
|
||||
{
|
||||
|
@ -108,8 +108,8 @@ private:
|
|||
[[nodiscard]] service::TypeNames getTypeNames() const noexcept;
|
||||
[[nodiscard]] service::ResolverMap getResolvers() const noexcept;
|
||||
|
||||
void beginSelectionSet(const service::SelectionSetParams& params) const final;
|
||||
void endSelectionSet(const service::SelectionSetParams& params) const final;
|
||||
void beginSelectionSet(const service::SelectionSetParams& params) const override;
|
||||
void endSelectionSet(const service::SelectionSetParams& params) const override;
|
||||
|
||||
const std::unique_ptr<const Concept> _pimpl;
|
||||
|
||||
|
|
|
@ -72,7 +72,7 @@ private:
|
|||
};
|
||||
|
||||
template <class T>
|
||||
struct [[nodiscard]] Model
|
||||
struct [[nodiscard]] Model final
|
||||
: Concept
|
||||
{
|
||||
explicit Model(std::shared_ptr<T> pimpl) noexcept
|
||||
|
@ -80,7 +80,7 @@ private:
|
|||
{
|
||||
}
|
||||
|
||||
[[nodiscard]] service::AwaitableObject<std::shared_ptr<PageInfo>> getPageInfo(service::FieldParams&& params) const final
|
||||
[[nodiscard]] service::AwaitableObject<std::shared_ptr<PageInfo>> getPageInfo(service::FieldParams&& params) const override
|
||||
{
|
||||
if constexpr (methods::AppointmentConnectionHas::getPageInfoWithParams<T>)
|
||||
{
|
||||
|
@ -96,7 +96,7 @@ private:
|
|||
}
|
||||
}
|
||||
|
||||
[[nodiscard]] service::AwaitableObject<std::optional<std::vector<std::shared_ptr<AppointmentEdge>>>> getEdges(service::FieldParams&& params) const final
|
||||
[[nodiscard]] service::AwaitableObject<std::optional<std::vector<std::shared_ptr<AppointmentEdge>>>> getEdges(service::FieldParams&& params) const override
|
||||
{
|
||||
if constexpr (methods::AppointmentConnectionHas::getEdgesWithParams<T>)
|
||||
{
|
||||
|
@ -112,7 +112,7 @@ private:
|
|||
}
|
||||
}
|
||||
|
||||
void beginSelectionSet(const service::SelectionSetParams& params) const final
|
||||
void beginSelectionSet(const service::SelectionSetParams& params) const override
|
||||
{
|
||||
if constexpr (methods::AppointmentConnectionHas::beginSelectionSet<T>)
|
||||
{
|
||||
|
@ -120,7 +120,7 @@ private:
|
|||
}
|
||||
}
|
||||
|
||||
void endSelectionSet(const service::SelectionSetParams& params) const final
|
||||
void endSelectionSet(const service::SelectionSetParams& params) const override
|
||||
{
|
||||
if constexpr (methods::AppointmentConnectionHas::endSelectionSet<T>)
|
||||
{
|
||||
|
@ -137,8 +137,8 @@ private:
|
|||
[[nodiscard]] service::TypeNames getTypeNames() const noexcept;
|
||||
[[nodiscard]] service::ResolverMap getResolvers() const noexcept;
|
||||
|
||||
void beginSelectionSet(const service::SelectionSetParams& params) const final;
|
||||
void endSelectionSet(const service::SelectionSetParams& params) const final;
|
||||
void beginSelectionSet(const service::SelectionSetParams& params) const override;
|
||||
void endSelectionSet(const service::SelectionSetParams& params) const override;
|
||||
|
||||
const std::unique_ptr<const Concept> _pimpl;
|
||||
|
||||
|
|
|
@ -72,7 +72,7 @@ private:
|
|||
};
|
||||
|
||||
template <class T>
|
||||
struct [[nodiscard]] Model
|
||||
struct [[nodiscard]] Model final
|
||||
: Concept
|
||||
{
|
||||
explicit Model(std::shared_ptr<T> pimpl) noexcept
|
||||
|
@ -80,7 +80,7 @@ private:
|
|||
{
|
||||
}
|
||||
|
||||
[[nodiscard]] service::AwaitableObject<std::shared_ptr<Appointment>> getNode(service::FieldParams&& params) const final
|
||||
[[nodiscard]] service::AwaitableObject<std::shared_ptr<Appointment>> getNode(service::FieldParams&& params) const override
|
||||
{
|
||||
if constexpr (methods::AppointmentEdgeHas::getNodeWithParams<T>)
|
||||
{
|
||||
|
@ -96,7 +96,7 @@ private:
|
|||
}
|
||||
}
|
||||
|
||||
[[nodiscard]] service::AwaitableScalar<response::Value> getCursor(service::FieldParams&& params) const final
|
||||
[[nodiscard]] service::AwaitableScalar<response::Value> getCursor(service::FieldParams&& params) const override
|
||||
{
|
||||
if constexpr (methods::AppointmentEdgeHas::getCursorWithParams<T>)
|
||||
{
|
||||
|
@ -112,7 +112,7 @@ private:
|
|||
}
|
||||
}
|
||||
|
||||
void beginSelectionSet(const service::SelectionSetParams& params) const final
|
||||
void beginSelectionSet(const service::SelectionSetParams& params) const override
|
||||
{
|
||||
if constexpr (methods::AppointmentEdgeHas::beginSelectionSet<T>)
|
||||
{
|
||||
|
@ -120,7 +120,7 @@ private:
|
|||
}
|
||||
}
|
||||
|
||||
void endSelectionSet(const service::SelectionSetParams& params) const final
|
||||
void endSelectionSet(const service::SelectionSetParams& params) const override
|
||||
{
|
||||
if constexpr (methods::AppointmentEdgeHas::endSelectionSet<T>)
|
||||
{
|
||||
|
@ -137,8 +137,8 @@ private:
|
|||
[[nodiscard]] service::TypeNames getTypeNames() const noexcept;
|
||||
[[nodiscard]] service::ResolverMap getResolvers() const noexcept;
|
||||
|
||||
void beginSelectionSet(const service::SelectionSetParams& params) const final;
|
||||
void endSelectionSet(const service::SelectionSetParams& params) const final;
|
||||
void beginSelectionSet(const service::SelectionSetParams& params) const override;
|
||||
void endSelectionSet(const service::SelectionSetParams& params) const override;
|
||||
|
||||
const std::unique_ptr<const Concept> _pimpl;
|
||||
|
||||
|
|
|
@ -121,7 +121,7 @@ private:
|
|||
};
|
||||
|
||||
template <class T>
|
||||
struct [[nodiscard]] Model
|
||||
struct [[nodiscard]] Model final
|
||||
: Concept
|
||||
{
|
||||
explicit Model(std::shared_ptr<T> pimpl) noexcept
|
||||
|
@ -129,7 +129,7 @@ private:
|
|||
{
|
||||
}
|
||||
|
||||
[[nodiscard]] service::AwaitableScalar<response::IdType> getId(service::FieldParams&& params) const final
|
||||
[[nodiscard]] service::AwaitableScalar<response::IdType> getId(service::FieldParams&& params) const override
|
||||
{
|
||||
if constexpr (methods::AppointmentHas::getIdWithParams<T>)
|
||||
{
|
||||
|
@ -145,7 +145,7 @@ private:
|
|||
}
|
||||
}
|
||||
|
||||
[[nodiscard]] service::AwaitableScalar<std::optional<response::Value>> getWhen(service::FieldParams&& params) const final
|
||||
[[nodiscard]] service::AwaitableScalar<std::optional<response::Value>> getWhen(service::FieldParams&& params) const override
|
||||
{
|
||||
if constexpr (methods::AppointmentHas::getWhenWithParams<T>)
|
||||
{
|
||||
|
@ -161,7 +161,7 @@ private:
|
|||
}
|
||||
}
|
||||
|
||||
[[nodiscard]] service::AwaitableScalar<std::optional<std::string>> getSubject(service::FieldParams&& params) const final
|
||||
[[nodiscard]] service::AwaitableScalar<std::optional<std::string>> getSubject(service::FieldParams&& params) const override
|
||||
{
|
||||
if constexpr (methods::AppointmentHas::getSubjectWithParams<T>)
|
||||
{
|
||||
|
@ -177,7 +177,7 @@ private:
|
|||
}
|
||||
}
|
||||
|
||||
[[nodiscard]] service::AwaitableScalar<bool> getIsNow(service::FieldParams&& params) const final
|
||||
[[nodiscard]] service::AwaitableScalar<bool> getIsNow(service::FieldParams&& params) const override
|
||||
{
|
||||
if constexpr (methods::AppointmentHas::getIsNowWithParams<T>)
|
||||
{
|
||||
|
@ -193,7 +193,7 @@ private:
|
|||
}
|
||||
}
|
||||
|
||||
[[nodiscard]] service::AwaitableScalar<std::optional<std::string>> getForceError(service::FieldParams&& params) const final
|
||||
[[nodiscard]] service::AwaitableScalar<std::optional<std::string>> getForceError(service::FieldParams&& params) const override
|
||||
{
|
||||
if constexpr (methods::AppointmentHas::getForceErrorWithParams<T>)
|
||||
{
|
||||
|
@ -209,7 +209,7 @@ private:
|
|||
}
|
||||
}
|
||||
|
||||
void beginSelectionSet(const service::SelectionSetParams& params) const final
|
||||
void beginSelectionSet(const service::SelectionSetParams& params) const override
|
||||
{
|
||||
if constexpr (methods::AppointmentHas::beginSelectionSet<T>)
|
||||
{
|
||||
|
@ -217,7 +217,7 @@ private:
|
|||
}
|
||||
}
|
||||
|
||||
void endSelectionSet(const service::SelectionSetParams& params) const final
|
||||
void endSelectionSet(const service::SelectionSetParams& params) const override
|
||||
{
|
||||
if constexpr (methods::AppointmentHas::endSelectionSet<T>)
|
||||
{
|
||||
|
@ -246,8 +246,8 @@ private:
|
|||
[[nodiscard]] service::TypeNames getTypeNames() const noexcept;
|
||||
[[nodiscard]] service::ResolverMap getResolvers() const noexcept;
|
||||
|
||||
void beginSelectionSet(const service::SelectionSetParams& params) const final;
|
||||
void endSelectionSet(const service::SelectionSetParams& params) const final;
|
||||
void beginSelectionSet(const service::SelectionSetParams& params) const override;
|
||||
void endSelectionSet(const service::SelectionSetParams& params) const override;
|
||||
|
||||
const std::unique_ptr<const Concept> _pimpl;
|
||||
|
||||
|
|
|
@ -72,7 +72,7 @@ private:
|
|||
};
|
||||
|
||||
template <class T>
|
||||
struct [[nodiscard]] Model
|
||||
struct [[nodiscard]] Model final
|
||||
: Concept
|
||||
{
|
||||
explicit Model(std::shared_ptr<T> pimpl) noexcept
|
||||
|
@ -80,7 +80,7 @@ private:
|
|||
{
|
||||
}
|
||||
|
||||
[[nodiscard]] service::AwaitableObject<std::shared_ptr<Task>> getTask(service::FieldParams&& params) const final
|
||||
[[nodiscard]] service::AwaitableObject<std::shared_ptr<Task>> getTask(service::FieldParams&& params) const override
|
||||
{
|
||||
if constexpr (methods::CompleteTaskPayloadHas::getTaskWithParams<T>)
|
||||
{
|
||||
|
@ -96,7 +96,7 @@ private:
|
|||
}
|
||||
}
|
||||
|
||||
[[nodiscard]] service::AwaitableScalar<std::optional<std::string>> getClientMutationId(service::FieldParams&& params) const final
|
||||
[[nodiscard]] service::AwaitableScalar<std::optional<std::string>> getClientMutationId(service::FieldParams&& params) const override
|
||||
{
|
||||
if constexpr (methods::CompleteTaskPayloadHas::getClientMutationIdWithParams<T>)
|
||||
{
|
||||
|
@ -112,7 +112,7 @@ private:
|
|||
}
|
||||
}
|
||||
|
||||
void beginSelectionSet(const service::SelectionSetParams& params) const final
|
||||
void beginSelectionSet(const service::SelectionSetParams& params) const override
|
||||
{
|
||||
if constexpr (methods::CompleteTaskPayloadHas::beginSelectionSet<T>)
|
||||
{
|
||||
|
@ -120,7 +120,7 @@ private:
|
|||
}
|
||||
}
|
||||
|
||||
void endSelectionSet(const service::SelectionSetParams& params) const final
|
||||
void endSelectionSet(const service::SelectionSetParams& params) const override
|
||||
{
|
||||
if constexpr (methods::CompleteTaskPayloadHas::endSelectionSet<T>)
|
||||
{
|
||||
|
@ -137,8 +137,8 @@ private:
|
|||
[[nodiscard]] service::TypeNames getTypeNames() const noexcept;
|
||||
[[nodiscard]] service::ResolverMap getResolvers() const noexcept;
|
||||
|
||||
void beginSelectionSet(const service::SelectionSetParams& params) const final;
|
||||
void endSelectionSet(const service::SelectionSetParams& params) const final;
|
||||
void beginSelectionSet(const service::SelectionSetParams& params) const override;
|
||||
void endSelectionSet(const service::SelectionSetParams& params) const override;
|
||||
|
||||
const std::unique_ptr<const Concept> _pimpl;
|
||||
|
||||
|
|
|
@ -58,7 +58,7 @@ private:
|
|||
};
|
||||
|
||||
template <class T>
|
||||
struct [[nodiscard]] Model
|
||||
struct [[nodiscard]] Model final
|
||||
: Concept
|
||||
{
|
||||
explicit Model(std::shared_ptr<T> pimpl) noexcept
|
||||
|
@ -66,7 +66,7 @@ private:
|
|||
{
|
||||
}
|
||||
|
||||
[[nodiscard]] service::AwaitableScalar<int> getOrder(service::FieldParams&& params) const final
|
||||
[[nodiscard]] service::AwaitableScalar<int> getOrder(service::FieldParams&& params) const override
|
||||
{
|
||||
if constexpr (methods::ExpensiveHas::getOrderWithParams<T>)
|
||||
{
|
||||
|
@ -82,7 +82,7 @@ private:
|
|||
}
|
||||
}
|
||||
|
||||
void beginSelectionSet(const service::SelectionSetParams& params) const final
|
||||
void beginSelectionSet(const service::SelectionSetParams& params) const override
|
||||
{
|
||||
if constexpr (methods::ExpensiveHas::beginSelectionSet<T>)
|
||||
{
|
||||
|
@ -90,7 +90,7 @@ private:
|
|||
}
|
||||
}
|
||||
|
||||
void endSelectionSet(const service::SelectionSetParams& params) const final
|
||||
void endSelectionSet(const service::SelectionSetParams& params) const override
|
||||
{
|
||||
if constexpr (methods::ExpensiveHas::endSelectionSet<T>)
|
||||
{
|
||||
|
@ -107,8 +107,8 @@ private:
|
|||
[[nodiscard]] service::TypeNames getTypeNames() const noexcept;
|
||||
[[nodiscard]] service::ResolverMap getResolvers() const noexcept;
|
||||
|
||||
void beginSelectionSet(const service::SelectionSetParams& params) const final;
|
||||
void endSelectionSet(const service::SelectionSetParams& params) const final;
|
||||
void beginSelectionSet(const service::SelectionSetParams& params) const override;
|
||||
void endSelectionSet(const service::SelectionSetParams& params) const override;
|
||||
|
||||
const std::unique_ptr<const Concept> _pimpl;
|
||||
|
||||
|
|
|
@ -72,7 +72,7 @@ private:
|
|||
};
|
||||
|
||||
template <class T>
|
||||
struct [[nodiscard]] Model
|
||||
struct [[nodiscard]] Model final
|
||||
: Concept
|
||||
{
|
||||
explicit Model(std::shared_ptr<T> pimpl) noexcept
|
||||
|
@ -80,7 +80,7 @@ private:
|
|||
{
|
||||
}
|
||||
|
||||
[[nodiscard]] service::AwaitableObject<std::shared_ptr<PageInfo>> getPageInfo(service::FieldParams&& params) const final
|
||||
[[nodiscard]] service::AwaitableObject<std::shared_ptr<PageInfo>> getPageInfo(service::FieldParams&& params) const override
|
||||
{
|
||||
if constexpr (methods::FolderConnectionHas::getPageInfoWithParams<T>)
|
||||
{
|
||||
|
@ -96,7 +96,7 @@ private:
|
|||
}
|
||||
}
|
||||
|
||||
[[nodiscard]] service::AwaitableObject<std::optional<std::vector<std::shared_ptr<FolderEdge>>>> getEdges(service::FieldParams&& params) const final
|
||||
[[nodiscard]] service::AwaitableObject<std::optional<std::vector<std::shared_ptr<FolderEdge>>>> getEdges(service::FieldParams&& params) const override
|
||||
{
|
||||
if constexpr (methods::FolderConnectionHas::getEdgesWithParams<T>)
|
||||
{
|
||||
|
@ -112,7 +112,7 @@ private:
|
|||
}
|
||||
}
|
||||
|
||||
void beginSelectionSet(const service::SelectionSetParams& params) const final
|
||||
void beginSelectionSet(const service::SelectionSetParams& params) const override
|
||||
{
|
||||
if constexpr (methods::FolderConnectionHas::beginSelectionSet<T>)
|
||||
{
|
||||
|
@ -120,7 +120,7 @@ private:
|
|||
}
|
||||
}
|
||||
|
||||
void endSelectionSet(const service::SelectionSetParams& params) const final
|
||||
void endSelectionSet(const service::SelectionSetParams& params) const override
|
||||
{
|
||||
if constexpr (methods::FolderConnectionHas::endSelectionSet<T>)
|
||||
{
|
||||
|
@ -137,8 +137,8 @@ private:
|
|||
[[nodiscard]] service::TypeNames getTypeNames() const noexcept;
|
||||
[[nodiscard]] service::ResolverMap getResolvers() const noexcept;
|
||||
|
||||
void beginSelectionSet(const service::SelectionSetParams& params) const final;
|
||||
void endSelectionSet(const service::SelectionSetParams& params) const final;
|
||||
void beginSelectionSet(const service::SelectionSetParams& params) const override;
|
||||
void endSelectionSet(const service::SelectionSetParams& params) const override;
|
||||
|
||||
const std::unique_ptr<const Concept> _pimpl;
|
||||
|
||||
|
|
|
@ -72,7 +72,7 @@ private:
|
|||
};
|
||||
|
||||
template <class T>
|
||||
struct [[nodiscard]] Model
|
||||
struct [[nodiscard]] Model final
|
||||
: Concept
|
||||
{
|
||||
explicit Model(std::shared_ptr<T> pimpl) noexcept
|
||||
|
@ -80,7 +80,7 @@ private:
|
|||
{
|
||||
}
|
||||
|
||||
[[nodiscard]] service::AwaitableObject<std::shared_ptr<Folder>> getNode(service::FieldParams&& params) const final
|
||||
[[nodiscard]] service::AwaitableObject<std::shared_ptr<Folder>> getNode(service::FieldParams&& params) const override
|
||||
{
|
||||
if constexpr (methods::FolderEdgeHas::getNodeWithParams<T>)
|
||||
{
|
||||
|
@ -96,7 +96,7 @@ private:
|
|||
}
|
||||
}
|
||||
|
||||
[[nodiscard]] service::AwaitableScalar<response::Value> getCursor(service::FieldParams&& params) const final
|
||||
[[nodiscard]] service::AwaitableScalar<response::Value> getCursor(service::FieldParams&& params) const override
|
||||
{
|
||||
if constexpr (methods::FolderEdgeHas::getCursorWithParams<T>)
|
||||
{
|
||||
|
@ -112,7 +112,7 @@ private:
|
|||
}
|
||||
}
|
||||
|
||||
void beginSelectionSet(const service::SelectionSetParams& params) const final
|
||||
void beginSelectionSet(const service::SelectionSetParams& params) const override
|
||||
{
|
||||
if constexpr (methods::FolderEdgeHas::beginSelectionSet<T>)
|
||||
{
|
||||
|
@ -120,7 +120,7 @@ private:
|
|||
}
|
||||
}
|
||||
|
||||
void endSelectionSet(const service::SelectionSetParams& params) const final
|
||||
void endSelectionSet(const service::SelectionSetParams& params) const override
|
||||
{
|
||||
if constexpr (methods::FolderEdgeHas::endSelectionSet<T>)
|
||||
{
|
||||
|
@ -137,8 +137,8 @@ private:
|
|||
[[nodiscard]] service::TypeNames getTypeNames() const noexcept;
|
||||
[[nodiscard]] service::ResolverMap getResolvers() const noexcept;
|
||||
|
||||
void beginSelectionSet(const service::SelectionSetParams& params) const final;
|
||||
void endSelectionSet(const service::SelectionSetParams& params) const final;
|
||||
void beginSelectionSet(const service::SelectionSetParams& params) const override;
|
||||
void endSelectionSet(const service::SelectionSetParams& params) const override;
|
||||
|
||||
const std::unique_ptr<const Concept> _pimpl;
|
||||
|
||||
|
|
|
@ -93,7 +93,7 @@ private:
|
|||
};
|
||||
|
||||
template <class T>
|
||||
struct [[nodiscard]] Model
|
||||
struct [[nodiscard]] Model final
|
||||
: Concept
|
||||
{
|
||||
explicit Model(std::shared_ptr<T> pimpl) noexcept
|
||||
|
@ -101,7 +101,7 @@ private:
|
|||
{
|
||||
}
|
||||
|
||||
[[nodiscard]] service::AwaitableScalar<response::IdType> getId(service::FieldParams&& params) const final
|
||||
[[nodiscard]] service::AwaitableScalar<response::IdType> getId(service::FieldParams&& params) const override
|
||||
{
|
||||
if constexpr (methods::FolderHas::getIdWithParams<T>)
|
||||
{
|
||||
|
@ -117,7 +117,7 @@ private:
|
|||
}
|
||||
}
|
||||
|
||||
[[nodiscard]] service::AwaitableScalar<std::optional<std::string>> getName(service::FieldParams&& params) const final
|
||||
[[nodiscard]] service::AwaitableScalar<std::optional<std::string>> getName(service::FieldParams&& params) const override
|
||||
{
|
||||
if constexpr (methods::FolderHas::getNameWithParams<T>)
|
||||
{
|
||||
|
@ -133,7 +133,7 @@ private:
|
|||
}
|
||||
}
|
||||
|
||||
[[nodiscard]] service::AwaitableScalar<int> getUnreadCount(service::FieldParams&& params) const final
|
||||
[[nodiscard]] service::AwaitableScalar<int> getUnreadCount(service::FieldParams&& params) const override
|
||||
{
|
||||
if constexpr (methods::FolderHas::getUnreadCountWithParams<T>)
|
||||
{
|
||||
|
@ -149,7 +149,7 @@ private:
|
|||
}
|
||||
}
|
||||
|
||||
void beginSelectionSet(const service::SelectionSetParams& params) const final
|
||||
void beginSelectionSet(const service::SelectionSetParams& params) const override
|
||||
{
|
||||
if constexpr (methods::FolderHas::beginSelectionSet<T>)
|
||||
{
|
||||
|
@ -157,7 +157,7 @@ private:
|
|||
}
|
||||
}
|
||||
|
||||
void endSelectionSet(const service::SelectionSetParams& params) const final
|
||||
void endSelectionSet(const service::SelectionSetParams& params) const override
|
||||
{
|
||||
if constexpr (methods::FolderHas::endSelectionSet<T>)
|
||||
{
|
||||
|
@ -186,8 +186,8 @@ private:
|
|||
[[nodiscard]] service::TypeNames getTypeNames() const noexcept;
|
||||
[[nodiscard]] service::ResolverMap getResolvers() const noexcept;
|
||||
|
||||
void beginSelectionSet(const service::SelectionSetParams& params) const final;
|
||||
void endSelectionSet(const service::SelectionSetParams& params) const final;
|
||||
void beginSelectionSet(const service::SelectionSetParams& params) const override;
|
||||
void endSelectionSet(const service::SelectionSetParams& params) const override;
|
||||
|
||||
const std::unique_ptr<const Concept> _pimpl;
|
||||
|
||||
|
|
|
@ -72,7 +72,7 @@ private:
|
|||
};
|
||||
|
||||
template <class T>
|
||||
struct [[nodiscard]] Model
|
||||
struct [[nodiscard]] Model final
|
||||
: Concept
|
||||
{
|
||||
explicit Model(std::shared_ptr<T> pimpl) noexcept
|
||||
|
@ -80,7 +80,7 @@ private:
|
|||
{
|
||||
}
|
||||
|
||||
[[nodiscard]] service::AwaitableObject<std::shared_ptr<CompleteTaskPayload>> applyCompleteTask(service::FieldParams&& params, CompleteTaskInput&& inputArg) const final
|
||||
[[nodiscard]] service::AwaitableObject<std::shared_ptr<CompleteTaskPayload>> applyCompleteTask(service::FieldParams&& params, CompleteTaskInput&& inputArg) const override
|
||||
{
|
||||
if constexpr (methods::MutationHas::applyCompleteTaskWithParams<T>)
|
||||
{
|
||||
|
@ -96,7 +96,7 @@ private:
|
|||
}
|
||||
}
|
||||
|
||||
[[nodiscard]] service::AwaitableScalar<double> applySetFloat(service::FieldParams&& params, double&& valueArg) const final
|
||||
[[nodiscard]] service::AwaitableScalar<double> applySetFloat(service::FieldParams&& params, double&& valueArg) const override
|
||||
{
|
||||
if constexpr (methods::MutationHas::applySetFloatWithParams<T>)
|
||||
{
|
||||
|
@ -112,7 +112,7 @@ private:
|
|||
}
|
||||
}
|
||||
|
||||
void beginSelectionSet(const service::SelectionSetParams& params) const final
|
||||
void beginSelectionSet(const service::SelectionSetParams& params) const override
|
||||
{
|
||||
if constexpr (methods::MutationHas::beginSelectionSet<T>)
|
||||
{
|
||||
|
@ -120,7 +120,7 @@ private:
|
|||
}
|
||||
}
|
||||
|
||||
void endSelectionSet(const service::SelectionSetParams& params) const final
|
||||
void endSelectionSet(const service::SelectionSetParams& params) const override
|
||||
{
|
||||
if constexpr (methods::MutationHas::endSelectionSet<T>)
|
||||
{
|
||||
|
@ -137,8 +137,8 @@ private:
|
|||
[[nodiscard]] service::TypeNames getTypeNames() const noexcept;
|
||||
[[nodiscard]] service::ResolverMap getResolvers() const noexcept;
|
||||
|
||||
void beginSelectionSet(const service::SelectionSetParams& params) const final;
|
||||
void endSelectionSet(const service::SelectionSetParams& params) const final;
|
||||
void beginSelectionSet(const service::SelectionSetParams& params) const override;
|
||||
void endSelectionSet(const service::SelectionSetParams& params) const override;
|
||||
|
||||
const std::unique_ptr<const Concept> _pimpl;
|
||||
|
||||
|
|
|
@ -72,7 +72,7 @@ private:
|
|||
};
|
||||
|
||||
template <class T>
|
||||
struct [[nodiscard]] Model
|
||||
struct [[nodiscard]] Model final
|
||||
: Concept
|
||||
{
|
||||
explicit Model(std::shared_ptr<T> pimpl) noexcept
|
||||
|
@ -80,7 +80,7 @@ private:
|
|||
{
|
||||
}
|
||||
|
||||
[[nodiscard]] service::AwaitableScalar<int> getDepth(service::FieldParams&& params) const final
|
||||
[[nodiscard]] service::AwaitableScalar<int> getDepth(service::FieldParams&& params) const override
|
||||
{
|
||||
if constexpr (methods::NestedTypeHas::getDepthWithParams<T>)
|
||||
{
|
||||
|
@ -96,7 +96,7 @@ private:
|
|||
}
|
||||
}
|
||||
|
||||
[[nodiscard]] service::AwaitableObject<std::shared_ptr<NestedType>> getNested(service::FieldParams&& params) const final
|
||||
[[nodiscard]] service::AwaitableObject<std::shared_ptr<NestedType>> getNested(service::FieldParams&& params) const override
|
||||
{
|
||||
if constexpr (methods::NestedTypeHas::getNestedWithParams<T>)
|
||||
{
|
||||
|
@ -112,7 +112,7 @@ private:
|
|||
}
|
||||
}
|
||||
|
||||
void beginSelectionSet(const service::SelectionSetParams& params) const final
|
||||
void beginSelectionSet(const service::SelectionSetParams& params) const override
|
||||
{
|
||||
if constexpr (methods::NestedTypeHas::beginSelectionSet<T>)
|
||||
{
|
||||
|
@ -120,7 +120,7 @@ private:
|
|||
}
|
||||
}
|
||||
|
||||
void endSelectionSet(const service::SelectionSetParams& params) const final
|
||||
void endSelectionSet(const service::SelectionSetParams& params) const override
|
||||
{
|
||||
if constexpr (methods::NestedTypeHas::endSelectionSet<T>)
|
||||
{
|
||||
|
@ -137,8 +137,8 @@ private:
|
|||
[[nodiscard]] service::TypeNames getTypeNames() const noexcept;
|
||||
[[nodiscard]] service::ResolverMap getResolvers() const noexcept;
|
||||
|
||||
void beginSelectionSet(const service::SelectionSetParams& params) const final;
|
||||
void endSelectionSet(const service::SelectionSetParams& params) const final;
|
||||
void beginSelectionSet(const service::SelectionSetParams& params) const override;
|
||||
void endSelectionSet(const service::SelectionSetParams& params) const override;
|
||||
|
||||
const std::unique_ptr<const Concept> _pimpl;
|
||||
|
||||
|
|
|
@ -28,7 +28,7 @@ private:
|
|||
};
|
||||
|
||||
template <class T>
|
||||
struct [[nodiscard]] Model
|
||||
struct [[nodiscard]] Model final
|
||||
: Concept
|
||||
{
|
||||
explicit Model(std::shared_ptr<T> pimpl) noexcept
|
||||
|
@ -36,22 +36,22 @@ private:
|
|||
{
|
||||
}
|
||||
|
||||
[[nodiscard]] service::TypeNames getTypeNames() const noexcept final
|
||||
[[nodiscard]] service::TypeNames getTypeNames() const noexcept override
|
||||
{
|
||||
return _pimpl->getTypeNames();
|
||||
}
|
||||
|
||||
[[nodiscard]] service::ResolverMap getResolvers() const noexcept final
|
||||
[[nodiscard]] service::ResolverMap getResolvers() const noexcept override
|
||||
{
|
||||
return _pimpl->getResolvers();
|
||||
}
|
||||
|
||||
void beginSelectionSet(const service::SelectionSetParams& params) const final
|
||||
void beginSelectionSet(const service::SelectionSetParams& params) const override
|
||||
{
|
||||
_pimpl->beginSelectionSet(params);
|
||||
}
|
||||
|
||||
void endSelectionSet(const service::SelectionSetParams& params) const final
|
||||
void endSelectionSet(const service::SelectionSetParams& params) const override
|
||||
{
|
||||
_pimpl->endSelectionSet(params);
|
||||
}
|
||||
|
@ -62,8 +62,8 @@ private:
|
|||
|
||||
explicit Node(std::unique_ptr<const Concept> pimpl) noexcept;
|
||||
|
||||
void beginSelectionSet(const service::SelectionSetParams& params) const final;
|
||||
void endSelectionSet(const service::SelectionSetParams& params) const final;
|
||||
void beginSelectionSet(const service::SelectionSetParams& params) const override;
|
||||
void endSelectionSet(const service::SelectionSetParams& params) const override;
|
||||
|
||||
const std::unique_ptr<const Concept> _pimpl;
|
||||
|
||||
|
|
|
@ -72,7 +72,7 @@ private:
|
|||
};
|
||||
|
||||
template <class T>
|
||||
struct [[nodiscard]] Model
|
||||
struct [[nodiscard]] Model final
|
||||
: Concept
|
||||
{
|
||||
explicit Model(std::shared_ptr<T> pimpl) noexcept
|
||||
|
@ -80,7 +80,7 @@ private:
|
|||
{
|
||||
}
|
||||
|
||||
[[nodiscard]] service::AwaitableScalar<bool> getHasNextPage(service::FieldParams&& params) const final
|
||||
[[nodiscard]] service::AwaitableScalar<bool> getHasNextPage(service::FieldParams&& params) const override
|
||||
{
|
||||
if constexpr (methods::PageInfoHas::getHasNextPageWithParams<T>)
|
||||
{
|
||||
|
@ -96,7 +96,7 @@ private:
|
|||
}
|
||||
}
|
||||
|
||||
[[nodiscard]] service::AwaitableScalar<bool> getHasPreviousPage(service::FieldParams&& params) const final
|
||||
[[nodiscard]] service::AwaitableScalar<bool> getHasPreviousPage(service::FieldParams&& params) const override
|
||||
{
|
||||
if constexpr (methods::PageInfoHas::getHasPreviousPageWithParams<T>)
|
||||
{
|
||||
|
@ -112,7 +112,7 @@ private:
|
|||
}
|
||||
}
|
||||
|
||||
void beginSelectionSet(const service::SelectionSetParams& params) const final
|
||||
void beginSelectionSet(const service::SelectionSetParams& params) const override
|
||||
{
|
||||
if constexpr (methods::PageInfoHas::beginSelectionSet<T>)
|
||||
{
|
||||
|
@ -120,7 +120,7 @@ private:
|
|||
}
|
||||
}
|
||||
|
||||
void endSelectionSet(const service::SelectionSetParams& params) const final
|
||||
void endSelectionSet(const service::SelectionSetParams& params) const override
|
||||
{
|
||||
if constexpr (methods::PageInfoHas::endSelectionSet<T>)
|
||||
{
|
||||
|
@ -137,8 +137,8 @@ private:
|
|||
[[nodiscard]] service::TypeNames getTypeNames() const noexcept;
|
||||
[[nodiscard]] service::ResolverMap getResolvers() const noexcept;
|
||||
|
||||
void beginSelectionSet(const service::SelectionSetParams& params) const final;
|
||||
void endSelectionSet(const service::SelectionSetParams& params) const final;
|
||||
void beginSelectionSet(const service::SelectionSetParams& params) const override;
|
||||
void endSelectionSet(const service::SelectionSetParams& params) const override;
|
||||
|
||||
const std::unique_ptr<const Concept> _pimpl;
|
||||
|
||||
|
|
|
@ -226,7 +226,7 @@ private:
|
|||
};
|
||||
|
||||
template <class T>
|
||||
struct [[nodiscard]] Model
|
||||
struct [[nodiscard]] Model final
|
||||
: Concept
|
||||
{
|
||||
explicit Model(std::shared_ptr<T> pimpl) noexcept
|
||||
|
@ -234,7 +234,7 @@ private:
|
|||
{
|
||||
}
|
||||
|
||||
[[nodiscard]] service::AwaitableObject<std::shared_ptr<Node>> getNode(service::FieldParams&& params, response::IdType&& idArg) const final
|
||||
[[nodiscard]] service::AwaitableObject<std::shared_ptr<Node>> getNode(service::FieldParams&& params, response::IdType&& idArg) const override
|
||||
{
|
||||
if constexpr (methods::QueryHas::getNodeWithParams<T>)
|
||||
{
|
||||
|
@ -250,7 +250,7 @@ private:
|
|||
}
|
||||
}
|
||||
|
||||
[[nodiscard]] service::AwaitableObject<std::shared_ptr<AppointmentConnection>> getAppointments(service::FieldParams&& params, std::optional<int>&& firstArg, std::optional<response::Value>&& afterArg, std::optional<int>&& lastArg, std::optional<response::Value>&& beforeArg) const final
|
||||
[[nodiscard]] service::AwaitableObject<std::shared_ptr<AppointmentConnection>> getAppointments(service::FieldParams&& params, std::optional<int>&& firstArg, std::optional<response::Value>&& afterArg, std::optional<int>&& lastArg, std::optional<response::Value>&& beforeArg) const override
|
||||
{
|
||||
if constexpr (methods::QueryHas::getAppointmentsWithParams<T>)
|
||||
{
|
||||
|
@ -266,7 +266,7 @@ private:
|
|||
}
|
||||
}
|
||||
|
||||
[[nodiscard]] service::AwaitableObject<std::shared_ptr<TaskConnection>> getTasks(service::FieldParams&& params, std::optional<int>&& firstArg, std::optional<response::Value>&& afterArg, std::optional<int>&& lastArg, std::optional<response::Value>&& beforeArg) const final
|
||||
[[nodiscard]] service::AwaitableObject<std::shared_ptr<TaskConnection>> getTasks(service::FieldParams&& params, std::optional<int>&& firstArg, std::optional<response::Value>&& afterArg, std::optional<int>&& lastArg, std::optional<response::Value>&& beforeArg) const override
|
||||
{
|
||||
if constexpr (methods::QueryHas::getTasksWithParams<T>)
|
||||
{
|
||||
|
@ -282,7 +282,7 @@ private:
|
|||
}
|
||||
}
|
||||
|
||||
[[nodiscard]] service::AwaitableObject<std::shared_ptr<FolderConnection>> getUnreadCounts(service::FieldParams&& params, std::optional<int>&& firstArg, std::optional<response::Value>&& afterArg, std::optional<int>&& lastArg, std::optional<response::Value>&& beforeArg) const final
|
||||
[[nodiscard]] service::AwaitableObject<std::shared_ptr<FolderConnection>> getUnreadCounts(service::FieldParams&& params, std::optional<int>&& firstArg, std::optional<response::Value>&& afterArg, std::optional<int>&& lastArg, std::optional<response::Value>&& beforeArg) const override
|
||||
{
|
||||
if constexpr (methods::QueryHas::getUnreadCountsWithParams<T>)
|
||||
{
|
||||
|
@ -298,7 +298,7 @@ private:
|
|||
}
|
||||
}
|
||||
|
||||
[[nodiscard]] service::AwaitableObject<std::vector<std::shared_ptr<Appointment>>> getAppointmentsById(service::FieldParams&& params, std::vector<response::IdType>&& idsArg) const final
|
||||
[[nodiscard]] service::AwaitableObject<std::vector<std::shared_ptr<Appointment>>> getAppointmentsById(service::FieldParams&& params, std::vector<response::IdType>&& idsArg) const override
|
||||
{
|
||||
if constexpr (methods::QueryHas::getAppointmentsByIdWithParams<T>)
|
||||
{
|
||||
|
@ -314,7 +314,7 @@ private:
|
|||
}
|
||||
}
|
||||
|
||||
[[nodiscard]] service::AwaitableObject<std::vector<std::shared_ptr<Task>>> getTasksById(service::FieldParams&& params, std::vector<response::IdType>&& idsArg) const final
|
||||
[[nodiscard]] service::AwaitableObject<std::vector<std::shared_ptr<Task>>> getTasksById(service::FieldParams&& params, std::vector<response::IdType>&& idsArg) const override
|
||||
{
|
||||
if constexpr (methods::QueryHas::getTasksByIdWithParams<T>)
|
||||
{
|
||||
|
@ -330,7 +330,7 @@ private:
|
|||
}
|
||||
}
|
||||
|
||||
[[nodiscard]] service::AwaitableObject<std::vector<std::shared_ptr<Folder>>> getUnreadCountsById(service::FieldParams&& params, std::vector<response::IdType>&& idsArg) const final
|
||||
[[nodiscard]] service::AwaitableObject<std::vector<std::shared_ptr<Folder>>> getUnreadCountsById(service::FieldParams&& params, std::vector<response::IdType>&& idsArg) const override
|
||||
{
|
||||
if constexpr (methods::QueryHas::getUnreadCountsByIdWithParams<T>)
|
||||
{
|
||||
|
@ -346,7 +346,7 @@ private:
|
|||
}
|
||||
}
|
||||
|
||||
[[nodiscard]] service::AwaitableObject<std::shared_ptr<NestedType>> getNested(service::FieldParams&& params) const final
|
||||
[[nodiscard]] service::AwaitableObject<std::shared_ptr<NestedType>> getNested(service::FieldParams&& params) const override
|
||||
{
|
||||
if constexpr (methods::QueryHas::getNestedWithParams<T>)
|
||||
{
|
||||
|
@ -362,7 +362,7 @@ private:
|
|||
}
|
||||
}
|
||||
|
||||
[[nodiscard]] service::AwaitableScalar<std::string> getUnimplemented(service::FieldParams&& params) const final
|
||||
[[nodiscard]] service::AwaitableScalar<std::string> getUnimplemented(service::FieldParams&& params) const override
|
||||
{
|
||||
if constexpr (methods::QueryHas::getUnimplementedWithParams<T>)
|
||||
{
|
||||
|
@ -378,7 +378,7 @@ private:
|
|||
}
|
||||
}
|
||||
|
||||
[[nodiscard]] service::AwaitableObject<std::vector<std::shared_ptr<Expensive>>> getExpensive(service::FieldParams&& params) const final
|
||||
[[nodiscard]] service::AwaitableObject<std::vector<std::shared_ptr<Expensive>>> getExpensive(service::FieldParams&& params) const override
|
||||
{
|
||||
if constexpr (methods::QueryHas::getExpensiveWithParams<T>)
|
||||
{
|
||||
|
@ -394,7 +394,7 @@ private:
|
|||
}
|
||||
}
|
||||
|
||||
[[nodiscard]] service::AwaitableScalar<TaskState> getTestTaskState(service::FieldParams&& params) const final
|
||||
[[nodiscard]] service::AwaitableScalar<TaskState> getTestTaskState(service::FieldParams&& params) const override
|
||||
{
|
||||
if constexpr (methods::QueryHas::getTestTaskStateWithParams<T>)
|
||||
{
|
||||
|
@ -410,7 +410,7 @@ private:
|
|||
}
|
||||
}
|
||||
|
||||
[[nodiscard]] service::AwaitableObject<std::vector<std::shared_ptr<UnionType>>> getAnyType(service::FieldParams&& params, std::vector<response::IdType>&& idsArg) const final
|
||||
[[nodiscard]] service::AwaitableObject<std::vector<std::shared_ptr<UnionType>>> getAnyType(service::FieldParams&& params, std::vector<response::IdType>&& idsArg) const override
|
||||
{
|
||||
if constexpr (methods::QueryHas::getAnyTypeWithParams<T>)
|
||||
{
|
||||
|
@ -426,7 +426,7 @@ private:
|
|||
}
|
||||
}
|
||||
|
||||
[[nodiscard]] service::AwaitableScalar<std::optional<std::string>> getDefault(service::FieldParams&& params) const final
|
||||
[[nodiscard]] service::AwaitableScalar<std::optional<std::string>> getDefault(service::FieldParams&& params) const override
|
||||
{
|
||||
if constexpr (methods::QueryHas::getDefaultWithParams<T>)
|
||||
{
|
||||
|
@ -442,7 +442,7 @@ private:
|
|||
}
|
||||
}
|
||||
|
||||
void beginSelectionSet(const service::SelectionSetParams& params) const final
|
||||
void beginSelectionSet(const service::SelectionSetParams& params) const override
|
||||
{
|
||||
if constexpr (methods::QueryHas::beginSelectionSet<T>)
|
||||
{
|
||||
|
@ -450,7 +450,7 @@ private:
|
|||
}
|
||||
}
|
||||
|
||||
void endSelectionSet(const service::SelectionSetParams& params) const final
|
||||
void endSelectionSet(const service::SelectionSetParams& params) const override
|
||||
{
|
||||
if constexpr (methods::QueryHas::endSelectionSet<T>)
|
||||
{
|
||||
|
@ -467,8 +467,8 @@ private:
|
|||
[[nodiscard]] service::TypeNames getTypeNames() const noexcept;
|
||||
[[nodiscard]] service::ResolverMap getResolvers() const noexcept;
|
||||
|
||||
void beginSelectionSet(const service::SelectionSetParams& params) const final;
|
||||
void endSelectionSet(const service::SelectionSetParams& params) const final;
|
||||
void beginSelectionSet(const service::SelectionSetParams& params) const override;
|
||||
void endSelectionSet(const service::SelectionSetParams& params) const override;
|
||||
|
||||
const std::unique_ptr<const Concept> _pimpl;
|
||||
|
||||
|
|
|
@ -72,7 +72,7 @@ private:
|
|||
};
|
||||
|
||||
template <class T>
|
||||
struct [[nodiscard]] Model
|
||||
struct [[nodiscard]] Model final
|
||||
: Concept
|
||||
{
|
||||
explicit Model(std::shared_ptr<T> pimpl) noexcept
|
||||
|
@ -80,7 +80,7 @@ private:
|
|||
{
|
||||
}
|
||||
|
||||
[[nodiscard]] service::AwaitableObject<std::shared_ptr<Appointment>> getNextAppointmentChange(service::FieldParams&& params) const final
|
||||
[[nodiscard]] service::AwaitableObject<std::shared_ptr<Appointment>> getNextAppointmentChange(service::FieldParams&& params) const override
|
||||
{
|
||||
if constexpr (methods::SubscriptionHas::getNextAppointmentChangeWithParams<T>)
|
||||
{
|
||||
|
@ -96,7 +96,7 @@ private:
|
|||
}
|
||||
}
|
||||
|
||||
[[nodiscard]] service::AwaitableObject<std::shared_ptr<Node>> getNodeChange(service::FieldParams&& params, response::IdType&& idArg) const final
|
||||
[[nodiscard]] service::AwaitableObject<std::shared_ptr<Node>> getNodeChange(service::FieldParams&& params, response::IdType&& idArg) const override
|
||||
{
|
||||
if constexpr (methods::SubscriptionHas::getNodeChangeWithParams<T>)
|
||||
{
|
||||
|
@ -112,7 +112,7 @@ private:
|
|||
}
|
||||
}
|
||||
|
||||
void beginSelectionSet(const service::SelectionSetParams& params) const final
|
||||
void beginSelectionSet(const service::SelectionSetParams& params) const override
|
||||
{
|
||||
if constexpr (methods::SubscriptionHas::beginSelectionSet<T>)
|
||||
{
|
||||
|
@ -120,7 +120,7 @@ private:
|
|||
}
|
||||
}
|
||||
|
||||
void endSelectionSet(const service::SelectionSetParams& params) const final
|
||||
void endSelectionSet(const service::SelectionSetParams& params) const override
|
||||
{
|
||||
if constexpr (methods::SubscriptionHas::endSelectionSet<T>)
|
||||
{
|
||||
|
@ -137,8 +137,8 @@ private:
|
|||
[[nodiscard]] service::TypeNames getTypeNames() const noexcept;
|
||||
[[nodiscard]] service::ResolverMap getResolvers() const noexcept;
|
||||
|
||||
void beginSelectionSet(const service::SelectionSetParams& params) const final;
|
||||
void endSelectionSet(const service::SelectionSetParams& params) const final;
|
||||
void beginSelectionSet(const service::SelectionSetParams& params) const override;
|
||||
void endSelectionSet(const service::SelectionSetParams& params) const override;
|
||||
|
||||
const std::unique_ptr<const Concept> _pimpl;
|
||||
|
||||
|
|
|
@ -72,7 +72,7 @@ private:
|
|||
};
|
||||
|
||||
template <class T>
|
||||
struct [[nodiscard]] Model
|
||||
struct [[nodiscard]] Model final
|
||||
: Concept
|
||||
{
|
||||
explicit Model(std::shared_ptr<T> pimpl) noexcept
|
||||
|
@ -80,7 +80,7 @@ private:
|
|||
{
|
||||
}
|
||||
|
||||
[[nodiscard]] service::AwaitableObject<std::shared_ptr<PageInfo>> getPageInfo(service::FieldParams&& params) const final
|
||||
[[nodiscard]] service::AwaitableObject<std::shared_ptr<PageInfo>> getPageInfo(service::FieldParams&& params) const override
|
||||
{
|
||||
if constexpr (methods::TaskConnectionHas::getPageInfoWithParams<T>)
|
||||
{
|
||||
|
@ -96,7 +96,7 @@ private:
|
|||
}
|
||||
}
|
||||
|
||||
[[nodiscard]] service::AwaitableObject<std::optional<std::vector<std::shared_ptr<TaskEdge>>>> getEdges(service::FieldParams&& params) const final
|
||||
[[nodiscard]] service::AwaitableObject<std::optional<std::vector<std::shared_ptr<TaskEdge>>>> getEdges(service::FieldParams&& params) const override
|
||||
{
|
||||
if constexpr (methods::TaskConnectionHas::getEdgesWithParams<T>)
|
||||
{
|
||||
|
@ -112,7 +112,7 @@ private:
|
|||
}
|
||||
}
|
||||
|
||||
void beginSelectionSet(const service::SelectionSetParams& params) const final
|
||||
void beginSelectionSet(const service::SelectionSetParams& params) const override
|
||||
{
|
||||
if constexpr (methods::TaskConnectionHas::beginSelectionSet<T>)
|
||||
{
|
||||
|
@ -120,7 +120,7 @@ private:
|
|||
}
|
||||
}
|
||||
|
||||
void endSelectionSet(const service::SelectionSetParams& params) const final
|
||||
void endSelectionSet(const service::SelectionSetParams& params) const override
|
||||
{
|
||||
if constexpr (methods::TaskConnectionHas::endSelectionSet<T>)
|
||||
{
|
||||
|
@ -137,8 +137,8 @@ private:
|
|||
[[nodiscard]] service::TypeNames getTypeNames() const noexcept;
|
||||
[[nodiscard]] service::ResolverMap getResolvers() const noexcept;
|
||||
|
||||
void beginSelectionSet(const service::SelectionSetParams& params) const final;
|
||||
void endSelectionSet(const service::SelectionSetParams& params) const final;
|
||||
void beginSelectionSet(const service::SelectionSetParams& params) const override;
|
||||
void endSelectionSet(const service::SelectionSetParams& params) const override;
|
||||
|
||||
const std::unique_ptr<const Concept> _pimpl;
|
||||
|
||||
|
|
|
@ -72,7 +72,7 @@ private:
|
|||
};
|
||||
|
||||
template <class T>
|
||||
struct [[nodiscard]] Model
|
||||
struct [[nodiscard]] Model final
|
||||
: Concept
|
||||
{
|
||||
explicit Model(std::shared_ptr<T> pimpl) noexcept
|
||||
|
@ -80,7 +80,7 @@ private:
|
|||
{
|
||||
}
|
||||
|
||||
[[nodiscard]] service::AwaitableObject<std::shared_ptr<Task>> getNode(service::FieldParams&& params) const final
|
||||
[[nodiscard]] service::AwaitableObject<std::shared_ptr<Task>> getNode(service::FieldParams&& params) const override
|
||||
{
|
||||
if constexpr (methods::TaskEdgeHas::getNodeWithParams<T>)
|
||||
{
|
||||
|
@ -96,7 +96,7 @@ private:
|
|||
}
|
||||
}
|
||||
|
||||
[[nodiscard]] service::AwaitableScalar<response::Value> getCursor(service::FieldParams&& params) const final
|
||||
[[nodiscard]] service::AwaitableScalar<response::Value> getCursor(service::FieldParams&& params) const override
|
||||
{
|
||||
if constexpr (methods::TaskEdgeHas::getCursorWithParams<T>)
|
||||
{
|
||||
|
@ -112,7 +112,7 @@ private:
|
|||
}
|
||||
}
|
||||
|
||||
void beginSelectionSet(const service::SelectionSetParams& params) const final
|
||||
void beginSelectionSet(const service::SelectionSetParams& params) const override
|
||||
{
|
||||
if constexpr (methods::TaskEdgeHas::beginSelectionSet<T>)
|
||||
{
|
||||
|
@ -120,7 +120,7 @@ private:
|
|||
}
|
||||
}
|
||||
|
||||
void endSelectionSet(const service::SelectionSetParams& params) const final
|
||||
void endSelectionSet(const service::SelectionSetParams& params) const override
|
||||
{
|
||||
if constexpr (methods::TaskEdgeHas::endSelectionSet<T>)
|
||||
{
|
||||
|
@ -137,8 +137,8 @@ private:
|
|||
[[nodiscard]] service::TypeNames getTypeNames() const noexcept;
|
||||
[[nodiscard]] service::ResolverMap getResolvers() const noexcept;
|
||||
|
||||
void beginSelectionSet(const service::SelectionSetParams& params) const final;
|
||||
void endSelectionSet(const service::SelectionSetParams& params) const final;
|
||||
void beginSelectionSet(const service::SelectionSetParams& params) const override;
|
||||
void endSelectionSet(const service::SelectionSetParams& params) const override;
|
||||
|
||||
const std::unique_ptr<const Concept> _pimpl;
|
||||
|
||||
|
|
|
@ -93,7 +93,7 @@ private:
|
|||
};
|
||||
|
||||
template <class T>
|
||||
struct [[nodiscard]] Model
|
||||
struct [[nodiscard]] Model final
|
||||
: Concept
|
||||
{
|
||||
explicit Model(std::shared_ptr<T> pimpl) noexcept
|
||||
|
@ -101,7 +101,7 @@ private:
|
|||
{
|
||||
}
|
||||
|
||||
[[nodiscard]] service::AwaitableScalar<response::IdType> getId(service::FieldParams&& params) const final
|
||||
[[nodiscard]] service::AwaitableScalar<response::IdType> getId(service::FieldParams&& params) const override
|
||||
{
|
||||
if constexpr (methods::TaskHas::getIdWithParams<T>)
|
||||
{
|
||||
|
@ -117,7 +117,7 @@ private:
|
|||
}
|
||||
}
|
||||
|
||||
[[nodiscard]] service::AwaitableScalar<std::optional<std::string>> getTitle(service::FieldParams&& params) const final
|
||||
[[nodiscard]] service::AwaitableScalar<std::optional<std::string>> getTitle(service::FieldParams&& params) const override
|
||||
{
|
||||
if constexpr (methods::TaskHas::getTitleWithParams<T>)
|
||||
{
|
||||
|
@ -133,7 +133,7 @@ private:
|
|||
}
|
||||
}
|
||||
|
||||
[[nodiscard]] service::AwaitableScalar<bool> getIsComplete(service::FieldParams&& params) const final
|
||||
[[nodiscard]] service::AwaitableScalar<bool> getIsComplete(service::FieldParams&& params) const override
|
||||
{
|
||||
if constexpr (methods::TaskHas::getIsCompleteWithParams<T>)
|
||||
{
|
||||
|
@ -149,7 +149,7 @@ private:
|
|||
}
|
||||
}
|
||||
|
||||
void beginSelectionSet(const service::SelectionSetParams& params) const final
|
||||
void beginSelectionSet(const service::SelectionSetParams& params) const override
|
||||
{
|
||||
if constexpr (methods::TaskHas::beginSelectionSet<T>)
|
||||
{
|
||||
|
@ -157,7 +157,7 @@ private:
|
|||
}
|
||||
}
|
||||
|
||||
void endSelectionSet(const service::SelectionSetParams& params) const final
|
||||
void endSelectionSet(const service::SelectionSetParams& params) const override
|
||||
{
|
||||
if constexpr (methods::TaskHas::endSelectionSet<T>)
|
||||
{
|
||||
|
@ -186,8 +186,8 @@ private:
|
|||
[[nodiscard]] service::TypeNames getTypeNames() const noexcept;
|
||||
[[nodiscard]] service::ResolverMap getResolvers() const noexcept;
|
||||
|
||||
void beginSelectionSet(const service::SelectionSetParams& params) const final;
|
||||
void endSelectionSet(const service::SelectionSetParams& params) const final;
|
||||
void beginSelectionSet(const service::SelectionSetParams& params) const override;
|
||||
void endSelectionSet(const service::SelectionSetParams& params) const override;
|
||||
|
||||
const std::unique_ptr<const Concept> _pimpl;
|
||||
|
||||
|
|
|
@ -28,7 +28,7 @@ private:
|
|||
};
|
||||
|
||||
template <class T>
|
||||
struct [[nodiscard]] Model
|
||||
struct [[nodiscard]] Model final
|
||||
: Concept
|
||||
{
|
||||
explicit Model(std::shared_ptr<T> pimpl) noexcept
|
||||
|
@ -36,22 +36,22 @@ private:
|
|||
{
|
||||
}
|
||||
|
||||
[[nodiscard]] service::TypeNames getTypeNames() const noexcept final
|
||||
[[nodiscard]] service::TypeNames getTypeNames() const noexcept override
|
||||
{
|
||||
return _pimpl->getTypeNames();
|
||||
}
|
||||
|
||||
[[nodiscard]] service::ResolverMap getResolvers() const noexcept final
|
||||
[[nodiscard]] service::ResolverMap getResolvers() const noexcept override
|
||||
{
|
||||
return _pimpl->getResolvers();
|
||||
}
|
||||
|
||||
void beginSelectionSet(const service::SelectionSetParams& params) const final
|
||||
void beginSelectionSet(const service::SelectionSetParams& params) const override
|
||||
{
|
||||
_pimpl->beginSelectionSet(params);
|
||||
}
|
||||
|
||||
void endSelectionSet(const service::SelectionSetParams& params) const final
|
||||
void endSelectionSet(const service::SelectionSetParams& params) const override
|
||||
{
|
||||
_pimpl->endSelectionSet(params);
|
||||
}
|
||||
|
@ -62,8 +62,8 @@ private:
|
|||
|
||||
explicit UnionType(std::unique_ptr<const Concept> pimpl) noexcept;
|
||||
|
||||
void beginSelectionSet(const service::SelectionSetParams& params) const final;
|
||||
void endSelectionSet(const service::SelectionSetParams& params) const final;
|
||||
void beginSelectionSet(const service::SelectionSetParams& params) const override;
|
||||
void endSelectionSet(const service::SelectionSetParams& params) const override;
|
||||
|
||||
const std::unique_ptr<const Concept> _pimpl;
|
||||
|
||||
|
|
|
@ -72,7 +72,7 @@ private:
|
|||
};
|
||||
|
||||
template <class T>
|
||||
struct [[nodiscard]] Model
|
||||
struct [[nodiscard]] Model final
|
||||
: Concept
|
||||
{
|
||||
explicit Model(std::shared_ptr<T> pimpl) noexcept
|
||||
|
@ -80,7 +80,7 @@ private:
|
|||
{
|
||||
}
|
||||
|
||||
[[nodiscard]] service::AwaitableObject<std::shared_ptr<PageInfo>> getPageInfo(service::FieldParams&& params) const final
|
||||
[[nodiscard]] service::AwaitableObject<std::shared_ptr<PageInfo>> getPageInfo(service::FieldParams&& params) const override
|
||||
{
|
||||
if constexpr (methods::AppointmentConnectionHas::getPageInfoWithParams<T>)
|
||||
{
|
||||
|
@ -96,7 +96,7 @@ private:
|
|||
}
|
||||
}
|
||||
|
||||
[[nodiscard]] service::AwaitableObject<std::optional<std::vector<std::shared_ptr<AppointmentEdge>>>> getEdges(service::FieldParams&& params) const final
|
||||
[[nodiscard]] service::AwaitableObject<std::optional<std::vector<std::shared_ptr<AppointmentEdge>>>> getEdges(service::FieldParams&& params) const override
|
||||
{
|
||||
if constexpr (methods::AppointmentConnectionHas::getEdgesWithParams<T>)
|
||||
{
|
||||
|
@ -112,7 +112,7 @@ private:
|
|||
}
|
||||
}
|
||||
|
||||
void beginSelectionSet(const service::SelectionSetParams& params) const final
|
||||
void beginSelectionSet(const service::SelectionSetParams& params) const override
|
||||
{
|
||||
if constexpr (methods::AppointmentConnectionHas::beginSelectionSet<T>)
|
||||
{
|
||||
|
@ -120,7 +120,7 @@ private:
|
|||
}
|
||||
}
|
||||
|
||||
void endSelectionSet(const service::SelectionSetParams& params) const final
|
||||
void endSelectionSet(const service::SelectionSetParams& params) const override
|
||||
{
|
||||
if constexpr (methods::AppointmentConnectionHas::endSelectionSet<T>)
|
||||
{
|
||||
|
@ -137,8 +137,8 @@ private:
|
|||
[[nodiscard]] service::TypeNames getTypeNames() const noexcept;
|
||||
[[nodiscard]] service::ResolverMap getResolvers() const noexcept;
|
||||
|
||||
void beginSelectionSet(const service::SelectionSetParams& params) const final;
|
||||
void endSelectionSet(const service::SelectionSetParams& params) const final;
|
||||
void beginSelectionSet(const service::SelectionSetParams& params) const override;
|
||||
void endSelectionSet(const service::SelectionSetParams& params) const override;
|
||||
|
||||
const std::unique_ptr<const Concept> _pimpl;
|
||||
|
||||
|
|
|
@ -72,7 +72,7 @@ private:
|
|||
};
|
||||
|
||||
template <class T>
|
||||
struct [[nodiscard]] Model
|
||||
struct [[nodiscard]] Model final
|
||||
: Concept
|
||||
{
|
||||
explicit Model(std::shared_ptr<T> pimpl) noexcept
|
||||
|
@ -80,7 +80,7 @@ private:
|
|||
{
|
||||
}
|
||||
|
||||
[[nodiscard]] service::AwaitableObject<std::shared_ptr<Appointment>> getNode(service::FieldParams&& params) const final
|
||||
[[nodiscard]] service::AwaitableObject<std::shared_ptr<Appointment>> getNode(service::FieldParams&& params) const override
|
||||
{
|
||||
if constexpr (methods::AppointmentEdgeHas::getNodeWithParams<T>)
|
||||
{
|
||||
|
@ -96,7 +96,7 @@ private:
|
|||
}
|
||||
}
|
||||
|
||||
[[nodiscard]] service::AwaitableScalar<response::Value> getCursor(service::FieldParams&& params) const final
|
||||
[[nodiscard]] service::AwaitableScalar<response::Value> getCursor(service::FieldParams&& params) const override
|
||||
{
|
||||
if constexpr (methods::AppointmentEdgeHas::getCursorWithParams<T>)
|
||||
{
|
||||
|
@ -112,7 +112,7 @@ private:
|
|||
}
|
||||
}
|
||||
|
||||
void beginSelectionSet(const service::SelectionSetParams& params) const final
|
||||
void beginSelectionSet(const service::SelectionSetParams& params) const override
|
||||
{
|
||||
if constexpr (methods::AppointmentEdgeHas::beginSelectionSet<T>)
|
||||
{
|
||||
|
@ -120,7 +120,7 @@ private:
|
|||
}
|
||||
}
|
||||
|
||||
void endSelectionSet(const service::SelectionSetParams& params) const final
|
||||
void endSelectionSet(const service::SelectionSetParams& params) const override
|
||||
{
|
||||
if constexpr (methods::AppointmentEdgeHas::endSelectionSet<T>)
|
||||
{
|
||||
|
@ -137,8 +137,8 @@ private:
|
|||
[[nodiscard]] service::TypeNames getTypeNames() const noexcept;
|
||||
[[nodiscard]] service::ResolverMap getResolvers() const noexcept;
|
||||
|
||||
void beginSelectionSet(const service::SelectionSetParams& params) const final;
|
||||
void endSelectionSet(const service::SelectionSetParams& params) const final;
|
||||
void beginSelectionSet(const service::SelectionSetParams& params) const override;
|
||||
void endSelectionSet(const service::SelectionSetParams& params) const override;
|
||||
|
||||
const std::unique_ptr<const Concept> _pimpl;
|
||||
|
||||
|
|
|
@ -121,7 +121,7 @@ private:
|
|||
};
|
||||
|
||||
template <class T>
|
||||
struct [[nodiscard]] Model
|
||||
struct [[nodiscard]] Model final
|
||||
: Concept
|
||||
{
|
||||
explicit Model(std::shared_ptr<T> pimpl) noexcept
|
||||
|
@ -129,7 +129,7 @@ private:
|
|||
{
|
||||
}
|
||||
|
||||
[[nodiscard]] service::AwaitableScalar<response::IdType> getId(service::FieldParams&& params) const final
|
||||
[[nodiscard]] service::AwaitableScalar<response::IdType> getId(service::FieldParams&& params) const override
|
||||
{
|
||||
if constexpr (methods::AppointmentHas::getIdWithParams<T>)
|
||||
{
|
||||
|
@ -145,7 +145,7 @@ private:
|
|||
}
|
||||
}
|
||||
|
||||
[[nodiscard]] service::AwaitableScalar<std::optional<response::Value>> getWhen(service::FieldParams&& params) const final
|
||||
[[nodiscard]] service::AwaitableScalar<std::optional<response::Value>> getWhen(service::FieldParams&& params) const override
|
||||
{
|
||||
if constexpr (methods::AppointmentHas::getWhenWithParams<T>)
|
||||
{
|
||||
|
@ -161,7 +161,7 @@ private:
|
|||
}
|
||||
}
|
||||
|
||||
[[nodiscard]] service::AwaitableScalar<std::optional<std::string>> getSubject(service::FieldParams&& params) const final
|
||||
[[nodiscard]] service::AwaitableScalar<std::optional<std::string>> getSubject(service::FieldParams&& params) const override
|
||||
{
|
||||
if constexpr (methods::AppointmentHas::getSubjectWithParams<T>)
|
||||
{
|
||||
|
@ -177,7 +177,7 @@ private:
|
|||
}
|
||||
}
|
||||
|
||||
[[nodiscard]] service::AwaitableScalar<bool> getIsNow(service::FieldParams&& params) const final
|
||||
[[nodiscard]] service::AwaitableScalar<bool> getIsNow(service::FieldParams&& params) const override
|
||||
{
|
||||
if constexpr (methods::AppointmentHas::getIsNowWithParams<T>)
|
||||
{
|
||||
|
@ -193,7 +193,7 @@ private:
|
|||
}
|
||||
}
|
||||
|
||||
[[nodiscard]] service::AwaitableScalar<std::optional<std::string>> getForceError(service::FieldParams&& params) const final
|
||||
[[nodiscard]] service::AwaitableScalar<std::optional<std::string>> getForceError(service::FieldParams&& params) const override
|
||||
{
|
||||
if constexpr (methods::AppointmentHas::getForceErrorWithParams<T>)
|
||||
{
|
||||
|
@ -209,7 +209,7 @@ private:
|
|||
}
|
||||
}
|
||||
|
||||
void beginSelectionSet(const service::SelectionSetParams& params) const final
|
||||
void beginSelectionSet(const service::SelectionSetParams& params) const override
|
||||
{
|
||||
if constexpr (methods::AppointmentHas::beginSelectionSet<T>)
|
||||
{
|
||||
|
@ -217,7 +217,7 @@ private:
|
|||
}
|
||||
}
|
||||
|
||||
void endSelectionSet(const service::SelectionSetParams& params) const final
|
||||
void endSelectionSet(const service::SelectionSetParams& params) const override
|
||||
{
|
||||
if constexpr (methods::AppointmentHas::endSelectionSet<T>)
|
||||
{
|
||||
|
@ -246,8 +246,8 @@ private:
|
|||
[[nodiscard]] service::TypeNames getTypeNames() const noexcept;
|
||||
[[nodiscard]] service::ResolverMap getResolvers() const noexcept;
|
||||
|
||||
void beginSelectionSet(const service::SelectionSetParams& params) const final;
|
||||
void endSelectionSet(const service::SelectionSetParams& params) const final;
|
||||
void beginSelectionSet(const service::SelectionSetParams& params) const override;
|
||||
void endSelectionSet(const service::SelectionSetParams& params) const override;
|
||||
|
||||
const std::unique_ptr<const Concept> _pimpl;
|
||||
|
||||
|
|
|
@ -72,7 +72,7 @@ private:
|
|||
};
|
||||
|
||||
template <class T>
|
||||
struct [[nodiscard]] Model
|
||||
struct [[nodiscard]] Model final
|
||||
: Concept
|
||||
{
|
||||
explicit Model(std::shared_ptr<T> pimpl) noexcept
|
||||
|
@ -80,7 +80,7 @@ private:
|
|||
{
|
||||
}
|
||||
|
||||
[[nodiscard]] service::AwaitableObject<std::shared_ptr<Task>> getTask(service::FieldParams&& params) const final
|
||||
[[nodiscard]] service::AwaitableObject<std::shared_ptr<Task>> getTask(service::FieldParams&& params) const override
|
||||
{
|
||||
if constexpr (methods::CompleteTaskPayloadHas::getTaskWithParams<T>)
|
||||
{
|
||||
|
@ -96,7 +96,7 @@ private:
|
|||
}
|
||||
}
|
||||
|
||||
[[nodiscard]] service::AwaitableScalar<std::optional<std::string>> getClientMutationId(service::FieldParams&& params) const final
|
||||
[[nodiscard]] service::AwaitableScalar<std::optional<std::string>> getClientMutationId(service::FieldParams&& params) const override
|
||||
{
|
||||
if constexpr (methods::CompleteTaskPayloadHas::getClientMutationIdWithParams<T>)
|
||||
{
|
||||
|
@ -112,7 +112,7 @@ private:
|
|||
}
|
||||
}
|
||||
|
||||
void beginSelectionSet(const service::SelectionSetParams& params) const final
|
||||
void beginSelectionSet(const service::SelectionSetParams& params) const override
|
||||
{
|
||||
if constexpr (methods::CompleteTaskPayloadHas::beginSelectionSet<T>)
|
||||
{
|
||||
|
@ -120,7 +120,7 @@ private:
|
|||
}
|
||||
}
|
||||
|
||||
void endSelectionSet(const service::SelectionSetParams& params) const final
|
||||
void endSelectionSet(const service::SelectionSetParams& params) const override
|
||||
{
|
||||
if constexpr (methods::CompleteTaskPayloadHas::endSelectionSet<T>)
|
||||
{
|
||||
|
@ -137,8 +137,8 @@ private:
|
|||
[[nodiscard]] service::TypeNames getTypeNames() const noexcept;
|
||||
[[nodiscard]] service::ResolverMap getResolvers() const noexcept;
|
||||
|
||||
void beginSelectionSet(const service::SelectionSetParams& params) const final;
|
||||
void endSelectionSet(const service::SelectionSetParams& params) const final;
|
||||
void beginSelectionSet(const service::SelectionSetParams& params) const override;
|
||||
void endSelectionSet(const service::SelectionSetParams& params) const override;
|
||||
|
||||
const std::unique_ptr<const Concept> _pimpl;
|
||||
|
||||
|
|
|
@ -58,7 +58,7 @@ private:
|
|||
};
|
||||
|
||||
template <class T>
|
||||
struct [[nodiscard]] Model
|
||||
struct [[nodiscard]] Model final
|
||||
: Concept
|
||||
{
|
||||
explicit Model(std::shared_ptr<T> pimpl) noexcept
|
||||
|
@ -66,7 +66,7 @@ private:
|
|||
{
|
||||
}
|
||||
|
||||
[[nodiscard]] service::AwaitableScalar<int> getOrder(service::FieldParams&& params) const final
|
||||
[[nodiscard]] service::AwaitableScalar<int> getOrder(service::FieldParams&& params) const override
|
||||
{
|
||||
if constexpr (methods::ExpensiveHas::getOrderWithParams<T>)
|
||||
{
|
||||
|
@ -82,7 +82,7 @@ private:
|
|||
}
|
||||
}
|
||||
|
||||
void beginSelectionSet(const service::SelectionSetParams& params) const final
|
||||
void beginSelectionSet(const service::SelectionSetParams& params) const override
|
||||
{
|
||||
if constexpr (methods::ExpensiveHas::beginSelectionSet<T>)
|
||||
{
|
||||
|
@ -90,7 +90,7 @@ private:
|
|||
}
|
||||
}
|
||||
|
||||
void endSelectionSet(const service::SelectionSetParams& params) const final
|
||||
void endSelectionSet(const service::SelectionSetParams& params) const override
|
||||
{
|
||||
if constexpr (methods::ExpensiveHas::endSelectionSet<T>)
|
||||
{
|
||||
|
@ -107,8 +107,8 @@ private:
|
|||
[[nodiscard]] service::TypeNames getTypeNames() const noexcept;
|
||||
[[nodiscard]] service::ResolverMap getResolvers() const noexcept;
|
||||
|
||||
void beginSelectionSet(const service::SelectionSetParams& params) const final;
|
||||
void endSelectionSet(const service::SelectionSetParams& params) const final;
|
||||
void beginSelectionSet(const service::SelectionSetParams& params) const override;
|
||||
void endSelectionSet(const service::SelectionSetParams& params) const override;
|
||||
|
||||
const std::unique_ptr<const Concept> _pimpl;
|
||||
|
||||
|
|
|
@ -72,7 +72,7 @@ private:
|
|||
};
|
||||
|
||||
template <class T>
|
||||
struct [[nodiscard]] Model
|
||||
struct [[nodiscard]] Model final
|
||||
: Concept
|
||||
{
|
||||
explicit Model(std::shared_ptr<T> pimpl) noexcept
|
||||
|
@ -80,7 +80,7 @@ private:
|
|||
{
|
||||
}
|
||||
|
||||
[[nodiscard]] service::AwaitableObject<std::shared_ptr<PageInfo>> getPageInfo(service::FieldParams&& params) const final
|
||||
[[nodiscard]] service::AwaitableObject<std::shared_ptr<PageInfo>> getPageInfo(service::FieldParams&& params) const override
|
||||
{
|
||||
if constexpr (methods::FolderConnectionHas::getPageInfoWithParams<T>)
|
||||
{
|
||||
|
@ -96,7 +96,7 @@ private:
|
|||
}
|
||||
}
|
||||
|
||||
[[nodiscard]] service::AwaitableObject<std::optional<std::vector<std::shared_ptr<FolderEdge>>>> getEdges(service::FieldParams&& params) const final
|
||||
[[nodiscard]] service::AwaitableObject<std::optional<std::vector<std::shared_ptr<FolderEdge>>>> getEdges(service::FieldParams&& params) const override
|
||||
{
|
||||
if constexpr (methods::FolderConnectionHas::getEdgesWithParams<T>)
|
||||
{
|
||||
|
@ -112,7 +112,7 @@ private:
|
|||
}
|
||||
}
|
||||
|
||||
void beginSelectionSet(const service::SelectionSetParams& params) const final
|
||||
void beginSelectionSet(const service::SelectionSetParams& params) const override
|
||||
{
|
||||
if constexpr (methods::FolderConnectionHas::beginSelectionSet<T>)
|
||||
{
|
||||
|
@ -120,7 +120,7 @@ private:
|
|||
}
|
||||
}
|
||||
|
||||
void endSelectionSet(const service::SelectionSetParams& params) const final
|
||||
void endSelectionSet(const service::SelectionSetParams& params) const override
|
||||
{
|
||||
if constexpr (methods::FolderConnectionHas::endSelectionSet<T>)
|
||||
{
|
||||
|
@ -137,8 +137,8 @@ private:
|
|||
[[nodiscard]] service::TypeNames getTypeNames() const noexcept;
|
||||
[[nodiscard]] service::ResolverMap getResolvers() const noexcept;
|
||||
|
||||
void beginSelectionSet(const service::SelectionSetParams& params) const final;
|
||||
void endSelectionSet(const service::SelectionSetParams& params) const final;
|
||||
void beginSelectionSet(const service::SelectionSetParams& params) const override;
|
||||
void endSelectionSet(const service::SelectionSetParams& params) const override;
|
||||
|
||||
const std::unique_ptr<const Concept> _pimpl;
|
||||
|
||||
|
|
|
@ -72,7 +72,7 @@ private:
|
|||
};
|
||||
|
||||
template <class T>
|
||||
struct [[nodiscard]] Model
|
||||
struct [[nodiscard]] Model final
|
||||
: Concept
|
||||
{
|
||||
explicit Model(std::shared_ptr<T> pimpl) noexcept
|
||||
|
@ -80,7 +80,7 @@ private:
|
|||
{
|
||||
}
|
||||
|
||||
[[nodiscard]] service::AwaitableObject<std::shared_ptr<Folder>> getNode(service::FieldParams&& params) const final
|
||||
[[nodiscard]] service::AwaitableObject<std::shared_ptr<Folder>> getNode(service::FieldParams&& params) const override
|
||||
{
|
||||
if constexpr (methods::FolderEdgeHas::getNodeWithParams<T>)
|
||||
{
|
||||
|
@ -96,7 +96,7 @@ private:
|
|||
}
|
||||
}
|
||||
|
||||
[[nodiscard]] service::AwaitableScalar<response::Value> getCursor(service::FieldParams&& params) const final
|
||||
[[nodiscard]] service::AwaitableScalar<response::Value> getCursor(service::FieldParams&& params) const override
|
||||
{
|
||||
if constexpr (methods::FolderEdgeHas::getCursorWithParams<T>)
|
||||
{
|
||||
|
@ -112,7 +112,7 @@ private:
|
|||
}
|
||||
}
|
||||
|
||||
void beginSelectionSet(const service::SelectionSetParams& params) const final
|
||||
void beginSelectionSet(const service::SelectionSetParams& params) const override
|
||||
{
|
||||
if constexpr (methods::FolderEdgeHas::beginSelectionSet<T>)
|
||||
{
|
||||
|
@ -120,7 +120,7 @@ private:
|
|||
}
|
||||
}
|
||||
|
||||
void endSelectionSet(const service::SelectionSetParams& params) const final
|
||||
void endSelectionSet(const service::SelectionSetParams& params) const override
|
||||
{
|
||||
if constexpr (methods::FolderEdgeHas::endSelectionSet<T>)
|
||||
{
|
||||
|
@ -137,8 +137,8 @@ private:
|
|||
[[nodiscard]] service::TypeNames getTypeNames() const noexcept;
|
||||
[[nodiscard]] service::ResolverMap getResolvers() const noexcept;
|
||||
|
||||
void beginSelectionSet(const service::SelectionSetParams& params) const final;
|
||||
void endSelectionSet(const service::SelectionSetParams& params) const final;
|
||||
void beginSelectionSet(const service::SelectionSetParams& params) const override;
|
||||
void endSelectionSet(const service::SelectionSetParams& params) const override;
|
||||
|
||||
const std::unique_ptr<const Concept> _pimpl;
|
||||
|
||||
|
|
|
@ -93,7 +93,7 @@ private:
|
|||
};
|
||||
|
||||
template <class T>
|
||||
struct [[nodiscard]] Model
|
||||
struct [[nodiscard]] Model final
|
||||
: Concept
|
||||
{
|
||||
explicit Model(std::shared_ptr<T> pimpl) noexcept
|
||||
|
@ -101,7 +101,7 @@ private:
|
|||
{
|
||||
}
|
||||
|
||||
[[nodiscard]] service::AwaitableScalar<response::IdType> getId(service::FieldParams&& params) const final
|
||||
[[nodiscard]] service::AwaitableScalar<response::IdType> getId(service::FieldParams&& params) const override
|
||||
{
|
||||
if constexpr (methods::FolderHas::getIdWithParams<T>)
|
||||
{
|
||||
|
@ -117,7 +117,7 @@ private:
|
|||
}
|
||||
}
|
||||
|
||||
[[nodiscard]] service::AwaitableScalar<std::optional<std::string>> getName(service::FieldParams&& params) const final
|
||||
[[nodiscard]] service::AwaitableScalar<std::optional<std::string>> getName(service::FieldParams&& params) const override
|
||||
{
|
||||
if constexpr (methods::FolderHas::getNameWithParams<T>)
|
||||
{
|
||||
|
@ -133,7 +133,7 @@ private:
|
|||
}
|
||||
}
|
||||
|
||||
[[nodiscard]] service::AwaitableScalar<int> getUnreadCount(service::FieldParams&& params) const final
|
||||
[[nodiscard]] service::AwaitableScalar<int> getUnreadCount(service::FieldParams&& params) const override
|
||||
{
|
||||
if constexpr (methods::FolderHas::getUnreadCountWithParams<T>)
|
||||
{
|
||||
|
@ -149,7 +149,7 @@ private:
|
|||
}
|
||||
}
|
||||
|
||||
void beginSelectionSet(const service::SelectionSetParams& params) const final
|
||||
void beginSelectionSet(const service::SelectionSetParams& params) const override
|
||||
{
|
||||
if constexpr (methods::FolderHas::beginSelectionSet<T>)
|
||||
{
|
||||
|
@ -157,7 +157,7 @@ private:
|
|||
}
|
||||
}
|
||||
|
||||
void endSelectionSet(const service::SelectionSetParams& params) const final
|
||||
void endSelectionSet(const service::SelectionSetParams& params) const override
|
||||
{
|
||||
if constexpr (methods::FolderHas::endSelectionSet<T>)
|
||||
{
|
||||
|
@ -186,8 +186,8 @@ private:
|
|||
[[nodiscard]] service::TypeNames getTypeNames() const noexcept;
|
||||
[[nodiscard]] service::ResolverMap getResolvers() const noexcept;
|
||||
|
||||
void beginSelectionSet(const service::SelectionSetParams& params) const final;
|
||||
void endSelectionSet(const service::SelectionSetParams& params) const final;
|
||||
void beginSelectionSet(const service::SelectionSetParams& params) const override;
|
||||
void endSelectionSet(const service::SelectionSetParams& params) const override;
|
||||
|
||||
const std::unique_ptr<const Concept> _pimpl;
|
||||
|
||||
|
|
|
@ -72,7 +72,7 @@ private:
|
|||
};
|
||||
|
||||
template <class T>
|
||||
struct [[nodiscard]] Model
|
||||
struct [[nodiscard]] Model final
|
||||
: Concept
|
||||
{
|
||||
explicit Model(std::shared_ptr<T> pimpl) noexcept
|
||||
|
@ -80,7 +80,7 @@ private:
|
|||
{
|
||||
}
|
||||
|
||||
[[nodiscard]] service::AwaitableObject<std::shared_ptr<CompleteTaskPayload>> applyCompleteTask(service::FieldParams&& params, CompleteTaskInput&& inputArg) const final
|
||||
[[nodiscard]] service::AwaitableObject<std::shared_ptr<CompleteTaskPayload>> applyCompleteTask(service::FieldParams&& params, CompleteTaskInput&& inputArg) const override
|
||||
{
|
||||
if constexpr (methods::MutationHas::applyCompleteTaskWithParams<T>)
|
||||
{
|
||||
|
@ -96,7 +96,7 @@ private:
|
|||
}
|
||||
}
|
||||
|
||||
[[nodiscard]] service::AwaitableScalar<double> applySetFloat(service::FieldParams&& params, double&& valueArg) const final
|
||||
[[nodiscard]] service::AwaitableScalar<double> applySetFloat(service::FieldParams&& params, double&& valueArg) const override
|
||||
{
|
||||
if constexpr (methods::MutationHas::applySetFloatWithParams<T>)
|
||||
{
|
||||
|
@ -112,7 +112,7 @@ private:
|
|||
}
|
||||
}
|
||||
|
||||
void beginSelectionSet(const service::SelectionSetParams& params) const final
|
||||
void beginSelectionSet(const service::SelectionSetParams& params) const override
|
||||
{
|
||||
if constexpr (methods::MutationHas::beginSelectionSet<T>)
|
||||
{
|
||||
|
@ -120,7 +120,7 @@ private:
|
|||
}
|
||||
}
|
||||
|
||||
void endSelectionSet(const service::SelectionSetParams& params) const final
|
||||
void endSelectionSet(const service::SelectionSetParams& params) const override
|
||||
{
|
||||
if constexpr (methods::MutationHas::endSelectionSet<T>)
|
||||
{
|
||||
|
@ -137,8 +137,8 @@ private:
|
|||
[[nodiscard]] service::TypeNames getTypeNames() const noexcept;
|
||||
[[nodiscard]] service::ResolverMap getResolvers() const noexcept;
|
||||
|
||||
void beginSelectionSet(const service::SelectionSetParams& params) const final;
|
||||
void endSelectionSet(const service::SelectionSetParams& params) const final;
|
||||
void beginSelectionSet(const service::SelectionSetParams& params) const override;
|
||||
void endSelectionSet(const service::SelectionSetParams& params) const override;
|
||||
|
||||
const std::unique_ptr<const Concept> _pimpl;
|
||||
|
||||
|
|
|
@ -72,7 +72,7 @@ private:
|
|||
};
|
||||
|
||||
template <class T>
|
||||
struct [[nodiscard]] Model
|
||||
struct [[nodiscard]] Model final
|
||||
: Concept
|
||||
{
|
||||
explicit Model(std::shared_ptr<T> pimpl) noexcept
|
||||
|
@ -80,7 +80,7 @@ private:
|
|||
{
|
||||
}
|
||||
|
||||
[[nodiscard]] service::AwaitableScalar<int> getDepth(service::FieldParams&& params) const final
|
||||
[[nodiscard]] service::AwaitableScalar<int> getDepth(service::FieldParams&& params) const override
|
||||
{
|
||||
if constexpr (methods::NestedTypeHas::getDepthWithParams<T>)
|
||||
{
|
||||
|
@ -96,7 +96,7 @@ private:
|
|||
}
|
||||
}
|
||||
|
||||
[[nodiscard]] service::AwaitableObject<std::shared_ptr<NestedType>> getNested(service::FieldParams&& params) const final
|
||||
[[nodiscard]] service::AwaitableObject<std::shared_ptr<NestedType>> getNested(service::FieldParams&& params) const override
|
||||
{
|
||||
if constexpr (methods::NestedTypeHas::getNestedWithParams<T>)
|
||||
{
|
||||
|
@ -112,7 +112,7 @@ private:
|
|||
}
|
||||
}
|
||||
|
||||
void beginSelectionSet(const service::SelectionSetParams& params) const final
|
||||
void beginSelectionSet(const service::SelectionSetParams& params) const override
|
||||
{
|
||||
if constexpr (methods::NestedTypeHas::beginSelectionSet<T>)
|
||||
{
|
||||
|
@ -120,7 +120,7 @@ private:
|
|||
}
|
||||
}
|
||||
|
||||
void endSelectionSet(const service::SelectionSetParams& params) const final
|
||||
void endSelectionSet(const service::SelectionSetParams& params) const override
|
||||
{
|
||||
if constexpr (methods::NestedTypeHas::endSelectionSet<T>)
|
||||
{
|
||||
|
@ -137,8 +137,8 @@ private:
|
|||
[[nodiscard]] service::TypeNames getTypeNames() const noexcept;
|
||||
[[nodiscard]] service::ResolverMap getResolvers() const noexcept;
|
||||
|
||||
void beginSelectionSet(const service::SelectionSetParams& params) const final;
|
||||
void endSelectionSet(const service::SelectionSetParams& params) const final;
|
||||
void beginSelectionSet(const service::SelectionSetParams& params) const override;
|
||||
void endSelectionSet(const service::SelectionSetParams& params) const override;
|
||||
|
||||
const std::unique_ptr<const Concept> _pimpl;
|
||||
|
||||
|
|
|
@ -28,7 +28,7 @@ private:
|
|||
};
|
||||
|
||||
template <class T>
|
||||
struct [[nodiscard]] Model
|
||||
struct [[nodiscard]] Model final
|
||||
: Concept
|
||||
{
|
||||
explicit Model(std::shared_ptr<T> pimpl) noexcept
|
||||
|
@ -36,22 +36,22 @@ private:
|
|||
{
|
||||
}
|
||||
|
||||
[[nodiscard]] service::TypeNames getTypeNames() const noexcept final
|
||||
[[nodiscard]] service::TypeNames getTypeNames() const noexcept override
|
||||
{
|
||||
return _pimpl->getTypeNames();
|
||||
}
|
||||
|
||||
[[nodiscard]] service::ResolverMap getResolvers() const noexcept final
|
||||
[[nodiscard]] service::ResolverMap getResolvers() const noexcept override
|
||||
{
|
||||
return _pimpl->getResolvers();
|
||||
}
|
||||
|
||||
void beginSelectionSet(const service::SelectionSetParams& params) const final
|
||||
void beginSelectionSet(const service::SelectionSetParams& params) const override
|
||||
{
|
||||
_pimpl->beginSelectionSet(params);
|
||||
}
|
||||
|
||||
void endSelectionSet(const service::SelectionSetParams& params) const final
|
||||
void endSelectionSet(const service::SelectionSetParams& params) const override
|
||||
{
|
||||
_pimpl->endSelectionSet(params);
|
||||
}
|
||||
|
@ -62,8 +62,8 @@ private:
|
|||
|
||||
explicit Node(std::unique_ptr<const Concept> pimpl) noexcept;
|
||||
|
||||
void beginSelectionSet(const service::SelectionSetParams& params) const final;
|
||||
void endSelectionSet(const service::SelectionSetParams& params) const final;
|
||||
void beginSelectionSet(const service::SelectionSetParams& params) const override;
|
||||
void endSelectionSet(const service::SelectionSetParams& params) const override;
|
||||
|
||||
const std::unique_ptr<const Concept> _pimpl;
|
||||
|
||||
|
|
|
@ -72,7 +72,7 @@ private:
|
|||
};
|
||||
|
||||
template <class T>
|
||||
struct [[nodiscard]] Model
|
||||
struct [[nodiscard]] Model final
|
||||
: Concept
|
||||
{
|
||||
explicit Model(std::shared_ptr<T> pimpl) noexcept
|
||||
|
@ -80,7 +80,7 @@ private:
|
|||
{
|
||||
}
|
||||
|
||||
[[nodiscard]] service::AwaitableScalar<bool> getHasNextPage(service::FieldParams&& params) const final
|
||||
[[nodiscard]] service::AwaitableScalar<bool> getHasNextPage(service::FieldParams&& params) const override
|
||||
{
|
||||
if constexpr (methods::PageInfoHas::getHasNextPageWithParams<T>)
|
||||
{
|
||||
|
@ -96,7 +96,7 @@ private:
|
|||
}
|
||||
}
|
||||
|
||||
[[nodiscard]] service::AwaitableScalar<bool> getHasPreviousPage(service::FieldParams&& params) const final
|
||||
[[nodiscard]] service::AwaitableScalar<bool> getHasPreviousPage(service::FieldParams&& params) const override
|
||||
{
|
||||
if constexpr (methods::PageInfoHas::getHasPreviousPageWithParams<T>)
|
||||
{
|
||||
|
@ -112,7 +112,7 @@ private:
|
|||
}
|
||||
}
|
||||
|
||||
void beginSelectionSet(const service::SelectionSetParams& params) const final
|
||||
void beginSelectionSet(const service::SelectionSetParams& params) const override
|
||||
{
|
||||
if constexpr (methods::PageInfoHas::beginSelectionSet<T>)
|
||||
{
|
||||
|
@ -120,7 +120,7 @@ private:
|
|||
}
|
||||
}
|
||||
|
||||
void endSelectionSet(const service::SelectionSetParams& params) const final
|
||||
void endSelectionSet(const service::SelectionSetParams& params) const override
|
||||
{
|
||||
if constexpr (methods::PageInfoHas::endSelectionSet<T>)
|
||||
{
|
||||
|
@ -137,8 +137,8 @@ private:
|
|||
[[nodiscard]] service::TypeNames getTypeNames() const noexcept;
|
||||
[[nodiscard]] service::ResolverMap getResolvers() const noexcept;
|
||||
|
||||
void beginSelectionSet(const service::SelectionSetParams& params) const final;
|
||||
void endSelectionSet(const service::SelectionSetParams& params) const final;
|
||||
void beginSelectionSet(const service::SelectionSetParams& params) const override;
|
||||
void endSelectionSet(const service::SelectionSetParams& params) const override;
|
||||
|
||||
const std::unique_ptr<const Concept> _pimpl;
|
||||
|
||||
|
|
|
@ -230,7 +230,7 @@ private:
|
|||
};
|
||||
|
||||
template <class T>
|
||||
struct [[nodiscard]] Model
|
||||
struct [[nodiscard]] Model final
|
||||
: Concept
|
||||
{
|
||||
explicit Model(std::shared_ptr<T> pimpl) noexcept
|
||||
|
@ -238,7 +238,7 @@ private:
|
|||
{
|
||||
}
|
||||
|
||||
[[nodiscard]] service::AwaitableObject<std::shared_ptr<Node>> getNode(service::FieldParams&& params, response::IdType&& idArg) const final
|
||||
[[nodiscard]] service::AwaitableObject<std::shared_ptr<Node>> getNode(service::FieldParams&& params, response::IdType&& idArg) const override
|
||||
{
|
||||
if constexpr (methods::QueryHas::getNodeWithParams<T>)
|
||||
{
|
||||
|
@ -254,7 +254,7 @@ private:
|
|||
}
|
||||
}
|
||||
|
||||
[[nodiscard]] service::AwaitableObject<std::shared_ptr<AppointmentConnection>> getAppointments(service::FieldParams&& params, std::optional<int>&& firstArg, std::optional<response::Value>&& afterArg, std::optional<int>&& lastArg, std::optional<response::Value>&& beforeArg) const final
|
||||
[[nodiscard]] service::AwaitableObject<std::shared_ptr<AppointmentConnection>> getAppointments(service::FieldParams&& params, std::optional<int>&& firstArg, std::optional<response::Value>&& afterArg, std::optional<int>&& lastArg, std::optional<response::Value>&& beforeArg) const override
|
||||
{
|
||||
if constexpr (methods::QueryHas::getAppointmentsWithParams<T>)
|
||||
{
|
||||
|
@ -270,7 +270,7 @@ private:
|
|||
}
|
||||
}
|
||||
|
||||
[[nodiscard]] service::AwaitableObject<std::shared_ptr<TaskConnection>> getTasks(service::FieldParams&& params, std::optional<int>&& firstArg, std::optional<response::Value>&& afterArg, std::optional<int>&& lastArg, std::optional<response::Value>&& beforeArg) const final
|
||||
[[nodiscard]] service::AwaitableObject<std::shared_ptr<TaskConnection>> getTasks(service::FieldParams&& params, std::optional<int>&& firstArg, std::optional<response::Value>&& afterArg, std::optional<int>&& lastArg, std::optional<response::Value>&& beforeArg) const override
|
||||
{
|
||||
if constexpr (methods::QueryHas::getTasksWithParams<T>)
|
||||
{
|
||||
|
@ -286,7 +286,7 @@ private:
|
|||
}
|
||||
}
|
||||
|
||||
[[nodiscard]] service::AwaitableObject<std::shared_ptr<FolderConnection>> getUnreadCounts(service::FieldParams&& params, std::optional<int>&& firstArg, std::optional<response::Value>&& afterArg, std::optional<int>&& lastArg, std::optional<response::Value>&& beforeArg) const final
|
||||
[[nodiscard]] service::AwaitableObject<std::shared_ptr<FolderConnection>> getUnreadCounts(service::FieldParams&& params, std::optional<int>&& firstArg, std::optional<response::Value>&& afterArg, std::optional<int>&& lastArg, std::optional<response::Value>&& beforeArg) const override
|
||||
{
|
||||
if constexpr (methods::QueryHas::getUnreadCountsWithParams<T>)
|
||||
{
|
||||
|
@ -302,7 +302,7 @@ private:
|
|||
}
|
||||
}
|
||||
|
||||
[[nodiscard]] service::AwaitableObject<std::vector<std::shared_ptr<Appointment>>> getAppointmentsById(service::FieldParams&& params, std::vector<response::IdType>&& idsArg) const final
|
||||
[[nodiscard]] service::AwaitableObject<std::vector<std::shared_ptr<Appointment>>> getAppointmentsById(service::FieldParams&& params, std::vector<response::IdType>&& idsArg) const override
|
||||
{
|
||||
if constexpr (methods::QueryHas::getAppointmentsByIdWithParams<T>)
|
||||
{
|
||||
|
@ -318,7 +318,7 @@ private:
|
|||
}
|
||||
}
|
||||
|
||||
[[nodiscard]] service::AwaitableObject<std::vector<std::shared_ptr<Task>>> getTasksById(service::FieldParams&& params, std::vector<response::IdType>&& idsArg) const final
|
||||
[[nodiscard]] service::AwaitableObject<std::vector<std::shared_ptr<Task>>> getTasksById(service::FieldParams&& params, std::vector<response::IdType>&& idsArg) const override
|
||||
{
|
||||
if constexpr (methods::QueryHas::getTasksByIdWithParams<T>)
|
||||
{
|
||||
|
@ -334,7 +334,7 @@ private:
|
|||
}
|
||||
}
|
||||
|
||||
[[nodiscard]] service::AwaitableObject<std::vector<std::shared_ptr<Folder>>> getUnreadCountsById(service::FieldParams&& params, std::vector<response::IdType>&& idsArg) const final
|
||||
[[nodiscard]] service::AwaitableObject<std::vector<std::shared_ptr<Folder>>> getUnreadCountsById(service::FieldParams&& params, std::vector<response::IdType>&& idsArg) const override
|
||||
{
|
||||
if constexpr (methods::QueryHas::getUnreadCountsByIdWithParams<T>)
|
||||
{
|
||||
|
@ -350,7 +350,7 @@ private:
|
|||
}
|
||||
}
|
||||
|
||||
[[nodiscard]] service::AwaitableObject<std::shared_ptr<NestedType>> getNested(service::FieldParams&& params) const final
|
||||
[[nodiscard]] service::AwaitableObject<std::shared_ptr<NestedType>> getNested(service::FieldParams&& params) const override
|
||||
{
|
||||
if constexpr (methods::QueryHas::getNestedWithParams<T>)
|
||||
{
|
||||
|
@ -366,7 +366,7 @@ private:
|
|||
}
|
||||
}
|
||||
|
||||
[[nodiscard]] service::AwaitableScalar<std::string> getUnimplemented(service::FieldParams&& params) const final
|
||||
[[nodiscard]] service::AwaitableScalar<std::string> getUnimplemented(service::FieldParams&& params) const override
|
||||
{
|
||||
if constexpr (methods::QueryHas::getUnimplementedWithParams<T>)
|
||||
{
|
||||
|
@ -382,7 +382,7 @@ private:
|
|||
}
|
||||
}
|
||||
|
||||
[[nodiscard]] service::AwaitableObject<std::vector<std::shared_ptr<Expensive>>> getExpensive(service::FieldParams&& params) const final
|
||||
[[nodiscard]] service::AwaitableObject<std::vector<std::shared_ptr<Expensive>>> getExpensive(service::FieldParams&& params) const override
|
||||
{
|
||||
if constexpr (methods::QueryHas::getExpensiveWithParams<T>)
|
||||
{
|
||||
|
@ -398,7 +398,7 @@ private:
|
|||
}
|
||||
}
|
||||
|
||||
[[nodiscard]] service::AwaitableScalar<TaskState> getTestTaskState(service::FieldParams&& params) const final
|
||||
[[nodiscard]] service::AwaitableScalar<TaskState> getTestTaskState(service::FieldParams&& params) const override
|
||||
{
|
||||
if constexpr (methods::QueryHas::getTestTaskStateWithParams<T>)
|
||||
{
|
||||
|
@ -414,7 +414,7 @@ private:
|
|||
}
|
||||
}
|
||||
|
||||
[[nodiscard]] service::AwaitableObject<std::vector<std::shared_ptr<UnionType>>> getAnyType(service::FieldParams&& params, std::vector<response::IdType>&& idsArg) const final
|
||||
[[nodiscard]] service::AwaitableObject<std::vector<std::shared_ptr<UnionType>>> getAnyType(service::FieldParams&& params, std::vector<response::IdType>&& idsArg) const override
|
||||
{
|
||||
if constexpr (methods::QueryHas::getAnyTypeWithParams<T>)
|
||||
{
|
||||
|
@ -430,7 +430,7 @@ private:
|
|||
}
|
||||
}
|
||||
|
||||
[[nodiscard]] service::AwaitableScalar<std::optional<std::string>> getDefault(service::FieldParams&& params) const final
|
||||
[[nodiscard]] service::AwaitableScalar<std::optional<std::string>> getDefault(service::FieldParams&& params) const override
|
||||
{
|
||||
if constexpr (methods::QueryHas::getDefaultWithParams<T>)
|
||||
{
|
||||
|
@ -446,7 +446,7 @@ private:
|
|||
}
|
||||
}
|
||||
|
||||
void beginSelectionSet(const service::SelectionSetParams& params) const final
|
||||
void beginSelectionSet(const service::SelectionSetParams& params) const override
|
||||
{
|
||||
if constexpr (methods::QueryHas::beginSelectionSet<T>)
|
||||
{
|
||||
|
@ -454,7 +454,7 @@ private:
|
|||
}
|
||||
}
|
||||
|
||||
void endSelectionSet(const service::SelectionSetParams& params) const final
|
||||
void endSelectionSet(const service::SelectionSetParams& params) const override
|
||||
{
|
||||
if constexpr (methods::QueryHas::endSelectionSet<T>)
|
||||
{
|
||||
|
@ -471,8 +471,8 @@ private:
|
|||
[[nodiscard]] service::TypeNames getTypeNames() const noexcept;
|
||||
[[nodiscard]] service::ResolverMap getResolvers() const noexcept;
|
||||
|
||||
void beginSelectionSet(const service::SelectionSetParams& params) const final;
|
||||
void endSelectionSet(const service::SelectionSetParams& params) const final;
|
||||
void beginSelectionSet(const service::SelectionSetParams& params) const override;
|
||||
void endSelectionSet(const service::SelectionSetParams& params) const override;
|
||||
|
||||
const std::unique_ptr<const Concept> _pimpl;
|
||||
|
||||
|
|
|
@ -72,7 +72,7 @@ private:
|
|||
};
|
||||
|
||||
template <class T>
|
||||
struct [[nodiscard]] Model
|
||||
struct [[nodiscard]] Model final
|
||||
: Concept
|
||||
{
|
||||
explicit Model(std::shared_ptr<T> pimpl) noexcept
|
||||
|
@ -80,7 +80,7 @@ private:
|
|||
{
|
||||
}
|
||||
|
||||
[[nodiscard]] service::AwaitableObject<std::shared_ptr<Appointment>> getNextAppointmentChange(service::FieldParams&& params) const final
|
||||
[[nodiscard]] service::AwaitableObject<std::shared_ptr<Appointment>> getNextAppointmentChange(service::FieldParams&& params) const override
|
||||
{
|
||||
if constexpr (methods::SubscriptionHas::getNextAppointmentChangeWithParams<T>)
|
||||
{
|
||||
|
@ -96,7 +96,7 @@ private:
|
|||
}
|
||||
}
|
||||
|
||||
[[nodiscard]] service::AwaitableObject<std::shared_ptr<Node>> getNodeChange(service::FieldParams&& params, response::IdType&& idArg) const final
|
||||
[[nodiscard]] service::AwaitableObject<std::shared_ptr<Node>> getNodeChange(service::FieldParams&& params, response::IdType&& idArg) const override
|
||||
{
|
||||
if constexpr (methods::SubscriptionHas::getNodeChangeWithParams<T>)
|
||||
{
|
||||
|
@ -112,7 +112,7 @@ private:
|
|||
}
|
||||
}
|
||||
|
||||
void beginSelectionSet(const service::SelectionSetParams& params) const final
|
||||
void beginSelectionSet(const service::SelectionSetParams& params) const override
|
||||
{
|
||||
if constexpr (methods::SubscriptionHas::beginSelectionSet<T>)
|
||||
{
|
||||
|
@ -120,7 +120,7 @@ private:
|
|||
}
|
||||
}
|
||||
|
||||
void endSelectionSet(const service::SelectionSetParams& params) const final
|
||||
void endSelectionSet(const service::SelectionSetParams& params) const override
|
||||
{
|
||||
if constexpr (methods::SubscriptionHas::endSelectionSet<T>)
|
||||
{
|
||||
|
@ -137,8 +137,8 @@ private:
|
|||
[[nodiscard]] service::TypeNames getTypeNames() const noexcept;
|
||||
[[nodiscard]] service::ResolverMap getResolvers() const noexcept;
|
||||
|
||||
void beginSelectionSet(const service::SelectionSetParams& params) const final;
|
||||
void endSelectionSet(const service::SelectionSetParams& params) const final;
|
||||
void beginSelectionSet(const service::SelectionSetParams& params) const override;
|
||||
void endSelectionSet(const service::SelectionSetParams& params) const override;
|
||||
|
||||
const std::unique_ptr<const Concept> _pimpl;
|
||||
|
||||
|
|
|
@ -72,7 +72,7 @@ private:
|
|||
};
|
||||
|
||||
template <class T>
|
||||
struct [[nodiscard]] Model
|
||||
struct [[nodiscard]] Model final
|
||||
: Concept
|
||||
{
|
||||
explicit Model(std::shared_ptr<T> pimpl) noexcept
|
||||
|
@ -80,7 +80,7 @@ private:
|
|||
{
|
||||
}
|
||||
|
||||
[[nodiscard]] service::AwaitableObject<std::shared_ptr<PageInfo>> getPageInfo(service::FieldParams&& params) const final
|
||||
[[nodiscard]] service::AwaitableObject<std::shared_ptr<PageInfo>> getPageInfo(service::FieldParams&& params) const override
|
||||
{
|
||||
if constexpr (methods::TaskConnectionHas::getPageInfoWithParams<T>)
|
||||
{
|
||||
|
@ -96,7 +96,7 @@ private:
|
|||
}
|
||||
}
|
||||
|
||||
[[nodiscard]] service::AwaitableObject<std::optional<std::vector<std::shared_ptr<TaskEdge>>>> getEdges(service::FieldParams&& params) const final
|
||||
[[nodiscard]] service::AwaitableObject<std::optional<std::vector<std::shared_ptr<TaskEdge>>>> getEdges(service::FieldParams&& params) const override
|
||||
{
|
||||
if constexpr (methods::TaskConnectionHas::getEdgesWithParams<T>)
|
||||
{
|
||||
|
@ -112,7 +112,7 @@ private:
|
|||
}
|
||||
}
|
||||
|
||||
void beginSelectionSet(const service::SelectionSetParams& params) const final
|
||||
void beginSelectionSet(const service::SelectionSetParams& params) const override
|
||||
{
|
||||
if constexpr (methods::TaskConnectionHas::beginSelectionSet<T>)
|
||||
{
|
||||
|
@ -120,7 +120,7 @@ private:
|
|||
}
|
||||
}
|
||||
|
||||
void endSelectionSet(const service::SelectionSetParams& params) const final
|
||||
void endSelectionSet(const service::SelectionSetParams& params) const override
|
||||
{
|
||||
if constexpr (methods::TaskConnectionHas::endSelectionSet<T>)
|
||||
{
|
||||
|
@ -137,8 +137,8 @@ private:
|
|||
[[nodiscard]] service::TypeNames getTypeNames() const noexcept;
|
||||
[[nodiscard]] service::ResolverMap getResolvers() const noexcept;
|
||||
|
||||
void beginSelectionSet(const service::SelectionSetParams& params) const final;
|
||||
void endSelectionSet(const service::SelectionSetParams& params) const final;
|
||||
void beginSelectionSet(const service::SelectionSetParams& params) const override;
|
||||
void endSelectionSet(const service::SelectionSetParams& params) const override;
|
||||
|
||||
const std::unique_ptr<const Concept> _pimpl;
|
||||
|
||||
|
|
|
@ -72,7 +72,7 @@ private:
|
|||
};
|
||||
|
||||
template <class T>
|
||||
struct [[nodiscard]] Model
|
||||
struct [[nodiscard]] Model final
|
||||
: Concept
|
||||
{
|
||||
explicit Model(std::shared_ptr<T> pimpl) noexcept
|
||||
|
@ -80,7 +80,7 @@ private:
|
|||
{
|
||||
}
|
||||
|
||||
[[nodiscard]] service::AwaitableObject<std::shared_ptr<Task>> getNode(service::FieldParams&& params) const final
|
||||
[[nodiscard]] service::AwaitableObject<std::shared_ptr<Task>> getNode(service::FieldParams&& params) const override
|
||||
{
|
||||
if constexpr (methods::TaskEdgeHas::getNodeWithParams<T>)
|
||||
{
|
||||
|
@ -96,7 +96,7 @@ private:
|
|||
}
|
||||
}
|
||||
|
||||
[[nodiscard]] service::AwaitableScalar<response::Value> getCursor(service::FieldParams&& params) const final
|
||||
[[nodiscard]] service::AwaitableScalar<response::Value> getCursor(service::FieldParams&& params) const override
|
||||
{
|
||||
if constexpr (methods::TaskEdgeHas::getCursorWithParams<T>)
|
||||
{
|
||||
|
@ -112,7 +112,7 @@ private:
|
|||
}
|
||||
}
|
||||
|
||||
void beginSelectionSet(const service::SelectionSetParams& params) const final
|
||||
void beginSelectionSet(const service::SelectionSetParams& params) const override
|
||||
{
|
||||
if constexpr (methods::TaskEdgeHas::beginSelectionSet<T>)
|
||||
{
|
||||
|
@ -120,7 +120,7 @@ private:
|
|||
}
|
||||
}
|
||||
|
||||
void endSelectionSet(const service::SelectionSetParams& params) const final
|
||||
void endSelectionSet(const service::SelectionSetParams& params) const override
|
||||
{
|
||||
if constexpr (methods::TaskEdgeHas::endSelectionSet<T>)
|
||||
{
|
||||
|
@ -137,8 +137,8 @@ private:
|
|||
[[nodiscard]] service::TypeNames getTypeNames() const noexcept;
|
||||
[[nodiscard]] service::ResolverMap getResolvers() const noexcept;
|
||||
|
||||
void beginSelectionSet(const service::SelectionSetParams& params) const final;
|
||||
void endSelectionSet(const service::SelectionSetParams& params) const final;
|
||||
void beginSelectionSet(const service::SelectionSetParams& params) const override;
|
||||
void endSelectionSet(const service::SelectionSetParams& params) const override;
|
||||
|
||||
const std::unique_ptr<const Concept> _pimpl;
|
||||
|
||||
|
|
|
@ -93,7 +93,7 @@ private:
|
|||
};
|
||||
|
||||
template <class T>
|
||||
struct [[nodiscard]] Model
|
||||
struct [[nodiscard]] Model final
|
||||
: Concept
|
||||
{
|
||||
explicit Model(std::shared_ptr<T> pimpl) noexcept
|
||||
|
@ -101,7 +101,7 @@ private:
|
|||
{
|
||||
}
|
||||
|
||||
[[nodiscard]] service::AwaitableScalar<response::IdType> getId(service::FieldParams&& params) const final
|
||||
[[nodiscard]] service::AwaitableScalar<response::IdType> getId(service::FieldParams&& params) const override
|
||||
{
|
||||
if constexpr (methods::TaskHas::getIdWithParams<T>)
|
||||
{
|
||||
|
@ -117,7 +117,7 @@ private:
|
|||
}
|
||||
}
|
||||
|
||||
[[nodiscard]] service::AwaitableScalar<std::optional<std::string>> getTitle(service::FieldParams&& params) const final
|
||||
[[nodiscard]] service::AwaitableScalar<std::optional<std::string>> getTitle(service::FieldParams&& params) const override
|
||||
{
|
||||
if constexpr (methods::TaskHas::getTitleWithParams<T>)
|
||||
{
|
||||
|
@ -133,7 +133,7 @@ private:
|
|||
}
|
||||
}
|
||||
|
||||
[[nodiscard]] service::AwaitableScalar<bool> getIsComplete(service::FieldParams&& params) const final
|
||||
[[nodiscard]] service::AwaitableScalar<bool> getIsComplete(service::FieldParams&& params) const override
|
||||
{
|
||||
if constexpr (methods::TaskHas::getIsCompleteWithParams<T>)
|
||||
{
|
||||
|
@ -149,7 +149,7 @@ private:
|
|||
}
|
||||
}
|
||||
|
||||
void beginSelectionSet(const service::SelectionSetParams& params) const final
|
||||
void beginSelectionSet(const service::SelectionSetParams& params) const override
|
||||
{
|
||||
if constexpr (methods::TaskHas::beginSelectionSet<T>)
|
||||
{
|
||||
|
@ -157,7 +157,7 @@ private:
|
|||
}
|
||||
}
|
||||
|
||||
void endSelectionSet(const service::SelectionSetParams& params) const final
|
||||
void endSelectionSet(const service::SelectionSetParams& params) const override
|
||||
{
|
||||
if constexpr (methods::TaskHas::endSelectionSet<T>)
|
||||
{
|
||||
|
@ -186,8 +186,8 @@ private:
|
|||
[[nodiscard]] service::TypeNames getTypeNames() const noexcept;
|
||||
[[nodiscard]] service::ResolverMap getResolvers() const noexcept;
|
||||
|
||||
void beginSelectionSet(const service::SelectionSetParams& params) const final;
|
||||
void endSelectionSet(const service::SelectionSetParams& params) const final;
|
||||
void beginSelectionSet(const service::SelectionSetParams& params) const override;
|
||||
void endSelectionSet(const service::SelectionSetParams& params) const override;
|
||||
|
||||
const std::unique_ptr<const Concept> _pimpl;
|
||||
|
||||
|
|
|
@ -28,7 +28,7 @@ private:
|
|||
};
|
||||
|
||||
template <class T>
|
||||
struct [[nodiscard]] Model
|
||||
struct [[nodiscard]] Model final
|
||||
: Concept
|
||||
{
|
||||
explicit Model(std::shared_ptr<T> pimpl) noexcept
|
||||
|
@ -36,22 +36,22 @@ private:
|
|||
{
|
||||
}
|
||||
|
||||
[[nodiscard]] service::TypeNames getTypeNames() const noexcept final
|
||||
[[nodiscard]] service::TypeNames getTypeNames() const noexcept override
|
||||
{
|
||||
return _pimpl->getTypeNames();
|
||||
}
|
||||
|
||||
[[nodiscard]] service::ResolverMap getResolvers() const noexcept final
|
||||
[[nodiscard]] service::ResolverMap getResolvers() const noexcept override
|
||||
{
|
||||
return _pimpl->getResolvers();
|
||||
}
|
||||
|
||||
void beginSelectionSet(const service::SelectionSetParams& params) const final
|
||||
void beginSelectionSet(const service::SelectionSetParams& params) const override
|
||||
{
|
||||
_pimpl->beginSelectionSet(params);
|
||||
}
|
||||
|
||||
void endSelectionSet(const service::SelectionSetParams& params) const final
|
||||
void endSelectionSet(const service::SelectionSetParams& params) const override
|
||||
{
|
||||
_pimpl->endSelectionSet(params);
|
||||
}
|
||||
|
@ -62,8 +62,8 @@ private:
|
|||
|
||||
explicit UnionType(std::unique_ptr<const Concept> pimpl) noexcept;
|
||||
|
||||
void beginSelectionSet(const service::SelectionSetParams& params) const final;
|
||||
void endSelectionSet(const service::SelectionSetParams& params) const final;
|
||||
void beginSelectionSet(const service::SelectionSetParams& params) const override;
|
||||
void endSelectionSet(const service::SelectionSetParams& params) const override;
|
||||
|
||||
const std::unique_ptr<const Concept> _pimpl;
|
||||
|
||||
|
|
|
@ -79,7 +79,7 @@ private:
|
|||
};
|
||||
|
||||
template <class T>
|
||||
struct [[nodiscard]] Model
|
||||
struct [[nodiscard]] Model final
|
||||
: Concept
|
||||
{
|
||||
explicit Model(std::shared_ptr<T> pimpl) noexcept
|
||||
|
@ -87,7 +87,7 @@ private:
|
|||
{
|
||||
}
|
||||
|
||||
[[nodiscard]] service::AwaitableScalar<std::string> getName(service::FieldParams&& params) const final
|
||||
[[nodiscard]] service::AwaitableScalar<std::string> getName(service::FieldParams&& params) const override
|
||||
{
|
||||
if constexpr (methods::AlienHas::getNameWithParams<T>)
|
||||
{
|
||||
|
@ -103,7 +103,7 @@ private:
|
|||
}
|
||||
}
|
||||
|
||||
[[nodiscard]] service::AwaitableScalar<std::optional<std::string>> getHomePlanet(service::FieldParams&& params) const final
|
||||
[[nodiscard]] service::AwaitableScalar<std::optional<std::string>> getHomePlanet(service::FieldParams&& params) const override
|
||||
{
|
||||
if constexpr (methods::AlienHas::getHomePlanetWithParams<T>)
|
||||
{
|
||||
|
@ -119,7 +119,7 @@ private:
|
|||
}
|
||||
}
|
||||
|
||||
void beginSelectionSet(const service::SelectionSetParams& params) const final
|
||||
void beginSelectionSet(const service::SelectionSetParams& params) const override
|
||||
{
|
||||
if constexpr (methods::AlienHas::beginSelectionSet<T>)
|
||||
{
|
||||
|
@ -127,7 +127,7 @@ private:
|
|||
}
|
||||
}
|
||||
|
||||
void endSelectionSet(const service::SelectionSetParams& params) const final
|
||||
void endSelectionSet(const service::SelectionSetParams& params) const override
|
||||
{
|
||||
if constexpr (methods::AlienHas::endSelectionSet<T>)
|
||||
{
|
||||
|
@ -156,8 +156,8 @@ private:
|
|||
[[nodiscard]] service::TypeNames getTypeNames() const noexcept;
|
||||
[[nodiscard]] service::ResolverMap getResolvers() const noexcept;
|
||||
|
||||
void beginSelectionSet(const service::SelectionSetParams& params) const final;
|
||||
void endSelectionSet(const service::SelectionSetParams& params) const final;
|
||||
void beginSelectionSet(const service::SelectionSetParams& params) const override;
|
||||
void endSelectionSet(const service::SelectionSetParams& params) const override;
|
||||
|
||||
const std::unique_ptr<const Concept> _pimpl;
|
||||
|
||||
|
|
|
@ -156,7 +156,7 @@ private:
|
|||
};
|
||||
|
||||
template <class T>
|
||||
struct [[nodiscard]] Model
|
||||
struct [[nodiscard]] Model final
|
||||
: Concept
|
||||
{
|
||||
explicit Model(std::shared_ptr<T> pimpl) noexcept
|
||||
|
@ -164,7 +164,7 @@ private:
|
|||
{
|
||||
}
|
||||
|
||||
[[nodiscard]] service::AwaitableScalar<int> getMultipleReqs(service::FieldParams&& params, int&& xArg, int&& yArg) const final
|
||||
[[nodiscard]] service::AwaitableScalar<int> getMultipleReqs(service::FieldParams&& params, int&& xArg, int&& yArg) const override
|
||||
{
|
||||
if constexpr (methods::ArgumentsHas::getMultipleReqsWithParams<T>)
|
||||
{
|
||||
|
@ -180,7 +180,7 @@ private:
|
|||
}
|
||||
}
|
||||
|
||||
[[nodiscard]] service::AwaitableScalar<std::optional<bool>> getBooleanArgField(service::FieldParams&& params, std::optional<bool>&& booleanArgArg) const final
|
||||
[[nodiscard]] service::AwaitableScalar<std::optional<bool>> getBooleanArgField(service::FieldParams&& params, std::optional<bool>&& booleanArgArg) const override
|
||||
{
|
||||
if constexpr (methods::ArgumentsHas::getBooleanArgFieldWithParams<T>)
|
||||
{
|
||||
|
@ -196,7 +196,7 @@ private:
|
|||
}
|
||||
}
|
||||
|
||||
[[nodiscard]] service::AwaitableScalar<std::optional<double>> getFloatArgField(service::FieldParams&& params, std::optional<double>&& floatArgArg) const final
|
||||
[[nodiscard]] service::AwaitableScalar<std::optional<double>> getFloatArgField(service::FieldParams&& params, std::optional<double>&& floatArgArg) const override
|
||||
{
|
||||
if constexpr (methods::ArgumentsHas::getFloatArgFieldWithParams<T>)
|
||||
{
|
||||
|
@ -212,7 +212,7 @@ private:
|
|||
}
|
||||
}
|
||||
|
||||
[[nodiscard]] service::AwaitableScalar<std::optional<int>> getIntArgField(service::FieldParams&& params, std::optional<int>&& intArgArg) const final
|
||||
[[nodiscard]] service::AwaitableScalar<std::optional<int>> getIntArgField(service::FieldParams&& params, std::optional<int>&& intArgArg) const override
|
||||
{
|
||||
if constexpr (methods::ArgumentsHas::getIntArgFieldWithParams<T>)
|
||||
{
|
||||
|
@ -228,7 +228,7 @@ private:
|
|||
}
|
||||
}
|
||||
|
||||
[[nodiscard]] service::AwaitableScalar<bool> getNonNullBooleanArgField(service::FieldParams&& params, bool&& nonNullBooleanArgArg) const final
|
||||
[[nodiscard]] service::AwaitableScalar<bool> getNonNullBooleanArgField(service::FieldParams&& params, bool&& nonNullBooleanArgArg) const override
|
||||
{
|
||||
if constexpr (methods::ArgumentsHas::getNonNullBooleanArgFieldWithParams<T>)
|
||||
{
|
||||
|
@ -244,7 +244,7 @@ private:
|
|||
}
|
||||
}
|
||||
|
||||
[[nodiscard]] service::AwaitableScalar<std::optional<std::vector<bool>>> getNonNullBooleanListField(service::FieldParams&& params, std::optional<std::vector<bool>>&& nonNullBooleanListArgArg) const final
|
||||
[[nodiscard]] service::AwaitableScalar<std::optional<std::vector<bool>>> getNonNullBooleanListField(service::FieldParams&& params, std::optional<std::vector<bool>>&& nonNullBooleanListArgArg) const override
|
||||
{
|
||||
if constexpr (methods::ArgumentsHas::getNonNullBooleanListFieldWithParams<T>)
|
||||
{
|
||||
|
@ -260,7 +260,7 @@ private:
|
|||
}
|
||||
}
|
||||
|
||||
[[nodiscard]] service::AwaitableScalar<std::optional<std::vector<std::optional<bool>>>> getBooleanListArgField(service::FieldParams&& params, std::vector<std::optional<bool>>&& booleanListArgArg) const final
|
||||
[[nodiscard]] service::AwaitableScalar<std::optional<std::vector<std::optional<bool>>>> getBooleanListArgField(service::FieldParams&& params, std::vector<std::optional<bool>>&& booleanListArgArg) const override
|
||||
{
|
||||
if constexpr (methods::ArgumentsHas::getBooleanListArgFieldWithParams<T>)
|
||||
{
|
||||
|
@ -276,7 +276,7 @@ private:
|
|||
}
|
||||
}
|
||||
|
||||
[[nodiscard]] service::AwaitableScalar<bool> getOptionalNonNullBooleanArgField(service::FieldParams&& params, bool&& optionalBooleanArgArg) const final
|
||||
[[nodiscard]] service::AwaitableScalar<bool> getOptionalNonNullBooleanArgField(service::FieldParams&& params, bool&& optionalBooleanArgArg) const override
|
||||
{
|
||||
if constexpr (methods::ArgumentsHas::getOptionalNonNullBooleanArgFieldWithParams<T>)
|
||||
{
|
||||
|
@ -292,7 +292,7 @@ private:
|
|||
}
|
||||
}
|
||||
|
||||
void beginSelectionSet(const service::SelectionSetParams& params) const final
|
||||
void beginSelectionSet(const service::SelectionSetParams& params) const override
|
||||
{
|
||||
if constexpr (methods::ArgumentsHas::beginSelectionSet<T>)
|
||||
{
|
||||
|
@ -300,7 +300,7 @@ private:
|
|||
}
|
||||
}
|
||||
|
||||
void endSelectionSet(const service::SelectionSetParams& params) const final
|
||||
void endSelectionSet(const service::SelectionSetParams& params) const override
|
||||
{
|
||||
if constexpr (methods::ArgumentsHas::endSelectionSet<T>)
|
||||
{
|
||||
|
@ -317,8 +317,8 @@ private:
|
|||
[[nodiscard]] service::TypeNames getTypeNames() const noexcept;
|
||||
[[nodiscard]] service::ResolverMap getResolvers() const noexcept;
|
||||
|
||||
void beginSelectionSet(const service::SelectionSetParams& params) const final;
|
||||
void endSelectionSet(const service::SelectionSetParams& params) const final;
|
||||
void beginSelectionSet(const service::SelectionSetParams& params) const override;
|
||||
void endSelectionSet(const service::SelectionSetParams& params) const override;
|
||||
|
||||
const std::unique_ptr<const Concept> _pimpl;
|
||||
|
||||
|
|
|
@ -107,7 +107,7 @@ private:
|
|||
};
|
||||
|
||||
template <class T>
|
||||
struct [[nodiscard]] Model
|
||||
struct [[nodiscard]] Model final
|
||||
: Concept
|
||||
{
|
||||
explicit Model(std::shared_ptr<T> pimpl) noexcept
|
||||
|
@ -115,7 +115,7 @@ private:
|
|||
{
|
||||
}
|
||||
|
||||
[[nodiscard]] service::AwaitableScalar<std::string> getName(service::FieldParams&& params) const final
|
||||
[[nodiscard]] service::AwaitableScalar<std::string> getName(service::FieldParams&& params) const override
|
||||
{
|
||||
if constexpr (methods::CatHas::getNameWithParams<T>)
|
||||
{
|
||||
|
@ -131,7 +131,7 @@ private:
|
|||
}
|
||||
}
|
||||
|
||||
[[nodiscard]] service::AwaitableScalar<std::optional<std::string>> getNickname(service::FieldParams&& params) const final
|
||||
[[nodiscard]] service::AwaitableScalar<std::optional<std::string>> getNickname(service::FieldParams&& params) const override
|
||||
{
|
||||
if constexpr (methods::CatHas::getNicknameWithParams<T>)
|
||||
{
|
||||
|
@ -147,7 +147,7 @@ private:
|
|||
}
|
||||
}
|
||||
|
||||
[[nodiscard]] service::AwaitableScalar<bool> getDoesKnowCommand(service::FieldParams&& params, CatCommand&& catCommandArg) const final
|
||||
[[nodiscard]] service::AwaitableScalar<bool> getDoesKnowCommand(service::FieldParams&& params, CatCommand&& catCommandArg) const override
|
||||
{
|
||||
if constexpr (methods::CatHas::getDoesKnowCommandWithParams<T>)
|
||||
{
|
||||
|
@ -163,7 +163,7 @@ private:
|
|||
}
|
||||
}
|
||||
|
||||
[[nodiscard]] service::AwaitableScalar<std::optional<int>> getMeowVolume(service::FieldParams&& params) const final
|
||||
[[nodiscard]] service::AwaitableScalar<std::optional<int>> getMeowVolume(service::FieldParams&& params) const override
|
||||
{
|
||||
if constexpr (methods::CatHas::getMeowVolumeWithParams<T>)
|
||||
{
|
||||
|
@ -179,7 +179,7 @@ private:
|
|||
}
|
||||
}
|
||||
|
||||
void beginSelectionSet(const service::SelectionSetParams& params) const final
|
||||
void beginSelectionSet(const service::SelectionSetParams& params) const override
|
||||
{
|
||||
if constexpr (methods::CatHas::beginSelectionSet<T>)
|
||||
{
|
||||
|
@ -187,7 +187,7 @@ private:
|
|||
}
|
||||
}
|
||||
|
||||
void endSelectionSet(const service::SelectionSetParams& params) const final
|
||||
void endSelectionSet(const service::SelectionSetParams& params) const override
|
||||
{
|
||||
if constexpr (methods::CatHas::endSelectionSet<T>)
|
||||
{
|
||||
|
@ -216,8 +216,8 @@ private:
|
|||
[[nodiscard]] service::TypeNames getTypeNames() const noexcept;
|
||||
[[nodiscard]] service::ResolverMap getResolvers() const noexcept;
|
||||
|
||||
void beginSelectionSet(const service::SelectionSetParams& params) const final;
|
||||
void endSelectionSet(const service::SelectionSetParams& params) const final;
|
||||
void beginSelectionSet(const service::SelectionSetParams& params) const override;
|
||||
void endSelectionSet(const service::SelectionSetParams& params) const override;
|
||||
|
||||
const std::unique_ptr<const Concept> _pimpl;
|
||||
|
||||
|
|
|
@ -28,7 +28,7 @@ private:
|
|||
};
|
||||
|
||||
template <class T>
|
||||
struct [[nodiscard]] Model
|
||||
struct [[nodiscard]] Model final
|
||||
: Concept
|
||||
{
|
||||
explicit Model(std::shared_ptr<T> pimpl) noexcept
|
||||
|
@ -36,22 +36,22 @@ private:
|
|||
{
|
||||
}
|
||||
|
||||
[[nodiscard]] service::TypeNames getTypeNames() const noexcept final
|
||||
[[nodiscard]] service::TypeNames getTypeNames() const noexcept override
|
||||
{
|
||||
return _pimpl->getTypeNames();
|
||||
}
|
||||
|
||||
[[nodiscard]] service::ResolverMap getResolvers() const noexcept final
|
||||
[[nodiscard]] service::ResolverMap getResolvers() const noexcept override
|
||||
{
|
||||
return _pimpl->getResolvers();
|
||||
}
|
||||
|
||||
void beginSelectionSet(const service::SelectionSetParams& params) const final
|
||||
void beginSelectionSet(const service::SelectionSetParams& params) const override
|
||||
{
|
||||
_pimpl->beginSelectionSet(params);
|
||||
}
|
||||
|
||||
void endSelectionSet(const service::SelectionSetParams& params) const final
|
||||
void endSelectionSet(const service::SelectionSetParams& params) const override
|
||||
{
|
||||
_pimpl->endSelectionSet(params);
|
||||
}
|
||||
|
@ -62,8 +62,8 @@ private:
|
|||
|
||||
explicit CatOrDog(std::unique_ptr<const Concept> pimpl) noexcept;
|
||||
|
||||
void beginSelectionSet(const service::SelectionSetParams& params) const final;
|
||||
void endSelectionSet(const service::SelectionSetParams& params) const final;
|
||||
void beginSelectionSet(const service::SelectionSetParams& params) const override;
|
||||
void endSelectionSet(const service::SelectionSetParams& params) const override;
|
||||
|
||||
const std::unique_ptr<const Concept> _pimpl;
|
||||
|
||||
|
|
|
@ -135,7 +135,7 @@ private:
|
|||
};
|
||||
|
||||
template <class T>
|
||||
struct [[nodiscard]] Model
|
||||
struct [[nodiscard]] Model final
|
||||
: Concept
|
||||
{
|
||||
explicit Model(std::shared_ptr<T> pimpl) noexcept
|
||||
|
@ -143,7 +143,7 @@ private:
|
|||
{
|
||||
}
|
||||
|
||||
[[nodiscard]] service::AwaitableScalar<std::string> getName(service::FieldParams&& params) const final
|
||||
[[nodiscard]] service::AwaitableScalar<std::string> getName(service::FieldParams&& params) const override
|
||||
{
|
||||
if constexpr (methods::DogHas::getNameWithParams<T>)
|
||||
{
|
||||
|
@ -159,7 +159,7 @@ private:
|
|||
}
|
||||
}
|
||||
|
||||
[[nodiscard]] service::AwaitableScalar<std::optional<std::string>> getNickname(service::FieldParams&& params) const final
|
||||
[[nodiscard]] service::AwaitableScalar<std::optional<std::string>> getNickname(service::FieldParams&& params) const override
|
||||
{
|
||||
if constexpr (methods::DogHas::getNicknameWithParams<T>)
|
||||
{
|
||||
|
@ -175,7 +175,7 @@ private:
|
|||
}
|
||||
}
|
||||
|
||||
[[nodiscard]] service::AwaitableScalar<std::optional<int>> getBarkVolume(service::FieldParams&& params) const final
|
||||
[[nodiscard]] service::AwaitableScalar<std::optional<int>> getBarkVolume(service::FieldParams&& params) const override
|
||||
{
|
||||
if constexpr (methods::DogHas::getBarkVolumeWithParams<T>)
|
||||
{
|
||||
|
@ -191,7 +191,7 @@ private:
|
|||
}
|
||||
}
|
||||
|
||||
[[nodiscard]] service::AwaitableScalar<bool> getDoesKnowCommand(service::FieldParams&& params, DogCommand&& dogCommandArg) const final
|
||||
[[nodiscard]] service::AwaitableScalar<bool> getDoesKnowCommand(service::FieldParams&& params, DogCommand&& dogCommandArg) const override
|
||||
{
|
||||
if constexpr (methods::DogHas::getDoesKnowCommandWithParams<T>)
|
||||
{
|
||||
|
@ -207,7 +207,7 @@ private:
|
|||
}
|
||||
}
|
||||
|
||||
[[nodiscard]] service::AwaitableScalar<bool> getIsHousetrained(service::FieldParams&& params, std::optional<bool>&& atOtherHomesArg) const final
|
||||
[[nodiscard]] service::AwaitableScalar<bool> getIsHousetrained(service::FieldParams&& params, std::optional<bool>&& atOtherHomesArg) const override
|
||||
{
|
||||
if constexpr (methods::DogHas::getIsHousetrainedWithParams<T>)
|
||||
{
|
||||
|
@ -223,7 +223,7 @@ private:
|
|||
}
|
||||
}
|
||||
|
||||
[[nodiscard]] service::AwaitableObject<std::shared_ptr<Human>> getOwner(service::FieldParams&& params) const final
|
||||
[[nodiscard]] service::AwaitableObject<std::shared_ptr<Human>> getOwner(service::FieldParams&& params) const override
|
||||
{
|
||||
if constexpr (methods::DogHas::getOwnerWithParams<T>)
|
||||
{
|
||||
|
@ -239,7 +239,7 @@ private:
|
|||
}
|
||||
}
|
||||
|
||||
void beginSelectionSet(const service::SelectionSetParams& params) const final
|
||||
void beginSelectionSet(const service::SelectionSetParams& params) const override
|
||||
{
|
||||
if constexpr (methods::DogHas::beginSelectionSet<T>)
|
||||
{
|
||||
|
@ -247,7 +247,7 @@ private:
|
|||
}
|
||||
}
|
||||
|
||||
void endSelectionSet(const service::SelectionSetParams& params) const final
|
||||
void endSelectionSet(const service::SelectionSetParams& params) const override
|
||||
{
|
||||
if constexpr (methods::DogHas::endSelectionSet<T>)
|
||||
{
|
||||
|
@ -277,8 +277,8 @@ private:
|
|||
[[nodiscard]] service::TypeNames getTypeNames() const noexcept;
|
||||
[[nodiscard]] service::ResolverMap getResolvers() const noexcept;
|
||||
|
||||
void beginSelectionSet(const service::SelectionSetParams& params) const final;
|
||||
void endSelectionSet(const service::SelectionSetParams& params) const final;
|
||||
void beginSelectionSet(const service::SelectionSetParams& params) const override;
|
||||
void endSelectionSet(const service::SelectionSetParams& params) const override;
|
||||
|
||||
const std::unique_ptr<const Concept> _pimpl;
|
||||
|
||||
|
|
|
@ -28,7 +28,7 @@ private:
|
|||
};
|
||||
|
||||
template <class T>
|
||||
struct [[nodiscard]] Model
|
||||
struct [[nodiscard]] Model final
|
||||
: Concept
|
||||
{
|
||||
explicit Model(std::shared_ptr<T> pimpl) noexcept
|
||||
|
@ -36,22 +36,22 @@ private:
|
|||
{
|
||||
}
|
||||
|
||||
[[nodiscard]] service::TypeNames getTypeNames() const noexcept final
|
||||
[[nodiscard]] service::TypeNames getTypeNames() const noexcept override
|
||||
{
|
||||
return _pimpl->getTypeNames();
|
||||
}
|
||||
|
||||
[[nodiscard]] service::ResolverMap getResolvers() const noexcept final
|
||||
[[nodiscard]] service::ResolverMap getResolvers() const noexcept override
|
||||
{
|
||||
return _pimpl->getResolvers();
|
||||
}
|
||||
|
||||
void beginSelectionSet(const service::SelectionSetParams& params) const final
|
||||
void beginSelectionSet(const service::SelectionSetParams& params) const override
|
||||
{
|
||||
_pimpl->beginSelectionSet(params);
|
||||
}
|
||||
|
||||
void endSelectionSet(const service::SelectionSetParams& params) const final
|
||||
void endSelectionSet(const service::SelectionSetParams& params) const override
|
||||
{
|
||||
_pimpl->endSelectionSet(params);
|
||||
}
|
||||
|
@ -62,8 +62,8 @@ private:
|
|||
|
||||
explicit DogOrHuman(std::unique_ptr<const Concept> pimpl) noexcept;
|
||||
|
||||
void beginSelectionSet(const service::SelectionSetParams& params) const final;
|
||||
void endSelectionSet(const service::SelectionSetParams& params) const final;
|
||||
void beginSelectionSet(const service::SelectionSetParams& params) const override;
|
||||
void endSelectionSet(const service::SelectionSetParams& params) const override;
|
||||
|
||||
const std::unique_ptr<const Concept> _pimpl;
|
||||
|
||||
|
|
|
@ -79,7 +79,7 @@ private:
|
|||
};
|
||||
|
||||
template <class T>
|
||||
struct [[nodiscard]] Model
|
||||
struct [[nodiscard]] Model final
|
||||
: Concept
|
||||
{
|
||||
explicit Model(std::shared_ptr<T> pimpl) noexcept
|
||||
|
@ -87,7 +87,7 @@ private:
|
|||
{
|
||||
}
|
||||
|
||||
[[nodiscard]] service::AwaitableScalar<std::string> getName(service::FieldParams&& params) const final
|
||||
[[nodiscard]] service::AwaitableScalar<std::string> getName(service::FieldParams&& params) const override
|
||||
{
|
||||
if constexpr (methods::HumanHas::getNameWithParams<T>)
|
||||
{
|
||||
|
@ -103,7 +103,7 @@ private:
|
|||
}
|
||||
}
|
||||
|
||||
[[nodiscard]] service::AwaitableObject<std::vector<std::shared_ptr<Pet>>> getPets(service::FieldParams&& params) const final
|
||||
[[nodiscard]] service::AwaitableObject<std::vector<std::shared_ptr<Pet>>> getPets(service::FieldParams&& params) const override
|
||||
{
|
||||
if constexpr (methods::HumanHas::getPetsWithParams<T>)
|
||||
{
|
||||
|
@ -119,7 +119,7 @@ private:
|
|||
}
|
||||
}
|
||||
|
||||
void beginSelectionSet(const service::SelectionSetParams& params) const final
|
||||
void beginSelectionSet(const service::SelectionSetParams& params) const override
|
||||
{
|
||||
if constexpr (methods::HumanHas::beginSelectionSet<T>)
|
||||
{
|
||||
|
@ -127,7 +127,7 @@ private:
|
|||
}
|
||||
}
|
||||
|
||||
void endSelectionSet(const service::SelectionSetParams& params) const final
|
||||
void endSelectionSet(const service::SelectionSetParams& params) const override
|
||||
{
|
||||
if constexpr (methods::HumanHas::endSelectionSet<T>)
|
||||
{
|
||||
|
@ -157,8 +157,8 @@ private:
|
|||
[[nodiscard]] service::TypeNames getTypeNames() const noexcept;
|
||||
[[nodiscard]] service::ResolverMap getResolvers() const noexcept;
|
||||
|
||||
void beginSelectionSet(const service::SelectionSetParams& params) const final;
|
||||
void endSelectionSet(const service::SelectionSetParams& params) const final;
|
||||
void beginSelectionSet(const service::SelectionSetParams& params) const override;
|
||||
void endSelectionSet(const service::SelectionSetParams& params) const override;
|
||||
|
||||
const std::unique_ptr<const Concept> _pimpl;
|
||||
|
||||
|
|
|
@ -28,7 +28,7 @@ private:
|
|||
};
|
||||
|
||||
template <class T>
|
||||
struct [[nodiscard]] Model
|
||||
struct [[nodiscard]] Model final
|
||||
: Concept
|
||||
{
|
||||
explicit Model(std::shared_ptr<T> pimpl) noexcept
|
||||
|
@ -36,22 +36,22 @@ private:
|
|||
{
|
||||
}
|
||||
|
||||
[[nodiscard]] service::TypeNames getTypeNames() const noexcept final
|
||||
[[nodiscard]] service::TypeNames getTypeNames() const noexcept override
|
||||
{
|
||||
return _pimpl->getTypeNames();
|
||||
}
|
||||
|
||||
[[nodiscard]] service::ResolverMap getResolvers() const noexcept final
|
||||
[[nodiscard]] service::ResolverMap getResolvers() const noexcept override
|
||||
{
|
||||
return _pimpl->getResolvers();
|
||||
}
|
||||
|
||||
void beginSelectionSet(const service::SelectionSetParams& params) const final
|
||||
void beginSelectionSet(const service::SelectionSetParams& params) const override
|
||||
{
|
||||
_pimpl->beginSelectionSet(params);
|
||||
}
|
||||
|
||||
void endSelectionSet(const service::SelectionSetParams& params) const final
|
||||
void endSelectionSet(const service::SelectionSetParams& params) const override
|
||||
{
|
||||
_pimpl->endSelectionSet(params);
|
||||
}
|
||||
|
@ -62,8 +62,8 @@ private:
|
|||
|
||||
explicit HumanOrAlien(std::unique_ptr<const Concept> pimpl) noexcept;
|
||||
|
||||
void beginSelectionSet(const service::SelectionSetParams& params) const final;
|
||||
void endSelectionSet(const service::SelectionSetParams& params) const final;
|
||||
void beginSelectionSet(const service::SelectionSetParams& params) const override;
|
||||
void endSelectionSet(const service::SelectionSetParams& params) const override;
|
||||
|
||||
const std::unique_ptr<const Concept> _pimpl;
|
||||
|
||||
|
|
|
@ -72,7 +72,7 @@ private:
|
|||
};
|
||||
|
||||
template <class T>
|
||||
struct [[nodiscard]] Model
|
||||
struct [[nodiscard]] Model final
|
||||
: Concept
|
||||
{
|
||||
explicit Model(std::shared_ptr<T> pimpl) noexcept
|
||||
|
@ -80,7 +80,7 @@ private:
|
|||
{
|
||||
}
|
||||
|
||||
[[nodiscard]] service::AwaitableScalar<std::optional<std::string>> getBody(service::FieldParams&& params) const final
|
||||
[[nodiscard]] service::AwaitableScalar<std::optional<std::string>> getBody(service::FieldParams&& params) const override
|
||||
{
|
||||
if constexpr (methods::MessageHas::getBodyWithParams<T>)
|
||||
{
|
||||
|
@ -96,7 +96,7 @@ private:
|
|||
}
|
||||
}
|
||||
|
||||
[[nodiscard]] service::AwaitableScalar<response::IdType> getSender(service::FieldParams&& params) const final
|
||||
[[nodiscard]] service::AwaitableScalar<response::IdType> getSender(service::FieldParams&& params) const override
|
||||
{
|
||||
if constexpr (methods::MessageHas::getSenderWithParams<T>)
|
||||
{
|
||||
|
@ -112,7 +112,7 @@ private:
|
|||
}
|
||||
}
|
||||
|
||||
void beginSelectionSet(const service::SelectionSetParams& params) const final
|
||||
void beginSelectionSet(const service::SelectionSetParams& params) const override
|
||||
{
|
||||
if constexpr (methods::MessageHas::beginSelectionSet<T>)
|
||||
{
|
||||
|
@ -120,7 +120,7 @@ private:
|
|||
}
|
||||
}
|
||||
|
||||
void endSelectionSet(const service::SelectionSetParams& params) const final
|
||||
void endSelectionSet(const service::SelectionSetParams& params) const override
|
||||
{
|
||||
if constexpr (methods::MessageHas::endSelectionSet<T>)
|
||||
{
|
||||
|
@ -137,8 +137,8 @@ private:
|
|||
[[nodiscard]] service::TypeNames getTypeNames() const noexcept;
|
||||
[[nodiscard]] service::ResolverMap getResolvers() const noexcept;
|
||||
|
||||
void beginSelectionSet(const service::SelectionSetParams& params) const final;
|
||||
void endSelectionSet(const service::SelectionSetParams& params) const final;
|
||||
void beginSelectionSet(const service::SelectionSetParams& params) const override;
|
||||
void endSelectionSet(const service::SelectionSetParams& params) const override;
|
||||
|
||||
const std::unique_ptr<const Concept> _pimpl;
|
||||
|
||||
|
|
|
@ -58,7 +58,7 @@ private:
|
|||
};
|
||||
|
||||
template <class T>
|
||||
struct [[nodiscard]] Model
|
||||
struct [[nodiscard]] Model final
|
||||
: Concept
|
||||
{
|
||||
explicit Model(std::shared_ptr<T> pimpl) noexcept
|
||||
|
@ -66,7 +66,7 @@ private:
|
|||
{
|
||||
}
|
||||
|
||||
[[nodiscard]] service::AwaitableScalar<response::IdType> getId(service::FieldParams&& params) const final
|
||||
[[nodiscard]] service::AwaitableScalar<response::IdType> getId(service::FieldParams&& params) const override
|
||||
{
|
||||
if constexpr (methods::MutateDogResultHas::getIdWithParams<T>)
|
||||
{
|
||||
|
@ -82,7 +82,7 @@ private:
|
|||
}
|
||||
}
|
||||
|
||||
void beginSelectionSet(const service::SelectionSetParams& params) const final
|
||||
void beginSelectionSet(const service::SelectionSetParams& params) const override
|
||||
{
|
||||
if constexpr (methods::MutateDogResultHas::beginSelectionSet<T>)
|
||||
{
|
||||
|
@ -90,7 +90,7 @@ private:
|
|||
}
|
||||
}
|
||||
|
||||
void endSelectionSet(const service::SelectionSetParams& params) const final
|
||||
void endSelectionSet(const service::SelectionSetParams& params) const override
|
||||
{
|
||||
if constexpr (methods::MutateDogResultHas::endSelectionSet<T>)
|
||||
{
|
||||
|
@ -107,8 +107,8 @@ private:
|
|||
[[nodiscard]] service::TypeNames getTypeNames() const noexcept;
|
||||
[[nodiscard]] service::ResolverMap getResolvers() const noexcept;
|
||||
|
||||
void beginSelectionSet(const service::SelectionSetParams& params) const final;
|
||||
void endSelectionSet(const service::SelectionSetParams& params) const final;
|
||||
void beginSelectionSet(const service::SelectionSetParams& params) const override;
|
||||
void endSelectionSet(const service::SelectionSetParams& params) const override;
|
||||
|
||||
const std::unique_ptr<const Concept> _pimpl;
|
||||
|
||||
|
|
|
@ -58,7 +58,7 @@ private:
|
|||
};
|
||||
|
||||
template <class T>
|
||||
struct [[nodiscard]] Model
|
||||
struct [[nodiscard]] Model final
|
||||
: Concept
|
||||
{
|
||||
explicit Model(std::shared_ptr<T> pimpl) noexcept
|
||||
|
@ -66,7 +66,7 @@ private:
|
|||
{
|
||||
}
|
||||
|
||||
[[nodiscard]] service::AwaitableObject<std::shared_ptr<MutateDogResult>> applyMutateDog(service::FieldParams&& params) const final
|
||||
[[nodiscard]] service::AwaitableObject<std::shared_ptr<MutateDogResult>> applyMutateDog(service::FieldParams&& params) const override
|
||||
{
|
||||
if constexpr (methods::MutationHas::applyMutateDogWithParams<T>)
|
||||
{
|
||||
|
@ -82,7 +82,7 @@ private:
|
|||
}
|
||||
}
|
||||
|
||||
void beginSelectionSet(const service::SelectionSetParams& params) const final
|
||||
void beginSelectionSet(const service::SelectionSetParams& params) const override
|
||||
{
|
||||
if constexpr (methods::MutationHas::beginSelectionSet<T>)
|
||||
{
|
||||
|
@ -90,7 +90,7 @@ private:
|
|||
}
|
||||
}
|
||||
|
||||
void endSelectionSet(const service::SelectionSetParams& params) const final
|
||||
void endSelectionSet(const service::SelectionSetParams& params) const override
|
||||
{
|
||||
if constexpr (methods::MutationHas::endSelectionSet<T>)
|
||||
{
|
||||
|
@ -107,8 +107,8 @@ private:
|
|||
[[nodiscard]] service::TypeNames getTypeNames() const noexcept;
|
||||
[[nodiscard]] service::ResolverMap getResolvers() const noexcept;
|
||||
|
||||
void beginSelectionSet(const service::SelectionSetParams& params) const final;
|
||||
void endSelectionSet(const service::SelectionSetParams& params) const final;
|
||||
void beginSelectionSet(const service::SelectionSetParams& params) const override;
|
||||
void endSelectionSet(const service::SelectionSetParams& params) const override;
|
||||
|
||||
const std::unique_ptr<const Concept> _pimpl;
|
||||
|
||||
|
|
|
@ -28,7 +28,7 @@ private:
|
|||
};
|
||||
|
||||
template <class T>
|
||||
struct [[nodiscard]] Model
|
||||
struct [[nodiscard]] Model final
|
||||
: Concept
|
||||
{
|
||||
explicit Model(std::shared_ptr<T> pimpl) noexcept
|
||||
|
@ -36,22 +36,22 @@ private:
|
|||
{
|
||||
}
|
||||
|
||||
[[nodiscard]] service::TypeNames getTypeNames() const noexcept final
|
||||
[[nodiscard]] service::TypeNames getTypeNames() const noexcept override
|
||||
{
|
||||
return _pimpl->getTypeNames();
|
||||
}
|
||||
|
||||
[[nodiscard]] service::ResolverMap getResolvers() const noexcept final
|
||||
[[nodiscard]] service::ResolverMap getResolvers() const noexcept override
|
||||
{
|
||||
return _pimpl->getResolvers();
|
||||
}
|
||||
|
||||
void beginSelectionSet(const service::SelectionSetParams& params) const final
|
||||
void beginSelectionSet(const service::SelectionSetParams& params) const override
|
||||
{
|
||||
_pimpl->beginSelectionSet(params);
|
||||
}
|
||||
|
||||
void endSelectionSet(const service::SelectionSetParams& params) const final
|
||||
void endSelectionSet(const service::SelectionSetParams& params) const override
|
||||
{
|
||||
_pimpl->endSelectionSet(params);
|
||||
}
|
||||
|
@ -62,8 +62,8 @@ private:
|
|||
|
||||
explicit Node(std::unique_ptr<const Concept> pimpl) noexcept;
|
||||
|
||||
void beginSelectionSet(const service::SelectionSetParams& params) const final;
|
||||
void endSelectionSet(const service::SelectionSetParams& params) const final;
|
||||
void beginSelectionSet(const service::SelectionSetParams& params) const override;
|
||||
void endSelectionSet(const service::SelectionSetParams& params) const override;
|
||||
|
||||
const std::unique_ptr<const Concept> _pimpl;
|
||||
|
||||
|
|
|
@ -28,7 +28,7 @@ private:
|
|||
};
|
||||
|
||||
template <class T>
|
||||
struct [[nodiscard]] Model
|
||||
struct [[nodiscard]] Model final
|
||||
: Concept
|
||||
{
|
||||
explicit Model(std::shared_ptr<T> pimpl) noexcept
|
||||
|
@ -36,22 +36,22 @@ private:
|
|||
{
|
||||
}
|
||||
|
||||
[[nodiscard]] service::TypeNames getTypeNames() const noexcept final
|
||||
[[nodiscard]] service::TypeNames getTypeNames() const noexcept override
|
||||
{
|
||||
return _pimpl->getTypeNames();
|
||||
}
|
||||
|
||||
[[nodiscard]] service::ResolverMap getResolvers() const noexcept final
|
||||
[[nodiscard]] service::ResolverMap getResolvers() const noexcept override
|
||||
{
|
||||
return _pimpl->getResolvers();
|
||||
}
|
||||
|
||||
void beginSelectionSet(const service::SelectionSetParams& params) const final
|
||||
void beginSelectionSet(const service::SelectionSetParams& params) const override
|
||||
{
|
||||
_pimpl->beginSelectionSet(params);
|
||||
}
|
||||
|
||||
void endSelectionSet(const service::SelectionSetParams& params) const final
|
||||
void endSelectionSet(const service::SelectionSetParams& params) const override
|
||||
{
|
||||
_pimpl->endSelectionSet(params);
|
||||
}
|
||||
|
@ -62,8 +62,8 @@ private:
|
|||
|
||||
explicit Pet(std::unique_ptr<const Concept> pimpl) noexcept;
|
||||
|
||||
void beginSelectionSet(const service::SelectionSetParams& params) const final;
|
||||
void endSelectionSet(const service::SelectionSetParams& params) const final;
|
||||
void beginSelectionSet(const service::SelectionSetParams& params) const override;
|
||||
void endSelectionSet(const service::SelectionSetParams& params) const override;
|
||||
|
||||
const std::unique_ptr<const Concept> _pimpl;
|
||||
|
||||
|
|
|
@ -156,7 +156,7 @@ private:
|
|||
};
|
||||
|
||||
template <class T>
|
||||
struct [[nodiscard]] Model
|
||||
struct [[nodiscard]] Model final
|
||||
: Concept
|
||||
{
|
||||
explicit Model(std::shared_ptr<T> pimpl) noexcept
|
||||
|
@ -164,7 +164,7 @@ private:
|
|||
{
|
||||
}
|
||||
|
||||
[[nodiscard]] service::AwaitableObject<std::shared_ptr<Dog>> getDog(service::FieldParams&& params) const final
|
||||
[[nodiscard]] service::AwaitableObject<std::shared_ptr<Dog>> getDog(service::FieldParams&& params) const override
|
||||
{
|
||||
if constexpr (methods::QueryHas::getDogWithParams<T>)
|
||||
{
|
||||
|
@ -180,7 +180,7 @@ private:
|
|||
}
|
||||
}
|
||||
|
||||
[[nodiscard]] service::AwaitableObject<std::shared_ptr<Human>> getHuman(service::FieldParams&& params) const final
|
||||
[[nodiscard]] service::AwaitableObject<std::shared_ptr<Human>> getHuman(service::FieldParams&& params) const override
|
||||
{
|
||||
if constexpr (methods::QueryHas::getHumanWithParams<T>)
|
||||
{
|
||||
|
@ -196,7 +196,7 @@ private:
|
|||
}
|
||||
}
|
||||
|
||||
[[nodiscard]] service::AwaitableObject<std::shared_ptr<Pet>> getPet(service::FieldParams&& params) const final
|
||||
[[nodiscard]] service::AwaitableObject<std::shared_ptr<Pet>> getPet(service::FieldParams&& params) const override
|
||||
{
|
||||
if constexpr (methods::QueryHas::getPetWithParams<T>)
|
||||
{
|
||||
|
@ -212,7 +212,7 @@ private:
|
|||
}
|
||||
}
|
||||
|
||||
[[nodiscard]] service::AwaitableObject<std::shared_ptr<CatOrDog>> getCatOrDog(service::FieldParams&& params) const final
|
||||
[[nodiscard]] service::AwaitableObject<std::shared_ptr<CatOrDog>> getCatOrDog(service::FieldParams&& params) const override
|
||||
{
|
||||
if constexpr (methods::QueryHas::getCatOrDogWithParams<T>)
|
||||
{
|
||||
|
@ -228,7 +228,7 @@ private:
|
|||
}
|
||||
}
|
||||
|
||||
[[nodiscard]] service::AwaitableObject<std::shared_ptr<Arguments>> getArguments(service::FieldParams&& params) const final
|
||||
[[nodiscard]] service::AwaitableObject<std::shared_ptr<Arguments>> getArguments(service::FieldParams&& params) const override
|
||||
{
|
||||
if constexpr (methods::QueryHas::getArgumentsWithParams<T>)
|
||||
{
|
||||
|
@ -244,7 +244,7 @@ private:
|
|||
}
|
||||
}
|
||||
|
||||
[[nodiscard]] service::AwaitableObject<std::shared_ptr<Resource>> getResource(service::FieldParams&& params) const final
|
||||
[[nodiscard]] service::AwaitableObject<std::shared_ptr<Resource>> getResource(service::FieldParams&& params) const override
|
||||
{
|
||||
if constexpr (methods::QueryHas::getResourceWithParams<T>)
|
||||
{
|
||||
|
@ -260,7 +260,7 @@ private:
|
|||
}
|
||||
}
|
||||
|
||||
[[nodiscard]] service::AwaitableObject<std::shared_ptr<Dog>> getFindDog(service::FieldParams&& params, std::unique_ptr<ComplexInput>&& complexArg) const final
|
||||
[[nodiscard]] service::AwaitableObject<std::shared_ptr<Dog>> getFindDog(service::FieldParams&& params, std::unique_ptr<ComplexInput>&& complexArg) const override
|
||||
{
|
||||
if constexpr (methods::QueryHas::getFindDogWithParams<T>)
|
||||
{
|
||||
|
@ -276,7 +276,7 @@ private:
|
|||
}
|
||||
}
|
||||
|
||||
[[nodiscard]] service::AwaitableScalar<std::optional<bool>> getBooleanList(service::FieldParams&& params, std::optional<std::vector<bool>>&& booleanListArgArg) const final
|
||||
[[nodiscard]] service::AwaitableScalar<std::optional<bool>> getBooleanList(service::FieldParams&& params, std::optional<std::vector<bool>>&& booleanListArgArg) const override
|
||||
{
|
||||
if constexpr (methods::QueryHas::getBooleanListWithParams<T>)
|
||||
{
|
||||
|
@ -292,7 +292,7 @@ private:
|
|||
}
|
||||
}
|
||||
|
||||
void beginSelectionSet(const service::SelectionSetParams& params) const final
|
||||
void beginSelectionSet(const service::SelectionSetParams& params) const override
|
||||
{
|
||||
if constexpr (methods::QueryHas::beginSelectionSet<T>)
|
||||
{
|
||||
|
@ -300,7 +300,7 @@ private:
|
|||
}
|
||||
}
|
||||
|
||||
void endSelectionSet(const service::SelectionSetParams& params) const final
|
||||
void endSelectionSet(const service::SelectionSetParams& params) const override
|
||||
{
|
||||
if constexpr (methods::QueryHas::endSelectionSet<T>)
|
||||
{
|
||||
|
@ -317,8 +317,8 @@ private:
|
|||
[[nodiscard]] service::TypeNames getTypeNames() const noexcept;
|
||||
[[nodiscard]] service::ResolverMap getResolvers() const noexcept;
|
||||
|
||||
void beginSelectionSet(const service::SelectionSetParams& params) const final;
|
||||
void endSelectionSet(const service::SelectionSetParams& params) const final;
|
||||
void beginSelectionSet(const service::SelectionSetParams& params) const override;
|
||||
void endSelectionSet(const service::SelectionSetParams& params) const override;
|
||||
|
||||
const std::unique_ptr<const Concept> _pimpl;
|
||||
|
||||
|
|
|
@ -28,7 +28,7 @@ private:
|
|||
};
|
||||
|
||||
template <class T>
|
||||
struct [[nodiscard]] Model
|
||||
struct [[nodiscard]] Model final
|
||||
: Concept
|
||||
{
|
||||
explicit Model(std::shared_ptr<T> pimpl) noexcept
|
||||
|
@ -36,22 +36,22 @@ private:
|
|||
{
|
||||
}
|
||||
|
||||
[[nodiscard]] service::TypeNames getTypeNames() const noexcept final
|
||||
[[nodiscard]] service::TypeNames getTypeNames() const noexcept override
|
||||
{
|
||||
return _pimpl->getTypeNames();
|
||||
}
|
||||
|
||||
[[nodiscard]] service::ResolverMap getResolvers() const noexcept final
|
||||
[[nodiscard]] service::ResolverMap getResolvers() const noexcept override
|
||||
{
|
||||
return _pimpl->getResolvers();
|
||||
}
|
||||
|
||||
void beginSelectionSet(const service::SelectionSetParams& params) const final
|
||||
void beginSelectionSet(const service::SelectionSetParams& params) const override
|
||||
{
|
||||
_pimpl->beginSelectionSet(params);
|
||||
}
|
||||
|
||||
void endSelectionSet(const service::SelectionSetParams& params) const final
|
||||
void endSelectionSet(const service::SelectionSetParams& params) const override
|
||||
{
|
||||
_pimpl->endSelectionSet(params);
|
||||
}
|
||||
|
@ -62,8 +62,8 @@ private:
|
|||
|
||||
explicit Resource(std::unique_ptr<const Concept> pimpl) noexcept;
|
||||
|
||||
void beginSelectionSet(const service::SelectionSetParams& params) const final;
|
||||
void endSelectionSet(const service::SelectionSetParams& params) const final;
|
||||
void beginSelectionSet(const service::SelectionSetParams& params) const override;
|
||||
void endSelectionSet(const service::SelectionSetParams& params) const override;
|
||||
|
||||
const std::unique_ptr<const Concept> _pimpl;
|
||||
|
||||
|
|
|
@ -28,7 +28,7 @@ private:
|
|||
};
|
||||
|
||||
template <class T>
|
||||
struct [[nodiscard]] Model
|
||||
struct [[nodiscard]] Model final
|
||||
: Concept
|
||||
{
|
||||
explicit Model(std::shared_ptr<T> pimpl) noexcept
|
||||
|
@ -36,22 +36,22 @@ private:
|
|||
{
|
||||
}
|
||||
|
||||
[[nodiscard]] service::TypeNames getTypeNames() const noexcept final
|
||||
[[nodiscard]] service::TypeNames getTypeNames() const noexcept override
|
||||
{
|
||||
return _pimpl->getTypeNames();
|
||||
}
|
||||
|
||||
[[nodiscard]] service::ResolverMap getResolvers() const noexcept final
|
||||
[[nodiscard]] service::ResolverMap getResolvers() const noexcept override
|
||||
{
|
||||
return _pimpl->getResolvers();
|
||||
}
|
||||
|
||||
void beginSelectionSet(const service::SelectionSetParams& params) const final
|
||||
void beginSelectionSet(const service::SelectionSetParams& params) const override
|
||||
{
|
||||
_pimpl->beginSelectionSet(params);
|
||||
}
|
||||
|
||||
void endSelectionSet(const service::SelectionSetParams& params) const final
|
||||
void endSelectionSet(const service::SelectionSetParams& params) const override
|
||||
{
|
||||
_pimpl->endSelectionSet(params);
|
||||
}
|
||||
|
@ -62,8 +62,8 @@ private:
|
|||
|
||||
explicit Sentient(std::unique_ptr<const Concept> pimpl) noexcept;
|
||||
|
||||
void beginSelectionSet(const service::SelectionSetParams& params) const final;
|
||||
void endSelectionSet(const service::SelectionSetParams& params) const final;
|
||||
void beginSelectionSet(const service::SelectionSetParams& params) const override;
|
||||
void endSelectionSet(const service::SelectionSetParams& params) const override;
|
||||
|
||||
const std::unique_ptr<const Concept> _pimpl;
|
||||
|
||||
|
|
|
@ -72,7 +72,7 @@ private:
|
|||
};
|
||||
|
||||
template <class T>
|
||||
struct [[nodiscard]] Model
|
||||
struct [[nodiscard]] Model final
|
||||
: Concept
|
||||
{
|
||||
explicit Model(std::shared_ptr<T> pimpl) noexcept
|
||||
|
@ -80,7 +80,7 @@ private:
|
|||
{
|
||||
}
|
||||
|
||||
[[nodiscard]] service::AwaitableObject<std::shared_ptr<Message>> getNewMessage(service::FieldParams&& params) const final
|
||||
[[nodiscard]] service::AwaitableObject<std::shared_ptr<Message>> getNewMessage(service::FieldParams&& params) const override
|
||||
{
|
||||
if constexpr (methods::SubscriptionHas::getNewMessageWithParams<T>)
|
||||
{
|
||||
|
@ -96,7 +96,7 @@ private:
|
|||
}
|
||||
}
|
||||
|
||||
[[nodiscard]] service::AwaitableScalar<bool> getDisallowedSecondRootField(service::FieldParams&& params) const final
|
||||
[[nodiscard]] service::AwaitableScalar<bool> getDisallowedSecondRootField(service::FieldParams&& params) const override
|
||||
{
|
||||
if constexpr (methods::SubscriptionHas::getDisallowedSecondRootFieldWithParams<T>)
|
||||
{
|
||||
|
@ -112,7 +112,7 @@ private:
|
|||
}
|
||||
}
|
||||
|
||||
void beginSelectionSet(const service::SelectionSetParams& params) const final
|
||||
void beginSelectionSet(const service::SelectionSetParams& params) const override
|
||||
{
|
||||
if constexpr (methods::SubscriptionHas::beginSelectionSet<T>)
|
||||
{
|
||||
|
@ -120,7 +120,7 @@ private:
|
|||
}
|
||||
}
|
||||
|
||||
void endSelectionSet(const service::SelectionSetParams& params) const final
|
||||
void endSelectionSet(const service::SelectionSetParams& params) const override
|
||||
{
|
||||
if constexpr (methods::SubscriptionHas::endSelectionSet<T>)
|
||||
{
|
||||
|
@ -137,8 +137,8 @@ private:
|
|||
[[nodiscard]] service::TypeNames getTypeNames() const noexcept;
|
||||
[[nodiscard]] service::ResolverMap getResolvers() const noexcept;
|
||||
|
||||
void beginSelectionSet(const service::SelectionSetParams& params) const final;
|
||||
void endSelectionSet(const service::SelectionSetParams& params) const final;
|
||||
void beginSelectionSet(const service::SelectionSetParams& params) const override;
|
||||
void endSelectionSet(const service::SelectionSetParams& params) const override;
|
||||
|
||||
const std::unique_ptr<const Concept> _pimpl;
|
||||
|
||||
|
|
|
@ -682,7 +682,7 @@ private:
|
|||
};
|
||||
|
||||
template <class T>
|
||||
struct [[nodiscard]] Model
|
||||
struct [[nodiscard]] Model final
|
||||
: Concept
|
||||
{
|
||||
explicit Model(std::shared_ptr<T> pimpl) noexcept
|
||||
|
@ -690,22 +690,22 @@ private:
|
|||
{
|
||||
}
|
||||
|
||||
[[nodiscard]] service::TypeNames getTypeNames() const noexcept final
|
||||
[[nodiscard]] service::TypeNames getTypeNames() const noexcept override
|
||||
{
|
||||
return _pimpl->getTypeNames();
|
||||
}
|
||||
|
||||
[[nodiscard]] service::ResolverMap getResolvers() const noexcept final
|
||||
[[nodiscard]] service::ResolverMap getResolvers() const noexcept override
|
||||
{
|
||||
return _pimpl->getResolvers();
|
||||
}
|
||||
|
||||
void beginSelectionSet(const service::SelectionSetParams& params) const final
|
||||
void beginSelectionSet(const service::SelectionSetParams& params) const override
|
||||
{
|
||||
_pimpl->beginSelectionSet(params);
|
||||
}
|
||||
|
||||
void endSelectionSet(const service::SelectionSetParams& params) const final
|
||||
void endSelectionSet(const service::SelectionSetParams& params) const override
|
||||
{
|
||||
_pimpl->endSelectionSet(params);
|
||||
}
|
||||
|
@ -717,8 +717,8 @@ private:
|
|||
explicit )cpp"
|
||||
<< cppType << R"cpp((std::unique_ptr<const Concept> pimpl) noexcept;
|
||||
|
||||
void beginSelectionSet(const service::SelectionSetParams& params) const final;
|
||||
void endSelectionSet(const service::SelectionSetParams& params) const final;
|
||||
void beginSelectionSet(const service::SelectionSetParams& params) const override;
|
||||
void endSelectionSet(const service::SelectionSetParams& params) const override;
|
||||
|
||||
const std::unique_ptr<const Concept> _pimpl;
|
||||
|
||||
|
@ -910,7 +910,7 @@ private:
|
|||
headerFile << R"cpp( };
|
||||
|
||||
template <class T>
|
||||
struct [[nodiscard]] Model
|
||||
struct [[nodiscard]] Model final
|
||||
: Concept
|
||||
{
|
||||
explicit Model(std::shared_ptr<T> pimpl) noexcept
|
||||
|
@ -947,7 +947,7 @@ private:
|
|||
firstArgument = false;
|
||||
}
|
||||
|
||||
headerFile << R"cpp() const final
|
||||
headerFile << R"cpp() const override
|
||||
{
|
||||
)cpp";
|
||||
|
||||
|
@ -1043,7 +1043,7 @@ private:
|
|||
if (!_loader.isIntrospection())
|
||||
{
|
||||
headerFile << R"cpp(
|
||||
void beginSelectionSet(const service::SelectionSetParams& params) const final
|
||||
void beginSelectionSet(const service::SelectionSetParams& params) const override
|
||||
{
|
||||
if constexpr (methods::)cpp"
|
||||
<< objectType.cppType << R"cpp(Has::beginSelectionSet<T>)
|
||||
|
@ -1052,7 +1052,7 @@ private:
|
|||
}
|
||||
}
|
||||
|
||||
void endSelectionSet(const service::SelectionSetParams& params) const final
|
||||
void endSelectionSet(const service::SelectionSetParams& params) const override
|
||||
{
|
||||
if constexpr (methods::)cpp"
|
||||
<< objectType.cppType << R"cpp(Has::endSelectionSet<T>)
|
||||
|
@ -1141,8 +1141,8 @@ public:
|
|||
<< R"cpp( [[nodiscard]] service::TypeNames getTypeNames() const noexcept;
|
||||
[[nodiscard]] service::ResolverMap getResolvers() const noexcept;
|
||||
|
||||
void beginSelectionSet(const service::SelectionSetParams& params) const final;
|
||||
void endSelectionSet(const service::SelectionSetParams& params) const final;
|
||||
void beginSelectionSet(const service::SelectionSetParams& params) const override;
|
||||
void endSelectionSet(const service::SelectionSetParams& params) const override;
|
||||
|
||||
const std::unique_ptr<const Concept> _pimpl;
|
||||
|
||||
|
|
|
@ -36,7 +36,7 @@ private:
|
|||
};
|
||||
|
||||
template <class T>
|
||||
struct [[nodiscard]] Model
|
||||
struct [[nodiscard]] Model final
|
||||
: Concept
|
||||
{
|
||||
explicit Model(std::shared_ptr<T> pimpl) noexcept
|
||||
|
@ -44,27 +44,27 @@ private:
|
|||
{
|
||||
}
|
||||
|
||||
[[nodiscard]] service::AwaitableScalar<std::string> getName() const final
|
||||
[[nodiscard]] service::AwaitableScalar<std::string> getName() const override
|
||||
{
|
||||
return { _pimpl->getName() };
|
||||
}
|
||||
|
||||
[[nodiscard]] service::AwaitableScalar<std::optional<std::string>> getDescription() const final
|
||||
[[nodiscard]] service::AwaitableScalar<std::optional<std::string>> getDescription() const override
|
||||
{
|
||||
return { _pimpl->getDescription() };
|
||||
}
|
||||
|
||||
[[nodiscard]] service::AwaitableScalar<std::vector<DirectiveLocation>> getLocations() const final
|
||||
[[nodiscard]] service::AwaitableScalar<std::vector<DirectiveLocation>> getLocations() const override
|
||||
{
|
||||
return { _pimpl->getLocations() };
|
||||
}
|
||||
|
||||
[[nodiscard]] service::AwaitableObject<std::vector<std::shared_ptr<InputValue>>> getArgs() const final
|
||||
[[nodiscard]] service::AwaitableObject<std::vector<std::shared_ptr<InputValue>>> getArgs() const override
|
||||
{
|
||||
return { _pimpl->getArgs() };
|
||||
}
|
||||
|
||||
[[nodiscard]] service::AwaitableScalar<bool> getIsRepeatable() const final
|
||||
[[nodiscard]] service::AwaitableScalar<bool> getIsRepeatable() const override
|
||||
{
|
||||
return { _pimpl->getIsRepeatable() };
|
||||
}
|
||||
|
|
|
@ -34,7 +34,7 @@ private:
|
|||
};
|
||||
|
||||
template <class T>
|
||||
struct [[nodiscard]] Model
|
||||
struct [[nodiscard]] Model final
|
||||
: Concept
|
||||
{
|
||||
explicit Model(std::shared_ptr<T> pimpl) noexcept
|
||||
|
@ -42,22 +42,22 @@ private:
|
|||
{
|
||||
}
|
||||
|
||||
[[nodiscard]] service::AwaitableScalar<std::string> getName() const final
|
||||
[[nodiscard]] service::AwaitableScalar<std::string> getName() const override
|
||||
{
|
||||
return { _pimpl->getName() };
|
||||
}
|
||||
|
||||
[[nodiscard]] service::AwaitableScalar<std::optional<std::string>> getDescription() const final
|
||||
[[nodiscard]] service::AwaitableScalar<std::optional<std::string>> getDescription() const override
|
||||
{
|
||||
return { _pimpl->getDescription() };
|
||||
}
|
||||
|
||||
[[nodiscard]] service::AwaitableScalar<bool> getIsDeprecated() const final
|
||||
[[nodiscard]] service::AwaitableScalar<bool> getIsDeprecated() const override
|
||||
{
|
||||
return { _pimpl->getIsDeprecated() };
|
||||
}
|
||||
|
||||
[[nodiscard]] service::AwaitableScalar<std::optional<std::string>> getDeprecationReason() const final
|
||||
[[nodiscard]] service::AwaitableScalar<std::optional<std::string>> getDeprecationReason() const override
|
||||
{
|
||||
return { _pimpl->getDeprecationReason() };
|
||||
}
|
||||
|
|
|
@ -38,7 +38,7 @@ private:
|
|||
};
|
||||
|
||||
template <class T>
|
||||
struct [[nodiscard]] Model
|
||||
struct [[nodiscard]] Model final
|
||||
: Concept
|
||||
{
|
||||
explicit Model(std::shared_ptr<T> pimpl) noexcept
|
||||
|
@ -46,32 +46,32 @@ private:
|
|||
{
|
||||
}
|
||||
|
||||
[[nodiscard]] service::AwaitableScalar<std::string> getName() const final
|
||||
[[nodiscard]] service::AwaitableScalar<std::string> getName() const override
|
||||
{
|
||||
return { _pimpl->getName() };
|
||||
}
|
||||
|
||||
[[nodiscard]] service::AwaitableScalar<std::optional<std::string>> getDescription() const final
|
||||
[[nodiscard]] service::AwaitableScalar<std::optional<std::string>> getDescription() const override
|
||||
{
|
||||
return { _pimpl->getDescription() };
|
||||
}
|
||||
|
||||
[[nodiscard]] service::AwaitableObject<std::vector<std::shared_ptr<InputValue>>> getArgs() const final
|
||||
[[nodiscard]] service::AwaitableObject<std::vector<std::shared_ptr<InputValue>>> getArgs() const override
|
||||
{
|
||||
return { _pimpl->getArgs() };
|
||||
}
|
||||
|
||||
[[nodiscard]] service::AwaitableObject<std::shared_ptr<Type>> getType() const final
|
||||
[[nodiscard]] service::AwaitableObject<std::shared_ptr<Type>> getType() const override
|
||||
{
|
||||
return { _pimpl->getType() };
|
||||
}
|
||||
|
||||
[[nodiscard]] service::AwaitableScalar<bool> getIsDeprecated() const final
|
||||
[[nodiscard]] service::AwaitableScalar<bool> getIsDeprecated() const override
|
||||
{
|
||||
return { _pimpl->getIsDeprecated() };
|
||||
}
|
||||
|
||||
[[nodiscard]] service::AwaitableScalar<std::optional<std::string>> getDeprecationReason() const final
|
||||
[[nodiscard]] service::AwaitableScalar<std::optional<std::string>> getDeprecationReason() const override
|
||||
{
|
||||
return { _pimpl->getDeprecationReason() };
|
||||
}
|
||||
|
|
|
@ -34,7 +34,7 @@ private:
|
|||
};
|
||||
|
||||
template <class T>
|
||||
struct [[nodiscard]] Model
|
||||
struct [[nodiscard]] Model final
|
||||
: Concept
|
||||
{
|
||||
explicit Model(std::shared_ptr<T> pimpl) noexcept
|
||||
|
@ -42,22 +42,22 @@ private:
|
|||
{
|
||||
}
|
||||
|
||||
[[nodiscard]] service::AwaitableScalar<std::string> getName() const final
|
||||
[[nodiscard]] service::AwaitableScalar<std::string> getName() const override
|
||||
{
|
||||
return { _pimpl->getName() };
|
||||
}
|
||||
|
||||
[[nodiscard]] service::AwaitableScalar<std::optional<std::string>> getDescription() const final
|
||||
[[nodiscard]] service::AwaitableScalar<std::optional<std::string>> getDescription() const override
|
||||
{
|
||||
return { _pimpl->getDescription() };
|
||||
}
|
||||
|
||||
[[nodiscard]] service::AwaitableObject<std::shared_ptr<Type>> getType() const final
|
||||
[[nodiscard]] service::AwaitableObject<std::shared_ptr<Type>> getType() const override
|
||||
{
|
||||
return { _pimpl->getType() };
|
||||
}
|
||||
|
||||
[[nodiscard]] service::AwaitableScalar<std::optional<std::string>> getDefaultValue() const final
|
||||
[[nodiscard]] service::AwaitableScalar<std::optional<std::string>> getDefaultValue() const override
|
||||
{
|
||||
return { _pimpl->getDefaultValue() };
|
||||
}
|
||||
|
|
|
@ -38,7 +38,7 @@ private:
|
|||
};
|
||||
|
||||
template <class T>
|
||||
struct [[nodiscard]] Model
|
||||
struct [[nodiscard]] Model final
|
||||
: Concept
|
||||
{
|
||||
explicit Model(std::shared_ptr<T> pimpl) noexcept
|
||||
|
@ -46,32 +46,32 @@ private:
|
|||
{
|
||||
}
|
||||
|
||||
[[nodiscard]] service::AwaitableScalar<std::optional<std::string>> getDescription() const final
|
||||
[[nodiscard]] service::AwaitableScalar<std::optional<std::string>> getDescription() const override
|
||||
{
|
||||
return { _pimpl->getDescription() };
|
||||
}
|
||||
|
||||
[[nodiscard]] service::AwaitableObject<std::vector<std::shared_ptr<Type>>> getTypes() const final
|
||||
[[nodiscard]] service::AwaitableObject<std::vector<std::shared_ptr<Type>>> getTypes() const override
|
||||
{
|
||||
return { _pimpl->getTypes() };
|
||||
}
|
||||
|
||||
[[nodiscard]] service::AwaitableObject<std::shared_ptr<Type>> getQueryType() const final
|
||||
[[nodiscard]] service::AwaitableObject<std::shared_ptr<Type>> getQueryType() const override
|
||||
{
|
||||
return { _pimpl->getQueryType() };
|
||||
}
|
||||
|
||||
[[nodiscard]] service::AwaitableObject<std::shared_ptr<Type>> getMutationType() const final
|
||||
[[nodiscard]] service::AwaitableObject<std::shared_ptr<Type>> getMutationType() const override
|
||||
{
|
||||
return { _pimpl->getMutationType() };
|
||||
}
|
||||
|
||||
[[nodiscard]] service::AwaitableObject<std::shared_ptr<Type>> getSubscriptionType() const final
|
||||
[[nodiscard]] service::AwaitableObject<std::shared_ptr<Type>> getSubscriptionType() const override
|
||||
{
|
||||
return { _pimpl->getSubscriptionType() };
|
||||
}
|
||||
|
||||
[[nodiscard]] service::AwaitableObject<std::vector<std::shared_ptr<Directive>>> getDirectives() const final
|
||||
[[nodiscard]] service::AwaitableObject<std::vector<std::shared_ptr<Directive>>> getDirectives() const override
|
||||
{
|
||||
return { _pimpl->getDirectives() };
|
||||
}
|
||||
|
|
|
@ -46,7 +46,7 @@ private:
|
|||
};
|
||||
|
||||
template <class T>
|
||||
struct [[nodiscard]] Model
|
||||
struct [[nodiscard]] Model final
|
||||
: Concept
|
||||
{
|
||||
explicit Model(std::shared_ptr<T> pimpl) noexcept
|
||||
|
@ -54,52 +54,52 @@ private:
|
|||
{
|
||||
}
|
||||
|
||||
[[nodiscard]] service::AwaitableScalar<TypeKind> getKind() const final
|
||||
[[nodiscard]] service::AwaitableScalar<TypeKind> getKind() const override
|
||||
{
|
||||
return { _pimpl->getKind() };
|
||||
}
|
||||
|
||||
[[nodiscard]] service::AwaitableScalar<std::optional<std::string>> getName() const final
|
||||
[[nodiscard]] service::AwaitableScalar<std::optional<std::string>> getName() const override
|
||||
{
|
||||
return { _pimpl->getName() };
|
||||
}
|
||||
|
||||
[[nodiscard]] service::AwaitableScalar<std::optional<std::string>> getDescription() const final
|
||||
[[nodiscard]] service::AwaitableScalar<std::optional<std::string>> getDescription() const override
|
||||
{
|
||||
return { _pimpl->getDescription() };
|
||||
}
|
||||
|
||||
[[nodiscard]] service::AwaitableObject<std::optional<std::vector<std::shared_ptr<Field>>>> getFields(std::optional<bool>&& includeDeprecatedArg) const final
|
||||
[[nodiscard]] service::AwaitableObject<std::optional<std::vector<std::shared_ptr<Field>>>> getFields(std::optional<bool>&& includeDeprecatedArg) const override
|
||||
{
|
||||
return { _pimpl->getFields(std::move(includeDeprecatedArg)) };
|
||||
}
|
||||
|
||||
[[nodiscard]] service::AwaitableObject<std::optional<std::vector<std::shared_ptr<Type>>>> getInterfaces() const final
|
||||
[[nodiscard]] service::AwaitableObject<std::optional<std::vector<std::shared_ptr<Type>>>> getInterfaces() const override
|
||||
{
|
||||
return { _pimpl->getInterfaces() };
|
||||
}
|
||||
|
||||
[[nodiscard]] service::AwaitableObject<std::optional<std::vector<std::shared_ptr<Type>>>> getPossibleTypes() const final
|
||||
[[nodiscard]] service::AwaitableObject<std::optional<std::vector<std::shared_ptr<Type>>>> getPossibleTypes() const override
|
||||
{
|
||||
return { _pimpl->getPossibleTypes() };
|
||||
}
|
||||
|
||||
[[nodiscard]] service::AwaitableObject<std::optional<std::vector<std::shared_ptr<EnumValue>>>> getEnumValues(std::optional<bool>&& includeDeprecatedArg) const final
|
||||
[[nodiscard]] service::AwaitableObject<std::optional<std::vector<std::shared_ptr<EnumValue>>>> getEnumValues(std::optional<bool>&& includeDeprecatedArg) const override
|
||||
{
|
||||
return { _pimpl->getEnumValues(std::move(includeDeprecatedArg)) };
|
||||
}
|
||||
|
||||
[[nodiscard]] service::AwaitableObject<std::optional<std::vector<std::shared_ptr<InputValue>>>> getInputFields() const final
|
||||
[[nodiscard]] service::AwaitableObject<std::optional<std::vector<std::shared_ptr<InputValue>>>> getInputFields() const override
|
||||
{
|
||||
return { _pimpl->getInputFields() };
|
||||
}
|
||||
|
||||
[[nodiscard]] service::AwaitableObject<std::shared_ptr<Type>> getOfType() const final
|
||||
[[nodiscard]] service::AwaitableObject<std::shared_ptr<Type>> getOfType() const override
|
||||
{
|
||||
return { _pimpl->getOfType() };
|
||||
}
|
||||
|
||||
[[nodiscard]] service::AwaitableScalar<std::optional<std::string>> getSpecifiedByURL() const final
|
||||
[[nodiscard]] service::AwaitableScalar<std::optional<std::string>> getSpecifiedByURL() const override
|
||||
{
|
||||
return { _pimpl->getSpecifiedByURL() };
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче