Giter Site home page Giter Site logo

No callbacks are called about elastic-search HOT 7 CLOSED

dario86 avatar dario86 commented on May 19, 2024
No callbacks are called

from elastic-search.

Comments (7)

damianoporta avatar damianoporta commented on May 19, 2024

same here!

from elastic-search.

josegonzalez avatar josegonzalez commented on May 19, 2024

@markstory I know you're not a fan of adding behavior support because some behaviors may be incompatible, but couldn't the same thing be said about a behavior targeting a specific database? For instance, I could write something that targeted a specific column type only available to postgres. I don't see why we can't put a big fat caveat on this plugin and say certain core behaviors are not expected to work (or make them work).

from elastic-search.

markstory avatar markstory commented on May 19, 2024

I don't see why we can't put a big fat caveat on this plugin and say certain core behaviors are not expected to work (or make them work).

Outside of the TimestampBehavior, I'm not sure any of the core behaviors work.

from elastic-search.

markstory avatar markstory commented on May 19, 2024

Looks like we never implemented the default callback binding, for Type. I'll add that in.

from elastic-search.

josegonzalez avatar josegonzalez commented on May 19, 2024

@markstory how difficult would it be to test that? Why do you think they wouldn't work?

from elastic-search.

markstory avatar markstory commented on May 19, 2024

Pull request up now.

from elastic-search.

markstory avatar markstory commented on May 19, 2024

@josegonzalez I don't think the others would work based on how they are implemented. TreeBehavior, CounterCache and TranslateBehavior rely on association methods that do not exist in elasticsearch.

from elastic-search.

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.