Giter Club home page Giter Club logo

Comments (5)

cpursley avatar cpursley commented on August 12, 2024

Actually, I think I figured it out. I'll work on this a bit and submit a PR.

from moebius.

robconery avatar robconery commented on August 12, 2024

Hi Chase - thanks so much! One of the major problems I was having was that the Elixir core team, who also owns Postgrex, decided they needed to keep tweaking Postgrex to work best with Ecto and Phoenix so they've kept the version < 1.0 and introduce breaking changes from time to time. In fact, after all these years, the driver is still at 0.16.

This broke Moebius every now and again - specifically the way dates were handled. In short it's just too much work and, if I'm honest, I don't think it's good for the ecosystem to have that much control within the core team.

I started a branch for 3.0 using Ecto and it was coming along and then I got distracted. So that's where we are. I have a ton of respect for José et al, but I (somewhat selfishly) don't agree with keeping the driver as malleable as they are.

from moebius.

cpursley avatar cpursley commented on August 12, 2024

It does seem like Postgrex and the date stuff is more stable these days ~ but yeah, breaking changes are annoying.

I submitted a PR request with a few changes to get it working on the latest Elixir. The biggest change was replacing Poison with Jason, which required hanlding Structs differently (maybe there's a better way, but specs pass).

#109

I also plan to submit some other PRs adding features. Mainly, additional filter operators and the ability to configure multiple Postgrex Types (I need to be able to handle uuids and geo types).

from moebius.

cpursley avatar cpursley commented on August 12, 2024

Ah, I just noticed the v4 branch (maybe that's what you meant when getting distracted instead of v3). Maybe I should be working off of v4?

from moebius.

robconery avatar robconery commented on August 12, 2024

If you want; there are some things I never ironed out (like transactions)

from moebius.

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.