Closed factyy closed 3 weeks ago
Looks like there are backward compatibility issues. Will fix them and patch this PR
@jkeen , this PR is ok to review now. Please take a look :)
@factyy Thanks!
:tada: This PR is included in version 1.7.2 :tada:
The release is available on:
v1.7.2
Your semantic-release bot :package::rocket:
It seems that right now you cannot simply
require 'graphiti'
without requiringactive_support
prior to it.You get the following output:
It looks like the problem is caused by the following code: https://github.com/graphiti-api/graphiti/blob/1479411646a841be56f8dda613b4e9f63ba2b576/lib/graphiti.rb#L4
This PR just places
require "active_support/deprecation"
on top of the list and addsrequire "active_support/deprecator"
on the next line to satisfy dependencies which seems to solve the issueEdit: this issue is probably Rails 7 and newer only due to internal changes in
ActiveSupport