Closed
Description
Describe the bug
We need to address an inconsistency in our GraphQL query that retrieves author data from Hashnode's API.
- In the file
graphql.operations.ts
on lines 139 and 175, the query should be changed, we need to get: id
name
- and
username
should be added too - verify that cases are for the
author
.
- in the
post.ts
file, the author interface should be adjusted, theusarname
property needs to be added
To see the changes
- in the
post-details
component we need to changepost.author.name
topost.author.username
Browsers
Chrome
Additional context (Is this in dev or production?)
No response
I would be willing to submit a PR to fix this issue
- Yes and I have read the Contribution Guide and I agree to follow this project's Code of Conduct
- No