Skip to content

Snapshot should preserve the property CLR type when value conversion is used #12212

Closed

Description

@AndriySvyryd

If the value converted changes the CLR type and no explicit column type has been set then the snapshot should store the model CLR type as the mapping for the provider CLR type might be different.

See PomeloFoundation/Pomelo.EntityFrameworkCore.MySql#580

Activity

  1. added this to the milestone on Jun 6, 2018
  2. changed the title [-]Snapshot should store column type when value conversion is used[/-] [+]Snapshot should preserve the property CLR type when value conversion is used[/+] on Jun 6, 2018
  3. ajcvickers commented on Jun 6, 2018

    @ajcvickers
    Contributor

    Rather than setting the column type explicitly, which is very provider-specific, we should preserve the property CLR type even when there is a conversion without hints.

  4. modified the milestones: , on Sep 11, 2018
  5. modified the milestones: , 2.2.0, 3.0.0 on Oct 15, 2018
  6. 5 remaining items

  7. self-assigned this
    on Feb 25, 2019
  8. self-assigned this
    on Jun 16, 2019
  9. added a commit that references this issue on Jul 6, 2019
    1777f04
  10. added a commit that references this issue on Jul 7, 2019
    e454071
  11. modified the milestones: 3.0.0, on Jul 29, 2019
  12. modified the milestones: , 3.0.0 on Nov 11, 2019
  13. removed their assignment
    on Sep 1, 2024
  14. 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

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions