Erfan Safari
Erfan Safari
are you sure? maybe you should use `authSource` property
i think that's an expected behavior, just use something like: `mongodb+srv://USER:[email protected]/jok?authMechanism=SCRAM-SHA-1&authSource=admin`
@4ov Is your problem still exist on newer driver versions? If yes, can you provide a repro?
@icebob Yes, Most parts will be developed in a separate repo. But FV should offer some required API's
@intech I did some things, but it's a little more complicated than I thought (due to the structure of FV). First we need an API for FV that returns parsed...
@intech for example: ```js const schema = { foo: "string|min:5", bar: "number[]", o: { type: "object", props: { a: "string|max:24" } } } const unwrapedSchema = FV.unwrapSchema(schema) ``` unwrapedSchema to...
@intech Of course, I really don't know what the proper name for this function is! Do you think `unwrapSchema` or `parseSchema` are good?
@intech Yes, But this `parse` function needs to be in `fv-schema-parser` module, because `FV` itself doesn't use it.
@intech Move your codes here: https://github.com/erfanium/fv-document-generator
@icebob https://github.com/icebob/fastest-validator/blob/master/lib/validator.js#L331 Isn't this what you are looking for?