Skip to content

Commit 34ab237

Browse files
authored
Merge branch 'main' into new-ssg
2 parents 3cae4eb + 8058e56 commit 34ab237

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/pages/lib/graphqlapi/relational/q/platform/[platform].mdx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,8 @@ export const getStaticProps = (context) => {
2222
};
2323
};
2424

25+
<InlineFilter filters={["android"]}>
26+
2527
API (GraphQL) has the capability to handle relationships between Models, such as _has one_, _has many_, and _belongs to_. In Amplify GraphQL APIs, this is done with the `@hasOne`, `@hasMany` and `@belongsTo` directives as defined in the [GraphQL data modeling documentation](/cli/graphql/data-modeling).
2628

2729
By default, GraphQL APIs requests generate a selection set with a depth of 0. Connected relationship models are not returned in the initial request, but can be lazily loaded as needed with an additional API request. We provide mechanisms to customize the selection set, which allows connected relationships to be eagerly loaded on the initial request.
@@ -852,3 +854,5 @@ This query fetches a postEditor and eagerly loads its post and comments
852854
</BlockSwitcher>
853855
854856
</InlineFilter>
857+
858+
</InlineFilter>

0 commit comments

Comments
 (0)