Skip to content

Commit 722e3a3

Browse files
committed
release: 1.0.0-rc.2
1 parent 012a561 commit 722e3a3

File tree

4 files changed

+71
-20
lines changed

4 files changed

+71
-20
lines changed

CHANGELOG.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
# Changelog and release notes
22

3-
## Unreleased
3+
<!-- ## Unreleased -->
44
<!-- here goes all the unreleased changes descriptions -->
5+
6+
## v1.0.0-rc.2
57
### Features
68
- expose `createResolversMap` utility that generates apollo-like resolvers object
79
- support IoC containers which `.get()` method returns a `Promise` of resolver instance

website/versioned_docs/version-1.0.0-rc.1/examples.md

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -11,34 +11,34 @@ All examples have an `examples.gql` file with sample queries/mutations/subscript
1111

1212
## Basics
1313

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

1616
## Advanced
1717

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

2323
## Features usage
2424

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

3535
## 3rd party libs integration
3636

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

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

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
---
2+
title: Examples
3+
sidebar_label: List of examples
4+
id: version-1.0.0-rc.2-examples
5+
original_id: examples
6+
---
7+
8+
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.
9+
10+
All examples have an `examples.gql` file with sample queries/mutations/subscriptions that we can execute.
11+
12+
## Basics
13+
14+
- [Simple usage of fields, basic types and resolvers](https://github.com/MichalLytek/type-graphql/tree/1.0.0-rc.2/examples/simple-usage)
15+
16+
## Advanced
17+
18+
- [Enums and unions](https://github.com/MichalLytek/type-graphql/tree/1.0.0-rc.2/examples/enums-and-unions)
19+
- [Subscriptions (simple)](https://github.com/MichalLytek/type-graphql/tree/1.0.0-rc.2/examples/simple-subscriptions)
20+
- [Subscriptions (using Redis)](https://github.com/MichalLytek/type-graphql/tree/1.0.0-rc.2/examples/redis-subscriptions)
21+
- [Interfaces](https://github.com/MichalLytek/type-graphql/tree/1.0.0-rc.2/examples/interfaces-inheritance)
22+
- [Extensions (metadata)](https://github.com/MichalLytek/type-graphql/tree/1.0.0-rc.2/examples/extensions)
23+
24+
## Features usage
25+
26+
- [Dependency injection (IoC container)](https://github.com/MichalLytek/type-graphql/tree/1.0.0-rc.2/examples/using-container)
27+
- [Scoped containers](https://github.com/MichalLytek/type-graphql/tree/1.0.0-rc.2/examples/using-scoped-container)
28+
- [Authorization](https://github.com/MichalLytek/type-graphql/tree/1.0.0-rc.2/examples/authorization)
29+
- [Validation](https://github.com/MichalLytek/type-graphql/tree/1.0.0-rc.2/examples/automatic-validation)
30+
- [Types inheritance](https://github.com/MichalLytek/type-graphql/tree/1.0.0-rc.2/examples/interfaces-inheritance)
31+
- [Resolvers inheritance](https://github.com/MichalLytek/type-graphql/tree/1.0.0-rc.2/examples/resolvers-inheritance)
32+
- [Generic types](https://github.com/MichalLytek/type-graphql/tree/1.0.0-rc.2/examples/generic-types)
33+
- [Mixin classes](https://github.com/MichalLytek/type-graphql/tree/1.0.0-rc.2/examples/mixin-classes)
34+
- [Middlewares and Custom Decorators](https://github.com/MichalLytek/type-graphql/tree/1.0.0-rc.2/examples/middlewares-custom-decorators)
35+
- [Query complexity](https://github.com/MichalLytek/type-graphql/tree/1.0.0-rc.2/examples/query-complexity)
36+
37+
## 3rd party libs integration
38+
39+
- [TypeORM (manual, synchronous) \*](https://github.com/MichalLytek/type-graphql/tree/1.0.0-rc.2/examples/typeorm-basic-usage)
40+
- [TypeORM (automatic, lazy relations) \*](https://github.com/MichalLytek/type-graphql/tree/1.0.0-rc.2/examples/typeorm-lazy-relations)
41+
- [Typegoose](https://github.com/MichalLytek/type-graphql/tree/1.0.0-rc.2/examples/typegoose)
42+
- [Apollo federation](https://github.com/MichalLytek/type-graphql/tree/1.0.0-rc.2/examples/apollo-federation)
43+
- [Apollo Engine (Apollo Cache Control) \*\*](https://github.com/MichalLytek/type-graphql/tree/1.0.0-rc.2/examples/apollo-engine)
44+
- [Apollo client state](https://github.com/MichalLytek/type-graphql/tree/1.0.0-rc.2/examples/apollo-client)
45+
46+
_\* Note that we need to edit the TypeORM example's `index.ts` with the credentials of our local database_
47+
48+
_\*\* Note that we need to provide an `APOLLO_ENGINE_API_KEY` env variable with our own API key_

website/versions.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
[
2+
"1.0.0-rc.2",
23
"1.0.0-rc.1",
34
"0.17.6",
45
"0.17.5",

0 commit comments

Comments
 (0)