Giter VIP home page Giter VIP logo

Comments (9)

theturtle32 avatar theturtle32 commented on July 23, 2024

Just found #24, apparently this is caused by an interaction with the JSON extensions applied by ActiveSupport, so would only be seen in environments that load ActiveSupport, such as a Rails application.

from avro_turf.

theturtle32 avatar theturtle32 commented on July 23, 2024

@dasch - Any chance we could get another release soon? The current v0.6.1 release was published in December 2015 and is incompatible with Rails.

from avro_turf.

dasch avatar dasch commented on July 23, 2024

I'll cut a new release next week.
On søn. 1. maj 2016 at 02.25, Brian McKelvey [email protected]
wrote:

@dasch https://github.com/dasch - Any chance we could get another
release soon? The current v0.6.1 release was published in December 2015
and is incompatible with Rails.


You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub
#26 (comment)

from avro_turf.

dasch avatar dasch commented on July 23, 2024

@theturtle32 has this issue been fixed in the latest master?

from avro_turf.

theturtle32 avatar theturtle32 commented on July 23, 2024

@dasch Yes. Thank you!

from avro_turf.

theturtle32 avatar theturtle32 commented on July 23, 2024

Here's the monkey patch I'm using to fix this in v0.6.1 until the next release is available, in case anyone else also finds it helpful:

# The current version of AvroTurf (v0.6.1) is incompatible with ActiveSupport
# A pull request to fix it has already been merged, but this monkey-patch
# will be necessary until the next release
module AvroTurf::SchemaRegistryPatch
  def register(subject, schema)
    super(subject, schema.to_s)
  end
  def check(subject, schema)
    super(subject, schema.to_s)
  end
end

class AvroTurf::SchemaRegistry
  prepend AvroTurf::SchemaRegistryPatch
end

from avro_turf.

theturtle32 avatar theturtle32 commented on July 23, 2024

@DavidHembree ^

from avro_turf.

dasch avatar dasch commented on July 23, 2024

Okay, v0.6.2 contains the latest changes.

from avro_turf.

theturtle32 avatar theturtle32 commented on July 23, 2024

Awesome, thank you!

from avro_turf.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.