-
Notifications
You must be signed in to change notification settings - Fork 63
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix for handling of target properties in imported files accessed through reactor class inheritance #2340
Conversation
WalkthroughThe recent changes improve the handling of resources within the Changes
Sequence Diagram(s)sequenceDiagram
participant User
participant GeneratorBase
participant GeneratorUtils
participant Reactor
User->>GeneratorBase: Initiate resource processing
GeneratorBase->>GeneratorUtils: Call getResources()
GeneratorUtils->>GeneratorUtils: Fetch resources as Set
GeneratorUtils-->>GeneratorBase: Return Set<Resource>
GeneratorBase->>GeneratorUtils: Call transformConflictingConnectionsInModalReactors(Set<Resource>)
GeneratorUtils->>GeneratorBase: Process resources
GeneratorBase->>GeneratorUtils: Call addInheritedResources(Reactor, Set<Resource>)
GeneratorUtils->>Reactor: Fetch inherited resources
Reactor-->>GeneratorUtils: Return inherited resources
GeneratorUtils-->>GeneratorBase: Updated resource Set
GeneratorBase-->>User: Resource processing completed
Tip Early access features: enabledWe are currently testing the following features in early access:
Note:
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (invoked as PR comments)
Additionally, you can add CodeRabbit Configration File (
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good!
Fixes #2286.
Summary by CodeRabbit
New Features
ImportedCMakeInclude.lf
to support importing and extending reactor definitions with a timeout mechanism.Improvements
List
toSet
, ensuring unique resources and improving efficiency inGeneratorBase
andGeneratorUtils
.