Skip to content
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

feat: add options parameter to controller functions containing a query #753

Conversation

cyrng
Copy link
Contributor

@cyrng cyrng commented Oct 16, 2024

What does this PR do ?

This PR add missing options parameter to controller methods that include a query so the option allows to use trigger event.

How should this be manually tested?

  • Step 1 :
  • Step 2 :
  • Step 3 :

Other changes

Boyscout

@cyrng cyrng self-assigned this Oct 16, 2024
@@ -505,7 +510,7 @@ export class AuthController extends BaseController {
{
action: "logout",
cookieAuth: this.kuzzle.cookieAuthentication,
...options
...options,
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Are you sure you expands the options in the right object?

cyrng and others added 2 commits October 16, 2024 16:56
…ore-acces-a-un-param-option-ce-qui-empeche-dutiliser-loption-allow-trigger-events
@cyrng cyrng marked this pull request as ready for review November 5, 2024 09:44
@rolljee rolljee merged commit 35791f2 into 7-dev Nov 5, 2024
7 checks passed
@rolljee rolljee deleted the KZLPRD-618-certaines-fonctions-nont-pas-encore-acces-a-un-param-option-ce-qui-empeche-dutiliser-loption-allow-trigger-events branch November 5, 2024 09:46
@kuzzle
Copy link
Contributor

kuzzle commented Nov 5, 2024

🎉 This PR is included in version 7.14.0-beta.1 🎉

The release is available on:

Your semantic-release bot 📦🚀

@kuzzle
Copy link
Contributor

kuzzle commented Nov 5, 2024

🎉 This PR is included in version 7.14.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

@kuzzle kuzzle added the released label Nov 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants