Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

more than 2 levels of references not working as expected. #427

Open
rjaen opened this issue Nov 26, 2024 · 1 comment
Open

more than 2 levels of references not working as expected. #427

rjaen opened this issue Nov 26, 2024 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@rjaen
Copy link

rjaen commented Nov 26, 2024

Describe the bug
Having 3 schemas A, B and C, A references to B, references to C. When schemas are loaded C is read fine, B is read fine with its C dependency, then A wants to load load B, but references needed by B are not loaded so B fails by not finding C reference.

To Reproduce
Adding reduced version of the real files, they have references each other, so provisioning files in order Timer (C), then RequestRowModel (B) and finally RfqEventContext(A) should show the error when loading A.

org.apache.avro.SchemaParseException: Type not supported: com.test.rfq.single.Timer

`at org.apache.avro.Schema.parse(Schema.java:1797)
at org.apache.avro.Schema.parse(Schema.java:1823)
at org.apache.avro.Schema.parse(Schema.java:1736)
at `

Expected behavior
Provisioning should work just fine and references should work.

Actual behaviour
References are not working for 3 levels. They do for 2 levels B depending on A.

Version info

  • What version of SpecMesh is affected? 0.9.4 and 0.14.0
  • What OS are you on? Mac Os
@rjaen rjaen added the bug Something isn't working label Nov 26, 2024
@rjaen
Copy link
Author

rjaen commented Nov 26, 2024

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

No branches or pull requests

3 participants