* Add replaceOnChange to schema * replaceOnChange at generate time for resources * ReplaceOnChanges sees through optional types * Correctly deal with map,array,object,resource type This is responding to PR clarifications from @justinvp and @lblackstone. * Update CHANGELOG_PENDING.md * Detect recursively defined objects * Display recursion warning * Check which recursive structures fail * Add internal logic tests for replaceOnChanges * Add tests
13 lines
181 B
JSON
13 lines
181 B
JSON
{
|
|
"version": "0.0.1",
|
|
"name": "example",
|
|
"resources": {
|
|
"example::Dog": {
|
|
"properties": {
|
|
"bone": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|