Skip to content

Commit

Permalink
Add deprecations to experimental testing utilities
Browse files Browse the repository at this point in the history
  • Loading branch information
jerelmiller committed Jul 5, 2024
1 parent d88c7f8 commit 17dd3bd
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/testing/experimental/createSchemaFetch.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@ import { wait } from "../core/wait.js";
* ```
* @since 3.10.0
* @alpha
* @deprecated `createSchemaFetch` is deprecated and will be removed in 3.12.0.
* Please migrate to [`graphql-testing-library`](https://github.com/apollographql/graphql-testing-library).
*/
const createSchemaFetch = (
schema: GraphQLSchema,
Expand Down
2 changes: 2 additions & 0 deletions src/testing/experimental/createTestSchema.ts
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,8 @@ interface TestSchemaOptions {
* ```
* @since 3.9.0
* @alpha
* @deprecated `createTestSchema` is deprecated and will be removed in 3.12.0.
* Please migrate to [`graphql-testing-library`](https://github.com/apollographql/graphql-testing-library).
*/
const createTestSchema = (
schemaWithTypeDefs: GraphQLSchema,
Expand Down

0 comments on commit 17dd3bd

Please sign in to comment.