You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Which exact Umbraco version are you using? For example: 8.13.1 - don't just write v8
9.0.0-rc003
Bug summary
When using Nullable Reference Types in v9 the System.Diagnostics.CodeAnalysis.MaybeNull attribute seems to be inconsistently applied. It exists on the composition but not the content model itself i.e.
Specifics
Here's the generated IPageHeader
Here's the actual property on the doctype:
Steps to reproduce
Configure ModelsBuilder to use SourceCodeAuto or SourceCodeManual
Create a Composition with a nullable property value.
Apply composition to another content type.
Generate ModelsBuilder models.
Expected result / actual result
Properties on composed content types would have the same MayBeNull attribute as the compositions they implement.
The text was updated successfully, but these errors were encountered:
We're writing to let you know that we would love some help with this issue. We feel that this issue is ideal to flag for a community member to work on it. Once flagged here, folk looking for issues to work on will know to look at yours. Of course, please feel free work on this yourself ;-). If there are any changes to this status, we'll be sure to let you know.
For more information about issues and states, have a look at this blog post
Thanks muchly, from your friendly Umbraco GitHub bot :-)
Which exact Umbraco version are you using? For example: 8.13.1 - don't just write v8
9.0.0-rc003
Bug summary
When using Nullable Reference Types in v9 the
System.Diagnostics.CodeAnalysis.MaybeNull
attribute seems to be inconsistently applied. It exists on the composition but not the content model itself i.e.Specifics
Here's the generated
IPageHeader
Here's the actual property on the doctype:
Steps to reproduce
Expected result / actual result
Properties on composed content types would have the same
MayBeNull
attribute as the compositions they implement.The text was updated successfully, but these errors were encountered: