Skip to content

Disable reference nullability in migrations and model snapshot #25624

Description

@roji

Our generated migrations and model snapshot don't contain NRT code, so in some scenarios they don't compile if nullability has been enabled at the project level. Add #nullable disable in generated files to temporarily work around this issue. #18950 tracks generating proper NRT code in the future.

Activity

  1. added this to the 6.0.0 milestone on Aug 20, 2021
  2. self-assigned this
    on Aug 20, 2021
  3. added a commit that references this issue on Aug 20, 2021
    9e2600f
  4. added 2 commits that reference this issue on Aug 20, 2021
    97247ec
    89828dd
  5. linked a pull request that will close this issueDisable nullability in migrations (RC1) #25629on Aug 20, 2021
  6. ghost added a commit that references this issue on Aug 20, 2021
    247a2cf
  7. added a commit that references this issue on Aug 20, 2021
    b30d841
  8. modified the milestones: 6.0.0, on Aug 26, 2021
  9. modified the milestones: , 6.0.0 on Nov 8, 2021
  10. added theissue type on Jun 15, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions