Schema type was changed in pull request #134. One of the available schema types was ObjectSchema from fluent-json-schema package. Since fluent-json-schema is a development dependency, we cannot use it for production code
Now, if we do not install fluent-json-schema manually, we will get the wrong type for schema, or an error if we use "skipLibCheck": false in the typescript config file
After this fix, we can still use fluent-json-schema, but we will not get wrong type or error if this package is missing
Checklist
npm run test
andnpm run benchmark
Description:
Schema type was changed in pull request #134. One of the available schema types was
ObjectSchema
fromfluent-json-schema
package. Sincefluent-json-schema
is a development dependency, we cannot use it for production codeNow, if we do not install
fluent-json-schema
manually, we will get the wrong type for schema, or an error if we use"skipLibCheck": false
in the typescript config fileAfter this fix, we can still use
fluent-json-schema
, but we will not get wrong type or error if this package is missing