Skip to content

Move app-specific RES configuration to rails_app#464

Merged
andrzejkrzywda merged 1 commit intoRailsEventStore:masterfrom
Kotmin:move-res-config-to-rails-app
Jan 31, 2026
Merged

Move app-specific RES configuration to rails_app#464
andrzejkrzywda merged 1 commit intoRailsEventStore:masterfrom
Kotmin:move-res-config-to-rails-app

Conversation

@Kotmin
Copy link
Contributor

@Kotmin Kotmin commented Jan 29, 2026

Summary

  • Move RefundToReturnEventMapper configuration from infra to rails_application
  • Make Infra::EventStore.main accept optional mapper: parameter
  • Expose preserve_types for apps building custom mappers

This keeps infra independent of specific applications, following proper DDD layering.

Closes #461

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@netlify
Copy link

netlify bot commented Jan 29, 2026

Deploy Preview for ecommerce-events failed. Why did it fail? →

Name Link
🔨 Latest commit 74a4bac
🔍 Latest deploy log https://app.netlify.com/projects/ecommerce-events/deploys/697b2b49ab9eb70008b111a8

@andrzejkrzywda andrzejkrzywda merged commit ded95ce into RailsEventStore:master Jan 31, 2026
31 of 35 checks passed
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.

Move application specific RES configuration to rails_app

2 participants