Skip to content

fix: Use block syntax instead of arrow function implicit returns in generated data operation callbacks for better error diagnostics#720

Merged
kingston merged 1 commit into
mainfrom
kingston/eng-949-in-createupdate-operations-use-block-syntax-instead-of-arrow
Dec 27, 2025
Merged

fix: Use block syntax instead of arrow function implicit returns in generated data operation callbacks for better error diagnostics#720
kingston merged 1 commit into
mainfrom
kingston/eng-949-in-createupdate-operations-use-block-syntax-instead-of-arrow

Conversation

@kingston

Copy link
Copy Markdown
Collaborator

No description provided.

…enerated data operation callbacks for better error diagnostics
@vercel

vercel Bot commented Dec 26, 2025

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Review Updated (UTC)
baseplate-project-builder-web Ready Ready Preview, Comment Dec 26, 2025 9:54pm

@changeset-bot

changeset-bot Bot commented Dec 26, 2025

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: 797c3e3

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 18 packages
Name Type
@baseplate-dev/fastify-generators Patch
@baseplate-dev/project-builder-server Patch
@baseplate-dev/plugin-auth Patch
@baseplate-dev/plugin-queue Patch
@baseplate-dev/plugin-storage Patch
@baseplate-dev/create-project Patch
@baseplate-dev/project-builder-cli Patch
@baseplate-dev/project-builder-common Patch
@baseplate-dev/project-builder-test Patch
@baseplate-dev/project-builder-web Patch
@baseplate-dev/code-morph Patch
@baseplate-dev/core-generators Patch
@baseplate-dev/project-builder-lib Patch
@baseplate-dev/react-generators Patch
@baseplate-dev/sync Patch
@baseplate-dev/tools Patch
@baseplate-dev/ui-components Patch
@baseplate-dev/utils Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@coderabbitai

coderabbitai Bot commented Dec 26, 2025

Copy link
Copy Markdown

Warning

Rate limit exceeded

@kingston has exceeded the limit for the number of commits that can be reviewed per hour. Please wait 6 minutes and 13 seconds before requesting another review.

⌛ How to resolve this issue?

After the wait time has elapsed, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

🚦 How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.

Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout.

Please see our FAQ for further information.

📥 Commits

Reviewing files that changed from the base of the PR and between 6e23a6f and 797c3e3.

⛔ Files ignored due to path filters (7)
  • examples/blog-with-auth/apps/backend/baseplate/generated/src/modules/accounts/services/user.data-service.ts is excluded by !**/generated/**, !**/generated/**
  • examples/todo-with-auth0/apps/backend/baseplate/generated/src/modules/accounts/users/services/user-image.data-service.ts is excluded by !**/generated/**, !**/generated/**
  • examples/todo-with-auth0/apps/backend/baseplate/generated/src/modules/accounts/users/services/user-profile.data-service.ts is excluded by !**/generated/**, !**/generated/**
  • examples/todo-with-auth0/apps/backend/baseplate/generated/src/modules/accounts/users/services/user.data-service.ts is excluded by !**/generated/**, !**/generated/**
  • examples/todo-with-auth0/apps/backend/baseplate/generated/src/modules/todos/services/todo-item.data-service.ts is excluded by !**/generated/**, !**/generated/**
  • examples/todo-with-auth0/apps/backend/baseplate/generated/src/modules/todos/services/todo-list-share.data-service.ts is excluded by !**/generated/**, !**/generated/**
  • examples/todo-with-auth0/apps/backend/baseplate/generated/src/modules/todos/services/todo-list.data-service.ts is excluded by !**/generated/**, !**/generated/**
📒 Files selected for processing (9)
  • .changeset/block-syntax-data-operations.md
  • examples/blog-with-auth/apps/backend/src/modules/accounts/services/user.data-service.ts
  • examples/todo-with-auth0/apps/backend/src/modules/accounts/users/services/user-image.data-service.ts
  • examples/todo-with-auth0/apps/backend/src/modules/accounts/users/services/user-profile.data-service.ts
  • examples/todo-with-auth0/apps/backend/src/modules/accounts/users/services/user.data-service.ts
  • examples/todo-with-auth0/apps/backend/src/modules/todos/services/todo-item.data-service.ts
  • examples/todo-with-auth0/apps/backend/src/modules/todos/services/todo-list-share.data-service.ts
  • examples/todo-with-auth0/apps/backend/src/modules/todos/services/todo-list.data-service.ts
  • packages/fastify-generators/src/generators/prisma/_shared/build-data-helpers/generate-operation-callbacks.ts
✨ Finishing touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch kingston/eng-949-in-createupdate-operations-use-block-syntax-instead-of-arrow

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@kingston kingston merged commit 12d1e62 into main Dec 27, 2025
16 checks passed
@kingston kingston deleted the kingston/eng-949-in-createupdate-operations-use-block-syntax-instead-of-arrow branch December 27, 2025 08:31
@github-actions github-actions Bot mentioned this pull request Dec 26, 2025
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.

1 participant