Skip to content

fix: Take current transaction into account for include queries. - #2803

Merged
hampuslavin merged 1 commit into
serverpod:mainfrom
hampuslavin:hl_2802_fix_includeList
Oct 2, 2024
Merged

hampuslavin merged 1 commit into
serverpod:mainfrom
hampuslavin:hl_2802_fix_includeList

Conversation

@hampuslavin

Copy link
Copy Markdown
Contributor

Description

Fixes #2802

See issue for details.

Changes

  • Passes transaction to _queryIncludedLists to ensure include calls take the current transaction into account

Pre-launch Checklist

  • I read the Contribute page and followed the process outlined there for submitting PRs.
  • This update contains only one single feature or bug fix and nothing else. (If you are submitting multiple fixes, please make multiple PRs.)
  • I read and followed the Dart Style Guide and formatted the code with dart format.
  • I listed at least one issue that this PR fixes in the description above.
  • I updated/added relevant documentation (doc comments with ///), and made sure that the documentation follows the same style as other Serverpod documentation. I checked spelling and grammar.
  • I added new tests to check the change I am making.
  • All existing and new tests are passing.
  • Any breaking changes are documented below.

@hampuslavin hampuslavin changed the title fix: take current transaction into account for include/includeList queries fix: take current transaction into account for include queries Oct 2, 2024
@hampuslavin hampuslavin changed the title fix: take current transaction into account for include queries fix: Take current transaction into account for include queries. Oct 2, 2024
@hampuslavin
hampuslavin requested review from Isakdl and SandPod October 2, 2024 14:02

@Isakdl Isakdl left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 🚀

@hampuslavin
hampuslavin merged commit 7c93ff8 into serverpod:main Oct 2, 2024
@hampuslavin
hampuslavin deleted the hl_2802_fix_includeList branch October 2, 2024 14:16
@github-actions github-actions Bot locked and limited conversation to collaborators Oct 2, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Include/IncludeList does not take current transaction into account

2 participants