Skip to content

Wr/programmatic endpoint @W-21303234@#224

Merged
shetzel merged 9 commits intomainfrom
wr/programmaticEndpoint
Mar 2, 2026
Merged

Wr/programmatic endpoint @W-21303234@#224
shetzel merged 9 commits intomainfrom
wr/programmaticEndpoint

Conversation

@WillieRuemmele
Copy link
Member

@WillieRuemmele WillieRuemmele commented Feb 24, 2026

What does this PR do?

removes SF_TEST_API env
tries api. then test.api then dev.api

What issues does this PR fix or reference?

@W-21303234@

exitCode: COMPILATION_API_EXIT_CODES.NOT_FOUND,
});
// Check if it's a 404 from our fallback function
const sfError = error as SfError;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Better to wrap than cast.

Suggested change
const sfError = error as SfError;
const sfError = SfError.wrap(error);

@shetzel
Copy link
Contributor

shetzel commented Mar 2, 2026

QA:
Tested validate, preview, and publish with prod, test, and non-permissioned orgs. Everything worked as expected. This is awesome!

@shetzel shetzel merged commit f94c4f1 into main Mar 2, 2026
15 checks passed
@shetzel shetzel deleted the wr/programmaticEndpoint branch March 2, 2026 18:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants