Yaml anchor error when json sub types are used #25
Labels
has-failing-test
Indicates that there exists a test case (under `failing/`) to reproduce the issue
yaml
Issue related to YAML format backend
When adding Json sub types management to a class to deserialize, the references to anchors are unresolved.
The following sample is derived from ObjectIdTest.
Here is new Node class (with type attribute and JsonSubTypes annotations) :
And a related Node subtype :
Now the test is :
The test fails with :
If the sub type annotations are removed, the test is ok
The text was updated successfully, but these errors were encountered: