Gerardo Ruiz Gerardo Ruiz

Latest Updates

Documenting code, one commit at a time.

Enhancing LinkedIn Publishing with Error Handling and Internationalization

Introduction

Our LinkedIn publishing feature required enhancements to improve user experience and adherence to project standards. This post details the implementation of error handling for post scheduling and internationalization of new error messages.

The Challenge

  • Unique constraint violations when scheduling posts for the same day needed proper handling
  • Error messages required internationalization for consistency across languages

The Solution

We introduced a

Read more

Enhancing Multi-Tenant Capabilities and Error Handling in PostGenerator and SetTenantSchema Middleware

Introduction

Our application required enhancements to its multi-tenant capabilities and error handling mechanisms. The existing PostGenerator and SetTenantSchema middleware needed improvements for better compatibility with multi-tenant setups and to ensure visibility into issues without disrupting user experience.

Development

The enhancements involved updating the PostGenerator to include tenant checks before querying for the last used post example and permanent prompts.

Read more

Subscribe to Newsletter

Get weekly updates with new posts delivered to your inbox.