Sha256: c42c858854ae49b10b730a77c62918353f84e255d482e9813cc789109597050a

Contents?: true

Size: 1.1 KB

Versions: 1

Compression:

Stored size: 1.1 KB

Contents

# TODOs

In no particular order

## General
* Refactor, methods too, big objects missing

## Persistence
* Efficient saving
  - Part one, if it wasn't loaded it wasn't modified, check identity map
  - Part two, dirty tracking

## Configuration
* Automatic config generation based on schema, foreign keys etc
* Config to take either a classes or callable factory

## Querying
* Querying API, what would a repository with some arbitrary queries look like?
  - e.g. an association on post called `burger_comments` that finds comments
    with the word burger in them
* Add other querying methods from assocaition proxies or remove entirely
  - Depends on nailing down the querying API
* When possible optimise blocks given to `AssociationProxy#select` with
  Sequel's `#where` with block [querying API](http://sequel.jeremyevans.net/rdoc/files/doc/cheat_sheet_rdoc.html#label-AND%2FOR%2FNOT)

## Associations
* Eager loading
* Read only associations
  - Loaded objects would be immutable
  - Collection proxy would have no #push or #remove
  - Skipped when dumping
* Associations defined with a join
* Composable associations

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
sequel_mapper-0.0.1 TODO.md