@@ -54,35 +54,38 @@ enum class [[nodiscard]] TaskState
5454 };
5555}
5656
57- struct CompleteTaskInput
57+ struct [[nodiscard]] CompleteTaskInput
5858{
5959 response::IdType id {};
6060 std::optional<TaskState> testTaskState {};
6161 std::optional<bool > isComplete {};
6262 std::optional<std::string> clientMutationId {};
6363};
6464
65- struct ThirdNestedInput
65+ struct [[nodiscard]] SecondNestedInput;
66+
67+ struct [[nodiscard]] ThirdNestedInput
6668{
6769 response::IdType id {};
70+ std::unique_ptr<SecondNestedInput> second {};
6871};
6972
70- struct FourthNestedInput
73+ struct [[nodiscard]] FourthNestedInput
7174{
7275 response::IdType id {};
7376};
7477
75- struct IncludeNullableSelfInput
78+ struct [[nodiscard]] IncludeNullableSelfInput
7679{
7780 std::unique_ptr<IncludeNullableSelfInput> self {};
7881};
7982
80- struct IncludeNonNullableListSelfInput
83+ struct [[nodiscard]] IncludeNonNullableListSelfInput
8184{
8285 std::vector<IncludeNonNullableListSelfInput> selves {};
8386};
8487
85- struct StringOperationFilterInput
88+ struct [[nodiscard]] StringOperationFilterInput
8689{
8790 std::optional<std::vector<StringOperationFilterInput>> and_ {};
8891 std::optional<std::vector<StringOperationFilterInput>> or_ {};
@@ -104,13 +107,13 @@ struct SecondNestedInput
104107 ThirdNestedInput third {};
105108};
106109
107- struct ForwardDeclaredInput
110+ struct [[nodiscard]] ForwardDeclaredInput
108111{
109112 std::unique_ptr<IncludeNullableSelfInput> nullableSelf {};
110113 IncludeNonNullableListSelfInput listSelves {};
111114};
112115
113- struct FirstNestedInput
116+ struct [[nodiscard]] FirstNestedInput
114117{
115118 response::IdType id {};
116119 SecondNestedInput second {};
0 commit comments