Skip to content

bugfix: Resolve the correct reference type for objects - #64

Merged
cwacek merged 3 commits into
masterfrom
hotfix/ref-resolution-bug
Dec 6, 2016
Merged

cwacek merged 3 commits into
masterfrom
hotfix/ref-resolution-bug

Conversation

@cwacek

@cwacek cwacek commented Dec 5, 2016 •

Copy link
Copy Markdown
Owner

The classbuilder works on the schema object, and ends up changing values
in it as types are discovered and resolved. This causes problems when
calling build_classes more than once. This change makes it so the
builder always uses a copy of the schema when calling build_classes()

 was not properly being resolved at the top level of a property.
This reverts commit 8225ca3.

This was a red herring, and not the issue at all.
The classbuilder works on the schema object, and ends up changing values
in it as types are discovered and resolved. This causes problems when
calling build_classes more than once. This change makes it so the
builder always uses a copy of the schema when calling build_classes()
@cwacek
cwacek merged commit 76d4209 into master Dec 6, 2016
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.

1 participant