The purpose of this PR is to add documentation for the fragments on GraphQL and the way these are used by the gem. I struggled to use them as this was not documented and had to dive into the test suite. This PR tries to fix the mentioned issue by giving an example on how to use the fragment and invoke it from other parts in the .graphql files.
The purpose of this PR is to add documentation for the fragments on GraphQL and the way these are used by the gem. I struggled to use them as this was not documented and had to dive into the test suite. This PR tries to fix the mentioned issue by giving an example on how to use the fragment and invoke it from other parts in the
.graphql
files.Nice day 😄