Skip to content

Debug() gets lost when saving with relations due to transactions. #254

Closed
@nawuko

Description

@nawuko

If we currently create a new store with .Debug() we don't get any output when saving schemas with relations since transactions take place in a newly constructed store that no longer inherits our debug proxy.

Following does occur user.Save -> user.Insert -> Store.Transaction() -> newStoreWithTransaction [at this point our debug proxy gets lost]

If i'm not mistaken its currently not possible to have .Debug() logs for anything that happens during a Store.Transaction

--
Sorry for my broken english, if you have problems to understand the issue due to the poor description feel free to ask any questions.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions