Skip to content

Commit a6d86e8

Browse files
juliquironpmelab
authored andcommitted
Fixed keywords highlight in queries/readme.md file. (#757)
1 parent b6f8d61 commit a6d86e8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

doc/queries/readme.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ query {
6565
The query above fetches information from 3 different places :
6666

6767
* **entityId** and **entityCreated** come from the Entity Interface. These fields are available for all entity objects. nodeById query returns a Node Interface which extends Entity Interface.
68-
* title and status are defined in the Node Interface and are available for all nodes, regardless of their content type.
68+
* **title** and **status** are defined in the Node Interface and are available for all nodes, regardless of their content type.
6969
* **fieldSubtitle** is a field \(**field\_subtitle** in Drupal\) that has been added to the Article content type. It's not a part of neither Node nor Entity Interfaces, it is only available in the NodeArticle Type. **nodebyId** can return any node, not just Article, so we need to wrap the fieldSubtitle in a [GraphQL Fragment](http://graphql.org/learn/queries/#fragments).
7070

7171
If we paste the above query in GraphiQL we will get the following result :

0 commit comments

Comments
 (0)