diff --git a/README.md b/README.md index 98f3cb7..780be40 100644 --- a/README.md +++ b/README.md @@ -32,7 +32,21 @@ $entity->getRelation()->getField1() And see it realized in GraphQL with fine grained control over each field via hydrators: ```js -{ entity { relation { field1 field2 manyToOne { name field3 } } otherRelation { field4 field5 } } } + { + entity (filter: { id: 5 }) { + relation { + field1 + field2 + manyToOne (filter: { name_contains: 'dev' }) { + name + field3 + } + } otherRelation { + field4 + field5 + } + } + } ```