[Readonly] ComponentDataFromEntity

how do you add the [Readonly] tag on ComponentDataFromEntity with the lambda expression syntax?
getting errors saying i need to add the tag but it can only be added to structs.

.WithReadOnly(someComponentDataFromEntity)

1 Like