Skip to content

Conversation

such
Copy link

@such such commented Feb 11, 2020

Q A
Bug fix? no
New feature? no
BC breaks? no
Need Doc update no

Describe your change

This gives access to the Algolia request (including the taskID) when using the Rails API (eg object.index!).

What problem is this fixing?

This is useful when we want to check the status of a task after indexing an object and when the synchronous API is not suitable to our needs.

@chloelbn
Copy link
Contributor

chloelbn commented Feb 11, 2020

Hi @such, thanks for your PR! May I ask you to add some tests along with your changes?

Have a good day!

@Haroenv
Copy link

Haroenv commented Sep 6, 2021

Thanks for your PR, sorry that we have taken a long time to respond. In the mean time the branches have gotten quite out of date, so we couldn't just merge as-is.

However I do understand why you'd want to retrieve the resulting tasks. To be consistent, we'd want to return that with all ! methods though, do you think you could make the change?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

8 participants