README.md in materialist-0.0.4 vs README.md in materialist-0.0.5
- old
+ new
@@ -134,18 +134,25 @@
```
Here is what each part of the DSL mean:
#### `use_model <model_name>`
-describes the name of the active record model to be used.
+describes the name of the active record model to be used.
+If missing, materialist skips materialising the resource itself, but will continue
+with any other functionality -- such as `materialize_link`.
#### `materialize <key>, as: <column> (default: key)`
describes mapping a resource key to database column.
#### `link <key>`
describes materializing from a relation of the resource. This can be nested to any depth as shown above.
When inside the block of a `link` any other part of DSL can be used and will be evaluated in the context of the relation resource.
+
+### `materialize_link <key>, topic: <topic> (default: key)`
+describes materializing the linked entity.
+This simulates a `:noop` event on the given topic and the `url` if the
+liked resource `<key>` as it appears on the response (`_links`)
#### `after_upsert <method>` -- also `after_destroy`
describes the name of the instance method to be invoked after a record was materialized.
```ruby