Giter Club home page Giter Club logo

Comments (7)

tmeasday avatar tmeasday commented on June 27, 2024

@emgee3 - do you need this urgently? If not, I say we should wait for @sixolet to upload EJSON somewhere before releasing this.

from node-ddp-client.

emgee3 avatar emgee3 commented on June 27, 2024

No, I don't need it at all. Mostly just to have it around if someone else needs it.

from node-ddp-client.

tmeasday avatar tmeasday commented on June 27, 2024

@emgee3 - did you get any further with @sixolet here? I can ping her again about it if you'd like.

from node-ddp-client.

emgee3 avatar emgee3 commented on June 27, 2024

@tmeasday @sarfata I updated the ddp-pre1-with-ejson branch now that we have the meteor-ejson npm module. So if you would take a look, that would be good.

It works with the built in EJSON types, though I don't know if we need to add anything else to support custom EJSON types.

from node-ddp-client.

tmeasday avatar tmeasday commented on June 27, 2024

@emgee3 cool! good stuff.

I'm on vacation right now, but if either of you want to publish a new version of the package let me know your npm username and I'll give you access on npmjs.org

from node-ddp-client.

emgee3 avatar emgee3 commented on June 27, 2024

Following up on this, I've filed this PR sixolet/ejson#2 which handles meteor/meteor#1001

Probably should add a few tests. The question I have is should we test the DDP client connecting to an actual Meteor server, or would mocking the components suffice? I don't actually write tests nearly as often as I should. Any input @sarfata or @tmeasday ?

from node-ddp-client.

tmeasday avatar tmeasday commented on June 27, 2024

Hey @emgee3. You could take a look at Meteorite's atmosphere acceptance tests.

We use Mocha to connect to a local atmosphere running on port 3333 and inspect the results on the command-line. I'm not sure if they pass right now due to conflicts in the way that Meteorite + 0.6 Meteor work but it could give you some ideas for acceptance tests.

from node-ddp-client.

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.