From 2376211d414262c81fb2927a3fd86b1afd468553 Mon Sep 17 00:00:00 2001 From: vobradovich Date: Fri, 15 Nov 2024 15:05:58 +0100 Subject: [PATCH] set nullable disable for types --- net/src/Substrate.Gear.Client/Model/Types/Base/BaseNonZero.cs | 4 ++-- net/src/Substrate.Gear.Client/Model/Types/Primitive/H160.cs | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/net/src/Substrate.Gear.Client/Model/Types/Base/BaseNonZero.cs b/net/src/Substrate.Gear.Client/Model/Types/Base/BaseNonZero.cs index ae4db676..63f3149f 100644 --- a/net/src/Substrate.Gear.Client/Model/Types/Base/BaseNonZero.cs +++ b/net/src/Substrate.Gear.Client/Model/Types/Base/BaseNonZero.cs @@ -1,4 +1,5 @@ -using System; +#nullable disable +using System; using Substrate.NetApi.Model.Types.Base; namespace Substrate.Gear.Client.Model.Types.Base; @@ -11,7 +12,6 @@ public class BaseNonZero : BaseType /// /// >> value /// - [System.Diagnostics.CodeAnalysis.AllowNull] public T Value { get; set; } public BaseNonZero() diff --git a/net/src/Substrate.Gear.Client/Model/Types/Primitive/H160.cs b/net/src/Substrate.Gear.Client/Model/Types/Primitive/H160.cs index 49555c71..39a48ffc 100644 --- a/net/src/Substrate.Gear.Client/Model/Types/Primitive/H160.cs +++ b/net/src/Substrate.Gear.Client/Model/Types/Primitive/H160.cs @@ -1,4 +1,5 @@ -using System; +#nullable disable +using System; using Substrate.Gear.Api.Generated.Types.Base; using Substrate.NetApi.Attributes; using Substrate.NetApi.Model.Types.Base; @@ -15,7 +16,6 @@ public sealed class H160 : BaseType /// /// >> value /// - [System.Diagnostics.CodeAnalysis.AllowNull] public Arr20U8 Value { get; set; } ///