From 493cd71d17e0a0ce0cf2c17c3167911336ec822a Mon Sep 17 00:00:00 2001 From: Enciphered Date: Sun, 3 May 2026 23:53:33 +0500 Subject: [PATCH] Made the Greeting class sealed as it's not suppose to be inherited from --- Htmx.ApiDemo/Templates/Greeting.htmx.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Htmx.ApiDemo/Templates/Greeting.htmx.cs b/Htmx.ApiDemo/Templates/Greeting.htmx.cs index 0bafed9..30ce110 100644 --- a/Htmx.ApiDemo/Templates/Greeting.htmx.cs +++ b/Htmx.ApiDemo/Templates/Greeting.htmx.cs @@ -1,6 +1,6 @@ namespace Htmx.ApiDemo.Templates; -public class Greeting : GreetingBase +public sealed class Greeting : GreetingBase { private byte[] _userData = []; public required string Username { init => _userData = value.ToUtf8Bytes(); }