Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
  • Dec 06 20:53
    omarbelkhodja edited #99
  • Dec 06 20:52
    omarbelkhodja edited #99
  • Dec 06 20:51
    omarbelkhodja edited #99
  • Dec 06 19:43
    omarbelkhodja opened #100
  • Dec 06 19:41
    omarbelkhodja opened #99
  • Dec 04 02:41
    u007 commented #250
  • Dec 04 02:41
    u007 commented #250
  • Dec 04 02:40
    u007 commented #250
  • Dec 04 02:40
    u007 commented #250
  • Dec 03 20:25

    thosakwe on master

    Fix typo. Merge pull request #98 from kev… (compare)

  • Dec 03 20:25
    thosakwe closed #98
  • Dec 03 20:24
    thosakwe commented #98
  • Dec 03 20:15
    kevinelliott edited #98
  • Dec 03 20:15
    kevinelliott opened #98
  • Dec 03 18:00
    thosakwe commented #250
  • Dec 03 18:00
    thosakwe commented #250
  • Dec 03 16:53
    u007 edited #250
  • Dec 03 16:53
    u007 edited #250
  • Dec 03 16:52
    u007 opened #250
  • Dec 03 16:52
    u007 opened #250
james tan
@james.bv_gitlab
Tobe Osakwe
@thosakwe
You can wrap their main in a call to IOOverrides.runZoned
But, that then means that you have to compile their .dill on your server. Originally, my plan was have them just upload the dill directly

Honestly I might reconsider launching it. I would keep it open source.

A different idea I had was something like Laravel Forge, so you could control your own server.

james tan
@james.bv_gitlab
hmm okay
heroku like?
Tobe Osakwe
@thosakwe
Yep

But honestly we'll see which I start off with. Going the serverless route would mean I'd still have to provide users with functionality for storage, and eventually scaling up.

Going the Laravel Forge route would be smarter overall. If I made enough money, then I would adopt serverless

james tan
@james.bv_gitlab
i cant recall, i saw another open source faas like, but their commercial support is expensive
its like now.sh
u can deploy any time, i think similar to std.io
stdlib.io sorry
Tobe Osakwe
@thosakwe
Ohhh I see
But yeah, gonna finish the prototype of angel_generator, and then get to work on that
james tan
@james.bv_gitlab
nice :)
ok catch ya another time
Tobe Osakwe
@thosakwe
:+1:
Work-in-progress, but the example is an application with a controller and no mirrors
It was easy - angel_framework just needs an instance of InjectionRequest to apply a function, so the generator essentially just generates these statically
It creates a mixin class
That being said, no support for constructors yet
sclee15
@sclee15
I think orm automatically joins with other related tables how can I cancel it?
Tobe Osakwe
@thosakwe
Not currently a way to cancel
james tan
@james.bv_gitlab
Tobe Osakwe
@thosakwe
Thanks!
james tan
@james.bv_gitlab
wondering whats holding them back from merging this mongo-dart/mongo_dart#147
Gregory Sech
@GregorySech
worst case scenario you could include that dependency directly from github
Tobe Osakwe
@thosakwe
I might merge it, I’m a maintainer on that repo. But there is just one test at this point, so it would need some more review.
james tan
@james.bv_gitlab
aah cool :D

worst case scenario you could include that dependency directly from github

alright :) thank you

james tan
@james.bv_gitlab
sorry, this is mongodb question with dart, can i ask here?
my 1st mongodb dart, but does not seems to able to retrieve any records:
var val = await coll.findOne(where.eq("order_id", 'XXX')); // this keep returning null even thou it works with mongodb client
Tobe Osakwe
@thosakwe
I'd recommend you file an issue in the mongo repo, I'm busy all this week
Gregory Sech
@GregorySech
@james.bv_gitlab i’m not familiar with mongo_dart but maybe ask in https://gitter.im/dart-lang/TALK-general
james tan
@james.bv_gitlab
okay thank you :)
James
@u007
okay i got it solved :)
James
@u007
how do i decode json to my struct with nested class
i mean my object with nested child object especially from mongodb source
right now my child item can only be mapped using Map<string,dynamic>
James
@u007
backend dart really need more promoting
need to have more db drivers and libraries
Tobe Osakwe
@thosakwe
There’s a page on that in the ORM docs
The Service class has a method called .map() where you can wrap it in a subclass of Service that auto-deserializes things without mirrors
It’s on the Guides > ORM > NoSQL page in the docs site
Also yes, I agree that more libraries are needed
But also, I’ve heard a lot of people say that, but very few have been willing to step up and write the libraries, so I don’t really expect it to change for a loooooong time
Tobe Osakwe
@thosakwe
It’s a chicken-and-egg problem because it’s likely that if more people worked with Dart on backend, there’d be more libraries. But also, people won’t work with it until there are more libraries. But I think that there enough libraries/drivers out there to be used to build applications, just not enough people to maintain them, and not a lot of people who want to send in pull requests, etc
Omar BELKHODJA
@omarbelkhodja
Hello, @thosakwe. I have added 2 PRs for new features that would be interesting to have in Angel ORM : transations and lazy loading for relations. angel-dart/orm#99 and angel-dart/orm#100