-
Notifications
You must be signed in to change notification settings - Fork 167
Add support for external_id in topic creation #263
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’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
…ic_creation Add support for external_id in topic creation
|
Ops, I forgot to assign reviewers :( @oblakeerickson |
|
@thomasrossetto awesome thank you! Looks like there is a small linting error. Not sure if you have stree locally, but you can run If not the diff looks like this And could you add a test? I think it can look similar to this tags one: So you might need to make a new fixture, and then in your expect check for the external_id in your response (I'm pretty sure its returned). |
|
@thomasrossetto just checking in if you need any help? Would love to get this in. There are just some small updates we need to make. |
|
Sorry @blake-discourse! I’ll try to get this done in the next few days 😉 |
|
I decided to take a quick look just now. Formatting looks fine now. About testing: if you provide an external ID, it doesn’t appear in the response. But I’ve implemented this API I can add a test for it if you think it’s necessary. |
blake-discourse
left a comment
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, thank you!
|
@thomasrossetto there is a new gem version now with your change https://rubygems.org/gems/discourse_api/versions/2.1.0 :) |
Hi,
According to the Discourse docs, I have added external_id to the list of supported options for topic creation.