Skip to content

Conversation

@eliad-wiz
Copy link

it's a common use case to have optional fields in schema.

instead of panicking in case of evaluating missing fields, simply evaluate the expression as false.

remove get_field_value_unchecked() function, and simply evaluate
missing fields as 'false' instead of panicking.

this allows a safe usage of optional fields.

Signed-off-by: Eliad Peller <[email protected]>
@marmeladema
Copy link
Collaborator

Fixed by #134

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants