Comments (12)
I imagine you did a meteor update
and the like. ping @stubailo
from apollo.
Did you try manually installing the latest version of apollo?
from apollo.
Best I can tell this happened after installed graphql-tag, maybe that bumped apollo? Meteor update though will cause conflict. If you don't remember 5 days ago I belief you made vue-apollo compatible with latest version of apollo.
from apollo.
@janat08 please install the latest version of apollo-client
, and see if it works.
from apollo.
FYI, vue-apollo has dependency on 0.5.
from apollo.
You need to update to the latest vue-apollo release.
from apollo.
Missing auto attribute on result Object {skill: Array(1), Symbol(id): "ROOT_QUERY"}
Data is right, but wont render. Resolvers that just return arghs work.
I just edit packages.json after "npm outdated". Tried rebuild and force update.
"graphql-tools": "^0.11.0",
"vue-apollo": "v2.1.0-beta.2",
"apollo-client": "1.0.1",
from apollo.
Full error:
Missing auto attribute on result Object {skill: Array(1), Symbol(id): "ROOT_QUERY"}skill: Array(1)0: ObjecttypeName: "Gunnery"__typename: "Skill"Symbol(id): "ROOT_QUERY.skill({"typeName":"Gunn"}).0"__proto__: Objectlength: 1__proto__: Array(0)Symbol(id): "ROOT_QUERY"__proto__: Object
nextResult @ modules.js?hash=b299974…:19770
(anonymous) @ modules.js?hash=b299974…:15795
next @ modules.js?hash=b299974…:15793
(anonymous) @ modules.js?hash=b299974…:16362
(anonymous) @ modules.js?hash=b299974…:16730
(anonymous) @ modules.js?hash=b299974…:16727
QueryManager.broadcastQueries @ modules.js?hash=b299974…:16724
(anonymous) @ modules.js?hash=b299974…:16109
dispatch @ modules.js?hash=b299974…:17745
(anonymous) @ modules.js?hash=b299974…:16912
(anonymous) @ modules.js?hash=b299974…:15341
(anonymous) @ modules.js?hash=b299974…:16667
(anonymous) @ meteor.js?hash=27829e9…:1105
from apollo.
One of fields for object being queried, although I didn't ask for it in query and batch is on.
Skill: {
requiredSkills(root, args) {
return db.query(
`SELECT
typeName,
it.typeId,
COALESCE(skillLevel.valueFloat,
skillLevel.valueInt) AS requiredLevel
FROM
dgmTypeAttributes attr
INNER JOIN
invTypes it ON it.typeid = COALESCE(attr.valueint, attr.valuefloat)
INNER JOIN
dgmTypeAttributes skillLevel ON skillLevel.typeid = COALESCE(attr.valueint, attr.valuefloat)
WHERE
attr.typeid = :id
AND ((attr.attributeID = 182
AND skillLevel.attributeID = 277)
OR (attr.attributeID = 183
AND skillLevel.attributeID = 278)
OR (attr.attributeID = 184
AND skillLevel.attributeID = 279)
OR (attr.attributeID = 1285
AND skillLevel.attributeID = 1286)
OR (attr.attributeID = 1289
AND skillLevel.attributeID = 1287)
OR (attr.attributeID = 1290
AND skillLevel.attributeID = 1288))`
,
{ replacements: {id: root.typeId}, type: Sequelize.QueryTypes.SELECT }
)
}
},
from apollo.
Will there be migration guide for when you release this?
from apollo.
Well, it will be short but I can write one. 😄
from apollo.
Please comment if you still have the issue.
from apollo.
Related Issues (20)
- console log remained in code
- Unable to view V4 documentation
- useFragment HOT 2
- Setup Apollo for a Vue+SSR app HOT 14
- Not work with 3.2.25 HOT 2
- Make `provideApolloClient` default client disposable.
- Remove automatic subscription retry on error
- Can't receive messages in a chat using subscription
- skip() doesn't skip query HOT 1
- @vue/apollo-ssr doesn't work in SSR mode
- Fragments aren't returned in results when using useQuery/useLazyQuery reactive refs HOT 2
- Using vue-apollo-composable inside a Pinia setup store HOT 2
- `useApolloClient` checks wrong conditions before calling `inject()`
- useQuery blocks page load on 4.0.0 HOT 2
- useQuery with fetchPolicy: cache-only does not return expected data HOT 3
- Doesn't update the data after a mutation if `enabled` is `false` in `useQuery`
- Queries are not executed in given order
- @vue/[email protected] has a peer dependency conflict with Vue 3 HOT 4
- [docs] The installation guide is very bad HOT 1
- Refetch with New Variables Overrides Other Existing Refetches HOT 1
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 apollo.