Skip to content

[FIXED] False positives on cyclic import maps with subject mappings.#5755

Merged
derekcollison merged 1 commit intomainfrom
issue-5752
Aug 5, 2024
Merged

[FIXED] False positives on cyclic import maps with subject mappings.#5755
derekcollison merged 1 commit intomainfrom
issue-5752

Conversation

@derekcollison
Copy link
Copy Markdown
Member

When checking for import cycles, only need to check 'from', not the 'to' which could lead to false positives.
However we need to pre-transform the 'from' token in case it contains transform directives, e.g. $1, {{}}.

Signed-off-by: Derek Collison derek@nats.io

…to' which could lead to false positives.

However we need to pre-transform the 'from' token in case it contains transform direcrives, e.g. $1, {{}}.

Signed-off-by: Derek Collison <derek@nats.io>
@derekcollison derekcollison requested a review from a team as a code owner August 5, 2024 21:59
Copy link
Copy Markdown
Member

@neilalexander neilalexander left a comment

Choose a reason for hiding this comment

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

LGTM

@derekcollison derekcollison merged commit 766f13a into main Aug 5, 2024
@derekcollison derekcollison deleted the issue-5752 branch August 5, 2024 22:38
neilalexander added a commit that referenced this pull request Aug 6, 2024
Includes the following:

- #5690
- #5725
- #5729
- #5734
- #5735
- #5736
- #5743
- #5744
- #5751
- #5755
- #5754
- #5732
- #5750
- #5756

The following were reverted before this PR:
- #5602

Signed-off-by: Neil Twigg <neil@nats.io>
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