Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Version Packages #22

Merged
merged 1 commit into from
Feb 3, 2025
Merged

Version Packages #22

merged 1 commit into from
Feb 3, 2025

Conversation

github-actions[bot]
Copy link
Contributor

@github-actions github-actions bot commented Feb 3, 2025

This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and publish to npm yourself or setup this action to publish automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.

Releases

@graphql-ts/[email protected]

Patch Changes

@graphql-ts/[email protected]

Patch Changes

  • #19 d79115e1007e6e47b425293122818e7d40edf8b5 Thanks @emmatown! - The graphql export has been renamed to g to make reading/writing schemas more concise and to avoid conflicts with exports named graphql from libraries such as Relay, GraphQL Code Generator and gql.tada that use the variable name graphql to declare GraphQL operations.

    The graphql export still exists but is now deprecated and may be removed in a future release.

    To quickly update usages of the graphql export in your project to use g:

    1. Navigate to node_modules/@graphql-ts/schema/dist/declarations/src/schema-api-alias.d.ts in your editor ("Go to Definition" will not take you to the correct file)
    2. Use "Rename Symbol" to rename graphql to g, this will update usages of graphql to g
    3. Change this deprecated alias back from g to graphql (avoid using "Rename Symbol" again because you want to preserve the updates you made in step 2)

    You can similarly use "Rename Symbol" to quickly rename your own custom defined graphql to g.

@graphql-ts/[email protected]

Patch Changes

@emmatown emmatown marked this pull request as draft February 3, 2025 04:49
@emmatown emmatown marked this pull request as ready for review February 3, 2025 04:49
@emmatown emmatown merged commit 0c9572b into main Feb 3, 2025
2 checks passed
@emmatown emmatown deleted the changeset-release/main branch February 3, 2025 04:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant