Граф коммитов

728 Коммитов

Автор SHA1 Сообщение Дата
Arthur Schreiber 2c611765e3 0.18.0 2022-05-02 20:31:22 +00:00
Wissam A 58e1c7ff3a
Merge pull request #286 from figs-engineering/fix/graphql-dependency
fix: remove graphql version dependency
2022-04-13 11:52:30 -04:00
Seth Goldman 18dbbc2667 fix: update graphql dependency 2022-03-15 09:47:58 -07:00
Robert Mosolgo d19333d958 0.17.0 2021-09-10 08:33:38 -04:00
Robert Mosolgo 655e249164
Merge pull request #269 from Shopify/dedup-schemas
Deduplicate JSON schemas
2021-09-07 09:26:38 -04:00
Jean Boussier b57ba65d4c Deduplicate JSON schemas 2021-09-06 17:26:23 +02:00
Chris Bloom e974ea5610
Merge pull request #274 from chrisbloom7/unloadable
Don't call unloadable for zeitwerk mode
2021-08-26 10:59:37 -04:00
Chris Bloom d1f45ab99d Limit rubocop-github max version due to mismaches with rubocop version 2021-08-26 10:57:48 -04:00
Chris Bloom 84198f12b6 Don't call unloadable for zeitwerk mode 2021-08-26 10:55:04 -04:00
Robert Mosolgo 8fb3a8a75e
Merge pull request #267 from github/cache-possible-types
Use a cache of Schema.possible_types
2021-02-16 16:53:31 -05:00
Robert Mosolgo 76992e470f Use a cache of Schema.possible_types 2021-02-11 13:28:54 -05:00
John Hawthorn a1c8318c98
Merge pull request #252 from github/no_more_classes
Use objects instead of classes to represent "defined" types
2020-10-26 15:27:36 -07:00
John Hawthorn c71434db7d Speed up check of collocation enabled 2020-08-05 15:52:32 -07:00
John Hawthorn b82141d960 Move Defined module into ObjectClass 2020-08-05 15:47:14 -07:00
John Hawthorn 5c43e1735b Prefix definer with an underscore 2020-08-05 15:47:14 -07:00
John Hawthorn faacdccf9f Remove defined_class and object_base_class 2020-08-05 15:47:14 -07:00
John Hawthorn 529fe6bfaf Combine Defined class and base class 2020-08-05 15:47:14 -07:00
John Hawthorn 7c2bfea676 Improve inspect 2020-08-05 15:47:14 -07:00
John Hawthorn 12f1a26044 Appease rubocop 2020-08-05 15:47:14 -07:00
John Hawthorn 78ea163357 Remove optional args 2020-08-05 15:47:14 -07:00
John Hawthorn 507615cd5e Define const on ObjectClass subclass 2020-08-05 15:47:14 -07:00
John Hawthorn ab15895398 Update rubocop 2020-08-05 15:47:14 -07:00
John Hawthorn 8d7f17c3f7 Separate inflection cache by types
Previously there could be an issue where two types could define fields
with different camelCased names, which mapped to the same underscored
method name. We instead can define this mapping on the type and be
sure there won't be conflicts.

Co-authored-by: Dinah Shi <dinahshi@github.com>
2020-08-05 15:47:14 -07:00
John Hawthorn 25f85e140f Prefer errors field over client errors
Co-authored-by: Dinah Shi <dinahshi@github.com>
2020-08-05 15:47:14 -07:00
John Hawthorn 99ddb80b70 Add failing test for field named errors
Co-authored-by: Dinah Shi <dinahshi@github.com>
2020-08-05 15:47:14 -07:00
John Hawthorn 0fe91e28cd Implement respond_to_missing? 2020-08-05 15:47:14 -07:00
John Hawthorn 15db70d5f9 Remove class methods from ObjectClass 2020-08-05 15:47:14 -07:00
John Hawthorn 6f4a84d471 No collocation enforcement for predicate methods 2020-08-05 15:47:14 -07:00
John Hawthorn cbb0a45a00 Avoid using transform_keys 2020-08-05 15:47:14 -07:00
John Hawthorn 54163d6395 Name defined class classes 2020-08-05 15:47:14 -07:00
John Hawthorn 00f66f815e Avoid assigning @spreads if possible 2020-08-05 15:47:14 -07:00
John Hawthorn 355d4286bc Avoid setting up collocation test when defining 2020-08-05 15:47:14 -07:00
John Hawthorn 6e417fbe2a Working collocation enforcement 2020-08-05 15:47:14 -07:00
John Hawthorn 2a6eaccac4 Extract read_attribute from method_missing 2020-08-05 15:47:14 -07:00
John Hawthorn 851bfb0023 Extract verify_collocated_path 2020-08-05 15:47:14 -07:00
John Hawthorn 6511f84231 Remove unused var 2020-08-05 15:47:14 -07:00
John Hawthorn 9b27fd94ec Fix casting?? 2020-08-05 15:47:14 -07:00
John Hawthorn bd882d98e8 Create intermediate WithDefinition class 2020-08-05 15:47:14 -07:00
John Hawthorn a3cc741a88 Avoid some ivars 2020-08-05 15:47:14 -07:00
John Hawthorn d3e23fc5eb Use global hash for method mappings 2020-08-05 15:47:14 -07:00
John Hawthorn 4269a68432 Dedup 2020-08-05 15:47:14 -07:00
John Hawthorn 59b0945793 Prepend instead 2020-08-05 15:47:14 -07:00
John Hawthorn 7a8e3842a1 Don't define classes at all 2020-08-05 15:47:14 -07:00
John Hawthorn e33f1b078e WIP 2020-08-05 15:47:14 -07:00
John Hawthorn 01fcb5891f WIP 2020-08-05 15:47:14 -07:00
John Hawthorn 5d9f9d36b3
Merge pull request #250 from jturkel/feature/increase-test-matrix
Test with Graphql 1.10 and 1.11
2020-08-05 15:46:24 -07:00
Joel Turkel 79819dd0fe
Drop support for graphql-ruby 1.8 and 1.9 2020-08-05 17:13:34 -04:00
Joel Turkel da410adc5b
Test with graphql 1.10 and 1.11 2020-07-06 10:49:31 -04:00
John Hawthorn 2bbe6a5f36
Merge pull request #172 from radar/patch-1
Remove Client duplication in http.rb docs
2020-04-06 11:18:10 -07:00
John Hawthorn ed0c8e5667
Merge pull request #242 from zombre98/master
Update CI status badge
2020-03-25 17:10:19 -07:00