Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Follow-up to cleaning up obsolete types in Razor #28706

Merged
3 commits merged into from
Dec 18, 2020
Merged

Conversation

captainsafia
Copy link
Member

Part of #27529.

This PR is a follow-up to #28418. Removing all the references to RazorEngine ended up being a fair significant chunk of work so I've pulled it out of this for now.

This PR covers the things discussed during the API review:

  • Un-obsolete GetItem interface per @NTaylorMullen's recommendation here.
  • Remove references to IRazorEngineBuilder in directives in V1_x and V2_x.
  • Keep IRazorEngineBuilder extensions.
  • Do not obsolete RazorEngine. The cost of removing all the references in the V1_x and V2_x projects and in the types in favor of RazorProjectEngine turned out to be pretty high so I opted not to do this. Tracking this here in case we want to invest time in this.

@captainsafia captainsafia requested review from ajaybhargavb and a team December 17, 2020 17:01
@ghost ghost added the area-mvc Includes: MVC, Actions and Controllers, Localization, CORS, most templates label Dec 17, 2020
@ghost
Copy link

ghost commented Dec 18, 2020

Hello @captainsafia!

Because this pull request has the auto-merge label, I will be glad to assist with helping to merge this pull request once all check-in policies pass.

p.s. you can customize the way I help with merging this pull request, such as holding this pull request until a specific person approves. Simply @mention me (@msftbot) and give me an instruction to get started! Learn more here.

@captainsafia
Copy link
Member Author

Announcement: aspnet/Announcements#446

@ghost ghost merged commit 90febeb into master Dec 18, 2020
@ghost ghost deleted the obsoletion/razor-2 branch December 18, 2020 23:54
dougbu pushed a commit to dougbu/razor-compiler that referenced this pull request Nov 17, 2021
…8706)

* Follow-up to cleaning up obsolete types in Razor

* Revert "Follow-up to cleaning up obsolete types in Razor"

This reverts commit 0ccc3d647ece17efef96d5a33ed578eeb26f1fee.

* Address feedback from peer review

Commit migrated from dotnet/aspnetcore@90febebe4c12
This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-mvc Includes: MVC, Actions and Controllers, Localization, CORS, most templates
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants