reactive / data-client

Async State Management without the Management. REST, GraphQL, SSE, Websockets
https://dataclient.io
Apache License 2.0
1.93k stars 93 forks source link

enhance: Entity.pk() default provided that uses id #3188

Closed ntucker closed 1 month ago

ntucker commented 1 month ago

Motivation

More terse common case.

Solution

Outcome

Changes

changeset-bot[bot] commented 1 month ago

🦋 Changeset detected

Latest commit: 7cd6fb1d450b99040a21744b65e3ccd1ca2ae102

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

This PR includes changesets to release 11 packages | Name | Type | | ------------------------ | ----- | | @data-client/endpoint | Patch | | @data-client/graphql | Patch | | @data-client/rest | Patch | | @data-client/normalizr | Patch | | @data-client/react | Patch | | @data-client/core | Patch | | @data-client/test | Patch | | example-benchmark | Patch | | normalizr-github-example | Patch | | normalizr-redux-example | Patch | | normalizr-relationships | 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](https://github.com/reactive/data-client/new/default-pk?filename=.changeset/soft-crabs-wait.md&value=---%0A%0A---%0A%0Aenhance%3A%20Entity.pk()%20default%20provided%20that%20uses%20id%0A)

codecov[bot] commented 1 month ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 98.76%. Comparing base (3ce0bbf) to head (b9ad7e9).

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #3188 +/- ## ========================================== - Coverage 98.76% 98.76% -0.01% ========================================== Files 132 132 Lines 2271 2269 -2 Branches 467 467 ========================================== - Hits 2243 2241 -2 + Misses 17 16 -1 - Partials 11 12 +1 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.