We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
This can be seen in the NexusMods App code for Mod.cs model, specifically for the optional Version attribute: https://github.com/Nexus-Mods/NexusMods.App/blob/727c0eecff6d2745b3e44557ee6e59f7e853a19d/src/Abstractions/NexusMods.Abstractions.Loadouts/Mods/Mod.cs#L44
The generated Version property of the ReadOnly model returns string rather than nullable string?.
Version
string
string?
public string Version => NexusMods.Abstractions.Loadouts.Mods.Mod.Version.Get(this);
The text was updated successfully, but these errors were encountered:
Implementation for optional attributes should probably be something like this:
return OptionalAttribute.TryGet(this, out var value) ? value : default;
Sorry, something went wrong.
Effort = 3
halgari
No branches or pull requests
This can be seen in the NexusMods App code for Mod.cs model, specifically for the optional Version attribute:
https://github.com/Nexus-Mods/NexusMods.App/blob/727c0eecff6d2745b3e44557ee6e59f7e853a19d/src/Abstractions/NexusMods.Abstractions.Loadouts/Mods/Mod.cs#L44
The generated
Version
property of the ReadOnly model returnsstring
rather than nullablestring?
.The text was updated successfully, but these errors were encountered: