Remove coredata.MembershipProfile MemerhipID field

Signed-off-by: Émile Ré <emile@getprobo.com>
This commit is contained in:
Émile Ré
2026-02-12 14:17:39 +04:00
parent afd92fd938
commit 108e9cb85d
8 changed files with 32 additions and 142 deletions

View File

@@ -192,7 +192,7 @@ type MembershipProfile implements Node {
identity: Identity @goField(forceResolver: true)
organization: Organization @goField(forceResolver: true)
# TODO: remove when memberships are under profile
# FIXME: remove when memberships are under profile
membershipId: ID!
permission(action: String!): Boolean!

View File

@@ -2719,7 +2719,7 @@ type MembershipProfile implements Node {
identity: Identity @goField(forceResolver: true)
organization: Organization @goField(forceResolver: true)
# TODO: remove when memberships are under profile
# FIXME: remove when memberships are under profile
membershipId: ID!
permission(action: String!): Boolean!

View File

@@ -27,7 +27,6 @@ func NewMembershipProfile(profile *coredata.MembershipProfile) *MembershipProfil
ContractEndDate: profile.ContractEndDate,
CreatedAt: profile.CreatedAt,
UpdatedAt: profile.UpdatedAt,
MembershipID: profile.MembershipID,
Identity: &Identity{
ID: profile.IdentityID,
},