Say I had two rom configurations:
http_configuration = ROM::Configuration.new(:http, {
uri: 'http://jsonplaceholder.typicode.com',
headers: {
Accept: 'application/json'
},
handlers: :json
})
sql_configuration = config = ROM::Configuration.new(:sql, 'postgres://localhost:5432/mydbname', opts)
How could I create a container that would be have access to the relations in both configs?
ROM.container(sql: sql_configuration, http: http_configuration) # this doesn't work, just pseudo-code