Skip to content

Conversation

@cebe
Copy link
Owner

@cebe cebe commented Oct 24, 2019

  • Fixes the problem that undefined properties do not throw errors when
    they are accessed but return their default values.

  • Also improved annotations for Schema, which can always be a Reference.

  • Fixed implementation of default values to consider null.

  • Improve handling of scalar types.

Fixes #36

- Fixes the problem that undefined properties do not throw errors when
  they are accessed but return their default values.

- Also improved annotations for Schema, which can always be a Reference.

- Fixed implementation of default values to consider null.

- Improve handling of scalar types.

Fixes #36
@cebe cebe added the bug Something isn't working label Oct 24, 2019
@cebe cebe added this to the 1.2.1 milestone Oct 24, 2019
@cebe cebe self-assigned this Oct 24, 2019
cebe added 2 commits October 24, 2019 13:11
adding a ref here was not possible before and resulted in a broken
Schema object.
@cebe cebe merged commit 6189637 into master Oct 24, 2019
@cebe cebe deleted the fix-schema-properties branch October 24, 2019 12:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Accessing Schema::required if it is not defined should not complain about unknown property

2 participants