@@ -12,13 +12,13 @@ generic features for the whole catalog of resources at once.
12
12
This is very useful to scale big projects codebases in order to implement
13
13
generic features for the whole catalog or resources.
14
14
15
- It uses few basic concepts to construct this registry:
15
+ Resource Registry defines a few basic concepts to build this catalog.
16
16
17
- ## Anatomy of a resource, ` ResourceRegistry::Resource `
17
+ ### Anatomy of a resource, ` ResourceRegistry::Resource `
18
18
19
- A resource represents the centric part of this library. They should contain and
20
- provide all the necessary information to generate features around . This
21
- includes Capabilities, Repository, verbs and Entity/DTOs schemas.
19
+ Resource represent the central part of this library. They should contain and
20
+ provide all the necessary information to generate features. This includes
21
+ Capabilities, Repository, verbs and Entity/DTOs schemas.
22
22
23
23
An example of a resource:
24
24
@@ -66,7 +66,7 @@ ResourceRegistry::Resource.new(
66
66
)
67
67
```
68
68
69
- ## The registry itself, ` ResourceRegistry::Registry `
69
+ ### The registry itself, ` ResourceRegistry::Registry `
70
70
71
71
Gives you access to the whole library using the following API:
72
72
@@ -80,7 +80,7 @@ registry.fetch(:employees)
80
80
registry.fetch_rall
81
81
```
82
82
83
- ## What brings this gem to the table?
83
+ ## What does this gem bring to the table?
84
84
85
85
- Schema registry for resources, maybe we can infere them from entities
86
86
- Relate events to resources actions (CRUD and not CRUD)
0 commit comments