We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a1827e0 commit e552c65Copy full SHA for e552c65
lib/generators/gql/gql_generator_base.rb
@@ -27,7 +27,8 @@ def map_model_types(model_name)
27
28
klass.columns
29
.reject { |col| bt_columns.include?(col.name) }
30
- .map { |col| {name: col.name, gql_type: type_map.fetch(col.type)} }
+ .reject { |col| type_map[col.type].nil? }
31
+ .map { |col| {name: col.name, gql_type: type_map[col.type]} }
32
end
33
34
0 commit comments