-
Notifications
You must be signed in to change notification settings - Fork 3.2k
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
Store check constraints in the snapshot as Fluent API #15676
Comments
@Muppets This is something that was missed in your PR. Would you consider sending a PR to rectify this? |
@ajcvickers Sure thing. Are you able to provide some more details on it? Still learning my way around the code base. Any good examples where we do this already? |
@Muppets You'd have to modify Note there's already a disabled test for this - |
@AndriySvyryd Raised a PR for that change. For this change, I just added a method to get check constraints by table and schema. Moving a check constraint annotations dictionary to each entity type sounds like a good plan. I can probably rework that since I've had my fingers in it recently. Want me to raise a separate issue for it? |
@AndriySvyryd Just to check I've got the scenario correct for the duplicate checks. I've added this test which adds a check constraint on a derived type. Right now, this fails as the current code generates duplicate HasCheckConstraint calls. Is this correct? I'll start the work to refactoring check constraint annotations to be stored on the entity. I'll ping you if I have any questions. |
No description provided.
The text was updated successfully, but these errors were encountered: