@es-joy/jsoe 0.20.2 → 0.20.3
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/CHANGES.md +4 -0
- package/dist/index.js +1 -1
- package/package.json +1 -1
- package/src/typeChoices.js +1 -1
package/CHANGES.md
CHANGED
package/dist/index.js
CHANGED
|
@@ -2745,7 +2745,7 @@ const buildTypeChoices = ({
|
|
|
2745
2745
|
schemaContent
|
|
2746
2746
|
}) => {
|
|
2747
2747
|
// console.log('format', format, 'state', state, 'path', typeNamespace);
|
|
2748
|
-
const typeAndSchemaInfo = requireObject
|
|
2748
|
+
const typeAndSchemaInfo = requireObject && !schemaContent
|
|
2749
2749
|
? {
|
|
2750
2750
|
typeOptions: [types.getOptionForType('object')], schemaObjects: undefined
|
|
2751
2751
|
}
|
package/package.json
CHANGED
package/src/typeChoices.js
CHANGED
|
@@ -123,7 +123,7 @@ export const buildTypeChoices = ({
|
|
|
123
123
|
schemaContent
|
|
124
124
|
}) => {
|
|
125
125
|
// console.log('format', format, 'state', state, 'path', typeNamespace);
|
|
126
|
-
const typeAndSchemaInfo = requireObject
|
|
126
|
+
const typeAndSchemaInfo = requireObject && !schemaContent
|
|
127
127
|
? {
|
|
128
128
|
typeOptions: [types.getOptionForType('object')], schemaObjects: undefined
|
|
129
129
|
}
|