Skip to content

Conversation

@jamadam
Copy link
Contributor

@jamadam jamadam commented Apr 3, 2025

Using D::OD::Driver::Cache::RAM for Recipe breaks a test at https://github.com/sixapart/data-objectdriver/blob/0.23/t/02-basic.t#L205

Without cache, after $obj->replace is failed, Recipe->lookup gets original columns from DB. However, with RAM cache, It gets the new columns despite the failure because RAM cache stores a reference to the original object.

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.

2 participants