Skip to content

feat(di): add AddKeyedDataverseClient methods, mark legacy overloads obsolete - #15

Merged
LarsBauer merged 1 commit into
mainfrom
refactor/di-keyed-methods
Jul 4, 2026
Merged

feat(di): add AddKeyedDataverseClient methods, mark legacy overloads obsolete#15
LarsBauer merged 1 commit into
mainfrom
refactor/di-keyed-methods

Conversation

@LarsBauer

Copy link
Copy Markdown
Owner

Add new AddKeyedDataverseClient() methods following .NET DI conventions
(AddKeyedSingleton, AddKeyedScoped). Mark existing AddDataverseClient()
keyed overloads as [Obsolete] with removal planned for v2.0.0.

  • Add AddKeyedDataverseClient(string key, Action)
  • Add AddKeyedDataverseClient(string key, IConfiguration)
  • Update tests to use new methods
  • Update AGENTS.md with Keyed extension method convention
  • Update README.md with new recommended pattern

Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe vibe@mistral.ai

…ads obsolete

Add new AddKeyedDataverseClient() methods following .NET DI conventions
(AddKeyedSingleton, AddKeyedScoped). Mark existing AddDataverseClient()
keyed overloads as [Obsolete] with removal planned for v2.0.0.

- Add AddKeyedDataverseClient(string key, Action<DataverseClientOptions>)
- Add AddKeyedDataverseClient(string key, IConfiguration)
- Update tests to use new methods
- Update AGENTS.md with Keyed extension method convention
- Update README.md with new recommended pattern

Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
@LarsBauer
LarsBauer merged commit 4686422 into main Jul 4, 2026
1 check passed
@LarsBauer
LarsBauer deleted the refactor/di-keyed-methods branch July 4, 2026 09:20
@github-actions github-actions Bot mentioned this pull request Jul 4, 2026
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.

1 participant