Jono Clarnette
Jono Clarnette
As a very simple workaround yes it would
This should do it ```TypeScript const UserSchema = Joi.object({ name: Joi.string().required(), timeSubmitted: Joi.time().required().meta({ className: 'string'} ) }) ```
That would be nicer, I'm not sure if Joi exposes this type of information, but this can be investigated
It looks like they mean `.label()` vs `.note()`, as `.describe()` is what exports the Joi into a its own style of json schema. (I don't mean to be rude to...
I also found Joi.id() and Joi.extract() they seem interesting FYI I'm using .label() as it allows your joi to also work with https://github.com/glennjones/hapi-swagger
In the code where it gets the interface name, i think it will have an array of 'className's so you should be able to tell what to extend, but figuring...
yes the code has gotten a bit confusing, I'm not sure where we would need to add this concept, it will take time to figure out
I've made a start this adds the extends part https://github.com/mrjono1/joi-to-typescript/pull/235 next is to remove the fields that are being extended this may take a bit to tidy things up to...
Another good looking change, I'll check it out too
I forgot to say I have had a look at this and I like the idea, I have branched of this and added some tests to it and made the...