graphql-ruby
https://github.com/rmosolgo/graphql-ruby
Ruby
Ruby implementation of GraphQL
GraphQL::Analysis::QueryComplexity#field_complexity
No Docs, write some!
Edit
git clone [email protected]:rmosolgo/graphql-ruby.git
cd graphql-ruby
open lib/graphql/analysis/query_complexity.rb
Contribute
# Make a new branchgit checkout -b -your-name--update-docs-GraphQL--Analysis--QueryComplexity-field_complexity-for-pr
# Commit to gitgit add lib/graphql/analysis/query_complexity.rbgit commit -m "better docs for GraphQL::Analysis::QueryComplexity#field_complexity"
# Open pull requestgem install hub # on a mac you can `brew install hub`
hub fork
git push <your name> -your-name--update-docs-GraphQL--Analysis--QueryComplexity-field_complexity-for-pr
hub pull-request
# Celebrate!