feat: validate user input for entity names

This commit is contained in:
IliaDenisov
2026-02-06 19:31:35 +03:00
parent 203d4e21c4
commit 3dd0440832
11 changed files with 304 additions and 28 deletions
+1 -1
View File
@@ -23,7 +23,7 @@ func TestCreateScience(t *testing.T) {
func TestCreateScienceValidation(t *testing.T) {
race := "race_01"
typeName := "First Step"
typeName := "First_Step"
type tc struct {
name string
d, w, s, c float64