Modify FromSchema so that optional properties are actually optional

This commit is contained in:
Michael B. Gale
2026-04-30 11:54:21 +01:00
parent 91fbc51606
commit 7a6ed56219
2 changed files with 13 additions and 10 deletions
-2
View File
@@ -145,7 +145,6 @@ test("credentialToStr - hides passwords", (t) => {
const secret = "password123";
const credential = {
type: "maven_credential",
username: null,
password: secret,
url: "https://localhost",
} satisfies types.Credential;
@@ -160,7 +159,6 @@ test("credentialToStr - hides tokens", (t) => {
const secret = "password123";
const credential = {
type: "maven_credential",
username: null,
token: secret,
url: "https://localhost",
} satisfies types.Credential;