Code Monkey home page Code Monkey logo

Comments (6)

colinskow avatar colinskow commented on August 17, 2024 1

This shouldn't cause any problems in SuperLogin. The issue is that PouchDB-Server is emitting a different reason code than CouchDB. This is safe to ignore for now. I can update the test to check for 'deleted' OR 'missing'.

from superlogin.

colinskow avatar colinskow commented on August 17, 2024

Great question @SukantGujar ... I haven't tested it but it should work. PouchDB-Find also works with Cloudant, which I have tested against extensively with SuperLogin.

from superlogin.

SukantGujar avatar SukantGujar commented on August 17, 2024

Okay, I will validate it with PDB-server as well as CouchDB 2.0. WIll let you know how it goes. Cloudant won't work for me as I am looking for a self-hosted CDB :).

from superlogin.

SukantGujar avatar SukantGujar commented on August 17, 2024

So here's the result of test specs run against pouchdb-server -

testresults

As you would notice, only one test fails. Would it cause issues with superlogin?

from superlogin.

SukantGujar avatar SukantGujar commented on August 17, 2024

Update - I traced the test in Visual Code and found that pouchdb-server deletes the testkey correctly, but then returns the reason of querying the deleted document as "missing", whereas the test is expecting "deleted". This causes this test to fail.

testresults
I think its pretty safe to ignore the test for now, but not completely sure if this check will cause supperlogin to glitch or not. Please comment.

from superlogin.

SukantGujar avatar SukantGujar commented on August 17, 2024

Awesome, thanks!
On Apr 20, 2016 12:35 AM, Colin Skow [email protected] wrote:This shouldn't cause any problems in SuperLogin. The issue is that PouchDB-Server is emitting a different reason code than CouchDB. This is safe to ignore for now. I can update the test to check for 'deleted' OR 'missing'.

—You are receiving this because you were mentioned.Reply to this email directly or view it on GitHub

from superlogin.

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.