Skip to content

Commit

Permalink
set nullable disable for types
Browse files Browse the repository at this point in the history
  • Loading branch information
vobradovich committed Nov 15, 2024
1 parent bc651a6 commit 2376211
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions net/src/Substrate.Gear.Client/Model/Types/Base/BaseNonZero.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
using System;
#nullable disable
using System;
using Substrate.NetApi.Model.Types.Base;

namespace Substrate.Gear.Client.Model.Types.Base;
Expand All @@ -11,7 +12,6 @@ public class BaseNonZero<T> : BaseType
/// <summary>
/// >> value
/// </summary>
[System.Diagnostics.CodeAnalysis.AllowNull]
public T Value { get; set; }

public BaseNonZero()
Expand Down
4 changes: 2 additions & 2 deletions net/src/Substrate.Gear.Client/Model/Types/Primitive/H160.cs
Original file line number Diff line number Diff line change
@@ -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;
Expand All @@ -15,7 +16,6 @@ public sealed class H160 : BaseType
/// <summary>
/// >> value
/// </summary>
[System.Diagnostics.CodeAnalysis.AllowNull]
public Arr20U8 Value { get; set; }

/// <inheritdoc/>
Expand Down

0 comments on commit 2376211

Please sign in to comment.