在TypeScript中构建类型化的GraphQL查询。 更好的TypeScript + GraphQL体验。-JavaScript开发

时间:2021-05-26 00:08:30
【文件属性】:
文件名称:在TypeScript中构建类型化的GraphQL查询。 更好的TypeScript + GraphQL体验。-JavaScript开发
文件大小:212KB
文件格式:ZIP
更新时间:2021-05-26 00:08:30
JavaScript Miscellaneous typed-graphqlify在TypeScript中构建类型化GraphQL查询。 更好的TypeScript + GraphQL体验。 安装npm install --save typed-graphqlify或如果使用Yarn:yarn add typed-graphqlify Moti typed-graphqlify在TypeScript中构建Typed GraphQL查询。 更好的TypeScript + GraphQL体验。 安装npm install --save typed-graphqlify或使用Yarn:yarn add typed-graphqlify动机我们都知道GraphQL非常强大,它解决了REST API所遇到的许多问题,例如过度获取和欠获取。 但是用TypeScript开发GraphQL Client有时会有些痛苦。 为什么? 让我们看一下我们通常必须做的例子。 当我们使用GraphQL库
【文件预览】:
typed-graphqlify-master
----test-d()
--------index.test-d.ts(2KB)
----rollup.config.js(500B)
----images()
--------logo-fixed.png(5KB)
--------screenshot.jpg(105KB)
----package.json(2KB)
----tslint.json(304B)
----.github()
--------dependabot.yml(194B)
--------FUNDING.yml(646B)
--------workflows()
----jest.config.js(367B)
----prettier.config.js(115B)
----LICENSE(1KB)
----CONTRIBUTING.md(966B)
----src()
--------graphqlify.ts(4KB)
--------__tests__()
--------render.ts(8KB)
--------types.ts(2KB)
--------index.ts(244B)
----.npmignore(227B)
----tsconfig.json(838B)
----examples()
--------package.json(278B)
--------tsconfig.json(944B)
--------README.md(191B)
--------yarn.lock(3KB)
--------index.ts(1KB)
----.gitignore(951B)
----CHANGELOG.md(3KB)
----CODE_OF_CONDUCT.md(3KB)
----README.md(15KB)
----yarn.lock(218KB)

网友评论