-
Notifications
You must be signed in to change notification settings - Fork 2.8k
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
add fuzzy match search example to custom query docs #1555
add fuzzy match search example to custom query docs #1555
Conversation
Beep boop! 🤖 Hey @nathanwaters, thanks for your PR! One of my human friends will review this PR and get back to you as soon as possible. 🕐 Stay awesome! 😎 |
Review app for commit 9362151 deployed to Heroku: https://hge-ci-pull-1555.herokuapp.com |
Review app https://hge-ci-pull-1555.herokuapp.com is deleted |
Beep boop! 🤖 Whoa! 🎉 🎉 💃 Awesome work @nathanwaters! 💪 🏆 All of us at Hasura ❤️ what you did. Thanks again 🤗 |
Review app for commit 526f5a9 deployed to Heroku: https://hge-ci-pull-1555.herokuapp.com |
This PR adds support for configuring and handling response headers for pre-route plugins. ### What Added support for response header configuration in lifecycle plugin hooks, enabling: - Header forwarding from plugin responses - Custom header injection ### How 1. Added response configuration support: - New `response` field in plugin hook config structures - Updated JSON schemas in both MBS and OpenDD 2. Implemented response handling: - Modified `PreRoutePluginResponse` to include headers - Added header processing in plugin execution flow Example configuration: ```yaml kind: LifecyclePluginHook version: v1 definition: pre: route name: restified_endpoints url: value: http://localhost:5001/restified config: match: "/v1/api/rest/*" matchMethods: ["GET", "POST"] request: method: POST headers: forward: - Authorization additional: hasura-m-auth: value: "your-strong-m-auth-key" rawRequest: path: {} query: {} method: {} body: {} response: headers: forward: - content-type - x-request-id additional: x-processed-by: value: "restified-plugin" ``` V3_GIT_ORIGIN_REV_ID: d994c1070bc37ab796b0512dd20c5c4135712441
Description
Fuzzy match search example added to custom SQL functions docs.
What component does this PR affect?
Requires changes from other components? If yes, please mark the components:
Related Issue
Solution and Design
Type
Checklist: