Skip to content

Commit ee81a4a

Browse files
rainkwanaustinvalle
andcommitted
Update resource/identityschema/list_attribute.go
Co-authored-by: Austin Valle <[email protected]>
1 parent 71760d0 commit ee81a4a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

resource/identityschema/list_attribute.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ func (a ListAttribute) ValidateImplementation(_ context.Context, req fwschema.Va
167167
return
168168
}
169169

170-
if !fwtype.IsAllowedPrimitiveType(a.ElementType) {
170+
if a.CustomType == nil && !fwtype.IsAllowedPrimitiveType(a.ElementType) {
171171
resp.Diagnostics.Append(fwschema.AttributeInvalidElementTypeDiag(req.Path))
172172
}
173173
}

0 commit comments

Comments
 (0)