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
When I try to retrieve a review author with this query, I have a blank response :
{
products {
edges {
node {
reviews {
nodes {
isRestricted
author {
node {
name
isRestricted
... on User {
id
email
name
nicename
}
... on CommentAuthor {
id
email
databaseId
isRestricted
name
url
}
}
}
}
}
}
}
}
}
There are two types of author : the logged in user (User in the query) and the review author (Comment Author in the query).
The query only returns informations about the User and the mutation only allows to have a Comment Author. So, when a customer creates a review, we can't get his name..
Does anyone have a workaround ?
The text was updated successfully, but these errors were encountered:
When I try to retrieve a review author with this query, I have a blank response :
There are two types of author : the logged in user (User in the query) and the review author (Comment Author in the query).
The query only returns informations about the User and the mutation only allows to have a Comment Author. So, when a customer creates a review, we can't get his name..
Does anyone have a workaround ?
The text was updated successfully, but these errors were encountered: