GithubHelp home page GithubHelp logo

Comments (12)

Akryum avatar Akryum commented on April 28, 2024

I imagine you did a meteor update and the like. ping @stubailo

from apollo.

Akryum avatar Akryum commented on April 28, 2024

Did you try manually installing the latest version of apollo?

from apollo.

janat08 avatar janat08 commented on April 28, 2024

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.

stubailo avatar stubailo commented on April 28, 2024

@janat08 please install the latest version of apollo-client, and see if it works.

from apollo.

janat08 avatar janat08 commented on April 28, 2024

FYI, vue-apollo has dependency on 0.5.

from apollo.

Akryum avatar Akryum commented on April 28, 2024

You need to update to the latest vue-apollo release.

from apollo.

janat08 avatar janat08 commented on April 28, 2024

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.

janat08 avatar janat08 commented on April 28, 2024

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.

janat08 avatar janat08 commented on April 28, 2024

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.

janat08 avatar janat08 commented on April 28, 2024

Will there be migration guide for when you release this?

from apollo.

Akryum avatar Akryum commented on April 28, 2024

Well, it will be short but I can write one. 😄

from apollo.

Akryum avatar Akryum commented on April 28, 2024

Please comment if you still have the issue.

from apollo.

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.