sbt-avro4s icon indicating copy to clipboard operation
sbt-avro4s copied to clipboard

Sbt plugin for avro4s

Results 9 sbt-avro4s issues
Sort by recently updated
recently updated
newest added

When I compile: ``` { "type":"record", "name":"Union", "namespace":"com.sksamuel.avro4s", "fields":[ { "name":"union", "type": [ "int", "string", "boolean" ] } ] } ``` I get as a result in `domain.scala` ``` package...

bug

Tried using the plugin on my own project and got the following error. same error appeared when tried example project [avro-scala-demo](https://github.com/jkpl/avro-scala-demo) sbt.librarymanagement.ResolveException: unresolved dependency: com.sksamuel.avro4s#sbt-avro4s;1.0.0: not found

Can you add support for IDL files? Currently, this is what happens if I try generating classes for an .avdl file: ``` [info] Compiling Avro IDL /Users/owner/Documents/some_project/src/main/avro/offsetManagement.avdl java.lang.NoClassDefFoundError: org/apache/avro/compiler/idl/Idl ......

Currently the sbt plugin only creates the case class from the schema which makes it awkward to provide the corresponding implicit instances since we can't put them in the companion...

I am trying to write a schema which generates the following case class : ``` case class Item(id:Int, price:Double, date: Instant) ``` using avro4s `SchemaFor` I get the following schema...

Is there a way to get multiple .avsc files parsed? Lets say inner.avsc defines schema for a record and outer.avsc defines another record with one of the fields as `inner`....

Hi @sksamuel ! I was wondering why the SBT plugin only considers the `src/main/resources/avro` directory but not its subdirectories. If there are lots of schema files in the project, people...

hey @sksamuel, I'm trying to use `sbt-avro4s` to generate Scala case classes from the Avro Schema. I have a schema that looks like this placed in src/main/example.avro: ![image](https://cloud.githubusercontent.com/assets/14280155/14626109/ad602f06-05b6-11e6-9ad4-419b782b2882.png) I run...