dhiway / cord.js

Cord JS API
Apache License 2.0
36 stars 48 forks source link

support 'required' field in schema to allow optional properties #120

Closed amarts closed 11 months ago

amarts commented 11 months ago

if all the properities of the schema are mandatory, we can not serve many usecases where sometimes some fields are 'optional'. Hence processing and handling the 'required' property of the schema is very crucial for SDK to be more adoptable.