LaurensVijnck / ProtoGen

MIT License
0 stars 0 forks source link

Bug/fix false required settings #1

Closed JonnyDaenen closed 3 years ago

JonnyDaenen commented 3 years ago

Bug Using False settings was not supported (there was just a check whether the option was present)

Changes

Review Request

LaurensVijnck commented 3 years ago

Thanks Jonny!

W.r.t to your question about 'why pass in the schema?' the schema is initially an empty array passed in the recursive function, the recursive function will add all the attributes for the message to that array. A level deeper will do the same thing to the fields array. This allows for constructing the nested schema.