Code Monkey home page Code Monkey logo

Comments (5)

samijaber avatar samijaber commented on June 25, 2024 2

@kaceycleveland Thanks for reporting this bug with great detail. We will let you know when we have an update on the root cause and/or have a workaround for you.

from builder.

kaceycleveland avatar kaceycleveland commented on June 25, 2024

Posting for context,
https://forum.builder.io/t/new-sdk-returning-different-then-the-old-sdk/4975/7

There is an example of getting it working with the new SDK via the options param and encoding URLSearchParams but its not great.

I really think this is a large issue with the new SDK as it blocks a large portion of querying.

from builder.

kaceycleveland avatar kaceycleveland commented on June 25, 2024

Update from the above post, the work around and the example query provided in the above thread do not work.

From my POV, the $elemMatch operator seems to be broken or at least I have yet to be able to find a query that returns the correct results.

Mentioned in the thread, but I really feel like this is an important functionality to cover especially when we were told we should be using the new SDK. I would take a stab at creating a PR to address this in the new SDK but I would first need to find out if its even a problem with the SDK itself or if its the new content API. So far, I have not been able to get it working properly with the API query itself so that would be the first step if someone could provide a working example.

from builder.

chub7 avatar chub7 commented on June 25, 2024

We encountered the same issue with the $elemMatch. Looking forward to a resolution.

from builder.

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.