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

Bump @graphql-codegen/typescript-operations from 2.5.7 to 4.0.1 #2232

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jun 20, 2023

Bumps @graphql-codegen/typescript-operations from 2.5.7 to 4.0.1.

Release notes

Sourced from @​graphql-codegen/typescript-operations's releases.

Release 2022-08-04T13:12:01.667Z

@​graphql-codegen/graphql-modules-preset@​2.5.0

Minor Changes

Release 2022-08-04T13:05:23.977Z

No release notes provided.

Release 2022-08-04T13:02:57.827Z

No release notes provided.

@​graphql-codegen/typescript-react-query@​4.0.0

Major Changes

  • 5c7592b4d: Introduces breaking changes to support react-query@4.0.0:

    • react query package is now @tanstack/react-query -> import changes
    • introduced a legacyMode flag (false by default)

    /!\ If you are using the 'react-query' package or react-query < 4, please set the legacyMode option to true. /!\

@​graphql-codegen/typescript-urql@​3.6.3

Patch Changes

  • ab66ba104: Add useQuery argument generic type

@​graphql-codegen/typescript-react-query@​3.6.2

Patch Changes

  • Updated dependencies [2cbcbb371]
    • @​graphql-codegen/visitor-plugin-common@​2.12.0
    • @​graphql-codegen/plugin-helpers@​2.6.0

@​graphql-codegen/typescript-urql@​3.6.2

Patch Changes

  • Updated dependencies [2cbcbb371]
    • @​graphql-codegen/visitor-plugin-common@​2.12.0
    • @​graphql-codegen/plugin-helpers@​2.6.0

@​graphql-codegen/typescript-react-apollo@​3.3.2

Patch Changes

  • Updated dependencies [2cbcbb371]
    • @​graphql-codegen/visitor-plugin-common@​2.12.0
    • @​graphql-codegen/plugin-helpers@​2.6.0

@​graphql-codegen/typescript-vue-apollo@​3.3.2

... (truncated)

Changelog

Sourced from @​graphql-codegen/typescript-operations's changelog.

4.0.1

Patch Changes

  • #9497 2276708d0 Thanks @​eddeee888! - Revert default ID scalar input type to string

    We changed the ID Scalar input type from string to string | number in the latest major version of typescript plugin. This causes issues for server plugins (e.g. typescript-resolvers) that depends on typescript plugin. This is because the scalar type needs to be manually inverted on setup which is confusing.

  • Updated dependencies [2276708d0]:

    • @​graphql-codegen/visitor-plugin-common@​4.0.1
    • @​graphql-codegen/typescript@​4.0.1

4.0.0

Major Changes

  • #9375 ba84a3a27 Thanks @​eddeee888! - Implement Scalars with input/output types

    In GraphQL, Scalar types can be different for client and server. For example, given the native GraphQL ID:

    • A client may send string or number in the input
    • A client receives string in its selection set (i.e output)
    • A server receives string in the resolver (GraphQL parses string or number received from the client to string)
    • A server may return string or number (GraphQL serializes the value to string before sending it to the client )

    Currently, we represent every Scalar with only one type. This is what codegen generates as base type:

    export type Scalars = {
      ID: string;
    };

    Then, this is used in both input and output type e.g.

    export type Book = {
      __typename?: 'Book';
      id: Scalars['ID']; // Output's ID can be `string` 👍
    };
    export type QueryBookArgs = {
    id: Scalars['ID']; // Input's ID can be string or number. However, the type is only string here 👎
    };

    This PR extends each Scalar to have input and output:

    export type Scalars = {

... (truncated)

Commits

Dependabot compatibility score

You can trigger a rebase of this PR by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
> **Note** > Automatic rebases have been disabled on this pull request as it has been open for over 30 days.

@dependabot dependabot bot added the react label Jun 20, 2023
@cloudflare-workers-and-pages
Copy link

cloudflare-workers-and-pages bot commented Jun 20, 2023

Deploying with  Cloudflare Pages  Cloudflare Pages

Latest commit: b34a4e7
Status: ✅  Deploy successful!
Preview URL: https://2d360050.kitsu-web.pages.dev
Branch Preview URL: https://dependabot-npm-and-yarn-reac-93yw.kitsu-web.pages.dev

View logs

Bumps [@graphql-codegen/typescript-operations](https://github.com/dotansimha/graphql-code-generator/tree/HEAD/packages/plugins/typescript/operations) from 2.5.7 to 4.0.1.
- [Release notes](https://github.com/dotansimha/graphql-code-generator/releases)
- [Changelog](https://github.com/dotansimha/graphql-code-generator/blob/master/packages/plugins/typescript/operations/CHANGELOG.md)
- [Commits](https://github.com/dotansimha/graphql-code-generator/commits/@graphql-codegen/typescript-operations@4.0.1/packages/plugins/typescript/operations)

---
updated-dependencies:
- dependency-name: "@graphql-codegen/typescript-operations"
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/react/graphql-codegen/typescript-operations-4.0.1 branch from 0a5cbbe to b34a4e7 Compare July 18, 2023 08:45
Copy link
Contributor Author

dependabot bot commented on behalf of github Feb 7, 2024

Superseded by #2315.

@dependabot dependabot bot closed this Feb 7, 2024
@dependabot dependabot bot deleted the dependabot/npm_and_yarn/react/graphql-codegen/typescript-operations-4.0.1 branch February 7, 2024 01:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant