Skip to content

Commit

Permalink
docs: fix Rhai relative links (#4298)
Browse files Browse the repository at this point in the history
Fixes broken links on
https://www.apollographql.com/docs/router/customizations/native/

Co-authored-by: Geoffroy Couprie <[email protected]>
  • Loading branch information
Meschreiber and Geal authored Dec 5, 2023
1 parent 433bf2b commit c75319f
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion docs/shared/elastic-notice.mdx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<Note>

The Apollo Router source code and all its distributions are made available under the [Elastic License v2.0 (ELv2) license](/resources/elastic-license-v2-faq/).
The Apollo Router source code and all its distributions are made available under the [Elastic License v2.0 (ELv2) license](https://www.apollographql.com/docs/resources/elastic-license-v2-faq/#can-i-extend-or-modify-the-gateway-or-router-by-creating-plugins).

</Note>
2 changes: 1 addition & 1 deletion docs/shared/native-plugin-notice.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@
- Native plugins require familiarity with programming in Rust.
- Native plugins require compiling a custom router binary from source, which can introduce unexpected behavior in your router that's difficult to diagnose and support.

Instead, for most router customizations, Apollo recommends creating either a [Rhai script](/customizations/rhai/) or an [external coprocessor](/customizations/coprocessor/). Both of these customizations are supported by Apollo and provide strong separation of concerns and fault isolation.
Instead, for most router customizations, Apollo recommends creating either a [Rhai script](https://www.apollographql.com/docs/router/customizations/rhai/) or an [external coprocessor](https://www.apollographql.com/docs/router/customizations/coprocessor). Both of these customizations are supported by Apollo and provide strong separation of concerns and fault isolation.

If you must create a native plugin, please [open a GitHub issue](https://github.com/apollographql/router/issues), and Apollo can investigate adding the custom capability to the stock router binary.
4 changes: 2 additions & 2 deletions docs/source/customizations/native.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -295,8 +295,8 @@ There is no sequencing for plugin registration, and registrations might even exe

Within a given service (router, subgraph, etc.), a _request_ is handled in the following order:

* [Rhai script](../rhai)
* [External coprocessor](../coprocessor)
* [Rhai script](./rhai)
* [External coprocessor](./coprocessor)
* Rust plugins, in the same order they're declared in your [YAML configuration file](../configuration/overview/#yaml-config-file).

The corresponding _response_ is handled in the opposite order.
Expand Down

0 comments on commit c75319f

Please sign in to comment.