Skip to content

Refactor: Fix serializer circular dependency#10093

Merged
AlexeyGirin merged 1 commit into
fix-sequence-view-circ-depfrom
fix-serializer-circular-dependency
May 21, 2026
Merged

Refactor: Fix serializer circular dependency#10093
AlexeyGirin merged 1 commit into
fix-sequence-view-circ-depfrom
fix-serializer-circular-dependency

Conversation

@MariiaNebesnova
Copy link
Copy Markdown
Collaborator

Original cycle: src/domain/serializers/index.ts -> src/domain/serializers/ket/index.ts -> src/domain/serializers/ket/ketSerializer.ts -> src/domain/entities/DrawingEntitiesManager.ts -> src/domain/serializers/index.ts

Fix: replace barrel import with direct imports

Check list

  • unit-tests written
  • e2e-tests written
  • documentation updated
  • PR name follows the pattern #1234 – issue name
  • branch name doesn't contain '#'
  • PR is linked with the issue
  • base branch (master or release/xx) is correct
  • task status changed to "Code review"
  • reviewers are notified about the pull request

@auto-assign auto-assign Bot requested a review from rrodionov91 May 20, 2026 09:42
@AlexeyGirin AlexeyGirin changed the base branch from master to fix-sequence-view-circ-dep May 20, 2026 13:03
@AlexeyGirin AlexeyGirin merged commit 16cfd2b into fix-sequence-view-circ-dep May 21, 2026
14 of 15 checks passed
@AlexeyGirin AlexeyGirin deleted the fix-serializer-circular-dependency branch May 21, 2026 12:13
AlexeyGirin added a commit that referenced this pull request May 21, 2026
* break SnakeLayotModel cycles

* fix few barrel dependencies cycles

* fix few barrel dependencies cycles

* fix editor barrel imports

* break circular deps: file extraction, barrel bypass, class co-location

* break circular deps: file extraction, barrel bypass, class co-location

* break circular deps: file extraction, barrel bypass, class co-location

* break SequenceRenderer circular deps

* break serializer circular dependency (#10093)

* Merge fix-circular-dependencies-10: resolve conflicts, fix RGroupAttachmentPoint TS type error

Agent-Logs-Url: https://github.com/epam/ketcher/sessions/163e39f7-0c9b-4473-a9f0-9b0ab50ff6e4

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: AlexeyGirin <26869421+AlexeyGirin@users.noreply.github.com>
AlexeyGirin added a commit that referenced this pull request May 21, 2026
* break SequenceRenderer cycle

* brake ketSerializer cycles

* break ketSerializer cycles

* break ketSerializer cycles

* Revert "break SequenceRenderer cycle"

This reverts commit 6d9bc2f.

* break ketSerializer cycles

* Reapply "break SequenceRenderer cycle"

This reverts commit ad6c992.

* break SnakeMode circular dependencies

* break monomerFactory circular dependencies

* break monomerFactory circular dependencies

* break monomerFactory circular dependencies

* Refactor: break SnakeLayoutModel circular dependencies (#10056)

* break SnakeLayotModel cycles

* Refactor: fix barrel imports circular dependencies (#10058)

* fix few barrel dependencies cycles

* fix few barrel dependencies cycles

* Refactor: fix editor barrel imports (#10078)

* fix editor barrel imports

* Refactor: Break 4 circular dependencies (#10079)

* break circular deps: file extraction, barrel bypass, class co-location

* break circular deps: file extraction, barrel bypass, class co-location

* break circular deps: file extraction, barrel bypass, class co-location

* break RGRoupAttachmentPoint circular dep

* break RGRoupAttachmentPoint circular dep

* Refactor: fix SequenceRenderer circular deps (#10088)

* break SnakeLayotModel cycles

* fix few barrel dependencies cycles

* fix few barrel dependencies cycles

* fix editor barrel imports

* break circular deps: file extraction, barrel bypass, class co-location

* break circular deps: file extraction, barrel bypass, class co-location

* break circular deps: file extraction, barrel bypass, class co-location

* break SequenceRenderer circular deps

* break serializer circular dependency (#10093)

* Merge fix-circular-dependencies-10: resolve conflicts, fix RGroupAttachmentPoint TS type error

Agent-Logs-Url: https://github.com/epam/ketcher/sessions/163e39f7-0c9b-4473-a9f0-9b0ab50ff6e4

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: AlexeyGirin <26869421+AlexeyGirin@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: AlexeyGirin <26869421+AlexeyGirin@users.noreply.github.com>
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.

3 participants