We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9eb4a95 commit 1ec1b74Copy full SHA for 1ec1b74
nullable.go
@@ -117,8 +117,8 @@ func (t *NullableAttr[T]) SetUnspecified() {
117
*t = map[bool]T{}
118
}
119
120
-// NewNullableAttrWithValue is a convenience helper to allow constructing a
121
-// NullableAttr with a given value, for instance to construct a field inside a
+// NewNullableRelationshipWithValue is a convenience helper to allow constructing a
+// NullableRelationship with a given value, for instance to construct a field inside a
122
// struct without introducing an intermediate variable.
123
func NewNullableRelationshipWithValue[T any](t T) NullableRelationship[T] {
124
var n NullableRelationship[T]
0 commit comments