chore: align Events and Automations APIs with latest OpenAPI spec#99
Merged
chore: align Events and Automations APIs with latest OpenAPI spec#99
Conversation
- Rename connections field from edges to connections (wire-level fix) - Fix AutomationEdge connection type JSON property from edge_type to type - Add missing key field to AutomationStep and AutomationRunStep response models - Make started_at nullable on AutomationRun, AutomationRunSummary, AutomationRunStep - Make updated_at nullable on EventResource - Return ResendResponse<Guid> from EventUpdateAsync instead of empty response - Add EventDeleteResult and return it from EventDeleteAsync
There was a problem hiding this comment.
1 issue found across 16 files
Confidence score: 3/5
- There is a concrete compatibility risk in
src/Resend/Automation.cs: renaming publicEdgestoConnectionscan break existing SDK consumers at compile time. - I’m scoring this as moderate merge risk because the issue is user-facing and reasonably high confidence (6/10 severity, 8/10 confidence), even though it appears narrowly scoped to one API surface.
- Pay close attention to
src/Resend/Automation.cs- preserve backward compatibility by adding a deprecatedEdgesalias that forwards toConnections.
Prompt for AI agents (unresolved issues)
Check if these issues are valid — if so, understand the root cause of each and fix them. If appropriate, use sub-agents to investigate and fix each issue separately.
<file name="src/Resend/Automation.cs">
<violation number="1" location="src/Resend/Automation.cs:58">
P2: Renaming the public `Edges` property to `Connections` is a breaking SDK API change for existing consumers. Keep a deprecated `Edges` alias that forwards to `Connections` to preserve compatibility.</violation>
</file>
Reply with feedback, questions, or to request a fix. Tag @cubic-dev-ai to re-run a review.
zenorocha
approved these changes
Apr 10, 2026
This was referenced Apr 13, 2026
Open
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary by cubic
Align Events and Automations APIs with the latest OpenAPI spec to fix wire-level fields and return more useful responses. This includes renaming graph fields, making some timestamps nullable, and returning typed results for event update/delete.
Written for commit c27e436. Summary will update on new commits.