Meme is using an owerid to the Profile store the owner id and an owner a string to the owner name. We should update the data-sync-server memeolist schema to make it a real GraphQL relationship. From:
{code} type Meme { id: ID! @isUnique ownerid: ID! photourl: String! owner: String likes: Int! comments: [Comment!]! } {code}
To:
{code} type Meme { id: ID! @isUnique photourl: String! likes: Int! owner: [Profile!]! comments: [Comment!]! } {code}
|
|