Open yanghoxom opened 8 months ago
@yanghoxom Experienced the same issue after upgrading to Graphiti 1.3.9
. This fixes the issue https://github.com/graphiti-api/graphiti/pull/431/commits/ab083887aff4597197b37fa6884875f34d844ff9
@TafadzwaD thank you for your reply, Can you give me more details about how to fix it?
@TafadzwaD thank you for your reply, Can you give me more details about how to fix it?
@yanghoxom
You can use the forked version https://github.com/belt/graphiti_resources_ruby_3_0_fix/tree/fix_ruby_3_0_resource_functions in you gem file
gem 'graphiti', github: 'belt/graphiti_resources_ruby_3_0_fix', branch: 'fix_ruby_3_0_resource_functions'
After the PR is merged you can then revert to the official version
Behavior
I cannot call the helper method if it contains the key in args inside the extra_attribute or attribute block If I edit the method to not contain the key in the args, everything works fine example:
Gem
Ruby 3.1.3 Rails 7.0.4
Server log