Hey guys, I wanted to ask your opinion if it makes...
# talk-kratos
a
Hey guys, I wanted to ask your opinion if it makes sense to store a friendlist in the kratos identity (Metadata or Trait) or if it makes more sense to have the application store it in its own database.
s
you will not really have a way to query it nor regular updates will be particularly fun... I don't think this makes sense beyond a very crude PoC
a
Thank you I managed to convince them that friendlists are "profile data" which is better stored elsewhere. We don't even store usernames in a trait....
s
the identity should only have the data that "identify" it, like general PII (name, contact methods, ...), an internal ID, or similar stuff
especially data you want to use for other stuff than authentication should probably not be in the identity