cerebris / jsonapi-resources

A resource-focused Rails library for developing JSON:API compliant servers.
http://jsonapi-resources.com
MIT License
2.32k stars 532 forks source link

fix: more reliable check of module is included #1418

Closed bf4 closed 1 year ago

bf4 commented 1 year ago

target is https://github.com/cerebris/jsonapi-resources/pull/1411

handle gems like GraphQL which override include?

rake aborted!
ArgumentError: wrong number of arguments (given 1, expected 3)
gems/graphql-2.0.13/lib/graphql/schema/directive.rb:58:in `include?'

All Submissions:

New Feature Submissions:

Bug fixes and Changes to Core Features:

Test Plan:

Reviewer Checklist:

bf4 commented 1 year ago

@lgebhardt I'm not sure what's causing these test failure in this branch but not in the target branch. Any objection to merging this and resolving anything there which may or may not show up?