You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
case class IdentityId(userId: String, providerId: String)
case class IdentityItem (
userId:String,
providerID: String,
identityId:IdentityId)
I want to set the new initial value of identityId equal to IdentityId(userId,providerID) , This is similar to C++ initialize members of a class.
the whole code is like:
case class IdentityId(userId: String, providerId: String)
case class IdentityItem (
userId:String,
providerID: String,
identityId:IdentityId=IdentityId(userId,providerID))