Skip to content

Commit

Permalink
Use GitHub permalinks for Adapter docs. (#501)
Browse files Browse the repository at this point in the history
  • Loading branch information
obi1kenobi authored Oct 22, 2023
1 parent 6e30499 commit ae88d73
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions trustfall_core/src/interpreter/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -515,8 +515,8 @@ pub trait Adapter<'vertex> {
/// - Any parameters the edge requires per the schema have values provided.
///
/// [playground]: https://play.predr.ag/hackernews#?f=2&q=*3-Get-the-HackerNews-item-URLs-of-the-items*l*3-currently-on-the-front-page.*lquery---0FrontPage---2url-*o*l--_0*J*l*J&v=--0*l*J
/// [schema]: https://github.com/obi1kenobi/trustfall/blob/main/trustfall/examples/hackernews/hackernews.graphql#L35
/// [method]: https://github.com/obi1kenobi/trustfall/blob/main/trustfall/examples/hackernews/adapter.rs#L127-L133
/// [schema]: https://github.com/obi1kenobi/trustfall/blob/722f5fa6263a85ba0f376b2a5942d5a6ec17926d/trustfall/examples/hackernews/hackernews.graphql#L35
/// [method]: https://github.com/obi1kenobi/trustfall/blob/722f5fa6263a85ba0f376b2a5942d5a6ec17926d/trustfall/examples/hackernews/adapter.rs#L128-L134
fn resolve_starting_vertices(
&self,
edge_name: &Arc<str>,
Expand Down Expand Up @@ -578,9 +578,9 @@ pub trait Adapter<'vertex> {
/// - When a context's active vertex is `None`, its property value is [`FieldValue::Null`].
///
/// [playground]: https://play.predr.ag/hackernews#?f=2&q=*3-Get-the-HackerNews-item-URLs-of-the-items*l*3-currently-on-the-front-page.*lquery---0FrontPage---2url-*o*l--_0*J*l*J&v=--0*l*J
/// [starting-edge]: https://github.com/obi1kenobi/trustfall/blob/main/trustfall/examples/hackernews/hackernews.graphql#L35
/// [property]: https://github.com/obi1kenobi/trustfall/blob/main/trustfall/examples/hackernews/hackernews.graphql#L44
/// [method]: https://github.com/obi1kenobi/trustfall/blob/main/trustfall/examples/hackernews/adapter.rs#L151
/// [starting-edge]: https://github.com/obi1kenobi/trustfall/blob/722f5fa6263a85ba0f376b2a5942d5a6ec17926d/trustfall/examples/hackernews/hackernews.graphql#L35
/// [property]: https://github.com/obi1kenobi/trustfall/blob/722f5fa6263a85ba0f376b2a5942d5a6ec17926d/trustfall/examples/hackernews/hackernews.graphql#L44
/// [method]: https://github.com/obi1kenobi/trustfall/blob/722f5fa6263a85ba0f376b2a5942d5a6ec17926d/trustfall/examples/hackernews/adapter.rs#L151
/// [resolve-property]: helpers::resolve_property_with
/// [field-property]: crate::field_property
/// [accessor-property]: crate::accessor_property
Expand Down Expand Up @@ -651,9 +651,9 @@ pub trait Adapter<'vertex> {
/// - When a context's active vertex is None, it has an empty neighbors iterator.
///
/// [playground]: https://play.predr.ag/hackernews#?f=2&q=*3-Get-the-usernames-and-karma-points-of-the-folks*l*3-who-submitted-the-latest-stories-on-HackerNews.*lquery---0Latest---2byUser---4id-*o*l--_4karma-*o*l--_2--*0*J*l*J&v=--0*l*J
/// [starting-edge]: https://github.com/obi1kenobi/trustfall/blob/main/trustfall/examples/hackernews/hackernews.graphql#L37
/// [edge]: https://github.com/obi1kenobi/trustfall/blob/main/trustfall/examples/hackernews/hackernews.graphql#L73
/// [method]: https://github.com/obi1kenobi/trustfall/blob/main/trustfall/examples/hackernews/adapter.rs#L223
/// [starting-edge]: https://github.com/obi1kenobi/trustfall/blob/722f5fa6263a85ba0f376b2a5942d5a6ec17926d/trustfall/examples/hackernews/hackernews.graphql#L37
/// [edge]: https://github.com/obi1kenobi/trustfall/blob/722f5fa6263a85ba0f376b2a5942d5a6ec17926d/trustfall/examples/hackernews/hackernews.graphql#L73
/// [method]: https://github.com/obi1kenobi/trustfall/blob/722f5fa6263a85ba0f376b2a5942d5a6ec17926d/trustfall/examples/hackernews/adapter.rs#L225
/// [resolve-neighbors]: helpers::resolve_neighbors_with
fn resolve_neighbors<V: AsVertex<Self::Vertex> + 'vertex>(
&self,
Expand Down Expand Up @@ -721,9 +721,9 @@ pub trait Adapter<'vertex> {
/// - When a context's active vertex is `None`, its coercion outcome is `false`.
///
/// [playground]: https://play.predr.ag/hackernews#?f=2&q=*3-Get-the-title-of-stories-on-the-HN-front-page.*l*3-Discards-any-non*-story-items-on-the-front-page*L*l*3-such-as-job-postings-or-polls.*lquery---0FrontPage---2*E-Story---4title-*o*l--_2--*0*J*l*J&v=--0*l*J
/// [starting-edge]: https://github.com/obi1kenobi/trustfall/blob/main/trustfall/examples/hackernews/hackernews.graphql#L35
/// [subtype]: https://github.com/obi1kenobi/trustfall/blob/main/trustfall/examples/hackernews/hackernews.graphql#L58
/// [method]: https://github.com/obi1kenobi/trustfall/blob/main/trustfall/examples/hackernews/adapter.rs#L375
/// [starting-edge]: https://github.com/obi1kenobi/trustfall/blob/722f5fa6263a85ba0f376b2a5942d5a6ec17926d/trustfall/examples/hackernews/hackernews.graphql#L35
/// [subtype]: https://github.com/obi1kenobi/trustfall/blob/722f5fa6263a85ba0f376b2a5942d5a6ec17926d/trustfall/examples/hackernews/hackernews.graphql#L58
/// [method]: https://github.com/obi1kenobi/trustfall/blob/722f5fa6263a85ba0f376b2a5942d5a6ec17926d/trustfall/examples/hackernews/adapter.rs#L377
/// [resolve-schema]: helpers::resolve_coercion_using_schema
/// [resolve-basic]: helpers::resolve_coercion_with
fn resolve_coercion<V: AsVertex<Self::Vertex> + 'vertex>(
Expand Down

0 comments on commit ae88d73

Please sign in to comment.