From ab7bbc3cbae609e162dafd10aabfefed2f0479f1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Leandro=20de=20Ara=C3=BAjo=20Souza?= Date: Wed, 20 Jul 2022 21:32:37 -0400 Subject: [PATCH 1/2] Fix broken links at resource-definitions.md --- .../extensibility/resource-definitions.md | 20 +++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/docs/usage/extensibility/resource-definitions.md b/docs/usage/extensibility/resource-definitions.md index af4f8a27c5..a710157ff4 100644 --- a/docs/usage/extensibility/resource-definitions.md +++ b/docs/usage/extensibility/resource-definitions.md @@ -29,7 +29,7 @@ For various reasons (see examples below) you may need to change parts of the que `JsonApiResourceDefinition` (which is an empty implementation of `IResourceDefinition`) provides overridable methods that pass you the result of query string parameter parsing. The value returned by you determines what will be used to execute the query. -An intermediate format (`QueryExpression` and derived types) is used, which enables us to separate JSON:API implementation +An intermediate format (`QueryExpression` and derived types) is used, which enables us to separate JSON:API implementation from Entity Framework Core `IQueryable` execution. ### Excluding fields @@ -218,7 +218,7 @@ _since v3_ You can define additional query string parameters with the LINQ expression that should be used. If the key is present in a query string, the supplied LINQ expression will be added to the database query. -Note this directly influences the Entity Framework Core `IQueryable`. As opposed to using `OnApplyFilter`, this enables the full range of Entity Framework Core operators. +Note this directly influences the Entity Framework Core `IQueryable`. As opposed to using `OnApplyFilter`, this enables the full range of Entity Framework Core operators. But it only works on primary resource endpoints (for example: /articles, but not on /blogs/1/articles or /blogs?include=articles). ```c# @@ -262,8 +262,8 @@ Click on a diagram to open it full-size in a new window. ### Create resource - - + + 1. User sends request to create a resource @@ -278,8 +278,8 @@ Click on a diagram to open it full-size in a new window. ### Update Resource - - + + 1. User sends request to update resource with ID 1 @@ -294,8 +294,8 @@ Click on a diagram to open it full-size in a new window. ### Delete Resource - - + + 1. User sends request to delete resource with ID 1 @@ -306,8 +306,8 @@ Click on a diagram to open it full-size in a new window. ### Set Relationship - - + + 1. User sends request to assign two resources (green) to relationship 'name' (black) on resource 1 (yellow) From bc18441f2b907042ec287c778fd2f3f6ea364231 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Leandro=20de=20Ara=C3=BAjo=20Souza?= Date: Wed, 20 Jul 2022 21:38:15 -0400 Subject: [PATCH 2/2] Fix file reference links --- docs/usage/extensibility/resource-definitions.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/usage/extensibility/resource-definitions.md b/docs/usage/extensibility/resource-definitions.md index a710157ff4..9a05f2d9af 100644 --- a/docs/usage/extensibility/resource-definitions.md +++ b/docs/usage/extensibility/resource-definitions.md @@ -262,8 +262,8 @@ Click on a diagram to open it full-size in a new window. ### Create resource - - + + 1. User sends request to create a resource @@ -278,8 +278,8 @@ Click on a diagram to open it full-size in a new window. ### Update Resource - - + + 1. User sends request to update resource with ID 1