rom icon indicating copy to clipboard operation
rom copied to clipboard

Data mapping and persistence toolkit for Ruby

Results 32 rom issues
Sort by recently updated
recently updated
newest added

`ROM::Mapper` still exposes old DSL that is far worse than what `ROM::Transformer` provides (via `Dry::Transformer`). Furthermore, we still use mapper builders with all the mapping options to build transformers, which...

task
mapper
core

```ruby class Users < ROM::Relation[:sql] schema(:users, infer: true) do associations do has_many :tasks end end end class Tasks < ROM::Relation[:sql] schema(:users, infer: true) do associations do belongs_to :user end end...

bug
relation
changeset

According to [CQS principle](https://en.wikipedia.org/wiki/Command%E2%80%93query_separation): > Every method should either be a **command** that performs an action, or a **query** that returns data to the caller, but not both. With that...

feature
command

We could provide **command options** while constructing a `changeset` object. For now, options are not passed down to the `command` being built inside the `changeset`. ## Examples When `result` is...

feature
changeset

This makes sense in case of adapters where key coercion is not required, but when it is, we ALWAYS need to use an output_schema because it will handle key coercion...

bug
relation
core

Currently, it's not possible to configure a custom `StructCompiler` because [`MapperCompiler` uses a hard-coded constant](https://github.com/rom-rb/rom/blob/master/core/lib/rom/mapper_compiler.rb#L30). This can be easily changed to use an option with the default value set to...

feature
core

I've noticed that `rom-repository` doesn't handle whitespaces in attribute names while working with a mssql database. Here is my schema: ```sql CREATE TABLE dbo.bugs ( id int NOT NULL ,...

bug
help wanted
core

During the rom container setup, if would be very useful to have a `struct_namespace` setting so that we don't need to pass this to Repositories/Relations. Another idea is that this...

feature

**Describe the bug** Non-aliased schema name `:schema` appears to cause relation registration problems. **To Reproduce** My relation has this configuration snippet: ``` schema(:schema) do ... end ``` When I register...

bug
help wanted

**Describe the bug** When using a nested combine and views we get an error thrown in the transproc gem. ``` /Users/shipmana/.rbenv/versions/2.6.2/lib/ruby/gems/2.6.0/gems/transproc-1.1.0/lib/transproc/array/combine.rb:51:in `block in group_candidates_by_keys': no implicit conversion of Symbol into...

bug
help wanted