Skip to content

Add transform_code_block field to Data Connector (Detail) schema - #644

Merged
robertlangner-fin merged 4 commits into
mainfrom
robertlangner/dc-api-transform-code-block
Aug 28, 2026
Merged

Add transform_code_block field to Data Connector (Detail) schema#644
robertlangner-fin merged 4 commits into
mainfrom
robertlangner/dc-api-transform-code-block

Conversation

@robertlangner-fin

Copy link
Copy Markdown
Contributor

Why?

Data connectors that transform their response with a code block didn't expose that code anywhere in the API, so consumers had no way to see how the response was being transformed. This adds visibility into that step wherever a connector's full detail is returned.

How?

Adds a new optional field to the data connector detail schema containing the code block's source and language when one is configured, with matching example updates.

Generated with Claude Code

A one-member enum generates a closed union type in the SDKs, making a
future language addition breaking. Document the current value instead.
The detail presenter compacts nil values, so the field is absent rather
than null when no code block applies.
Keeps the schema identical to the developer-docs copy, whose conventions
guide requires an example on every property.
@robertlangner-fin
robertlangner-fin merged commit 96a946f into main Aug 28, 2026
3 checks passed
@robertlangner-fin
robertlangner-fin deleted the robertlangner/dc-api-transform-code-block branch August 28, 2026 13:25
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