[01372] Rename IBladeService to IBladeContext to avoid hallucinations#2901
Merged
nielsbosma merged 1 commit intomainfrom Apr 1, 2026
Merged
[01372] Rename IBladeService to IBladeContext to avoid hallucinations#2901nielsbosma merged 1 commit intomainfrom
nielsbosma merged 1 commit intomainfrom
Conversation
Rename IBladeService → IBladeContext and BladeService → BladeContext to clarify these are context services accessed via UseContext<T>(), not DI services. This eliminates LLM hallucinations of UseService.
Collaborator
Deploy timed outI'm preparing your docs & samples for this PR. I'll update the comment as Sliplane reports progress. Logs |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Renamed
IBladeServicetoIBladeContextandBladeServicetoBladeContextacross the entire Ivy Framework codebase. Updated all C# source files (interface, implementation, and all consumers), documentation markdown files, and hallucination docs. Added a refactor migration file for the Upcoming release.API Changes
IBladeServicerenamed toIBladeContextBladeServicerenamed toBladeContextUseContext<IBladeContext>()(wasUseContext<IBladeService>())Files Modified
src/Ivy/Views/Blades/UseBlades.cs,src/Ivy/Views/Blades/BladesView.csListApp.cs,TableContainersTestApp.cs,ProductsApp.cs,CategoriesApp.cs,DepartmentsApp.cs,BladesApp.cs12_Blades.md,Hallucinations.md,01_Program.md,01_HookIntroduction.mdsrc/.releases/Refactors/Upcoming/Rename-BladeService-To-BladeContext.md(new)Commits