Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CS8618: Non-nullable field is uninitialized. Consider declaring as nullable. #174

Closed
github-actions bot opened this issue Sep 5, 2023 · 0 comments · Fixed by #217
Closed

CS8618: Non-nullable field is uninitialized. Consider declaring as nullable. #174

github-actions bot opened this issue Sep 5, 2023 · 0 comments · Fixed by #217
Labels
help wanted Extra attention is needed todo

Comments

@github-actions
Copy link
Contributor

github-actions bot commented Sep 5, 2023

#pragma warning disable CS8618 // Non-nullable field must contain a non-null value when exiting constructor. Consider declaring as nullable.

https://api.github.com/FritzAndFriends/TagzApp/blob/187a5b44e196cb990a19355a36adf998d3987b76/src/TagzApp.Common/Models/Content.cs#L18

	/// <summary>
	///   Id provided by the provider for this content
	/// </summary>
	// TODO: CS8618: Non-nullable field is uninitialized. Consider declaring as nullable.
#pragma warning disable CS8618 // Non-nullable field must contain a non-null value when exiting constructor. Consider declaring as nullable.
	public string ProviderId { get; set; }
#pragma warning restore CS8618 // Non-nullable field must contain a non-null value when exiting constructor. Consider declaring as nullable.

	public string HashtagSought { get; set; } = string.Empty;
@github-actions github-actions bot added help wanted Extra attention is needed todo labels Sep 5, 2023
csharpfritz added a commit to csharpfritz/TagzApp that referenced this issue Sep 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed todo
Projects
None yet
Development

Successfully merging a pull request may close this issue.

0 participants