Skip to content

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
    • Help
    • Submit feedback
    • Contribute to GitLab
  • Sign in
U
urql
  • Project
    • Project
    • Details
    • Activity
    • Releases
    • Cycle Analytics
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Charts
  • Issues 0
    • Issues 0
    • List
    • Board
    • Labels
    • Milestones
  • Merge Requests 0
    • Merge Requests 0
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
    • Charts
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Charts
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • gargantext
  • urql
  • Repository

Switch branch/tag
  • urql
  • packages
  • svelte-urql
  • src
  • mutationStore.test.ts
Find file
BlameHistoryPermalink
  • Jonathan Stanley's avatar
    feat(svelte): v2 — The return of the functional APIs! (#2370) · 2114429b
    Jonathan Stanley authored May 24, 2022
    * BREAKING CHANGE: urql-svelte v2
    
    * Update packages/svelte-urql/src/subscriptionStore.test.ts
    Co-authored-by: 's avatarJovi De Croock <decroockjovi@gmail.com>
    
    * chore(urql-svelte): drop placeholderData
    
    * chore(urql-svelte): add requestPolicy input
    
    * chore(urql-svelte): update code comments
    
    * chore(urql-svelte): fix typos
    
    * refactor(urql-svelte): use args interface
    
    similar to react bindings
    1. args interface
    2. documentNode argument is named "query" for all kinds
    3. reduces duplicate code (SSOT)
    
    https://github.com/FormidableLabs/urql/blob/f86763cc565f0c36b948ce9017da0c7c2c302d58/packages/react-urql/src/hooks/useSubscription.ts#L18
    
    * chore: drop unrelated storage update
    
    * fix:(urql-svelte): allow pausing subscription
    
    * chore: rename isPaused to pause
    
    * fix: remove outdated placeholder comments
    
    * Update packages/svelte-urql/src/common.ts
    Co-authored-by: 's avatarPhil Pluckthun <phil@kitten.sh>
    
    * chore: drop common exports
    https://github.com/FormidableLabs/urql/pull/2370#discussion_r837941373
    
    * fix: unusbscribe wonka with svelte
    
    https://github.com/FormidableLabs/urql/pull/2370#pullrequestreview-943896034
    
    * chore: clarify wording
    
    https://github.com/FormidableLabs/urql/pull/2370#discussion_r851768603
    
    * feat: restore context helpers
    
    * chore: rename methods to indicate context
    
    * fix: correct typo
    
    * fix: remove typo
    
    * feat: add context to `baseResult.operation`
    
    * refactor: move operation into common
    
    * Refactor: align optimise and align with other bindings
    
    * Add missing subscription handler to mutationStore
    
    * Add changeset
    
    * Remove redundant update from mutationStore
    
    * Update API docs
    
    * Add outdated notice to svelte basics docs
    Co-authored-by: 's avatarJovi De Croock <decroockjovi@gmail.com>
    Co-authored-by: 's avatarPhil Pluckthun <phil@kitten.sh>
    2114429b
mutationStore.test.ts 932 Bytes
EditWeb IDE

Replace mutationStore.test.ts

Attach a file by drag & drop or click to upload


Cancel
A new branch will be created in your fork and a new merge request will be started.