Closed fabioxgn closed 2 weeks ago
Hey, sorry for the trouble and thanks for this report. The problem is that Visibility
isn't calling def enum_values
(but it should!), instead it's calling all_enum_value_definitions
(which is only populated via enum_value(...)
configs):
I'll update it to work with an example like yours and follow up back here!
Thanks @rmosolgo!
👋 I just released 2.4.1 with a patch for this issue. Please give it a try and let me know if you run into any other problems on that version!
I have an enum that is dynamically generating the values, like this (removed all other:
After upgrading to 2.4.0, when I add
use GraphQL::Schema::Visibility
to my schema I get this error:Versions
graphql
version: 2.4.rails
(or other framework): 7.0.8.5 other applicable versions (graphql-batch
, etc)