Skip to content

Upgrade/cms13#42

Merged
ivanmarkovic1402 merged 18 commits into
masterfrom
upgrade/cms13
Jun 2, 2026
Merged

Upgrade/cms13#42
ivanmarkovic1402 merged 18 commits into
masterfrom
upgrade/cms13

Conversation

@ivanmarkovic1402

Copy link
Copy Markdown
Contributor

No description provided.

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Code Review

This pull request upgrades the project to support Optimizely CMS 13 and .NET 10, removing obsolete dependencies like IVirtualPathResolver and Newtonsoft.Json in favor of System.Text.Json and manual DI registration patterns. It also replaces the Alloy sandbox with a new Geta.Optimizely.GenericLinks.Web test site. Feedback on the changes highlights a potential runtime casting issue in PropertyLinkBase.cs when casting the lazy factory delegate, suggesting a safer cast to Delegate with DynamicInvoke(). Additionally, minor performance improvements are recommended in NestedLinkBlockComponent and PropertyThumbnailTestBlockComponent to avoid unnecessary async/await state machine overhead when returning completed tasks.

Comment thread src/Geta.Optimizely.GenericLinks/PropertyLinkBase.cs
Comment thread src/Geta.Optimizely.GenericLinks.Web/Components/NestedLinkBlockComponent.cs Outdated
@ivanmarkovic1402 ivanmarkovic1402 merged commit 73ec245 into master Jun 2, 2026
2 checks passed
@ivanmarkovic1402 ivanmarkovic1402 deleted the upgrade/cms13 branch June 3, 2026 10:04
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