Skip to content

ref(integrations): type IntegrationSerializer response shapes#116654

Open
cvxluo wants to merge 1 commit into
masterfrom
cvxluo/type-integrationserializer-response-shapes
Open

ref(integrations): type IntegrationSerializer response shapes#116654
cvxluo wants to merge 1 commit into
masterfrom
cvxluo/type-integrationserializer-response-shapes

Conversation

@cvxluo
Copy link
Copy Markdown
Contributor

@cvxluo cvxluo commented Jun 1, 2026

Type IntegrationSerializer, in preparation for publishing the group integration details endpoint.

@github-actions github-actions Bot added the Scope: Backend Automatically applied to PRs that change backend components label Jun 1, 2026
Co-authored-by: Claude <noreply@anthropic.com>
@cvxluo cvxluo force-pushed the cvxluo/type-integrationserializer-response-shapes branch from 64b7069 to f0f0149 Compare June 2, 2026 15:50
return data

data.update({"configOrganization": []})
return {**base}
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

i'm not sure if i can avoid some weird typing tricks here. the problem is configOrganization and createIssueConfig are both optional, but returning base directly would be returning a IntegrationSerializerResponse, which fails typing. i figure this is relatively consistent with the rest of the codebase, and we can revisit if it continues to be problematic.

@cvxluo cvxluo marked this pull request as ready for review June 2, 2026 17:31
@cvxluo cvxluo requested review from a team as code owners June 2, 2026 17:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Scope: Backend Automatically applied to PRs that change backend components

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant