Skip to content

Feature/dev#3

Merged
aromanov91 merged 3 commits intomainfrom
feature/dev
Mar 9, 2026
Merged

Feature/dev#3
aromanov91 merged 3 commits intomainfrom
feature/dev

Conversation

@aromanov91
Copy link
Copy Markdown
Contributor

No description provided.

@aromanov91 aromanov91 merged commit 4cc1bc1 into main Mar 9, 2026
3 checks passed
@aromanov91 aromanov91 deleted the feature/dev branch March 9, 2026 19:05
Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector bot left a comment

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: d8bb3e824f

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".


@MainActor
static func buildCached(
cacheKey: String = String(describing: Self.self),
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P1 Badge Derive default cache key from input identity

The new buildCached API uses String(describing: Self.self) as its default cache key, so every invocation of the same module type shares one ViewState regardless of input. In modules where state is initialized from input (for example ProductDetailViewState.init(input:) sets the product ID), opening the module for a different entity will silently reuse stale state and ignore the new input because getOrCreate never runs the factory again once the key is populated.

Useful? React with 👍 / 👎.

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.

1 participant