CHANGELOG.md in rspec-graphql_matchers-1.0.0.pre.0.1 vs CHANGELOG.md in rspec-graphql_matchers-1.0
- old
+ new
@@ -14,14 +14,17 @@
- Support to property and hash_key matchers will be dropped on upcoming releases.
### Deprecations
-- `.with_metadata` and `.with_property` matchers for fields will be removed on the next release.
+- `.with_metadata` and `.with_property` matchers for fields will be removed on the next release;
+- `.accept_arguments` (plural form) will be removed on the next release;
+- `.accept_argument` (singular form) receiving a hash with a single or multiple arguments will no longer be supported, use `accept_argument(name).of_type('MyType')` instead.
### New features
- Add support for Class-based type definition api (adds support for graphql-ruby v1.8.x). Please note that `.with_metadata` and `.with_property` support has been kept but will only work on fields defined using the legacy api.
+- Implemented `accept_argument(arg_name).of_type('MyType')ยด matcher, which returns much clearer error messages when the arguments are not found on the target type.
### Bug fixes
## 0.7.1 (July 27, 2017)