1

Please suggest if possible in some way.

I have tried to change the import path from react-query to vue-query after typescript-react-query has done with it. But I didn't able to make it work (actually I don't know how).

myplugin.js - copied from codegen documentation

module.exports = {
  plugin(schema, documents, config, info) {
    const typesMap = schema.getTypeMap()
 
    return Object.keys(typesMap).join('\n')
  }
}
1
  • Welcome to Stack Overflow! Please take the tour and read up on How to Ask. Great that you've tried something, but you haven't shown us what. Please edit your post with the (non-working) code, i.e. a minimal reproducible example. That way, it is easier for us to be able to help you. Commented Feb 23, 2023 at 15:25

0

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.