Skip to content

[01372] Rename IBladeService to IBladeContext to avoid hallucinations#2901

Merged
nielsbosma merged 1 commit intomainfrom
plan-01372-Ivy-Framework
Apr 1, 2026
Merged

[01372] Rename IBladeService to IBladeContext to avoid hallucinations#2901
nielsbosma merged 1 commit intomainfrom
plan-01372-Ivy-Framework

Conversation

@nielsbosma
Copy link
Copy Markdown
Contributor

Summary

Renamed IBladeService to IBladeContext and BladeService to BladeContext across 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

  • IBladeService renamed to IBladeContext
  • BladeService renamed to BladeContext
  • Usage pattern unchanged: UseContext<IBladeContext>() (was UseContext<IBladeService>())

Files Modified

  • Core: src/Ivy/Views/Blades/UseBlades.cs, src/Ivy/Views/Blades/BladesView.cs
  • Samples: ListApp.cs, TableContainersTestApp.cs, ProductsApp.cs, CategoriesApp.cs, DepartmentsApp.cs, BladesApp.cs
  • Docs: 12_Blades.md, Hallucinations.md, 01_Program.md, 01_HookIntroduction.md
  • Release notes: src/.releases/Refactors/Upcoming/Rename-BladeService-To-BladeContext.md (new)

Commits

  • 73a3dd2 [01372] Rename IBladeService to IBladeContext

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.
@nielsbosma nielsbosma merged commit ee0ee91 into main Apr 1, 2026
9 checks passed
@nielsbosma nielsbosma deleted the plan-01372-Ivy-Framework branch April 1, 2026 09:27
@artem-ivy-ai
Copy link
Copy Markdown
Collaborator

Deploy timed out

I'm preparing your docs & samples for this PR. I'll update the comment as Sliplane reports progress.

Logs

No terminal state received from Sliplane after 30 minutes.

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