Enable optional arguments in point-and-click Loft (#7587)

* Enable optional arguments in point-and-click Sweep
Fixes #7578

* Fix bug and add e2e test step

* Fix review not triggering bug and e2e test

* WIP: Enable optional arguments in point-and-click Loft

* Add edit flow for loft

* WIP: e2e test and fix

* Got it

* Got it v2 🤦
This commit is contained in:
Pierre Jacquier
2025-06-23 18:24:52 -04:00
committed by GitHub
parent bb3a74076f
commit dbc87292e4
5 changed files with 147 additions and 78 deletions

View File

@ -2516,9 +2516,8 @@ export const modelingMachine = setup({
return Promise.reject(new Error(NO_INPUT_PROVIDED_MESSAGE))
}
const { sketches } = input
const { ast } = kclManager
const astResult = addLoft({ ast, sketches })
const astResult = addLoft({ ast, ...input })
if (err(astResult)) {
return Promise.reject(astResult)
}