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

docs: Details for TS generics when mocking queries #5645

Merged
merged 2 commits into from
May 31, 2022

Conversation

callingmedic911
Copy link
Member

Related: #5274

This PR adds a section in "Mocking GraphQL Requests" docs, describing how to get stricter types with mockGraphQLQuery and mockGraphQLMutation.

@callingmedic911 callingmedic911 added topic/typescript release:docs This PR only updates docs labels May 25, 2022
@callingmedic911 callingmedic911 self-assigned this May 25, 2022
@netlify
Copy link

netlify bot commented May 25, 2022

Deploy Preview for redwoodjs-docs ready!

Name Link
🔨 Latest commit 19e3e5a
🔍 Latest deploy log https://app.netlify.com/sites/redwoodjs-docs/deploys/62963c2fbb8c3a00083b714a
😎 Deploy Preview https://deploy-preview-5645--redwoodjs-docs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

@dac09 dac09 enabled auto-merge (squash) May 31, 2022 16:03
@dac09 dac09 merged commit 52053fc into redwoodjs:main May 31, 2022
@callingmedic911 callingmedic911 deleted the docs/types-when-mocking-graphql branch May 31, 2022 16:23
dac09 added a commit to dac09/redwood that referenced this pull request Jun 7, 2022
…ctmode-gen

* 'main' of github.com:redwoodjs/redwood: (91 commits)
  Add example usage of useRegister and useErrorStyles (redwoodjs#5692)
  chore(deps): update dependency @envelop/testing to v4.3.3 (redwoodjs#5690)
  Update contributing docs (redwoodjs#5685)
  Fix typos in docs (redwoodjs#5694)
  Fix typo in ArticleCell code snippet of Tutorial 2 docs (redwoodjs#5695)
  fix(deps): update dependency core-js to v3.22.8 (redwoodjs#5683)
  fix(deps): update dependency webpack-dev-server to v4.9.1 (redwoodjs#5684)
  Fix typo (redwoodjs#5686)
  Add warning box for missing roles in authorization doc (redwoodjs#5611)
  Fix dbAuth on AWS Lambda (redwoodjs#5474)
  fix(deps): update dependency @types/jest to v27.5.2 (redwoodjs#5681)
  fix(deps): update dependency vscode-languageserver-textdocument to v1.0.5 (redwoodjs#5679)
  chore(deps): update dependency @nhost/hasura-auth-js to v1.1.12 (redwoodjs#5677)
  fix(deps): update dependency systeminformation to v5.11.16 (redwoodjs#5676)
  fix(deps): update dependency @types/node to v16.11.38 (redwoodjs#5674)
  fix(deps): update dependency @apollo/client to v3.6.6 (redwoodjs#5671)
  chore(deps): update dependency @nhost/hasura-auth-js to v1.1.11 (redwoodjs#5669)
  fix(deps): update dependency react-hook-form to v7.31.3 (redwoodjs#5666)
  chore(deps): update dependency firebase to v9.8.2 (redwoodjs#5665)
  docs: Details for TS generics when mocking queries (redwoodjs#5645)
  ...
@jtoar jtoar modified the milestones: next-release, v2.0.0 Jun 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release:docs This PR only updates docs topic/typescript
Projects
Status: Archived
Development

Successfully merging this pull request may close these issues.

3 participants