-
Notifications
You must be signed in to change notification settings - Fork 123
Feat/update entity adapt persisted grant db context #757
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
Changes from all commits
57fa5ce
fb31b9e
d0e8b93
9a61761
cfd79bc
7db3fc9
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| @@ -1,9 +1,7 @@ | ||||||||||
| // Copyright (c) MASA Stack All rights reserved. | ||||||||||
| // Licensed under the MIT License. See LICENSE.txt in the project root for license information. | ||||||||||
|
|
||||||||||
| namespace Masa.BuildingBlocks.Authentication.OpenIdConnect.Domain.Entities; | ||||||||||
|
|
||||||||||
| public class PersistedGrant : FullAggregateRoot<Guid, Guid> | ||||||||||
| public class PersistedGrant | ||||||||||
|
||||||||||
| public class PersistedGrant | |
| using Masa.BuildingBlocks.Ddd.Domain.Entities; | |
| public class PersistedGrant : FullAggregateRoot<Guid, Guid> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The class no longer inherits from FullAggregateRoot<Guid, Guid>. Existing EF Core entity configurations for DeviceFlowCodes configure properties like CreationTime (and use soft-delete filters), which are typically provided by the base type; removing the inheritance will break compilation (x => x.CreationTime) and/or the schema mapping. Either keep the FullAggregateRoot base class or update the entity (and all related EntityTypeConfiguration classes) to include/remove those properties consistently.