Skip to content

Conversation

@joaopcm
Copy link
Member

@joaopcm joaopcm commented Oct 17, 2025

Just removing template language related aspects from templates' methods

…te tests

-  simplify template variable types to string and number only
-  remove complex fallback types and related imports
-  update create template options and template interfaces
-  remove tests for object and list variable types
-  adjust list pagination tests to verify before/after with limit
@joaopcm joaopcm requested a review from a team as a code owner October 17, 2025 19:02
@joaopcm joaopcm self-assigned this Oct 17, 2025
@joaopcm joaopcm changed the base branch from canary to preview-templates October 17, 2025 19:03
Copy link
Contributor

@cubic-dev-ai cubic-dev-ai bot left a comment

Choose a reason for hiding this comment

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

1 issue found across 3 files

Prompt for AI agents (all 1 issues)

Understand the root cause of the following 1 issues and fix them.


<file name="src/templates/templates.spec.ts">

<violation number="1" location="src/templates/templates.spec.ts:914">
This second pagination assertion still checks `firstParsedUrl.pathname`, so the test never verifies the pathname for the second list() request. Please assert against `secondParsedUrl` instead to cover the new scenario.</violation>
</file>

React with 👍 or 👎 to teach cubic. Mention @cubic-dev-ai to give feedback, ask questions, or re-run the review.

joaopcm and others added 3 commits October 17, 2025 16:14
Co-authored-by: cubic-dev-ai[bot] <191113872+cubic-dev-ai[bot]@users.noreply.github.com>
@pkg-pr-new
Copy link

pkg-pr-new bot commented Oct 17, 2025

Open in StackBlitz

npm i https://pkg.pr.new/resend/resend-node/resend@691

commit: 41ec8ee

@joaopcm joaopcm merged commit 8382413 into preview-templates Oct 17, 2025
8 checks passed
@joaopcm joaopcm deleted the chore/remove-template-language-related-items branch October 17, 2025 20:32
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.

3 participants