Coder Social home page Coder Social logo

Revisionable Pivot about revisionable HOT 5 CLOSED

venturecraft avatar venturecraft commented on July 25, 2024
Revisionable Pivot

from revisionable.

Comments (5)

duellsy avatar duellsy commented on July 25, 2024

This still seems somewhat edge case to me, however if you're willing to put a pull request together that won't break existing functionality I'm happy to merge it into the core.

from revisionable.

Antonimo avatar Antonimo commented on July 25, 2024

I found many doing it manually, however if I want to do it neatly, and just extend Revisionable and know that my pivot is watched, the best way I see to do it is redo(extend) all eloquent classes. Much like baum does it here:
https://github.com/etrepat/baum/tree/master/src/Baum/Extensions

so i'm not going to do that, and instead ill share the manual version when its done and tested...

from revisionable.

divdax avatar divdax commented on July 25, 2024

Any news?

from revisionable.

joshbrw avatar joshbrw commented on July 25, 2024

Or you could use a trait that overrides the belongsToMany() like I've had to do

from revisionable.

monove avatar monove commented on July 25, 2024

@Antonimo can you share your manual version with us?

from revisionable.

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.