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

Use GitHub permalinks for Adapter docs. #501

Merged
merged 1 commit into from
Oct 22, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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