GithubHelp home page GithubHelp logo

Comments (8)

parse-github-assistant avatar parse-github-assistant commented on September 28, 2024

Thanks for opening this issue!

  • 🚀 You can help us to fix this issue faster by opening a pull request with a failing test. See our Contribution Guide for how to make a pull request, or read our New Contributor's Guide if this is your first time contributing.

from parse-server.

mtrezza avatar mtrezza commented on September 28, 2024

Please test with Parse Server 7, the best would be to add a PR with a failed test. We only fix security bugs in Parse Server 6.

from parse-server.

mbfakourii avatar mbfakourii commented on September 28, 2024

Please test with Parse Server 7, the best would be to add a PR with a failed test. We only fix security bugs in Parse Server 6.

I tested in Parse Server 7.0.0 and the problem is not solved !

from parse-server.

mtrezza avatar mtrezza commented on September 28, 2024

If you remove the date match, then you get the same output on both sides? Did you try { $toDate: new Date() }?

from parse-server.

mbfakourii avatar mbfakourii commented on September 28, 2024

If you remove the date match, then you get the same output on both sides?

Yes

Did you try { $toDate: new Date() }?

I tried this method as below, but it didn't work !

{
    $match: {
        $or: [
            {
                "klk.exp": {
                    $gt: {$toDate: new Date()},
                },
            },
        ],
    },
},

from parse-server.

mtrezza avatar mtrezza commented on September 28, 2024

Could you write a failing test and submit a PR? The pipeline should be as simple as possible.

from parse-server.

mbfakourii avatar mbfakourii commented on September 28, 2024

Could you write a failing test and submit a PR? The pipeline should be as simple as possible.

What do I expect in this test?
what should I compare the pipeline output with?

from parse-server.

mtrezza avatar mtrezza commented on September 28, 2024

Just could just add the necessary data to the DB to replicate the issue. You expect the query response to be what it should return.

from parse-server.

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.