Skip to content

Commit

Permalink
release: 1.0.0-rc.2
Browse files Browse the repository at this point in the history
  • Loading branch information
MichalLytek committed May 19, 2020
1 parent 012a561 commit 722e3a3
Show file tree
Hide file tree
Showing 4 changed files with 71 additions and 20 deletions.
4 changes: 3 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
# Changelog and release notes

## Unreleased
<!-- ## Unreleased -->
<!-- here goes all the unreleased changes descriptions -->

## v1.0.0-rc.2
### Features
- expose `createResolversMap` utility that generates apollo-like resolvers object
- support IoC containers which `.get()` method returns a `Promise` of resolver instance
Expand Down
38 changes: 19 additions & 19 deletions website/versioned_docs/version-1.0.0-rc.1/examples.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,34 +11,34 @@ All examples have an `examples.gql` file with sample queries/mutations/subscript

## Basics

- [Simple usage of fields, basic types and resolvers](https://github.com/MichalLytek/type-graphql/tree/master/examples/simple-usage)
- [Simple usage of fields, basic types and resolvers](https://github.com/MichalLytek/type-graphql/tree/1.0.0-rc.1/examples/simple-usage)

## Advanced

- [Enums and unions](https://github.com/MichalLytek/type-graphql/tree/master/examples/enums-and-unions)
- [Subscriptions (simple)](https://github.com/MichalLytek/type-graphql/tree/master/examples/simple-subscriptions)
- [Subscriptions (using Redis)](https://github.com/MichalLytek/type-graphql/tree/master/examples/redis-subscriptions)
- [Interfaces](https://github.com/MichalLytek/type-graphql/tree/master/examples/interfaces-inheritance)
- [Enums and unions](https://github.com/MichalLytek/type-graphql/tree/1.0.0-rc.1/examples/enums-and-unions)
- [Subscriptions (simple)](https://github.com/MichalLytek/type-graphql/tree/1.0.0-rc.1/examples/simple-subscriptions)
- [Subscriptions (using Redis)](https://github.com/MichalLytek/type-graphql/tree/1.0.0-rc.1/examples/redis-subscriptions)
- [Interfaces](https://github.com/MichalLytek/type-graphql/tree/1.0.0-rc.1/examples/interfaces-inheritance)

## Features usage

- [Dependency injection (IoC container)](https://github.com/MichalLytek/type-graphql/tree/master/examples/using-container)
- [scoped container](https://github.com/MichalLytek/type-graphql/tree/master/examples/using-scoped-container)
- [Authorization](https://github.com/MichalLytek/type-graphql/tree/master/examples/authorization)
- [Validation](https://github.com/MichalLytek/type-graphql/tree/master/examples/automatic-validation)
- [Types inheritance](https://github.com/MichalLytek/type-graphql/tree/master/examples/interfaces-inheritance)
- [Resolvers inheritance](https://github.com/MichalLytek/type-graphql/tree/master/examples/resolvers-inheritance)
- [Generic types](https://github.com/MichalLytek/type-graphql/tree/master/examples/generic-types)
- [Mixin classes](https://github.com/MichalLytek/type-graphql/tree/master/examples/mixin-classes)
- [Middlewares and Custom Decorators](https://github.com/MichalLytek/type-graphql/tree/master/examples/middlewares-custom-decorators)
- [Dependency injection (IoC container)](https://github.com/MichalLytek/type-graphql/tree/1.0.0-rc.1/examples/using-container)
- [scoped container](https://github.com/MichalLytek/type-graphql/tree/1.0.0-rc.1/examples/using-scoped-container)
- [Authorization](https://github.com/MichalLytek/type-graphql/tree/1.0.0-rc.1/examples/authorization)
- [Validation](https://github.com/MichalLytek/type-graphql/tree/1.0.0-rc.1/examples/automatic-validation)
- [Types inheritance](https://github.com/MichalLytek/type-graphql/tree/1.0.0-rc.1/examples/interfaces-inheritance)
- [Resolvers inheritance](https://github.com/MichalLytek/type-graphql/tree/1.0.0-rc.1/examples/resolvers-inheritance)
- [Generic types](https://github.com/MichalLytek/type-graphql/tree/1.0.0-rc.1/examples/generic-types)
- [Mixin classes](https://github.com/MichalLytek/type-graphql/tree/1.0.0-rc.1/examples/mixin-classes)
- [Middlewares and Custom Decorators](https://github.com/MichalLytek/type-graphql/tree/1.0.0-rc.1/examples/middlewares-custom-decorators)

## 3rd party libs integration

- [TypeORM (manual, synchronous) \*](https://github.com/MichalLytek/type-graphql/tree/master/examples/typeorm-basic-usage)
- [TypeORM (automatic, lazy relations) \*](https://github.com/MichalLytek/type-graphql/tree/master/examples/typeorm-lazy-relations)
- [Typegoose](https://github.com/MichalLytek/type-graphql/tree/master/examples/typegoose)
- [Apollo Engine (Apollo Cache Control) \*\*](https://github.com/MichalLytek/type-graphql/tree/master/examples/apollo-engine)
- [Apollo client state](https://github.com/MichalLytek/type-graphql/tree/master/examples/apollo-client)
- [TypeORM (manual, synchronous) \*](https://github.com/MichalLytek/type-graphql/tree/1.0.0-rc.1/examples/typeorm-basic-usage)
- [TypeORM (automatic, lazy relations) \*](https://github.com/MichalLytek/type-graphql/tree/1.0.0-rc.1/examples/typeorm-lazy-relations)
- [Typegoose](https://github.com/MichalLytek/type-graphql/tree/1.0.0-rc.1/examples/typegoose)
- [Apollo Engine (Apollo Cache Control) \*\*](https://github.com/MichalLytek/type-graphql/tree/1.0.0-rc.1/examples/apollo-engine)
- [Apollo client state](https://github.com/MichalLytek/type-graphql/tree/1.0.0-rc.1/examples/apollo-client)

_\* Note that we need to edit the TypeORM example's `index.ts` with the credentials of our local database_

Expand Down
48 changes: 48 additions & 0 deletions website/versioned_docs/version-1.0.0-rc.2/examples.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
---
title: Examples
sidebar_label: List of examples
id: version-1.0.0-rc.2-examples
original_id: examples
---

On the [GitHub repository](https://github.com/MichalLytek/type-graphql) there are a few simple examples of how to use different TypeGraphQL features and how well they integrate with 3rd party libraries.

All examples have an `examples.gql` file with sample queries/mutations/subscriptions that we can execute.

## Basics

- [Simple usage of fields, basic types and resolvers](https://github.com/MichalLytek/type-graphql/tree/1.0.0-rc.2/examples/simple-usage)

## Advanced

- [Enums and unions](https://github.com/MichalLytek/type-graphql/tree/1.0.0-rc.2/examples/enums-and-unions)
- [Subscriptions (simple)](https://github.com/MichalLytek/type-graphql/tree/1.0.0-rc.2/examples/simple-subscriptions)
- [Subscriptions (using Redis)](https://github.com/MichalLytek/type-graphql/tree/1.0.0-rc.2/examples/redis-subscriptions)
- [Interfaces](https://github.com/MichalLytek/type-graphql/tree/1.0.0-rc.2/examples/interfaces-inheritance)
- [Extensions (metadata)](https://github.com/MichalLytek/type-graphql/tree/1.0.0-rc.2/examples/extensions)

## Features usage

- [Dependency injection (IoC container)](https://github.com/MichalLytek/type-graphql/tree/1.0.0-rc.2/examples/using-container)
- [Scoped containers](https://github.com/MichalLytek/type-graphql/tree/1.0.0-rc.2/examples/using-scoped-container)
- [Authorization](https://github.com/MichalLytek/type-graphql/tree/1.0.0-rc.2/examples/authorization)
- [Validation](https://github.com/MichalLytek/type-graphql/tree/1.0.0-rc.2/examples/automatic-validation)
- [Types inheritance](https://github.com/MichalLytek/type-graphql/tree/1.0.0-rc.2/examples/interfaces-inheritance)
- [Resolvers inheritance](https://github.com/MichalLytek/type-graphql/tree/1.0.0-rc.2/examples/resolvers-inheritance)
- [Generic types](https://github.com/MichalLytek/type-graphql/tree/1.0.0-rc.2/examples/generic-types)
- [Mixin classes](https://github.com/MichalLytek/type-graphql/tree/1.0.0-rc.2/examples/mixin-classes)
- [Middlewares and Custom Decorators](https://github.com/MichalLytek/type-graphql/tree/1.0.0-rc.2/examples/middlewares-custom-decorators)
- [Query complexity](https://github.com/MichalLytek/type-graphql/tree/1.0.0-rc.2/examples/query-complexity)

## 3rd party libs integration

- [TypeORM (manual, synchronous) \*](https://github.com/MichalLytek/type-graphql/tree/1.0.0-rc.2/examples/typeorm-basic-usage)
- [TypeORM (automatic, lazy relations) \*](https://github.com/MichalLytek/type-graphql/tree/1.0.0-rc.2/examples/typeorm-lazy-relations)
- [Typegoose](https://github.com/MichalLytek/type-graphql/tree/1.0.0-rc.2/examples/typegoose)
- [Apollo federation](https://github.com/MichalLytek/type-graphql/tree/1.0.0-rc.2/examples/apollo-federation)
- [Apollo Engine (Apollo Cache Control) \*\*](https://github.com/MichalLytek/type-graphql/tree/1.0.0-rc.2/examples/apollo-engine)
- [Apollo client state](https://github.com/MichalLytek/type-graphql/tree/1.0.0-rc.2/examples/apollo-client)

_\* Note that we need to edit the TypeORM example's `index.ts` with the credentials of our local database_

_\*\* Note that we need to provide an `APOLLO_ENGINE_API_KEY` env variable with our own API key_
1 change: 1 addition & 0 deletions website/versions.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
[
"1.0.0-rc.2",
"1.0.0-rc.1",
"0.17.6",
"0.17.5",
Expand Down

0 comments on commit 722e3a3

Please sign in to comment.