File tree Expand file tree Collapse file tree 2 files changed +8
-12
lines changed
model/src/testFixtures/proto/spine/validation Expand file tree Collapse file tree 2 files changed +8
-12
lines changed Original file line number Diff line number Diff line change @@ -36,12 +36,10 @@ option java_package = "io.spine.validation";
36
36
option java_outer_classname = "GoesBadCompanionTypeProto" ;
37
37
option java_multiple_files = true ;
38
38
39
- /*
40
- Incompatible field types:
41
- 1. double, float.
42
- 2. all integers.
43
- 3. bool.
44
- */
39
+ // This file declares messages that specify a field with incompatible type as a companion.
40
+ // Incompatible field types are the following:
41
+ // 1. All numeric fields.
42
+ // 3. Boolean.
45
43
46
44
message GoesBoolCompanion {
47
45
bool companion = 1 ;
Original file line number Diff line number Diff line change @@ -36,12 +36,10 @@ option java_package = "io.spine.validation";
36
36
option java_outer_classname = "GoesBadTargetTypeProto" ;
37
37
option java_multiple_files = true ;
38
38
39
- /*
40
- Incompatible field types:
41
- 1. double, float.
42
- 2. all integers.
43
- 3. bool.
44
- */
39
+ // This file declares messages that apply `(goes)` option to fields with incompatible type.
40
+ // Incompatible field types are the following:
41
+ // 1. All numeric fields.
42
+ // 3. Boolean.
45
43
46
44
message GoesBoolTarget {
47
45
string companion = 1 ;
You can’t perform that action at this time.
0 commit comments