Method: ManageIQ::API::Common::GraphQL::Generator.collection_schema_overlay
- Defined in:
- lib/manageiq/api/common/graphql/generator.rb
.collection_schema_overlay(schema_overlay, collection) ⇒ Object
73 74 75 76 77 78 79 |
# File 'lib/manageiq/api/common/graphql/generator.rb', line 73 def self.(, collection) .keys.each_with_object({}) do |collection_regex, | next unless collection.match?(collection_regex) .merge!([collection_regex] || {}) end end |