The People class has a Name property that is currently throwing a warning. It is marked as non-nullable but does not have a default value.
Explore the possibility of adding the required modifier on this property and ensure it does not break any existing functionality. This approach would be preferred.
We could also use the null forgiving operator if adding required will end up breaking too many things
The
People
class has aName
property that is currently throwing a warning. It is marked as non-nullable but does not have a default value.Explore the possibility of adding the
required
modifier on this property and ensure it does not break any existing functionality. This approach would be preferred.We could also use the null forgiving operator if adding required will end up breaking too many things