feat(post): create post for a publication#27
feat(post): create post for a publication#27itsaakashpatel wants to merge 2 commits intoCreoWis:mainfrom
Conversation
Add publish post mutation for publish a post for a publication
|
@itsaakashpatel How did you test this? |
|
hey @itsaakashpatel is it possible for you create an example on hashnode-dairies on how can we use your hook on Frontend? |
I tested on Hashnode diaries intending to use dummy data. Should I integrate a form to gather real data from the user and then execute a mutation to save the information? |
Yes! That will be awesome. Should we create a test Hashnode account for posting? |
Yes, that would be better 👍 |
|
@atapas Once you've created the testing account, please share the details with us. Thanks! |
Sorry for the delay.. I will do it now. |
|
@itsaakashpatel here is the invitation: https://hashnode.com/teams/invite/70f6f481-5ab9-4e45-bdfe-b8ac68a9afee Here is the blog page: https://hashnode-diary.hashnode.dev/ |
Got a chance? |
I will start looking into that today and keep you updated here. Thanks! |
|
@atapas I created a new personal access token and used it to test a mutation, but it unexpectedly published an article on the host platform where I am the owner. I am now trying to figure out how to specify the host URL when publishing a post using the personal access token, but I am having trouble finding a way to do so. Thanks! |
|
@atapas I think as a contributor I will not be able to publish a post as mentioned here: https://apidocs.hashnode.com/?source=legacy-api-page#definition-UserPublicationRole |
I have made you an editor.. let me know what else you need. |
…n id, add getBlogInfo query
|
@atapas I have tested with the given Hashnode Test account. It's working. Can you please look into that? Also, I can create a new PR for https://github.com/CreoWis/hashnode-diaries with a Thanks! |
|
@atapas @MrTea7171 Can you please check when you get a chance? Thanks! |
Yes please, I was thinking of this PR to review... so why didn't respond. Is it there? |
|
@atapas I have created a pull request for creating a new post: CreoWis/hashnode-diaries#6 Please inform me when you have finished reviewing the PR. Thanks! |
Add publish post mutation for publish a post for a publication
Closes: #17