@alevnyacow/nzmt 0.31.6 → 0.31.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -232,7 +232,7 @@ const { num } = await someMethod.foo({ str: '25' })
|
|
|
232
232
|
|
|
233
233
|
## Controllers
|
|
234
234
|
|
|
235
|
-
Same idea, but metadata uses optional `query
|
|
235
|
+
Same idea, but metadata uses optional `query` and optional `body` instead of abstract `request`.
|
|
236
236
|
|
|
237
237
|
1. **Metadata** (`*.controller.metadata.ts`):
|
|
238
238
|
|
|
@@ -248,7 +248,7 @@ POST: {
|
|
|
248
248
|
|
|
249
249
|
2. **Implementation** (`*.controller.ts`):
|
|
250
250
|
|
|
251
|
-
`query` and `body` are merged into one object in implementation
|
|
251
|
+
`query` and `body` are merged into one object in implementation:
|
|
252
252
|
|
|
253
253
|
```ts
|
|
254
254
|
// ...controller class implementation
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@alevnyacow/nzmt",
|
|
3
|
-
"version": "0.31.
|
|
3
|
+
"version": "0.31.8",
|
|
4
4
|
"description": "Next Zod Modules Toolkit",
|
|
5
5
|
"keywords": ["next", "full-stack", "server", "backend", "cli", "scaffolding", "zod", "rest", "contract programming", "contract-first", "react-query", "ddd", "domain-driven"],
|
|
6
6
|
"repository": {
|