Docs/fluent schema#1485
Conversation
|
I truly don't like: const bodyJsonSchema = { ...S.object().valueOf(), vacation: 'sharedAddress#' }Is there a way around this? The reason why this is needed must be in the docs. Can you add some unit tests for the examples? |
It could be changed to a simply JSON: {
type: 'object',
properties: {
vacation: 'sharedAddress#'
}
}
Could I add a reference to Validation-and-Serialization.md?
Sure |
THat's better yes.
yes of course. |
|
@mcollina It seems that fluent-schema doesn't work with node 6. here the output What do you suggest to solve? |
|
skip the tests on Node 6. |
Simple but effective 😁 |
|
This pull request has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Closes #1329
I open this PR to get some feedback for this document and what examples I could add more.
Note that this line:
is necessary because the JSON schema standard (and
fluent-schematoo) doesn't provide support for a JSON like this:Checklist
npm run testandnpm run benchmark