[quarkus-avro] Reference between type defined in separate file ? #49993
Unanswered
florentulve
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
Is there a way to make reference to an type defined an other file ?
For example I have a wrapping type which reference some other type
wrapper.avsc
`
{
"namespace": "org.test",
"type": "record",
"name": "Wrapper",
"version": "1.0",
"fields": [
{
"name": "data",
"type": [""org.test.Object1"]
},
`
Object1.avsc
`
{
"namespace": "org.test",
"type": "record",
"name": "Object1",
"version": "1.0",
"fields": [
......
]
`
Unfortunetly I get Quarkus code generation phase has failed: InvocationTargetException: Undefined schema:
Thanks for helping.
Beta Was this translation helpful? Give feedback.
All reactions