HoudiniGraphql / houdini

The disappearing GraphQL framework
http://www.houdinigraphql.com
MIT License
913 stars 98 forks source link

Dedupe directive #1352

Closed AlecAivazis closed 2 months ago

AlecAivazis commented 2 months ago

This PR is an alternative to #1349 in the form of a new directive: @dedupe(cancelFirst: Boolean). The cancelFirst argument decides wether the second request is canceled (as in the case of pagination query) or if the first request needs to be canceled (as in the case of trellix's drag and drops)

To help everyone out, please make sure your PR does the following:

changeset-bot[bot] commented 2 months ago

🦋 Changeset detected

Latest commit: c4a959a3788de437af0e6757da34dea20f979f69

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 9 packages | Name | Type | | ----------------------------------- | ----- | | houdini-svelte | Patch | | houdini-react | Patch | | houdini | Patch | | houdini-plugin-svelte-global-stores | Patch | | houdini-adapter-auto | Patch | | houdini-adapter-cloudflare | Patch | | houdini-adapter-node | Patch | | houdini-adapter-static | Patch | | create-houdini | Patch |

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

netlify[bot] commented 2 months ago

Deploy Preview for houdini-docs-next canceled.

Name Link
Latest commit c4a959a3788de437af0e6757da34dea20f979f69
Latest deploy log https://app.netlify.com/sites/houdini-docs-next/deploys/66e221e440dc98000845a122
netlify[bot] commented 2 months ago

Deploy Preview for houdinigraphql canceled.

Name Link
Latest commit c4a959a3788de437af0e6757da34dea20f979f69
Latest deploy log https://app.netlify.com/sites/houdinigraphql/deploys/66e221e44e7d2e000828c86d
AlecAivazis commented 2 months ago

Thanks for confirming @SeppahBaws!