File tree Expand file tree Collapse file tree 1 file changed +8
-3
lines changed 
modules/ROOT/pages/queries-aggregations Expand file tree Collapse file tree 1 file changed +8
-3
lines changed Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ type Movie {
1616} 
1717---- 
1818
19- The following sorting input type and query should be  generated:
19+ The following sorting input type and query are  generated:
2020
2121[source, graphql, indent=0]
2222---- 
@@ -47,7 +47,7 @@ type Query {
4747} 
4848---- 
4949
50- The resulting  query should then allow fetching  all movies sorted by runtime in ascending order:
50+ The following  query fetches  all movies sorted by runtime in ascending order:
5151
5252[source, graphql, indent=0]
5353---- 
@@ -65,7 +65,7 @@ query {
6565} 
6666---- 
6767
68- Additionally, in case  there was  a relationship between the `Movie` and an `Actor` type, sorting  can also be applied  when fetching the `actors` field:
68+ If  there is  a relationship between the `Movie` and an `Actor` type, you  can also sort  when fetching the `actors` field:
6969
7070[source, graphql, indent=0]
7171---- 
@@ -85,3 +85,8 @@ query {
8585    } 
8686} 
8787---- 
88+ 
89+ [CAUTION]
90+ ==== 
91+ You cannot sort query results based on relationship properties. 
92+ ==== 
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments