Hey folks, for adding a new user to datahub do we ...
# ingestion
l
Hey folks, for adding a new user to datahub do we still use the
CorpUserInfo
object that's in all the examples or do we start using
CorpUserProperties
as specified here: https://datahubproject.io/docs/graphql/objects/#corpuserproperties?
e
Hey. If you are ingesting directly into datahub, you need to use the CorpUserInfo aspect (defined in pdl). If you want to use the graphql api to ingest new user, you should use the above api! Which is basically a flattened version of the corpuser aspects
l
Ah gotcha, i was confused as to why using corpuserprops with a file recipe wasn't working. Thanks!
e
np!!
b
@lemon-hydrogen-83671 This is a consistency issue - we unfortunately have started with inconsistent properties naming at the PDL layer that is attempted to be made up for at the GraphQL layer -- hence the confusion 😞
thank you 1