Giter VIP home page Giter VIP logo

Comments (4)

wtrocki avatar wtrocki commented on May 12, 2024

This is happening when the model is missing id field or id field is not a string
@Hasan-git I will quickly patch it as this looks like a blocker for me.

I think we have 2 issues here. The first one is that we always assume id is a string and this is a critical issue that I will patch and release fix today.

The second one will be the fact that we ignore MutationHelperOptions.idFIeld provided by the user and use the hardcoded id field in IDProcessor - Going to create a separate issue for that bug.

Can you provide me a value of the id field that is triggering this issue to make sure that my fix is going to address it?

To fix this bug we need:

  • Make additional check for id and transform it to string
  • Document the MutationHelperOptions.idFIeld for customization needs

from offix.

Hasan-git avatar Hasan-git commented on May 12, 2024

Can you provide me a value of the id field that is triggering this issue to make sure that my fix is going to address it?

Indeed, the whole object was null. if its does matter that I was doing a mutation that should return an GraphqlError but I didn't , maybe if I was returning an GraphqlError this bug will not be catched

from offix.

wtrocki avatar wtrocki commented on May 12, 2024

@Hasan-git This makes sense now. Going to patch this and do new patch release.

from offix.

wtrocki avatar wtrocki commented on May 12, 2024

Done. Going to release 0.6.1

from offix.

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.