Skip to content

Register the results of custom domain type parsers#787

Open
josh-wise-proof wants to merge 1 commit intoruby:masterfrom
josh-wise-proof:register-domain-type-parsed-objects
Open

Register the results of custom domain type parsers#787
josh-wise-proof wants to merge 1 commit intoruby:masterfrom
josh-wise-proof:register-domain-type-parsed-objects

Conversation

@josh-wise-proof
Copy link

Using a custom domain type parser and attempting to read YAML with those types represented more than once results in all instances except the first being returned as Hashes rather than as the expected type. Register the results from custom domain type parsers so that subsequent objects are found as the already-parsed object.

Fixes #786

Using a custom domain type parser and attempting to read YAML with
those types represented more than once results in all instances except
the first being returned as Hashes rather than as the expected type.
Register the results from custom domain type parsers so that subsequent
objects are found as the already-parsed object.

Fixes ruby#786
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.

Custom domain types don't deserialize properly from anchors

1 participant