Comments (4)
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.
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.
@Hasan-git This makes sense now. Going to patch this and do new patch release.
from offix.
Done. Going to release 0.6.1
from offix.
Related Issues (20)
- Action Required: Fix Renovate Configuration
- Reverting a offline mutation HOT 7
- Issue with nested objects in variables HOT 2
- Expose network status change HOT 3
- npm package seems out of date for react-offix-hooks HOT 2
- Docs concept page is blank
- Offline Search dgraph
- Error subbscribeToUpdate is undefined at react-native example project
- How offix supports File offline upload ? HOT 4
- Dependency Dashboard
- Add ability to build query that includes all relationships
- Ability to provide late binding for datastore queries. HOT 9
- Please export ApolloQueryResult from offix HOT 2
- Getting error while build project HOT 1
- OfflineStore removeEntry expects v1:queue:yyyy but it's called with queue:yyyy HOT 3
- Interfaces versus Types generation HOT 1
- Aggregate Hooks Issue HOT 1
- Simplify Datastore flow HOT 4
- _super.call is not a function, with fix HOT 6
- rxDB integration / offix Limitations HOT 9
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from offix.