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

Update Avro version to 1.12.0 #195

Open
wants to merge 8 commits into
base: main
Choose a base branch
from
Open

Update Avro version to 1.12.0 #195

wants to merge 8 commits into from

Conversation

julianpeeters
Copy link
Owner

Why?

Avro 1.12.0 deprecates Idl in favor of the new IdlReader.

Test Status

  • avrohugger
  • sbt-avrohugger

Copy link
Owner Author

@julianpeeters julianpeeters left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In addition to the classLoader issue below, the scripted tests in sbt-avrohugger are also failing due to an issue with the parser.

@@ -89,8 +97,8 @@ class FileInputParser {
val protocol = Protocol.parse(infile)
List(Right(protocol))
case "avdl" =>
val idlParser = new Idl(infile, classLoader)
val protocol = idlParser.CompilationUnit()
val idl = new IdlReader().parse(infile.toPath())
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we need a parse method that accepts our classLoader, as was available for the Idl constructor

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