spiral-project/daybed — pull request #74 by leplatrem (2013-07-27 07:32:59+00:00)
Title: Add relations fields

Most of the work here consisted in giving a reference to database from validators to field types checking.
The rest is quite obvious.

Could not find any way to take a shortcut ! (app registry ? events ?)

Wonder if we should serialize into somewhere more HATEOAS :

Instead of :

```'abcdefgh```

store (and serve) this :

```
{id: 'abcdefgh',
model: 'simple',
uri: '/models/simple/data/abcdefgh'}
```

Please comment :)