Skip to content

Conversation

@sergey-tihon
Copy link
Member

@sergey-tihon sergey-tihon commented Jan 3, 2026

fixes #260

Copilot AI review requested due to automatic review settings January 3, 2026 09:02
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR enhances the cache key generation for both SwaggerClientProvider and OpenApiClientProvider to include TypeProviderConfig information, ensuring proper cache differentiation between different Target Framework Moniker (TFM) builds.

  • Adds cfg.RuntimeAssembly, cfg.ResolutionFolder, and cfg.SystemRuntimeAssemblyVersion to cache keys
  • Follows the same approach used by FSharp.Data for TFM differentiation
  • Reformats cache key tuples for better readability

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
src/SwaggerProvider.DesignTime/Provider.SwaggerClient.fs Updates cache key to include TP config properties for TFM differentiation in SwaggerClientProvider
src/SwaggerProvider.DesignTime/Provider.OpenApiClient.fs Updates cache key to include TP config properties for TFM differentiation in OpenApiClientProvider

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@sergey-tihon sergey-tihon merged commit d109be0 into master Jan 3, 2026
7 checks passed
@sergey-tihon sergey-tihon deleted the feature/caching-key branch January 3, 2026 09:08
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.

A temp dll already in use?

2 participants