@pothos/core
Advanced tools
Comparing version 3.1.0 to 3.1.1
# Change Log | ||
## 3.1.1 | ||
### Patch Changes | ||
- 12ac37c7: Update readme links | ||
## 3.1.0 | ||
@@ -4,0 +10,0 @@ |
{ | ||
"name": "@pothos/core", | ||
"version": "3.1.0", | ||
"version": "3.1.1", | ||
"description": "Pothos (formerly GiraphQL) is a plugin based schema builder for creating code-first GraphQL schemas in typescript", | ||
@@ -38,3 +38,3 @@ "main": "./lib/index.js", | ||
"@pothos/test-utils": "^1.0.0", | ||
"graphql": "16.2.0", | ||
"graphql": "16.3.0", | ||
"graphql-scalars": "^1.14.1", | ||
@@ -52,3 +52,3 @@ "graphql-tag": "^2.12.6" | ||
}, | ||
"readme": "![Pothos](https://www.pothos-graphql.dev/assets/logo-name-auto.svg)\n\n# Pothos GraphQL ([formerly GiraphQL](https://www.pothos-graphql.dev/docs/migrations/giraphql-pothos)) -\n\nPothos is a plugin based GraphQL schema builder for typescript.\n\nIt makes writing graphql schemas in typescript easy, fast and enjoyable. The core of Pothos adds 0\noverhead at runtime, and has `graphql` as its only dependency.\n\nBy leaning heavily on typescripts ability to infer types, Pothos is the most type-safe way of\nwriting GraphQL schemas in typescript/node while requiring very few manual type definitions and no\ncode generation.\n\nPothos has a unique and powerful plugin system that makes every plugin feel like its features are\nbuilt into the core library. Plugins can extend almost any part of the API by adding new options or\nmethods that can take full advantage of the Pothos type system.\n\n## Hello, World\n\n```javascript\nimport { ApolloServer } from 'apollo-server';\nimport SchemaBuilder from '@pothos/core';\n\nconst builder = new SchemaBuilder({});\n\nbuilder.queryType({\n fields: (t) => ({\n hello: t.string({\n args: {\n name: t.arg.string(),\n },\n resolve: (parent, { name }) => `hello, ${name || 'World'}`,\n }),\n }),\n});\n\nnew ApolloServer({\n schema: builder.toSchema({}),\n}).listen(3000);\n```\n\n## Plugins that make Pothos even better\n\n- [**Auth**](https://www.pothos-graphql.dev/docs/plugins/scope-auth)\n\n Add global, type level, or field level authorization checks to your schema\n\n- [**Complexity**](https://www.pothos-graphql.dev/docs/plugins/complexity)\n\n A plugin for defining and limiting complexity of queries\n\n- [**Directives**](https://www.pothos-graphql.dev/docs/plugins/directives)\n\n Integrate with existing schema graphql directives in a type-safe way.\n\n- [**Errors**](https://www.pothos-graphql.dev/docs/plugins/errors)\n\n A plugin for easily including error types in your GraphQL schema and hooking up error types to\n resolvers.\n\n- [**Dataloader**](https://www.pothos-graphql.dev/docs/plugins/dataloader)\n\n Quickly define data-loaders for your types and fields to avoid n+1 queries.\n\n- [**Mocks**](https://www.pothos-graphql.dev/docs/plugins/mocks)\n\n Add mock resolver for easier testing\n\n- [**Prisma**](https://www.pothos-graphql.dev/docs/plugins/prisma)\n\n A plugin for more efficient integration with prisma that can help solve n+1 issues and more\n efficienty resolve queries\n\n- [**Relay**](https://www.pothos-graphql.dev/docs/plugins/relay)\n\n Easy to use builder methods for defining relay style nodes and connections, and helpful utilities\n\n for cursor based pagination.\n\n- [**Simple Objects**](https://www.pothos-graphql.dev/docs/plugins/simple-objects)\n\n Define simple object types without resolvers or manual type definitions.\n\n- [**Smart Subscriptions**](https://www.pothos-graphql.dev/docs/plugins/smart-subscriptions)\n\n Make any part of your graph subscribable to get live updates as your data changes.\n\n- [**Sub-Graph**](https://www.pothos-graphql.dev/docs/plugins/sub-graph)\n\n Build multiple subsets of your graph to easily share code between internal and external APIs.\n\n- [**Validation**](https://www.pothos-graphql.dev/docs/plugins/validation)\n\n Validating your inputs and arguments\n" | ||
"readme": "![Pothos](https://pothos-graphql.dev/assets/logo-name-auto.svg)\n\n# Pothos GraphQL ([formerly GiraphQL](https://pothos-graphql.dev/docs/migrations/giraphql-pothos))\n\nPothos is a plugin based GraphQL schema builder for typescript.\n\nIt makes writing graphql schemas in typescript easy, fast and enjoyable. The core of Pothos adds 0\noverhead at runtime, and has `graphql` as its only dependency.\n\nBy leaning heavily on typescripts ability to infer types, Pothos is the most type-safe way of\nwriting GraphQL schemas in typescript/node while requiring very few manual type definitions and no\ncode generation.\n\nPothos has a unique and powerful plugin system that makes every plugin feel like its features are\nbuilt into the core library. Plugins can extend almost any part of the API by adding new options or\nmethods that can take full advantage of the Pothos type system.\n\n## Hello, World\n\n```javascript\nimport { ApolloServer } from 'apollo-server';\nimport SchemaBuilder from '@pothos/core';\n\nconst builder = new SchemaBuilder({});\n\nbuilder.queryType({\n fields: (t) => ({\n hello: t.string({\n args: {\n name: t.arg.string(),\n },\n resolve: (parent, { name }) => `hello, ${name || 'World'}`,\n }),\n }),\n});\n\nnew ApolloServer({\n schema: builder.toSchema({}),\n}).listen(3000);\n```\n\n## Plugins that make Pothos even better\n\n- [**Auth**](https://pothos-graphql.dev/docs/plugins/scope-auth)\n\n Add global, type level, or field level authorization checks to your schema\n\n- [**Complexity**](https://pothos-graphql.dev/docs/plugins/complexity)\n\n A plugin for defining and limiting complexity of queries\n\n- [**Directives**](https://pothos-graphql.dev/docs/plugins/directives)\n\n Integrate with existing schema graphql directives in a type-safe way.\n\n- [**Errors**](https://pothos-graphql.dev/docs/plugins/errors)\n\n A plugin for easily including error types in your GraphQL schema and hooking up error types to\n resolvers.\n\n- [**Dataloader**](https://pothos-graphql.dev/docs/plugins/dataloader)\n\n Quickly define data-loaders for your types and fields to avoid n+1 queries.\n\n- [**Mocks**](https://pothos-graphql.dev/docs/plugins/mocks)\n\n Add mock resolver for easier testing\n\n- [**Prisma**](https://pothos-graphql.dev/docs/plugins/prisma)\n\n A plugin for more efficient integration with prisma that can help solve n+1 issues and more\n efficienty resolve queries\n\n- [**Relay**](https://pothos-graphql.dev/docs/plugins/relay)\n\n Easy to use builder methods for defining relay style nodes and connections, and helpful utilities\n\n for cursor based pagination.\n\n- [**Simple Objects**](https://pothos-graphql.dev/docs/plugins/simple-objects)\n\n Define simple object types without resolvers or manual type definitions.\n\n- [**Smart Subscriptions**](https://pothos-graphql.dev/docs/plugins/smart-subscriptions)\n\n Make any part of your graph subscribable to get live updates as your data changes.\n\n- [**Sub-Graph**](https://pothos-graphql.dev/docs/plugins/sub-graph)\n\n Build multiple subsets of your graph to easily share code between internal and external APIs.\n\n- [**Validation**](https://pothos-graphql.dev/docs/plugins/validation)\n\n Validating your inputs and arguments\n" | ||
} |
@@ -1,4 +0,4 @@ | ||
![Pothos](https://www.pothos-graphql.dev/assets/logo-name-auto.svg) | ||
![Pothos](https://pothos-graphql.dev/assets/logo-name-auto.svg) | ||
# Pothos GraphQL ([formerly GiraphQL](https://www.pothos-graphql.dev/docs/migrations/giraphql-pothos)) - | ||
# Pothos GraphQL ([formerly GiraphQL](https://pothos-graphql.dev/docs/migrations/giraphql-pothos)) | ||
@@ -44,15 +44,15 @@ Pothos is a plugin based GraphQL schema builder for typescript. | ||
- [**Auth**](https://www.pothos-graphql.dev/docs/plugins/scope-auth) | ||
- [**Auth**](https://pothos-graphql.dev/docs/plugins/scope-auth) | ||
Add global, type level, or field level authorization checks to your schema | ||
- [**Complexity**](https://www.pothos-graphql.dev/docs/plugins/complexity) | ||
- [**Complexity**](https://pothos-graphql.dev/docs/plugins/complexity) | ||
A plugin for defining and limiting complexity of queries | ||
- [**Directives**](https://www.pothos-graphql.dev/docs/plugins/directives) | ||
- [**Directives**](https://pothos-graphql.dev/docs/plugins/directives) | ||
Integrate with existing schema graphql directives in a type-safe way. | ||
- [**Errors**](https://www.pothos-graphql.dev/docs/plugins/errors) | ||
- [**Errors**](https://pothos-graphql.dev/docs/plugins/errors) | ||
@@ -62,11 +62,11 @@ A plugin for easily including error types in your GraphQL schema and hooking up error types to | ||
- [**Dataloader**](https://www.pothos-graphql.dev/docs/plugins/dataloader) | ||
- [**Dataloader**](https://pothos-graphql.dev/docs/plugins/dataloader) | ||
Quickly define data-loaders for your types and fields to avoid n+1 queries. | ||
- [**Mocks**](https://www.pothos-graphql.dev/docs/plugins/mocks) | ||
- [**Mocks**](https://pothos-graphql.dev/docs/plugins/mocks) | ||
Add mock resolver for easier testing | ||
- [**Prisma**](https://www.pothos-graphql.dev/docs/plugins/prisma) | ||
- [**Prisma**](https://pothos-graphql.dev/docs/plugins/prisma) | ||
@@ -76,3 +76,3 @@ A plugin for more efficient integration with prisma that can help solve n+1 issues and more | ||
- [**Relay**](https://www.pothos-graphql.dev/docs/plugins/relay) | ||
- [**Relay**](https://pothos-graphql.dev/docs/plugins/relay) | ||
@@ -83,16 +83,16 @@ Easy to use builder methods for defining relay style nodes and connections, and helpful utilities | ||
- [**Simple Objects**](https://www.pothos-graphql.dev/docs/plugins/simple-objects) | ||
- [**Simple Objects**](https://pothos-graphql.dev/docs/plugins/simple-objects) | ||
Define simple object types without resolvers or manual type definitions. | ||
- [**Smart Subscriptions**](https://www.pothos-graphql.dev/docs/plugins/smart-subscriptions) | ||
- [**Smart Subscriptions**](https://pothos-graphql.dev/docs/plugins/smart-subscriptions) | ||
Make any part of your graph subscribable to get live updates as your data changes. | ||
- [**Sub-Graph**](https://www.pothos-graphql.dev/docs/plugins/sub-graph) | ||
- [**Sub-Graph**](https://pothos-graphql.dev/docs/plugins/sub-graph) | ||
Build multiple subsets of your graph to easily share code between internal and external APIs. | ||
- [**Validation**](https://www.pothos-graphql.dev/docs/plugins/validation) | ||
- [**Validation**](https://pothos-graphql.dev/docs/plugins/validation) | ||
Validating your inputs and arguments |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
950493