-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add graphql endpoint for publishing entries #132
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great! Thanks 馃憤
I just had one question because I don't know GQL at all, but I'm happy for this to merge.
let query = r#" | ||
mutation TestPublishEntry($entryEncoded: String!, $operationEncoded: String!) { | ||
publishEntry(entryEncoded: $entryEncoded, operationEncoded: $operationEncoded) { | ||
logId, | ||
seqNum, | ||
backlink, | ||
skiplink | ||
} | ||
}"#; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is just me not knowing anything about GraphQL, but where does this TestPublishEntry
come from? Or rather, what is it?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
All of this is also new to me! We have been using the shorthand syntax so far but usually I think you give a name to requests you can make multiple requests to the same endpoint with one query.
Reopened from #128 (which was closed by buggy Github).
Closes #60
Todo
馃搵 Checklist
CHANGELOG.md