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

Allow render mode attribute to be null #9400

Merged
merged 3 commits into from
Oct 20, 2023

Conversation

chsienki
Copy link
Contributor

@chsienki chsienki commented Oct 11, 2023

Changes code gen to only emit only the user expression portion of the render mode into a #nullable restore context.

Fixes #9343

@chsienki chsienki added the area-compiler Umbrella for all compiler issues label Oct 11, 2023
@chsienki chsienki added this to the 17.8 Planning milestone Oct 11, 2023
@chsienki chsienki requested a review from a team as a code owner October 11, 2023 22:20
@chsienki
Copy link
Contributor Author

@dotnet/razor-compiler for review please

@chsienki chsienki modified the milestones: 17.8 Planning, 17.7 P3, 17.8 P3 Oct 11, 2023
@jjonescz
Copy link
Member

Should this target release/dev17.8?

@chsienki chsienki changed the base branch from main to release/dev17.8 October 12, 2023 17:54
@chsienki chsienki force-pushed the nullable_render_mode branch from 7f59655 to aea9601 Compare October 12, 2023 18:15
@chsienki
Copy link
Contributor Author

@333fred for a second review please :)

@333fred
Copy link
Member

333fred commented Oct 19, 2023

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@jaredpar jaredpar enabled auto-merge (squash) October 19, 2023 23:27
@jaredpar jaredpar merged commit 94fc3bd into dotnet:release/dev17.8 Oct 20, 2023
12 checks passed
333fred added a commit to 333fred/razor that referenced this pull request Oct 20, 2023
* upstream/main: (78 commits)
  Convert RazorSourceDocument to a SourceText + FileName (dotnet#8933)
  Allow render mode attribute to be null (dotnet#9400)
  Update dependencies from https://github.com/dotnet/arcade build 20231018.2
  Don't report that we're synchronized if the line count is wrong
  Update dependencies from https://github.com/dotnet/arcade build 20231017.7 (dotnet#9435)
  Guess what! I've got a fever, and the only prescription is more usings!
  Replace explicit richCodeNavigationEnvironment in azure-pipelines-richnav.yml
  Change constraint to require that T inherit from TagHelperCollector<T>
  Update dependencies from https://github.com/dotnet/arcade build 20231016.5
  Found a repro, made a test!
  Don't map to ranges that are invalid
  Don't run conditional tests on PRs (dotnet#9416)
  Update dependencies from https://github.com/dotnet/source-build-reference-packages build 20231010.3
  Update dependencies from https://github.com/dotnet/arcade build 20231010.4
  Don't bother looking up ever project if we know where it comes from
  Make sure we carry ProjectContext through to code action resolve
  Localized file check-in by OneLocBuild Task: Build definition ID 262: Build ID 2291545
  Return an incomplete list if the delegated server doesn't respond
  Update dependencies from https://github.com/dotnet/arcade build 20231010.4
  Update dependencies from https://github.com/dotnet/arcade build 20231010.4
  ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-compiler Umbrella for all compiler issues
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Support null @rendermode
5 participants