fix: update_project_metadata keeps fields absent from attrs instead of resetting them

This commit is contained in:
2026-07-17 08:57:20 +02:00
parent 505527ae4f
commit b016f6d812
5 changed files with 47 additions and 25 deletions

View File

@@ -762,7 +762,8 @@ defmodule BDS.Scripting.ApiDocs do
%{
module: "meta",
name: "update_project_metadata",
description: "Update metadata for the current project.",
description:
"Update metadata for the current project. Keys omitted from updates keep their current values.",
params: [%{name: "updates", type: "table", required: true}],
returns: "ProjectMetadata | nil"
},