Skip to content

Hey! Sorry, I can't figure out how to setup connection mode #106

Closed
@fesh-biz

Description

@fesh-biz

I had installed quasar and configured vuex-orm, but I can't get rid of nodes from queries

I keep getting this Connection Query Mode is 2 by config

This is my config of store

import Vue from 'vue'
import Vuex from 'vuex'
import VuexOrm from '@vuex-orm/core'
import VuexORMGraphQL from '@vuex-orm/plugin-graphql'

Vue.use(Vuex)

global.database = new VuexOrm.Database()
require('../models/autoloader')

VuexOrm.use(VuexORMGraphQL, {
  database,
  debug: true,
  connectionQueryMode: 'edges',
})

const store = new Vuex.Store({
  modules: {
  },

  plugins:[
    VuexOrm.install(database, {
      ConnectionMode: 3
    })
  ],

  // enable strict mode (adds overhead!)
  // for dev mode only
  strict: process.env.DEV
})

export default store

But any my changes to connectionQueryMode doesn't make any affects

packacge.json strings is

"@vuex-orm/core": "^0.31.12",
"@vuex-orm/plugin-graphql": "^1.0.0-rc.35",

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions