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

fix(deps): update dependency gqtx to v0.9.3 #388

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Nov 7, 2021

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
gqtx 0.7.0 -> 0.9.3 age adoption passing confidence

Release Notes

sikanhe/gqtx (gqtx)

v0.9.3

Compare Source

  • [Breaking] All type constructors are exported under "Gql" namespace for easy autocompletion and reduce import bloat.
const UserType = Gql.Object<User>({
  name: 'User',
  description: 'A User',
  fields: () => [
    Gql.Field({ name: 'id', type: Gql.NonNull(Gql.ID) }),
    Gql.Field({ name: 'role', type: Gql.NonNull(RoleEnum) }),
    Gql.Field({ name: 'name', type: Gql.NonNull(Gql.String) }),
  ],
});
  • [Breaking] No longer need create a builder just to have user provide GqlContext type
declare module "gqtx" {
  interface GqlContext {
    viewerId: number;
    users: User[];
  }
}
  • [Breaking] No need for DefaultArg vs Arg, (leverage conditional types)
Gql.Arg({ name: "name", type: Gql.String, default: "Joe" })
  • [Breaking] Union/Interface resolveType now returns string, as expected by graphql-js v16
  • [Improvement] Union's types array can be now defined as a function to support forward references
const GqlPostCommentUnion = Gql.Union({
  name: "PostOrCommentUnion",
  types: () => [GqlPost, GqlComment], // Can now be a function
  resolveType: (value) => {
    if (value.type === "Post") {
      // old: return GqlPost
      return GqlPost.name
    } else {
      // old: return GqlComment
      return GqlComment.name
    }
  },
})

v0.9.2

Compare Source

v0.9.1

Compare Source

v0.8.1


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate. View repository job log here.

@renovate renovate bot changed the title fix(deps): update dependency gqtx to v0.8.0 fix(deps): update dependency gqtx to v0.8.1 Nov 7, 2021
@renovate renovate bot changed the title fix(deps): update dependency gqtx to v0.8.1 fix(deps): update dependency gqtx to v0.9.0 Dec 5, 2023
@renovate renovate bot changed the title fix(deps): update dependency gqtx to v0.9.0 fix(deps): update dependency gqtx to v0.9.3 Dec 5, 2023
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.

None yet

0 participants