├── .gitignore ├── .rubocop.yml ├── Gemfile ├── Gemfile.lock ├── LICENSE.txt ├── README.md ├── Rakefile ├── bin ├── console └── setup ├── graphql_activerecord_resolvers.gemspec ├── lib ├── graphql_activerecord_resolvers.rb └── graphql_activerecord_resolvers │ ├── association.rb │ ├── association_tree.rb │ ├── extensions.rb │ └── version.rb └── test ├── association_name_test.rb ├── belongs_to_test.rb ├── combination_test.rb ├── graphql_activerecord_resolvers_test.rb ├── has_many_test.rb ├── support ├── graphql.rb ├── graphql_types │ ├── country_type.rb │ ├── doctor_type.rb │ ├── grocery_item_type.rb │ ├── location_type.rb │ ├── person_type.rb │ └── pet_type.rb └── models.rb └── test_helper.rb /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stevenpetryk/graphql_activerecord_resolvers/HEAD/.gitignore -------------------------------------------------------------------------------- /.rubocop.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stevenpetryk/graphql_activerecord_resolvers/HEAD/.rubocop.yml -------------------------------------------------------------------------------- /Gemfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stevenpetryk/graphql_activerecord_resolvers/HEAD/Gemfile -------------------------------------------------------------------------------- /Gemfile.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stevenpetryk/graphql_activerecord_resolvers/HEAD/Gemfile.lock -------------------------------------------------------------------------------- /LICENSE.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stevenpetryk/graphql_activerecord_resolvers/HEAD/LICENSE.txt -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stevenpetryk/graphql_activerecord_resolvers/HEAD/README.md -------------------------------------------------------------------------------- /Rakefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stevenpetryk/graphql_activerecord_resolvers/HEAD/Rakefile -------------------------------------------------------------------------------- /bin/console: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stevenpetryk/graphql_activerecord_resolvers/HEAD/bin/console -------------------------------------------------------------------------------- /bin/setup: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stevenpetryk/graphql_activerecord_resolvers/HEAD/bin/setup -------------------------------------------------------------------------------- /graphql_activerecord_resolvers.gemspec: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stevenpetryk/graphql_activerecord_resolvers/HEAD/graphql_activerecord_resolvers.gemspec -------------------------------------------------------------------------------- /lib/graphql_activerecord_resolvers.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stevenpetryk/graphql_activerecord_resolvers/HEAD/lib/graphql_activerecord_resolvers.rb -------------------------------------------------------------------------------- /lib/graphql_activerecord_resolvers/association.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stevenpetryk/graphql_activerecord_resolvers/HEAD/lib/graphql_activerecord_resolvers/association.rb -------------------------------------------------------------------------------- /lib/graphql_activerecord_resolvers/association_tree.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stevenpetryk/graphql_activerecord_resolvers/HEAD/lib/graphql_activerecord_resolvers/association_tree.rb -------------------------------------------------------------------------------- /lib/graphql_activerecord_resolvers/extensions.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stevenpetryk/graphql_activerecord_resolvers/HEAD/lib/graphql_activerecord_resolvers/extensions.rb -------------------------------------------------------------------------------- /lib/graphql_activerecord_resolvers/version.rb: -------------------------------------------------------------------------------- 1 | module GraphQLActiveRecordResolvers 2 | VERSION = "0.2.1".freeze 3 | end 4 | -------------------------------------------------------------------------------- /test/association_name_test.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stevenpetryk/graphql_activerecord_resolvers/HEAD/test/association_name_test.rb -------------------------------------------------------------------------------- /test/belongs_to_test.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stevenpetryk/graphql_activerecord_resolvers/HEAD/test/belongs_to_test.rb -------------------------------------------------------------------------------- /test/combination_test.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stevenpetryk/graphql_activerecord_resolvers/HEAD/test/combination_test.rb -------------------------------------------------------------------------------- /test/graphql_activerecord_resolvers_test.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stevenpetryk/graphql_activerecord_resolvers/HEAD/test/graphql_activerecord_resolvers_test.rb -------------------------------------------------------------------------------- /test/has_many_test.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stevenpetryk/graphql_activerecord_resolvers/HEAD/test/has_many_test.rb -------------------------------------------------------------------------------- /test/support/graphql.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stevenpetryk/graphql_activerecord_resolvers/HEAD/test/support/graphql.rb -------------------------------------------------------------------------------- /test/support/graphql_types/country_type.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stevenpetryk/graphql_activerecord_resolvers/HEAD/test/support/graphql_types/country_type.rb -------------------------------------------------------------------------------- /test/support/graphql_types/doctor_type.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stevenpetryk/graphql_activerecord_resolvers/HEAD/test/support/graphql_types/doctor_type.rb -------------------------------------------------------------------------------- /test/support/graphql_types/grocery_item_type.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stevenpetryk/graphql_activerecord_resolvers/HEAD/test/support/graphql_types/grocery_item_type.rb -------------------------------------------------------------------------------- /test/support/graphql_types/location_type.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stevenpetryk/graphql_activerecord_resolvers/HEAD/test/support/graphql_types/location_type.rb -------------------------------------------------------------------------------- /test/support/graphql_types/person_type.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stevenpetryk/graphql_activerecord_resolvers/HEAD/test/support/graphql_types/person_type.rb -------------------------------------------------------------------------------- /test/support/graphql_types/pet_type.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stevenpetryk/graphql_activerecord_resolvers/HEAD/test/support/graphql_types/pet_type.rb -------------------------------------------------------------------------------- /test/support/models.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stevenpetryk/graphql_activerecord_resolvers/HEAD/test/support/models.rb -------------------------------------------------------------------------------- /test/test_helper.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stevenpetryk/graphql_activerecord_resolvers/HEAD/test/test_helper.rb --------------------------------------------------------------------------------