fix: Reenable ReSharper annotations, fix warnings
This commit is contained in:
@@ -52,7 +52,7 @@ public record Requisition
|
||||
|
||||
/// <summary>Gets the end-user-agreement of this requisition.</summary>
|
||||
[JsonIgnore]
|
||||
public Guid? Agreement => string.IsNullOrWhiteSpace(AgreementValue) ? null : Guid.Parse(AgreementValue);
|
||||
public Guid? Agreement => string.IsNullOrWhiteSpace(AgreementValue) ? null : Guid.Parse(AgreementValue!);
|
||||
|
||||
/// <summary>Gets or sets a two-letter country code (ISO 639-1).</summary>
|
||||
[JsonPropertyName("user_language")]
|
||||
|
||||
@@ -12,7 +12,7 @@ using VMelnalksnis.NordigenDotNet.Requisitions;
|
||||
|
||||
namespace VMelnalksnis.NordigenDotNet.Serialization;
|
||||
|
||||
/// <inheritdoc />
|
||||
/// <inheritdoc cref="JsonSerializerContext" />
|
||||
[JsonSourceGenerationOptions(GenerationMode = JsonSourceGenerationMode.Metadata, IgnoreReadOnlyProperties = true)]
|
||||
[JsonSerializable(typeof(Account))]
|
||||
[JsonSerializable(typeof(AccountDetailsWrapper))]
|
||||
|
||||
@@ -6,7 +6,7 @@ using System.Text.Json.Serialization;
|
||||
|
||||
namespace VMelnalksnis.NordigenDotNet.Tokens;
|
||||
|
||||
/// <inheritdoc />
|
||||
/// <inheritdoc cref="JsonSerializerContext" />
|
||||
[JsonSerializable(typeof(AccessToken))]
|
||||
[JsonSerializable(typeof(Token))]
|
||||
[JsonSerializable(typeof(TokenCreation))]
|
||||
|
||||
Reference in New Issue
Block a user