Code Monkey home page Code Monkey logo

Comments (10)

isoos avatar isoos commented on July 30, 2024 1

I've double-checked my codebase, and I actually have a code where I need to upgrade owl to Dart 2 before I could migrate the rest of it. I'll start working on it soon.

from owl.

isoos avatar isoos commented on July 30, 2024 1

Just published 0.4.0. It has a breaking change for SQL, but I couldn't resolve it any other way. I'll be testing it in more depth tomorrow.

from owl.

olmedocr avatar olmedocr commented on July 30, 2024

Pretty interested in fix this too, Is there some documentation to see how owl_codegen works?

from owl.

isoos avatar isoos commented on July 30, 2024

I've released a new version that should hopefully work with Dart 2. I haven't got much chance to test it yet, because the codebase that I'm using it in is still on Dart 1. Let me know if it works.

Btw. I'm using a new, much simpler codegen for my database access, using the postgres package (which is at least maintained). Let me know if there is an interest to publish that too.

from owl.

rinukkusu avatar rinukkusu commented on July 30, 2024

I just ran into this when trying to use owl 0.2.3 with Dart SDK 2.0:

Because owl >=0.2.3 depends on postgresql >=0.2.1 which requires SDK version <2.0.0, owl >=0.2.3 is forbidden.
So, because darksky_weather depends on owl ^0.2.3, version solving failed.

from owl.

isoos avatar isoos commented on July 30, 2024

Yeah, the postgresql library is abandoned, and in my project I'm using postgres for a while now. I have a new kind of SQL generator for that, and I see no way to have an upgrade without a breaking change.

Would anybody share their use-case of owl?

from owl.

rinukkusu avatar rinukkusu commented on July 30, 2024

Well, I've just used it in a few libraries for JSON deserialisation, which I wanted to upgrade to Dart SDK 2.0.

from owl.

isoos avatar isoos commented on July 30, 2024

I think for the JSON use-case json_serializable provides a slightly different, but probably good-enough replacement. There are some differences, e.g. it relies on dart:convert to fully expand (and serialize) the object graph to maps and lists and primitives, while owl did that on its own.

For the sql support I have now a different code generator for package:postgres, and I'm planning to release it in a few weeks (pending on how much time I have). I believe the web part was not really used.

from owl.

isoos avatar isoos commented on July 30, 2024

@rinukkusu wdyt about json_serializable?

from owl.

rinukkusu avatar rinukkusu commented on July 30, 2024

I've already successfully migrated a few of my private packages to json_serializable over the past week, so don't worry or hurry 😄 (I can't push to Pub atm anyway lol)

from owl.

Related Issues (3)

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.