Don't mutate the input schema when making the schema strict. #34

Merged
merged 1 commit into from Aug 7, 2013

Conversation

Projects
None yet
2 participants
@myronmarston
Contributor

myronmarston commented Aug 7, 2013

This was causing a problem with an endpoint definition that listed
multiple versions, as the same schema got made strict multiple times.

Don't mutate the input schema when making the schema strict.
This was causing a problem with an endpoint definition that listed
multiple versions, as the same schema got made strict multiple times.
@koos42

This comment has been minimized.

Show comment
Hide comment

koos42 commented Aug 7, 2013

LGTM.

myronmarston added a commit that referenced this pull request Aug 7, 2013

Merge pull request #34 from seomoz/fix_optional_attrs_for_multi_versi…
…on_schemas

Don't mutate the input schema when making the schema strict.

@myronmarston myronmarston merged commit eac50aa into master Aug 7, 2013

1 check passed

default The Travis CI build passed
Details

@myronmarston myronmarston deleted the fix_optional_attrs_for_multi_version_schemas branch Aug 7, 2013

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